:root {
  --tc-paper: #f2efe5;
  --tc-paper-2: #e8e2d3;
  --tc-ink: #17251f;
  --tc-green: #1b3b31;
  --tc-green-2: #285345;
  --tc-mist: #dce6dc;
  --tc-acid: #b9d968;
  --tc-oxide: #bd6848;
  --tc-blue: #3f6375;
  --tc-line: rgba(23, 37, 31, .22);
  --tc-line-light: rgba(242, 239, 229, .22);
  --tc-display: "Newsreader", Georgia, serif;
  --tc-body: "Onest", Arial, sans-serif;
  --tc-mono: "IBM Plex Mono", monospace;
  --tc-shell: 1280px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--tc-paper);
  color: var(--tc-ink);
  font-family: var(--tc-body);
  font-size: 16px;
  line-height: 1.6;
}
body::before { display: none; }
h1, h2, h3, h4, h5, h6,
.hero-h1, .phero-h1, .sec-title {
  color: inherit;
  font-family: var(--tc-display);
  font-weight: 500;
  letter-spacing: -.035em;
  line-height: .98;
}
button, input, textarea, select, .btn, .nav-links a, .mmenu a, .nav-cta { font-family: var(--tc-body); }
.mono, code, pre, .tc-eyebrow, .tc-section-index, .tc-person-copy > span,
.tc-api-name > span, .tc-partner-facts dt { font-family: var(--tc-mono); }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--tc-oxide); outline-offset: 4px; }
::selection { background: var(--tc-acid); color: var(--tc-ink); }

.bg-grid { display: none; }
.page { padding-top: 78px; background: var(--tc-paper); }
.tc-shell { width: min(calc(100% - 64px), var(--tc-shell)); margin-inline: auto; }
.tc-page { display: block !important; overflow: clip; }
.tc-page .rv { opacity: 1 !important; transform: none !important; }
.ta-home-v1 { display: none !important; }

/* New public modules replace the legacy markup retained for application safety. */
#page-gaia .tc-page ~ *, #page-gorchestrate .tc-page ~ *, #page-services .tc-page ~ *,
#page-developers .tc-page ~ *, #page-api-terrapulse .tc-page ~ *, #page-api-gres .tc-page ~ *,
#page-api-gmag .tc-page ~ *, #page-api-quest .tc-page ~ *, #page-partnership-sake .tc-page ~ *,
#page-not-found .tc-page ~ * { display: none !important; }

/* Navigation */
.nav {
  height: 78px;
  background: rgba(242, 239, 229, .94);
  border-bottom: 1px solid var(--tc-line);
  backdrop-filter: blur(14px);
}
.nav-in { width: min(calc(100% - 64px), var(--tc-shell)); padding: 0; }
.brand { min-width: 164px; gap: 12px; }
.brand-mark { width: 43px; height: 43px; padding: 4px; border-radius: 0; }
.brand-tx { display: flex; flex-direction: column; text-align: left; }
.brand-tx b { color: var(--tc-ink); font-family: var(--tc-body); font-size: 14px; font-weight: 700; letter-spacing: -.02em; }
.brand-tx span { color: #59685f; font-family: var(--tc-mono); font-size: 7px; letter-spacing: .22em; }
.nav-links { gap: 20px; }
.nav-links a { position: relative; padding: 28px 0 25px; border-radius: 0; color: #46554e; font-size: 12px; font-weight: 600; }
.nav-links a::after { content: ""; position: absolute; inset: auto 0 -1px; height: 3px; background: var(--tc-oxide); transform: scaleX(0); transition: transform .2s ease; }
.nav-links a:hover, .nav-links a.on { color: var(--tc-ink); background: transparent; }
.nav-links a:hover::after, .nav-links a.on::after { transform: scaleX(1); }
.nav-cta, .tc-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--tc-ink);
  border-radius: 0;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 13px;
}
.nav-cta { background: var(--tc-ink); color: var(--tc-paper); }
.nav-cta:hover { background: var(--tc-oxide); border-color: var(--tc-oxide); }
.burger { width: auto; min-width: 78px; height: 48px; flex-direction: row; gap: 10px; align-items: center; justify-content: center; border-color: var(--tc-line); padding: 0 12px; }
.burger .burger-label { display: block; width: auto; height: auto; color: var(--tc-ink); font: 600 11px var(--tc-body); }
.burger .burger-icon { display: inline-flex; width: 20px; height: 20px; color: var(--tc-ink); }
.burger .burger-icon-close { display: none; }
.burger[aria-expanded="true"] .burger-icon-menu { display: none; }
.burger[aria-expanded="true"] .burger-icon-close { display: inline-flex; }
.mmenu { top: 78px; background: var(--tc-paper); border-color: var(--tc-line); max-height: calc(100dvh - 78px); overflow-y: auto; }
.mmenu a { min-height: 48px; display: flex; align-items: center; border-color: var(--tc-line); color: var(--tc-ink); font-weight: 600; }

/* Shared editorial language */
.tc-eyebrow, .tc-section-index {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 10px;
  font-weight: 500;
}
.tc-eyebrow { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; color: var(--tc-green-2); }
.tc-eyebrow::before { content: ""; width: 38px; height: 2px; background: var(--tc-oxide); }
.tc-section-index { padding-bottom: 14px; border-bottom: 1px solid var(--tc-line); color: #59685f; }
.tc-editorial-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: clamp(40px, 8vw, 124px); align-items: end; margin-top: 42px; }
.tc-editorial-split h2 { font-size: clamp(42px, 6.4vw, 88px); }
.tc-editorial-split p, .tc-lede { color: #4d5d55; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.65; }
.tc-button-primary { background: var(--tc-ink); color: var(--tc-paper); }
.tc-button-primary:hover { background: var(--tc-oxide); border-color: var(--tc-oxide); }
.tc-button-light { background: var(--tc-acid); color: var(--tc-ink); border-color: var(--tc-acid); }
.tc-link-button { min-height: 44px; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; padding: 4px 0; font-weight: 700; }
.tc-link-button:hover { color: var(--tc-oxide); }
.tc-inline-cta { padding: 0; background: var(--tc-acid); }
.tc-inline-cta .tc-shell { min-height: 250px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.tc-inline-cta h2 { max-width: 720px; font-size: clamp(36px, 5vw, 70px); }

/* Home */
.tc-home-hero { min-height: calc(100svh - 78px); display: flex; align-items: stretch; border-bottom: 1px solid var(--tc-line); }
.tc-home-hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; }
.tc-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px 8vw 80px 0; }
.tc-hero-copy h1 { font-size: clamp(72px, 9.4vw, 146px); line-height: .82; max-width: 7.5ch; }
.tc-hero-copy h1 em { display: block; color: var(--tc-oxide); font-weight: 400; }
.tc-hero-copy .tc-lede { max-width: 540px; margin: 38px 0 32px; }
.tc-core-figure { min-height: 680px; margin: 0; border-left: 1px solid var(--tc-line); background: var(--tc-green); }
.tc-core-figure figcaption { padding: 11px 16px; color: #c7d0ca; background: var(--tc-green); font: 9px var(--tc-mono); letter-spacing: .08em; text-transform: uppercase; }
.tc-core-figure svg, .tc-hero-diagram, .tc-evidence-grid svg, .tc-outcome-pair svg,
.tc-service-build svg, .tc-api-hero svg, .tc-not-found svg { display: block; width: 100%; height: 100%; }
.tc-platform-intro { padding: 112px 0 126px; }
.tc-product-ledger { margin-top: 54px; border-top: 1px solid var(--tc-line); }
.tc-product-ledger article { display: grid; grid-template-columns: 80px minmax(180px, .6fr) 1.4fr auto; gap: 30px; align-items: center; min-height: 172px; border-bottom: 1px solid var(--tc-line); }
.tc-product-ledger article > span { font: 11px var(--tc-mono); color: #66756d; }
.tc-product-ledger h3 { font-size: clamp(34px, 4vw, 62px); }
.tc-product-ledger p { max-width: 570px; color: #536159; }
.tc-product-ledger button { border: 0; background: transparent; font: 700 13px var(--tc-body); }
.tc-product-ledger article:hover button { color: var(--tc-oxide); }
.tc-evidence-section { padding: 120px 0; background: var(--tc-green); color: var(--tc-paper); }
.tc-evidence-section .tc-section-index { color: #b9c7bf; border-color: var(--tc-line-light); }
.tc-evidence-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: center; }
.tc-evidence-copy h2 { margin: 38px 0 26px; font-size: clamp(44px, 6vw, 86px); }
.tc-evidence-copy > p { max-width: 520px; color: #cad3cd; font-size: 18px; }
.tc-plain-list { list-style: none; margin-top: 38px; border-top: 1px solid var(--tc-line-light); }
.tc-plain-list li { padding: 16px 0; border-bottom: 1px solid var(--tc-line-light); }
.tc-home-close { padding: 120px 0; }

/* Shared page hero */
.tc-page-hero { padding: 72px 0 0; border-bottom: 1px solid var(--tc-line); }
.tc-page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 650px; }
.tc-page-hero-grid > div:first-child { display: flex; flex-direction: column; justify-content: center; padding: 70px 8vw 70px 0; }
.tc-page-hero h1 { font-size: clamp(58px, 7.4vw, 112px); max-width: 9.5ch; }
.tc-page-hero h1 em { color: var(--tc-oxide); font-weight: 400; }
.tc-page-hero .tc-lede { max-width: 560px; margin: 30px 0; }
.tc-hero-diagram { min-height: 570px; border-left: 1px solid var(--tc-line); }

/* GAIA */
.tc-gaia-outcomes, .tc-method-section, .tc-ops-reframe, .tc-service-ledger,
.tc-api-ledger, .tc-partner-current, .tc-team-list, .tc-team-section, .tc-partnership-flow { padding: 112px 0; }
.tc-outcome-pair { display: grid; grid-template-columns: 1fr 1fr; margin-top: 70px; border: 1px solid var(--tc-line); }
.tc-outcome-pair article:first-child { border-right: 1px solid var(--tc-line); }
.tc-outcome-pair article > div { padding: 32px; }
.tc-outcome-pair article span { font: 10px var(--tc-mono); text-transform: uppercase; letter-spacing: .13em; color: #66756d; }
.tc-outcome-pair h3 { margin: 12px 0 10px; font-size: 38px; }
.tc-outcome-pair p { color: #536159; }
.tc-method-section { background: var(--tc-mist); }
.tc-method-index { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--tc-line); border-left: 1px solid var(--tc-line); }
.tc-method-index .mcard { min-height: 270px; padding: 28px; border: 0; border-right: 1px solid var(--tc-line); border-bottom: 1px solid var(--tc-line); background: transparent; }
.tc-method-index .mcard-code { font: 10px var(--tc-mono); color: #5c6c63; }
.tc-method-index .mcard h4 { margin: 46px 0 14px; font-size: 29px; }
.tc-method-index .mcard p { color: #536159; font-size: 14px; }
.tc-method-index .btn { margin-top: 20px; padding: 9px 0; border: 0; border-bottom: 1px solid currentColor; }
.tc-method-index .submethods { grid-column: 1 / -1; padding: 28px; background: var(--tc-green); color: var(--tc-paper); }

/* Orchestration */
.tc-ops-reframe { background: var(--tc-paper); }
.tc-statement-list { margin-top: 68px; border-top: 1px solid var(--tc-line); }
.tc-statement-list article { display: grid; grid-template-columns: 70px .7fr 1.3fr; gap: 36px; padding: 32px 0; border-bottom: 1px solid var(--tc-line); align-items: start; }
.tc-statement-list span { font: 11px var(--tc-mono); }
.tc-statement-list h3 { font-size: 31px; }
.tc-statement-list p { color: #526158; }
.tc-ops-sequence { padding: 0; background: var(--tc-green); color: var(--tc-paper); }
.tc-ops-sequence ol { display: grid; grid-template-columns: repeat(6, 1fr); list-style: none; }
.tc-ops-sequence li { min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; padding: 28px 20px; border-right: 1px solid var(--tc-line-light); }
.tc-ops-sequence li span, .tc-ops-sequence li small { font: 10px var(--tc-mono); color: #b8c5bd; }
.tc-ops-sequence li strong { font: 500 27px var(--tc-display); }
.tc-ops-close { padding: 120px 0; }

/* Services and APIs */
.tc-services-hero .tc-shell { padding: 78px 0 100px; }
.tc-services-hero h1 { max-width: 13ch; }
.tc-service-ledger article { display: grid; grid-template-columns: 180px 1fr; gap: 56px; padding: 38px 0; border-bottom: 1px solid var(--tc-line); }
.tc-service-ledger article > span { font: 10px var(--tc-mono); text-transform: uppercase; letter-spacing: .14em; }
.tc-service-ledger h2 { font-size: clamp(36px, 5vw, 68px); }
.tc-service-ledger p { max-width: 650px; margin-top: 14px; color: #536159; }
.tc-service-build { padding: 112px 0; background: var(--tc-mist); }
.tc-service-build h2 { margin: 38px 0 22px; font-size: clamp(44px, 6vw, 80px); }
.tc-service-build .tc-evidence-grid > div > p { max-width: 590px; color: #526158; }
.tc-service-build .tc-plain-list { border-color: var(--tc-line); }
.tc-service-build .tc-plain-list li { border-color: var(--tc-line); }
.tc-developers-hero .tc-button + .tc-link-button { margin-left: 22px; }
.tc-api-ledger { background: var(--tc-paper); }
.tc-api-row { display: grid; grid-template-columns: 1fr 1.4fr; min-height: 270px; border-bottom: 1px solid var(--tc-line); align-items: stretch; }
.tc-api-name { padding: 42px 40px 42px 0; display: flex; flex-direction: column; justify-content: space-between; }
.tc-api-name > span { font-size: 10px; letter-spacing: .13em; color: #647269; }
.tc-api-name h2 { font-size: clamp(42px, 5vw, 72px); }
.tc-api-row img { width: 100%; height: 270px; object-fit: cover; filter: saturate(.72) contrast(1.04); }
.tc-api-row > div:last-child { padding: 42px; border-left: 1px solid var(--tc-line); }
.tc-api-row p { color: #526158; margin-bottom: 26px; }
.tc-api-detail-hero { padding-bottom: 86px; }
.tc-api-detail-hero .tc-shell { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.tc-api-detail-hero h1 { max-width: none; }
.tc-operation-list { border-top: 1px solid var(--tc-line); }
.tc-operation-list article { display: grid; grid-template-columns: 180px 1fr; gap: 30px; padding: 26px 0; border-bottom: 1px solid var(--tc-line); }
.tc-operation-list code { color: var(--tc-oxide); }

/* Partners */
.tc-partners-hero .tc-shell, .tc-team-hero .tc-shell { padding: 82px 0 96px; }
.tc-partners-hero h1, .tc-team-hero h1 { max-width: 12ch; }
.tc-partner-feature { margin-top: 48px; display: grid; grid-template-columns: 1.1fr .9fr; border: 1px solid var(--tc-line); }
.tc-partner-feature img { width: 100%; min-height: 560px; height: 100%; object-fit: cover; filter: saturate(.8); outline: 1px solid rgba(242,239,229,.7); outline-offset: -14px; }
.tc-partner-feature > div { padding: clamp(34px, 5vw, 72px); background: var(--tc-green); color: var(--tc-paper); }
.tc-partner-feature h2 { font-size: clamp(48px, 6vw, 80px); }
.tc-partner-feature p { margin: 24px 0; color: #cbd4ce; }
.tc-partner-facts { margin: 34px 0; }
.tc-partner-facts div { padding: 16px 0; border-top: 1px solid var(--tc-line-light); }
.tc-partner-facts dt { color: var(--tc-acid); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.tc-partner-facts dd { margin-top: 5px; color: #e4e8e5; }
.tc-partner-principle { padding: 100px 0; background: var(--tc-mist); }

/* Team */
.tc-team-list, .tc-team-section { padding-top: 34px; }
.tc-team-grid, .tc-team-layout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--tc-line); border: 1px solid var(--tc-line); }
.tc-person { background: var(--tc-paper); }
.tc-person-lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr .75fr; }
.tc-person-principal { grid-column: span 1; }
.tc-person-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tc-mist); }
.tc-person-media::before { content: ""; position: absolute; inset: 13px; z-index: 2; pointer-events: none; border: 1px solid rgba(242,239,229,.72); box-shadow: inset 0 0 0 5px rgba(23,37,31,.12); }
.tc-person-media::after { content: "+"; position: absolute; right: 22px; bottom: 17px; z-index: 3; color: var(--tc-paper); font: 18px/1 var(--tc-mono); text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.tc-person-lead .tc-person-media { aspect-ratio: 16 / 8; }
.tc-person-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; filter: saturate(.82) contrast(1.03); transition: transform .5s ease; }
.tc-person:hover .tc-person-media img { transform: scale(1.025); }
.tc-person-copy, .tc-person-meta { padding: 24px; min-height: 135px; }
.tc-person-copy > span, .tc-person-meta > span { display: block; color: #69766f; font: 9px var(--tc-mono); letter-spacing: .13em; }
.tc-person-copy h2, .tc-person-meta h2 { margin-top: 12px; font-size: clamp(26px, 3vw, 40px); line-height: 1.05; }
.tc-person-copy p, .tc-person-meta p { margin-top: 6px; color: #526158; font-size: 13px; }
.tc-person-placeholder { height: 100%; display: grid; place-items: center; color: var(--tc-green); font: 500 clamp(60px, 9vw, 118px) var(--tc-display); background: repeating-radial-gradient(circle at 70% 35%, transparent 0 24px, rgba(27,59,49,.14) 25px 26px); }

/* Partnership detail */
.tc-partnership-detail-hero { padding: 0; }
.tc-partnership-detail-hero .tc-shell { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: none; }
.tc-partnership-detail-hero .tc-partnership-copy { padding: 100px max(32px, calc((100vw - var(--tc-shell))/2)); align-self: center; }
.tc-partnership-detail-hero h1 { max-width: 9ch; }
.tc-partnership-detail-hero img { width: 100%; height: 100%; min-height: 720px; object-fit: cover; }
.tc-flow-grid { margin-top: 58px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--tc-line); }
.tc-flow-grid article { padding: 28px; border-right: 1px solid var(--tc-line); }
.tc-flow-grid article:last-child { border: 0; }
.tc-flow-grid span { font: 10px var(--tc-mono); color: #65736b; }
.tc-flow-grid h3 { margin: 48px 0 12px; font-size: 29px; }
.tc-flow-grid p { color: #526158; font-size: 14px; }
.tc-current-roadmap { padding: 110px 0; background: var(--tc-green); color: var(--tc-paper); }
.tc-current-roadmap .tc-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--tc-line-light); }
.tc-current-roadmap article { padding: 48px; background: var(--tc-green); }
.tc-current-roadmap h2 { margin: 14px 0 20px; font-size: 48px; }
.tc-current-roadmap p, .tc-current-roadmap li { color: #cbd4ce; }

/* Fresh footer */
.tc-footer { background: var(--tc-ink); color: var(--tc-paper); }
.tc-footer-top { background: var(--tc-acid); color: var(--tc-ink); }
.tc-footer-callout { min-height: 285px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 48px; }
.tc-footer-callout p { max-width: 900px; font: 500 clamp(46px, 6.6vw, 92px)/.95 var(--tc-display); letter-spacing: -.04em; }
.tc-footer-contact { min-height: 52px; padding: 14px 20px; background: var(--tc-ink); color: var(--tc-paper); border: 1px solid var(--tc-ink); font-weight: 700; }
.tc-footer-main { padding: 74px 0 34px; }
.tc-footer-main { display: grid; grid-template-columns: 1.4fr 2fr; gap: 90px; }
.tc-footer-brand img { width: 58px; height: 58px; object-fit: contain; background: #050806; padding: 6px; }
.tc-footer-brand > a:first-child { display: flex; align-items: center; gap: 14px; color: var(--tc-paper); font: 500 27px/1 var(--tc-display); }
.tc-footer-brand > p { margin: 25px 0 8px; }
.tc-footer-brand p, .tc-footer-brand a { color: #b7c1bb; font-size: 13px; }
.tc-footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.tc-footer-nav h2 { margin-bottom: 20px; color: #899890; font: 500 9px var(--tc-mono); text-transform: uppercase; letter-spacing: .16em; }
.tc-footer-nav a { display: block; width: fit-content; padding: 7px 0; color: #e5e8e6; font-size: 13px; }
.tc-footer-nav a:hover { color: var(--tc-acid); }
.tc-footer-legal { padding: 26px 0 34px; border-top: 1px solid var(--tc-line-light); display: flex; justify-content: space-between; gap: 28px; color: #899890; font: 9px var(--tc-mono); letter-spacing: .08em; text-transform: uppercase; }
.tc-footer-legal nav { display: flex; flex-wrap: wrap; gap: 12px; }

/* Dynamic blog, article, contact, legal: one editorial system without altering behavior. */
#page-blog .phero, #page-contact .phero, #page-privacy .phero, #page-terms .phero,
#page-cookies .phero, #page-acceptable-use .phero, #page-developer-terms .phero,
#page-developer-privacy .phero, #page-developer-agreement .phero,
#page-api-terms .phero, #page-cookie-policy .phero {
  padding: 94px 0 78px;
  background: var(--tc-paper);
  border-bottom: 1px solid var(--tc-line);
}
.phero-in, .wrap { width: min(calc(100% - 64px), var(--tc-shell)); padding-inline: 0; }
.phero-k, .kick { color: var(--tc-oxide); font-family: var(--tc-mono); }
.phero-h1 { max-width: 13ch; font-size: clamp(56px, 8vw, 110px); }
.phero-sub, .lead { color: #526158; font-family: var(--tc-body); }
#page-blog section, #page-contact section, .legal-page section { background: var(--tc-paper); }
#blog-posts { border-top: 1px solid var(--tc-line); }
.bcard, .blog-card { border-color: var(--tc-line); border-radius: 0; background: transparent; box-shadow: none; }
.cgrid { border: 1px solid var(--tc-line); background: transparent; }
.cform, .cinfo { border-color: var(--tc-line); }
input, textarea, select { border-radius: 0 !important; border-color: var(--tc-line) !important; background: rgba(255,255,255,.34) !important; color: var(--tc-ink) !important; }
.legal-content, .article-content { max-width: 820px; color: #35463e; }
.legal-content h2, .legal-content h3, .article-content h2, .article-content h3 { font-family: var(--tc-display); }

/* 404 */
.tc-not-found { min-height: calc(100svh - 78px); display: grid; align-items: center; }
.tc-not-found .tc-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.tc-not-found h1 { font-size: clamp(110px, 19vw, 270px); color: var(--tc-oxide); }
.tc-not-found h2 { margin: -10px 0 20px; font-size: clamp(36px, 5vw, 64px); }
.tc-not-found-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Keep authenticated workspaces functional while bringing typography into the same family. */
#page-developer-dashboard, #page-admin-dashboard, #page-superadmin-dashboard,
#page-admin-login, #page-superadmin-login, #page-admin-invite, #page-superadmin-setup {
  font-family: var(--tc-body);
}
#page-developer-dashboard h1, #page-developer-dashboard h2, #page-developer-dashboard h3,
#page-admin-dashboard h1, #page-admin-dashboard h2, #page-admin-dashboard h3,
#page-superadmin-dashboard h1, #page-superadmin-dashboard h2, #page-superadmin-dashboard h3 { font-family: var(--tc-display); }

@media (max-width: 1180px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 11px; }
  .brand { min-width: auto; }
  .brand-tx { display: none; }
  .tc-hero-copy h1 { font-size: clamp(66px, 9vw, 110px); }
  .tc-evidence-grid { gap: 48px; }
}

@media (max-width: 900px) {
  .tc-shell, .nav-in, .phero-in, .wrap { width: min(calc(100% - 40px), var(--tc-shell)); }
  .nav-links, .nav-right .nav-cta { display: none; }
  .burger { display: flex; }
  .tc-home-hero-grid, .tc-page-hero-grid, .tc-evidence-grid, .tc-editorial-split,
  .tc-partner-feature, .tc-api-detail-hero .tc-shell, .tc-not-found .tc-shell,
  .tc-partnership-detail-hero .tc-shell { grid-template-columns: 1fr; }
  .tc-hero-copy { padding: 72px 0; }
  .tc-hero-copy h1 { font-size: clamp(68px, 15vw, 112px); }
  .tc-core-figure { min-height: 560px; border: 1px solid var(--tc-line); border-bottom: 0; }
  .tc-page-hero-grid > div:first-child { padding: 72px 0; }
  .tc-hero-diagram { min-height: 520px; border: 1px solid var(--tc-line); border-bottom: 0; }
  .tc-product-ledger article { grid-template-columns: 54px 1fr auto; }
  .tc-product-ledger article p { grid-column: 2 / -1; padding-bottom: 30px; }
  .tc-outcome-pair { grid-template-columns: 1fr; }
  .tc-outcome-pair article:first-child { border-right: 0; border-bottom: 1px solid var(--tc-line); }
  .tc-method-index { grid-template-columns: repeat(2, 1fr); }
  .tc-ops-sequence ol { grid-template-columns: repeat(3, 1fr); }
  .tc-service-ledger article { grid-template-columns: 110px 1fr; }
  .tc-team-grid, .tc-team-layout { grid-template-columns: repeat(2, 1fr); }
  .tc-person-lead { grid-template-columns: 1fr; }
  .tc-person-lead .tc-person-media { aspect-ratio: 16 / 10; }
  .tc-api-row { grid-template-columns: .75fr 1.25fr; }
  .tc-flow-grid { grid-template-columns: repeat(2, 1fr); }
  .tc-flow-grid article:nth-child(2) { border-right: 0; }
  .tc-flow-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--tc-line); }
  .tc-partnership-detail-hero img { min-height: 560px; }
  .tc-footer-main { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .page { padding-top: 68px; }
  .nav { height: 68px; }
  .nav-in, .tc-shell, .phero-in, .wrap { width: min(calc(100% - 32px), var(--tc-shell)); }
  .brand-mark { width: 39px; height: 39px; }
  .mmenu { top: 68px; max-height: calc(100dvh - 68px); padding-inline: 16px; }
  .tc-hero-copy { padding: 58px 0; }
  .tc-hero-copy h1 { font-size: clamp(62px, 20vw, 88px); }
  .tc-hero-copy .tc-lede { margin: 28px 0; }
  .tc-core-figure { min-height: 390px; }
  .tc-platform-intro, .tc-evidence-section, .tc-home-close, .tc-gaia-outcomes,
  .tc-method-section, .tc-ops-reframe, .tc-service-ledger, .tc-api-ledger,
  .tc-partner-current, .tc-team-list, .tc-partnership-flow { padding: 78px 0; }
  .tc-product-ledger article { grid-template-columns: 42px 1fr; padding: 28px 0; }
  .tc-product-ledger article p, .tc-product-ledger article button { grid-column: 2; padding-bottom: 0; justify-self: start; }
  .tc-editorial-split { grid-template-columns: 1fr; gap: 24px; margin-top: 30px; }
  .tc-editorial-split h2 { font-size: 46px; }
  .tc-page-hero { padding-top: 44px; }
  .tc-page-hero-grid { min-height: 0; }
  .tc-page-hero-grid > div:first-child { padding: 48px 0; }
  .tc-page-hero h1 { font-size: clamp(52px, 16vw, 78px); }
  .tc-hero-diagram { min-height: 350px; }
  .tc-outcome-pair { margin-top: 42px; }
  .tc-outcome-pair article > div { padding: 24px; }
  .tc-method-index { grid-template-columns: 1fr; }
  .tc-statement-list article { grid-template-columns: 38px 1fr; gap: 18px; }
  .tc-statement-list article p { grid-column: 2; }
  .tc-ops-sequence ol { grid-template-columns: repeat(2, 1fr); }
  .tc-ops-sequence li { min-height: 185px; }
  .tc-service-ledger article { grid-template-columns: 1fr; gap: 12px; }
  .tc-inline-cta .tc-shell, .tc-footer-callout { min-height: 300px; flex-direction: column; display: flex; align-items: flex-start; justify-content: center; }
  .tc-api-row { grid-template-columns: 1fr; }
  .tc-api-name { min-height: 180px; padding-right: 0; }
  .tc-api-row > div:last-child { border-left: 0; border-top: 1px solid var(--tc-line); padding: 28px 0; }
  .tc-team-grid, .tc-team-layout { grid-template-columns: 1fr; }
  .tc-person-lead, .tc-person-principal { grid-column: auto; }
  .tc-person-lead .tc-person-media { aspect-ratio: 4 / 5; }
  .tc-partner-feature img { min-height: 420px; }
  .tc-partner-feature > div { padding: 32px 24px; }
  .tc-flow-grid, .tc-current-roadmap .tc-shell { grid-template-columns: 1fr; }
  .tc-flow-grid article { border-right: 0; border-bottom: 1px solid var(--tc-line); }
  .tc-current-roadmap article { padding: 34px 24px; }
  .tc-partnership-detail-hero .tc-partnership-copy { padding: 64px 16px; }
  .tc-partnership-detail-hero img { min-height: 430px; }
  .tc-footer-nav { grid-template-columns: 1fr 1fr; gap: 44px 26px; }
  .tc-footer-legal { flex-direction: column; }
  .phero-h1 { font-size: 58px; }
  .tc-not-found { padding: 50px 0; }
  .tc-not-found h1 { font-size: 130px; }
}

@media (max-width: 370px) {
  .tc-shell, .nav-in, .phero-in, .wrap { width: min(calc(100% - 24px), var(--tc-shell)); }
  .tc-hero-copy h1 { font-size: 60px; }
  .tc-page-hero h1 { font-size: 49px; }
  .tc-footer-nav { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (forced-colors: active) {
  .tc-button, .nav-cta, .tc-person, .tc-partner-feature, .tc-outcome-pair { border: 1px solid CanvasText; }
}

/* Global action language: controls read as controls, never as emoji-led bare links. */
button.tc-arrow-link,
.tc-link-button,
.ta-text-link,
.arrow,
.tc-back-link,
.btn-line,
.bpag-btn,
.tc-button-secondary {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--tc-ink);
  border-radius: 0;
  background: var(--tc-ink);
  color: var(--tc-paper);
  padding: 11px 16px;
  font-family: var(--tc-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 150ms ease;
}

button.tc-arrow-link:hover,
.tc-link-button:hover,
.ta-text-link:hover,
.arrow:hover,
.tc-back-link:hover,
.btn-line:hover,
.bpag-btn:hover:not(:disabled),
.tc-button-secondary:hover {
  border-color: var(--tc-oxide);
  background: var(--tc-oxide);
  color: var(--tc-paper);
}

button.tc-arrow-link:active,
.tc-link-button:active,
.ta-text-link:active,
.tc-back-link:active,
.btn-line:active,
.tc-button-secondary:active {
  transform: scale(0.98);
}

.bpag-btn.on {
  border-color: var(--tc-oxide);
  background: var(--tc-oxide);
  color: var(--tc-paper);
}

.tc-sake-hero .tc-back-link,
.tc-sake-order .tc-button-secondary,
.ta-dark .btn-line,
.ta-hero .btn-line,
.ta-404 .btn-line {
  border-color: var(--tc-paper);
  background: var(--tc-paper);
  color: var(--tc-ink);
}

.tc-sake-hero .tc-back-link:hover,
.tc-sake-order .tc-button-secondary:hover,
.ta-dark .btn-line:hover,
.ta-hero .btn-line:hover,
.ta-404 .btn-line:hover {
  border-color: var(--tc-acid);
  background: var(--tc-acid);
  color: var(--tc-ink);
}

/* 2026-08 refinement: quieter editorial type, clearer hierarchy and compact modules. */
:root { --tc-body: "Instrument Sans", Arial, sans-serif; --tc-nav-shell: 1540px; }
body { font-size: 17px; line-height: 1.68; }
p, li, dd, input, select, textarea { font-variation-settings: "wdth" 96; }
.tc-lede, .phero-sub, .lead, .tc-editorial-split p { color: #3f5249; font-size: clamp(17px, 1.2vw, 20px); line-height: 1.7; }
.nav-in { width: min(calc(100% - 48px), var(--tc-nav-shell)); }
.brand { min-width: 208px; }
.brand-tx b { font-size: 13px; white-space: nowrap; }
.brand-tx span { margin-top: 2px; }

/* Home */
.tc-home-hero { min-height: clamp(620px, calc(100svh - 78px), 850px); }
.tc-home-hero > .tc-shell { display: flex; align-items: center; justify-content: center; }
.tc-home .tc-hero-copy { width: min(100%, 940px); align-items: center; padding: 110px 0; text-align: center; }
.tc-home .tc-hero-copy h1 { max-width: none; font-size: clamp(66px, 8.6vw, 132px); line-height: .88; text-wrap: balance; }
.tc-home .tc-hero-copy .tc-lede { max-width: 700px; margin: 34px auto 30px; }
.tc-home .tc-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.tc-platform-heading { max-width: 880px; }
.tc-platform-heading h2 { font-size: clamp(48px, 6vw, 84px); }
.tc-product-ledger { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border: 0; }
.tc-product-ledger article { min-height: 410px; display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 30px; border: 1px solid var(--tc-line); background: rgba(255,255,255,.2); }
.tc-product-ledger article > span { margin-bottom: auto; }
.tc-product-ledger h3 { margin: 70px 0 18px; font-size: clamp(35px, 3vw, 48px); line-height: 1; }
.tc-product-ledger p { margin-bottom: 28px; }
.tc-product-ledger button { margin-top: auto; padding: 10px 0; }
.tc-home-problem { padding: 58px 0; background: var(--tc-acid); }
.tc-home-problem .tc-shell { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.tc-home-problem .tc-eyebrow { margin-bottom: 14px; }
.tc-home-problem h2 { max-width: 830px; font-size: clamp(38px, 5vw, 66px); }

/* Product pages */
.tc-gaia-hero { padding: 0; }
.tc-gaia-hero .tc-page-hero-grid { display: block; min-height: 600px; }
.tc-gaia-hero .tc-hero-diagram { display: none; }
.tc-gaia-hero .tc-centered-hero { min-height: 600px; align-items: center; padding: 100px 0; text-align: center; }
.tc-gaia-hero .tc-centered-hero h1 { max-width: 900px; text-wrap: balance; }
.tc-gaia-hero .tc-centered-hero .tc-lede { max-width: 700px; }
.tc-ops-reframe .tc-editorial-split { grid-template-columns: 1fr; }
.tc-service-build-inner { max-width: 900px; text-align: center; }
.tc-service-build-inner h2 { text-wrap: balance; }
.tc-service-build-inner > p { max-width: 720px; margin-inline: auto; color: #40534a; }
.tc-service-build-inner .tc-plain-list { max-width: 660px; margin: 40px auto 32px; }
.tc-service-build-inner .tc-button { margin-inline: auto; }

/* Developer catalogue */
.tc-developer-hero .tc-page-hero-grid { grid-template-columns: .82fr 1.18fr; }
.tc-developer-hero .tc-page-hero-grid > div:first-child { padding-right: 5vw; }
.tc-developer-hero .tc-hero-diagram { min-height: 680px; }
.tc-developer-hero svg [font-family="Onest"] { font-family: "Instrument Sans", Arial, sans-serif; }
.tc-api-ledger { padding-top: 64px; }
.tc-api-band { display: grid; grid-template-columns: minmax(170px,.75fr) minmax(240px,1.25fr) minmax(220px,1fr) auto auto; gap: 28px; align-items: center; min-height: 190px; padding: 30px 0; border-bottom: 1px solid var(--tc-line); }
.tc-api-band:first-child { border-top: 1px solid var(--tc-line); }
.tc-api-band-id span { color: #5d6e65; font: 10px var(--tc-mono); text-transform: uppercase; letter-spacing: .1em; }
.tc-api-band h3 { margin-top: 12px; font-size: clamp(38px, 4vw, 58px); }
.tc-api-band > p { color: #40534a; }
.tc-api-band ul { list-style: none; color: #40534a; font-size: 14px; }
.tc-api-band li + li { margin-top: 5px; }
.tc-api-status { padding: 7px 10px; border: 1px solid var(--tc-green-2); color: var(--tc-green-2); font: 10px var(--tc-mono); text-transform: uppercase; letter-spacing: .1em; }
.tc-api-band .tc-arrow-link { white-space: nowrap; }

/* Blog and contact legacy shells */
#page-blog .phero, #page-contact .phero { background: var(--tc-paper); }
#page-blog .phero::after, #page-contact .phero::after { opacity: .11; }
#page-blog .phero-h1, #page-contact .phero-h1 { color: var(--tc-ink); opacity: 1; text-shadow: none; font-size: clamp(62px, 8vw, 112px); }
#page-blog .phero-sub, #page-contact .phero-sub { max-width: 760px; color: #3f5249; }
.cgrid { grid-template-columns: minmax(0,1.2fr) minmax(300px,.8fr); align-items: stretch; }
.tc-contact-wizard { min-height: 650px; overflow: hidden; padding: clamp(28px, 4vw, 54px); }
.tc-contact-progress { margin-bottom: 44px; }
.tc-contact-progress > span { display: block; margin-bottom: 15px; color: #607168; font: 10px var(--tc-mono); text-transform: uppercase; letter-spacing: .12em; }
.tc-contact-progress ol { display: grid; grid-template-columns: repeat(3,1fr); list-style: none; }
.tc-contact-progress li { position: relative; display: flex; align-items: center; gap: 9px; padding-top: 14px; border-top: 2px solid var(--tc-line); color: #66766d; font-size: 13px; }
.tc-contact-progress li.on { border-color: var(--tc-oxide); color: var(--tc-ink); font-weight: 700; }
.tc-contact-progress li span { font-family: var(--tc-mono); font-size: 10px; }
.tc-contact-stage { animation: tc-contact-enter .32s cubic-bezier(.2,.7,.2,1) both; }
.tc-contact-stage[hidden] { display: none; }
.tc-contact-stage fieldset { min-width: 0; border: 0; }
.tc-contact-stage legend { font: 500 clamp(36px,4.2vw,58px)/1 var(--tc-display); letter-spacing: -.035em; }
.tc-contact-stage fieldset > p { max-width: 600px; margin: 16px 0 30px; color: #4a5d53; }
.tc-contact-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 30px; }
.tc-contact-controls-end { justify-content: flex-end; }
.tc-contact-review { margin-top: 30px; border-top: 1px solid var(--tc-line); }
.tc-contact-review div { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--tc-line); }
.tc-contact-review dt { color: #65756c; font: 10px var(--tc-mono); text-transform: uppercase; }
.tc-contact-review dd { overflow-wrap: anywhere; }
@keyframes tc-contact-enter { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }

/* Partners and team */
.tc-partner-feature-grid { width: min(calc(100% - 64px), 1080px); display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--tc-line); }
.tc-partner-feature { display: block; margin: 0; padding: 72px 0; border: 0; }
.tc-partner-feature > .tc-partner-feature-grid { padding: 0; background: transparent; color: var(--tc-ink); }
.tc-partner-feature-grid figure { min-width: 0; }
.tc-partner-feature .tc-partner-feature-grid img { width: 100%; height: 100%; min-height: 460px; max-height: 520px; object-fit: cover; }
.tc-partner-feature-grid > div { padding: clamp(34px,5vw,64px); background: var(--tc-green); color: var(--tc-paper); }
.tc-partner-feature-grid > div > p { color: #d2dbd5; }
.tc-partner-feature-grid dl { margin: 28px 0; }
.tc-partner-feature-grid dl div { padding: 13px 0; border-top: 1px solid var(--tc-line-light); }
.tc-partner-feature-grid dt { color: var(--tc-acid); font: 10px var(--tc-mono); text-transform: uppercase; letter-spacing: .12em; }
.tc-partner-feature-grid dd { margin-top: 4px; color: #eef2ef; }
.tc-partner-principle .tc-editorial-split { align-items: center; }
.tc-partner-action { display: flex; justify-content: flex-start; }
.tc-team-layout { grid-template-columns: repeat(12, minmax(0,1fr)); gap: 22px; background: transparent; border: 0; }
.tc-team-layout .tc-person { grid-column: span 3; border: 1px solid var(--tc-line); }
.tc-team-layout .tc-person-lead { grid-column: 4 / 10; display: block; justify-self: stretch; }
.tc-team-layout .tc-person-principal { grid-column: span 4; }
.tc-team-layout .tc-person-lead .tc-person-media { aspect-ratio: 4 / 5; }
.tc-person-copy, .tc-person-meta { min-height: 150px; }
.tc-person-meta h2 { font-size: clamp(27px,2.4vw,38px); }
.tc-person-meta p { margin-top: 8px; color: #4b5e54; line-height: 1.45; }
.tc-person-meta p {
  color: var(--tc-green);
  font-family: var(--tc-body);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .075em;
  line-height: 1.4;
  text-transform: uppercase;
}

/* iSmart + G-RES partnership story */
.tc-sake-hero { padding: 70px 0 0; background: var(--tc-green); color: var(--tc-paper); }
.tc-sake-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 720px; border-inline: 1px solid var(--tc-line-light); }
.tc-sake-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(64px, 8vw, 112px); }
.tc-sake-hero .tc-back-link { width: fit-content; margin-bottom: 58px; color: #c8d2cc; font-size: 13px; }
.tc-sake-hero .tc-eyebrow { color: var(--tc-acid); }
.tc-sake-hero h1 { max-width: 10ch; font-size: clamp(62px, 7.2vw, 108px); text-wrap: balance; }
.tc-sake-hero .tc-lede { max-width: 620px; margin: 30px 0; color: #d2dbd5; }
.tc-sake-hero figure { position: relative; min-width: 0; margin: 0; overflow: hidden; border-left: 1px solid var(--tc-line-light); }
.tc-sake-hero figure::after { content: "FIELD / ACQUISITION"; position: absolute; top: 24px; right: 24px; padding: 8px 10px; background: var(--tc-paper); color: var(--tc-ink); font: 9px var(--tc-mono); letter-spacing: .1em; }
.tc-sake-hero figure img { width: 100%; height: 100%; min-height: 720px; object-fit: cover; object-position: 52% center; filter: saturate(.82) contrast(1.04); }
.tc-sake-hero figcaption, .tc-sake-field figcaption { position: absolute; inset: auto 20px 18px; color: var(--tc-paper); font: 9px var(--tc-mono); letter-spacing: .08em; text-transform: uppercase; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.tc-sake-methods { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 30px; list-style: none; }
.tc-sake-methods li { padding: 8px 10px; border: 1px solid var(--tc-line-light); color: #e3e9e5; font: 10px var(--tc-mono); text-transform: uppercase; letter-spacing: .08em; }
.tc-sake-current { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding-top: 20px; border-top: 1px solid var(--tc-line-light); }
.tc-sake-current span { color: #9aaba1; font: 9px var(--tc-mono); text-transform: uppercase; letter-spacing: .1em; }
.tc-sake-current strong { color: var(--tc-paper); font-size: 15px; }
.tc-sake-field { padding: 120px 0; background: var(--tc-mist); }
.tc-sake-field-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 8vw, 120px); align-items: center; }
.tc-sake-field figure { position: relative; margin: 0; min-height: 580px; overflow: hidden; background: var(--tc-paper-2); box-shadow: 18px 18px 0 var(--tc-oxide); }
.tc-sake-field figure::before { content: ""; position: absolute; inset: 14px; z-index: 1; border: 1px solid rgba(242,239,229,.76); pointer-events: none; }
.tc-sake-field img { width: 100%; height: 580px; object-fit: cover; }
.tc-sake-field h2 { max-width: 10ch; margin: 40px 0 24px; font-size: clamp(50px, 6vw, 82px); }
.tc-sake-field-grid > div > p { max-width: 650px; color: #40534a; font-size: 18px; }
.tc-sake-facts { margin-top: 40px; border-top: 1px solid var(--tc-line); }
.tc-sake-facts div { display: grid; grid-template-columns: 150px 1fr; gap: 22px; padding: 16px 0; border-bottom: 1px solid var(--tc-line); }
.tc-sake-facts dt { color: #64746b; font: 9px var(--tc-mono); text-transform: uppercase; letter-spacing: .1em; }
.tc-sake-facts dd { color: var(--tc-ink); }
.tc-sake-process { padding: 120px 0; }
.tc-sake-process ol { margin-top: 70px; border-top: 1px solid var(--tc-line); list-style: none; }
.tc-sake-process li { display: grid; grid-template-columns: 190px 1fr; gap: 36px; min-height: 150px; padding: 28px 0; border-bottom: 1px solid var(--tc-line); align-items: center; }
.tc-sake-process li > span { color: #63736a; font: 10px var(--tc-mono); text-transform: uppercase; letter-spacing: .1em; }
.tc-sake-process li > div { display: grid; grid-template-columns: minmax(220px,.7fr) minmax(280px,1.3fr); gap: 40px; align-items: baseline; }
.tc-sake-process h3 { font-size: clamp(34px, 4vw, 54px); }
.tc-sake-process li p { max-width: 620px; color: #46584f; }
.tc-sake-process .tc-sake-handoff { margin-inline: -28px; padding-inline: 28px; background: var(--tc-acid); border-color: var(--tc-ink); }
.tc-sake-process .tc-sake-handoff > span { color: var(--tc-ink); font-weight: 600; }
.tc-sake-state { padding: 110px 0; background: var(--tc-paper-2); }
.tc-state-columns { display: grid; grid-template-columns: 1fr 1fr; margin-top: 48px; }
.tc-state-columns article { min-height: 520px; padding: clamp(38px, 5vw, 70px); }
.tc-state-current { background: var(--tc-green); color: var(--tc-paper); }
.tc-state-roadmap { background: var(--tc-acid); color: var(--tc-ink); }
.tc-state-columns .tc-eyebrow { color: inherit; }
.tc-state-columns h2 { max-width: 9ch; margin: 44px 0 26px; font-size: clamp(44px, 5vw, 70px); }
.tc-state-current > p:last-child { max-width: 560px; color: #d1dad4; }
.tc-state-roadmap ul { margin-top: 38px; border-top: 1px solid rgba(23,37,31,.3); list-style: none; }
.tc-state-roadmap li { padding: 13px 0; border-bottom: 1px solid rgba(23,37,31,.3); }
.tc-sake-order { padding: 100px 0; background: var(--tc-ink); color: var(--tc-paper); }
.tc-sake-order .tc-shell { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; }
.tc-sake-order h2 { max-width: 10ch; font-size: clamp(48px, 6vw, 82px); }
.tc-sake-order p:not(.tc-eyebrow) { max-width: 650px; margin-top: 22px; color: #bfcac3; }
.tc-sake-order .tc-actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.tc-sake-order .tc-button-secondary { border-color: var(--tc-paper); color: var(--tc-paper); background: transparent; }
.tc-sake-order .tc-button-secondary:hover { background: var(--tc-paper); color: var(--tc-ink); }

/* The wizard must expose exactly one step, even when older shared form CSS loads. */
.tc-contact-stage:not(.on) { display: none !important; }
.tc-contact-stage.on { display: block !important; }

@media (max-width: 1000px) {
  .tc-product-ledger { grid-template-columns: 1fr; }
  .tc-product-ledger article { min-height: 310px; }
  .tc-api-band { grid-template-columns: .8fr 1.2fr auto; }
  .tc-api-band ul { grid-column: 2; }
  .tc-api-status { grid-column: 3; grid-row: 1; }
  .tc-api-band .tc-arrow-link { grid-column: 3; grid-row: 2; }
  .tc-team-layout .tc-person, .tc-team-layout .tc-person-principal { grid-column: span 6; }
  .tc-team-layout .tc-person-lead { grid-column: 3 / 11; }
}

@media (max-width: 900px) {
  .nav-in { width: min(calc(100% - 32px), var(--tc-nav-shell)); }
  .tc-developer-hero .tc-page-hero-grid { grid-template-columns: 1fr; }
  .tc-developer-hero .tc-hero-diagram { min-height: 560px; border: 1px solid var(--tc-line); }
  .tc-partner-feature-grid, .cgrid { grid-template-columns: 1fr; }
  .tc-partner-feature-grid { width: min(calc(100% - 40px), 1080px); }
  .tc-sake-hero-grid { grid-template-columns: 1fr; }
  .tc-sake-hero-copy { padding: 76px 40px; }
  .tc-sake-hero figure { border-top: 1px solid var(--tc-line-light); border-left: 0; }
  .tc-sake-hero figure img { min-height: 520px; max-height: 620px; }
  .tc-sake-field-grid, .tc-state-columns, .tc-sake-order .tc-shell { grid-template-columns: 1fr; }
  .tc-sake-field-grid { gap: 80px; }
  .tc-sake-order .tc-actions { align-items: flex-start; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand { min-width: 0; }
  .brand-tx b { font-size: 11px; }
  .brand-tx span { font-size: 6px; }
  .tc-home-hero { min-height: 590px; }
  .tc-home .tc-hero-copy { padding: 72px 0; }
  .tc-home .tc-hero-copy h1 { font-size: clamp(52px, 17vw, 74px); }
  .tc-home-problem .tc-shell { align-items: flex-start; flex-direction: column; }
  .tc-product-ledger article { min-height: 330px; padding: 26px; }
  .tc-gaia-hero .tc-page-hero-grid, .tc-gaia-hero .tc-centered-hero { min-height: 520px; }
  .tc-gaia-hero .tc-centered-hero { padding: 72px 0; }
  .tc-developer-hero .tc-hero-diagram { min-height: 420px; }
  .tc-api-band { grid-template-columns: 1fr; gap: 18px; padding: 30px 0; }
  .tc-api-band ul, .tc-api-status, .tc-api-band .tc-arrow-link { grid-column: 1; grid-row: auto; justify-self: start; }
  .tc-partner-feature-grid { width: min(calc(100% - 32px), 1080px); }
  .tc-partner-feature .tc-partner-feature-grid img { min-height: 340px; max-height: 400px; }
  .tc-partner-principle .tc-editorial-split { text-align: center; }
  .tc-partner-action { justify-content: center; }
  .tc-team-layout .tc-person, .tc-team-layout .tc-person-principal, .tc-team-layout .tc-person-lead { grid-column: 1 / -1; }
  .tc-contact-wizard { min-height: 620px; padding: 28px 20px; }
  .tc-contact-progress li { font-size: 0; }
  .tc-contact-progress li span { font-size: 10px; }
  .tc-contact-controls .tc-button { flex: 1; }
  .tc-contact-review div { grid-template-columns: 1fr; gap: 4px; }
  .tc-sake-hero { padding-top: 0; }
  .tc-sake-hero-copy { padding: 64px 20px; }
  .tc-sake-hero .tc-back-link { margin-bottom: 44px; }
  .tc-sake-hero h1 { font-size: clamp(52px, 16vw, 72px); }
  .tc-sake-hero figure img { min-height: 380px; }
  .tc-sake-current { grid-template-columns: 1fr; gap: 5px; }
  .tc-sake-field, .tc-sake-process, .tc-sake-state, .tc-sake-order { padding: 78px 0; }
  .tc-sake-field figure { min-height: 420px; box-shadow: 10px 10px 0 var(--tc-oxide); }
  .tc-sake-field img { height: 420px; }
  .tc-sake-facts div { grid-template-columns: 1fr; gap: 5px; }
  .tc-sake-process ol { margin-top: 48px; }
  .tc-sake-process li { grid-template-columns: 1fr; gap: 18px; min-height: 0; }
  .tc-sake-process li > div { grid-template-columns: 1fr; gap: 10px; }
  .tc-sake-process .tc-sake-handoff { margin-inline: -16px; padding-inline: 16px; }
  .tc-state-columns article { min-height: 440px; padding: 34px 26px; }
  .tc-sake-order .tc-actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .tc-contact-stage { animation: none; }
}

/* Final action override stays last so section-specific legacy styles cannot make CTAs bare. */
button.tc-arrow-link,
.tc-link-button,
.ta-text-link,
.arrow,
.tc-back-link,
.btn-line,
.bpag-btn,
.tc-button-secondary {
  width: fit-content;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--tc-ink);
  border-radius: 0;
  background: var(--tc-ink);
  color: var(--tc-paper);
  padding: 11px 16px;
  font-family: var(--tc-body);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

button.tc-arrow-link:hover,
.tc-link-button:hover,
.ta-text-link:hover,
.arrow:hover,
.tc-back-link:hover,
.btn-line:hover,
.bpag-btn:hover:not(:disabled),
.tc-button-secondary:hover {
  border-color: var(--tc-oxide);
  background: var(--tc-oxide);
  color: var(--tc-paper);
}

.bpag-btn.on {
  border-color: var(--tc-oxide);
  background: var(--tc-oxide);
  color: var(--tc-paper);
}

.tc-sake-hero .tc-back-link,
.tc-sake-order .tc-button-secondary,
.ta-dark .btn-line,
.ta-hero .btn-line,
.ta-404 .btn-line {
  border-color: var(--tc-paper);
  background: var(--tc-paper);
  color: var(--tc-ink);
}
