/* Shared stylesheet for every page under landing/prod (index.html and
   privacy/). It was inline in index.html until the privacy page arrived; a
   second copy would have drifted within a week. There is no build step:
   this file is served exactly as written, so keep it plain CSS. Pages in
   subfolders link it as ../site.css. */
/* ---------- typeface: Outfit, SELF-HOSTED ----------
   Was loaded from Google Fonts until the hero work. Self-hosting removed the
   only third party a visitor's browser contacted just by opening the page
   (privacy/index.html promised to say so — it no longer has to), plus two
   extra connections before first text paint.
   - Outfit is a VARIABLE font: one file spans 300-600, so the four weights
     this site uses (300/400/500/600) cost 32 KB total. Don't add per-weight
     files, and don't use a weight outside that range — it would be
     synthesized.
   - Upright only, no italic: that is what makes the site's "no italic text"
     rule structural (see the em/i guard below).
   - latin-ext is fetched only if a glyph in its unicode-range is actually
     rendered (an accented name typed into the contact form); on a normal
     visit it costs nothing.
   - The latin file is <link rel=preload>ed in each page's head, so it
     usually arrives with the CSS and `swap` never visibly swaps. Keep those
     hrefs identical to the url() here or the browser downloads it twice.
   - Files + unicode-ranges are Google Fonts' own v15 build (OFL 1.1 —
     fonts/OFL.txt must ship alongside). The version is in the filename so
     they can be cached forever; a new version = new filename in all 3 places. */
@font-face{
  font-family:"Outfit";font-style:normal;font-weight:300 600;font-display:swap;
  src:url(fonts/outfit-v15-latin-ext.woff2) format("woff2");
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face{
  font-family:"Outfit";font-style:normal;font-weight:300 600;font-display:swap;
  src:url(fonts/outfit-v15-latin.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root{
  /* Brand palette — mirror of branding/palette.json (canonical). Change it
     there first, then here. */
  --tc-forest:#0f2a1f;
  --tc-sage:#6b9080;
  --tc-mist:#a9c5b4;
  --tc-paper:#f6f6f3;
  --tc-sage-light:#8fb3a0;
  --tc-moss:#4f7563;

  /* Page neutrals DERIVED from the palette. These are not brand colors:
     never use them in a logo, and re-derive them if the palette moves. */
  --forest-deep:#0a1f17;     /* strips + curative section: forest, darkened */
  --forest-deepest:#071610;  /* footer */
  --forest-lift:#173a2c;     /* raised surfaces on dark (mock sidebar) */
  --surface:#ffffff;
  --surface-tint:#ecf1ed;    /* alt light band + mock window chrome */
  --line:#d9e2dc;            /* hairlines on light: mist pulled toward paper */
  --line-dark:rgba(246,246,243,.12);
  --text-muted:#54665c;      /* body copy on light */
  --text-faint:#7d8f85;      /* captions / mock labels on light */
  --on-dark:#b9cbc0;         /* body copy on forest */
  --on-dark-faint:#86a294;

  /* Accent text on light. Sage is the brand accent but only reaches ~3.3:1
     on paper, so it's reserved for LARGE type (heading accent lines);
     small accent text (eyebrows, tiny labels) uses moss for AA contrast. */
  --accent-lg:var(--tc-sage);
  --accent-sm:var(--tc-moss);

  /* Status colors inside the product mockups. Semantic, not brand: they
     have to stay distinguishable from each other, so only "clear" borrows
     from the palette. */
  --st-clear:#6b9080;
  --st-open:#d4a24e;
  --st-pending:#7e9fac;
  --st-review:#a47aa8;
  --st-critical:#c76e64;

  --r-sm:6px;
  --r-lg:10px;
  --header-h:76px;
  --font:"Outfit","Figtree","Helvetica Neue",Helvetica,Arial,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--tc-paper);color:var(--tc-forest);
  font-family:var(--font);font-size:16px;line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
/* House rule for this page: NO italic text, anywhere. Emphasis is carried
   by weight + color (.accent), same as the wordmark's medium/light split.
   This guard only exists so a future <em>/<blockquote> can't sneak a
   synthesized oblique in through the UA stylesheet. */
em,i,cite,dfn,var,address,blockquote{font-style:normal}
a{color:inherit;text-decoration:none}
button{font:inherit}
img,svg{display:block}
/* The `hidden` attribute is only `display:none` in the UA sheet, so ANY author
   `display:` (the contact form's grid, the failure block) silently beats it.
   site.js toggles `hidden` to swap form / success / failure states. */
[hidden]{display:none!important}
.icon{width:1em;height:1em;flex:none;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
:focus-visible{outline:2px solid var(--tc-sage-light);outline-offset:3px}
/* fixed header would otherwise cover the top of every #anchor target */
[id]{scroll-margin-top:var(--header-h)}

.shell{width:min(1180px,100% - 48px);margin:0 auto}
.section{padding:118px 0}
.section-dark{background:var(--tc-forest);color:var(--tc-paper)}

/* ---------- type ---------- */
/* balance: multi-line headings split evenly instead of orphaning the last
   word ("...the clerical / layer."). Unsupported browsers just wrap normally. */
h1,h2,h3,h4{margin:0;font-weight:500;text-wrap:balance}
h2{margin-top:20px;font-size:clamp(36px,4.3vw,56px);line-height:1.06;letter-spacing:-.032em}
/* The accent line of a heading: light weight + accent color. This is the
   replacement for the italic serif <em> lines of the original design. */
/* display:block so the accent line is its own wrapping context — balance
   doesn't carry across the <br>, and "...make the / decisions." orphaned. */
.accent{display:block;font-weight:300;color:var(--accent-lg)}
.section-dark .accent,.on-dark .accent{color:var(--tc-mist)}
.eyebrow{
  display:flex;align-items:center;gap:10px;
  font-size:12px;font-weight:600;letter-spacing:.17em;text-transform:uppercase;
  color:var(--accent-sm);
}
.eyebrow::before{content:"";display:block;flex:none;width:22px;height:1px;background:currentColor}
.eyebrow.light{color:var(--tc-sage-light)}

/* ---------- header ---------- */
.site-header{
  position:fixed;inset:0 0 auto;z-index:50;height:var(--header-h);
  background:rgba(10,31,23,.92);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
  border-bottom:1px solid var(--line-dark);
}
.nav-shell{display:flex;align-items:center;width:min(1280px,100% - 48px);height:100%;margin:auto}
/* Wordmark rule (branding/README): "Title" medium, "Cortex" light, -0.015em.
   The mark is 40x32 — above the 24px floor where the 2-layer small mark
   takes over. */
.logo{display:inline-flex;align-items:center;gap:12px;color:var(--tc-paper);font-size:22px;font-weight:500;letter-spacing:-.015em;line-height:1}
.logo img{width:40px;height:32px}
.logo .wm-light{font-weight:300}
.nav-links{display:flex;align-items:center;gap:35px;margin-left:auto;margin-right:34px;font-size:14.5px;color:var(--on-dark)}
.nav-links a:hover{color:var(--tc-paper)}

.button{
  display:inline-flex;justify-content:center;align-items:center;gap:9px;
  padding:15px 22px;border:1px solid transparent;border-radius:var(--r-sm);
  background:var(--tc-forest);color:var(--tc-paper);
  font-size:14.5px;font-weight:500;letter-spacing:.005em;transition:background .2s,color .2s,transform .2s;
}
.button:hover{background:var(--tc-moss);color:var(--tc-paper);transform:translateY(-2px)}
.button-light{background:var(--tc-paper);color:var(--tc-forest)}
.button-small{padding:11px 16px;font-size:13.5px}
.menu-button{display:none;margin-left:auto;padding:6px;border:0;background:none;color:var(--tc-paper);cursor:pointer}
.menu-button .icon{width:24px;height:24px}

/* ---------- hero ----------
   Centered copy over a full-width REAL product screenshot (.hero-shot). It
   used to be copy-left / illustrative-dashboard-right; a real workbench
   screen is far too dense to read in a ~600px column, so the shot now gets
   the nav's full 1280px instead. No bottom padding on purpose: the shot runs
   into the pain strip so the window reads as "continues below". */
.hero{position:relative;overflow:hidden;padding:150px 0 0}
/* glow sits BEHIND the screenshot, so the window lifts off the forest */
.hero::after{
  content:"";position:absolute;top:400px;left:50%;width:1100px;height:520px;border-radius:50%;
  transform:translateX(-50%);background:var(--tc-moss);filter:blur(150px);opacity:.42;
}
.hero-grid,.cta-grid{
  position:absolute;inset:0;opacity:.13;
  background-image:linear-gradient(rgba(246,246,243,.12) 1px,transparent 1px),linear-gradient(90deg,rgba(246,246,243,.12) 1px,transparent 1px);
  background-size:72px 72px;
  -webkit-mask-image:linear-gradient(#000,transparent 90%);mask-image:linear-gradient(#000,transparent 90%);
}
.hero-inner{position:relative;z-index:2}
.hero-copy{text-align:center}
.hero-copy .eyebrow{justify-content:center}
.hero h1{margin:24px 0;font-size:clamp(46px,5vw,72px);line-height:1;letter-spacing:-.04em}
.nowrap{white-space:nowrap}
.hero-copy>p{max-width:640px;margin:0 auto;color:var(--on-dark);font-size:18px;line-height:1.72;font-weight:300}
.hero-actions{display:flex;justify-content:center;align-items:center;gap:28px;margin-top:33px}
.text-link{display:inline-flex;align-items:center;gap:8px;font-size:14.5px;color:var(--on-dark)}
.text-link:hover{color:var(--tc-paper)}
.hero-proof{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 26px;margin-top:34px;font-size:13px;color:var(--on-dark-faint)}
.hero-proof span{display:flex;align-items:center;gap:6px}
.hero-proof .icon{color:var(--tc-sage-light)}

/* The real-product window. Same width rule as .nav-shell so its edges line
   up with the logo and the nav CTA. Square bottom corners + no bottom border:
   it is cropped by the section edge, not floating. */
.hero-shot{
  width:min(1280px,100% - 48px);margin:62px auto 0;overflow:hidden;
  border:1px solid rgba(246,246,243,.2);border-bottom:0;border-radius:var(--r-lg) var(--r-lg) 0 0;
  background:var(--surface);box-shadow:0 40px 90px rgba(0,0,0,.38);
}
/* aspect-ratio == the file's own (3360x2300 capture): NO crop. The capture
   already ends the way we want — comment box and the j/k bar intact, the
   record column cut mid-"Version 2" — so it reads as a whole app window
   standing on the pain strip. (The first capture was 2560x1359 with a ragged
   bottom and needed ~8% cropped here; if a future one does too, make this
   ratio SHORTER than the file and object-fit trims the bottom at every
   width.) Keep in step with landing/hero-shot/build.sh. */
.hero-shot img{width:100%;height:auto;aspect-ratio:3360/2300;object-fit:cover;object-position:top}
.window-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;height:43px;padding:0 15px;background:var(--surface);border-bottom:1px solid var(--line);font-size:11px;color:var(--text-faint)}
.window-dots{display:flex;gap:5px}
.window-dots span{width:7px;height:7px;border-radius:50%;background:var(--line)}
/* same width as .window-dots (3x7 + 2x5) so the address stays centered */
.window-spacer{width:31px}

/* ---------- product mockups (shared) ----------
   Miniature UI illustrations, not real screens: type is deliberately tiny.
   They reset line-height because the body's 1.5 is tuned for reading copy. */
.mock{line-height:1.3;color:var(--tc-forest);border-radius:var(--r-lg);overflow:hidden}
.mock .num{font-weight:400;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.dot{display:block;flex:none;width:6px;height:6px;border-radius:50%;background:var(--st-clear)}
.dot.open{background:var(--st-open)}
.dot.pending{background:var(--st-pending)}
.dot.review{background:var(--st-review)}
.dot.critical{background:var(--st-critical)}

/* ---------- pain strip ---------- */
.pain-strip{background:var(--forest-deep);color:var(--tc-paper);border-top:1px solid var(--line-dark)}
.pain-grid{display:grid;grid-template-columns:1fr 1fr 1fr 1.4fr;min-height:125px}
.pain-grid>div{display:grid;grid-template-columns:30px 1fr;align-content:center;padding:28px 20px;border-right:1px solid rgba(246,246,243,.09)}
.pain-grid>div span{grid-row:1/3;font-size:11px;color:var(--on-dark-faint);padding-top:4px}
.pain-grid strong{font-size:19px;font-weight:500;letter-spacing:-.01em}
.pain-grid small{margin-top:2px;font-size:12px;color:var(--on-dark-faint)}
.pain-grid p{align-self:center;margin:0;padding:28px 0 28px 34px;font-size:14px;line-height:1.6;color:var(--on-dark-faint)}
.pain-grid p b{font-weight:400;color:var(--tc-paper)}

/* ---------- intro ---------- */
.intro-section{background:var(--tc-paper)}
.split-intro{display:grid;grid-template-columns:1fr 1fr;gap:110px}
.intro-copy{padding-top:30px}
.intro-copy p,.version-copy>p,.implementation-copy>p{margin:0 0 1em;color:var(--text-muted);font-size:17px;line-height:1.75}
.outcome-line{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.outcome-line span{padding:9px 12px;border:1px solid var(--line);border-radius:var(--r-sm);background:var(--surface);font-size:11.5px;font-weight:600;letter-spacing:.08em;text-transform:uppercase}

/* ---------- platform ---------- */
.platform-section{background:var(--surface)}
.section-heading.centered{max-width:800px;margin:0 auto 55px;text-align:center}
.section-heading.centered .eyebrow{justify-content:center}
.section-heading>p{margin:20px 0 0;color:var(--text-muted);font-size:17px}
.status-board{display:grid;grid-template-columns:repeat(5,1fr);border:1px solid var(--line);border-radius:var(--r-lg)}
.status-tile{padding:25px 22px 30px;border-right:1px solid var(--line);background:var(--surface);transition:transform .25s,box-shadow .25s}
.status-tile:first-child{border-radius:var(--r-lg) 0 0 var(--r-lg)}
.status-tile:last-child{border-right:0;border-radius:0 var(--r-lg) var(--r-lg) 0}
.status-tile:hover{transform:translateY(-7px);box-shadow:0 20px 40px rgba(15,42,31,.12)}
.status-tile>div{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--text-faint)}
.status-tile strong{display:block;margin-top:32px;font-size:50px;font-weight:400;line-height:1.1;letter-spacing:-.04em;font-variant-numeric:tabular-nums}
.status-tile p{margin:4px 0 0;font-size:14px;color:var(--text-muted)}
.click-line{display:flex;justify-content:flex-end;align-items:center;gap:7px;margin-top:18px;font-size:14px;color:var(--text-faint)}
.click-line strong{font-weight:500;color:var(--tc-forest)}
.click-line .icon{width:20px;height:20px;color:var(--tc-sage)}

/* ---------- parcel ---------- */
.parcel-section{overflow:hidden}
.parcel-grid{display:grid;grid-template-columns:.73fr 1.27fr;align-items:center;gap:90px}
.parcel-copy h2{font-size:clamp(36px,4vw,52px)}
.parcel-copy p{margin:25px 0;color:var(--on-dark);line-height:1.7;font-weight:300}
.parcel-copy ul{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:28px 0 0;padding:0;list-style:none}
.parcel-copy li{display:flex;align-items:center;gap:8px;font-size:13.5px;color:var(--on-dark)}
.parcel-copy li .icon{width:15px;height:15px;color:var(--tc-sage-light)}
.parcel-window{background:var(--surface-tint);box-shadow:0 35px 75px rgba(0,0,0,.32)}
.parcel-top{display:flex;justify-content:space-between;align-items:center;padding:21px 24px;background:var(--surface)}
.parcel-top small{font-size:9px;letter-spacing:.16em;color:var(--text-faint)}
.parcel-top h3{margin-top:4px;font-size:22px;letter-spacing:-.02em}
.status-chip{padding:6px 9px;border-radius:var(--r-sm);background:#fbf1de;color:#976325;font-size:10px;font-weight:500}
.tab-row{display:flex;overflow-x:auto;background:var(--surface);border-block:1px solid var(--line)}
.tab-row button{padding:13px 15px;border:0;border-bottom:2px solid transparent;background:none;color:var(--text-faint);font-size:10.5px;cursor:pointer;white-space:nowrap}
.tab-row button:hover{color:var(--tc-forest)}
.tab-row button[aria-selected="true"]{color:var(--tc-forest);border-color:var(--tc-sage);font-weight:600}
.parcel-content{display:grid;grid-template-columns:1fr 175px;min-height:340px}
.record-main{padding:27px}
.record-label{font-size:9px;letter-spacing:.14em;text-transform:uppercase;color:var(--text-faint)}
.record-main h4{margin:8px 0 22px;font-size:21px;letter-spacing:-.02em}
.record-grid{display:grid;grid-template-columns:1fr 1fr;margin:0;border:1px solid var(--line);background:var(--surface)}
.record-grid div{display:flex;flex-direction:column;gap:6px;padding:14px;border-right:1px solid var(--line);border-bottom:1px solid var(--line)}
.record-grid div:nth-child(2n){border-right:0}
.record-grid div:nth-child(n+3){border-bottom:0}
.record-grid dt{font-size:9px;letter-spacing:.08em;text-transform:uppercase;color:var(--text-faint)}
.record-grid dd{margin:0;font-size:11.5px;color:var(--tc-forest)}
.record-grid dd.warning{color:#976325}
.record-note{display:flex;align-items:center;gap:9px;margin-top:16px;padding:11px;background:#e1eae4;font-size:10px;color:var(--text-muted)}
.record-note .icon{width:15px;height:15px}
.record-note span{display:flex;flex-direction:column;gap:2px}
.record-note strong{font-weight:600;color:var(--tc-forest)}
.history-rail{padding:26px 18px;background:#e1eae4}
.history-rail>span{font-size:9px;letter-spacing:.15em;color:var(--text-faint)}
.history-rail>div{position:relative;display:flex;gap:8px;padding-top:18px}
.history-rail>div:not(:last-child)::before{content:"";position:absolute;top:30px;left:4px;width:1px;height:26px;background:#c2d1c8}
.history-rail .node{z-index:1;flex:none;width:9px;height:9px;margin-top:2px;border:2px solid #a3b8ac;border-radius:50%;background:#e1eae4}
.history-rail .node.current{background:var(--tc-sage);border-color:var(--tc-sage)}
.history-rail p{margin:0;font-size:9.5px;color:var(--text-muted)}
.history-rail small{display:block;margin-top:3px;color:var(--text-faint)}

/* ---------- version comparison ---------- */
.version-section{background:var(--surface-tint)}
.version-grid{display:grid;grid-template-columns:1.2fr .8fr;align-items:center;gap:90px}
.comparison-window{background:var(--surface);box-shadow:0 28px 70px rgba(15,42,31,.12)}
.comparison-head{display:flex;justify-content:space-between;align-items:center;height:53px;padding:0 20px;border-bottom:1px solid var(--line);font-size:12px;font-weight:500}
.comparison-head>div{display:flex;align-items:center;gap:8px}
.comparison-head .icon{width:18px;height:18px;color:var(--tc-sage)}
.comparison-head small{padding:6px 9px;border-radius:var(--r-sm);background:var(--surface-tint);font-size:10px;font-weight:400;color:var(--text-muted)}
.compare-summary{display:grid;grid-template-columns:repeat(3,1fr);border-bottom:1px solid var(--line)}
.compare-summary>div{display:flex;align-items:baseline;gap:8px;padding:19px 20px;border-right:1px solid var(--line)}
.compare-summary>div:last-child{border:0}
.compare-summary .num{font-size:28px}
.compare-summary span{font-size:9.5px;color:var(--text-faint)}
.compare-summary .attn{background:#faf3e4}
.compare-summary .attn .num{color:#976325}
.exception-list>div{display:grid;grid-template-columns:1fr 86px 75px;align-items:center;min-height:56px;padding:0 18px;border-bottom:1px solid #edf1ee;font-size:10.5px}
.exception-list>div:last-child{border-bottom:0}
.exception-list .exception-head{min-height:34px;background:#f5f8f6;font-size:8.5px;letter-spacing:.13em;text-transform:uppercase;color:var(--text-faint)}
.ex-name{display:grid;grid-template-columns:25px 1fr;align-items:center}
.ex-num{grid-row:1/3;display:grid;place-items:center;width:18px;height:18px;border:1px solid var(--line);border-radius:4px;font-size:9px;color:var(--text-faint)}
.ex-name b{font-weight:500}
.ex-name small{margin-top:3px;font-size:8.5px;color:var(--text-faint)}
.exception-list .change,.exception-list .review{color:#976325}
.exception-list .new{color:#3d7a93}
.exception-list .resolved{color:var(--tc-moss)}
/* was an italic serif pull-quote; now a light-weight one, per the no-italics rule */
.version-copy blockquote{margin:32px 0 0;padding-left:20px;border-left:2px solid var(--tc-sage);font-size:25px;font-weight:300;line-height:1.35;letter-spacing:-.015em;color:var(--tc-forest)}

/* ---------- curative workflow ---------- */
.workflow-section{background:var(--forest-deep);color:var(--tc-paper)}
.wide-heading{display:grid;grid-template-columns:1fr .65fr;align-items:end;gap:90px}
.wide-heading>p{margin:0 0 7px;color:var(--on-dark);line-height:1.7;font-weight:300}
.workflow-panel{margin-top:50px;background:var(--surface-tint);border:1px solid var(--line-dark)}
.workflow-toolbar{display:flex;justify-content:space-between;align-items:center;height:63px;padding:0 23px;background:var(--surface)}
.workflow-toolbar>div{display:flex;align-items:center;gap:8px}
.toolbar-title{font-size:14px;font-weight:600}
.count-pill{padding:4px 8px;border-radius:20px;background:#e6eee9;font-size:10px;font-weight:500}
.toolbar-filter{padding:8px 10px;border:1px solid var(--line);border-radius:var(--r-sm);font-size:10.5px;color:var(--text-muted)}
.toolbar-filter .icon{width:14px;height:14px}
.workflow-row{display:grid;grid-template-columns:1.4fr .7fr .9fr .7fr .65fr;align-items:center;min-height:66px;padding:0 22px;border-bottom:1px solid var(--line);font-size:12.5px;color:var(--text-muted)}
.workflow-row:last-child{border-bottom:0}
.workflow-row.header{min-height:38px;background:#e3ebe6;font-size:9.5px;letter-spacing:.11em;text-transform:uppercase;color:var(--text-faint)}
.workflow-row>span:first-child{display:flex;align-items:center;gap:9px;font-weight:500;color:var(--tc-forest)}
.workflow-row.header>span:first-child{font-weight:400;color:inherit}
.issue-dot{flex:none;width:7px;height:7px;border-radius:50%;background:var(--st-open)}
.pill{justify-self:start;padding:6px 9px;border-radius:var(--r-sm);background:#e4ece7;font-size:10px;font-weight:500;color:var(--text-muted)}
.pill.critical{background:#f7e8e5;color:#a44f46}
.pill.in-progress{background:#e2efe8;color:var(--tc-moss)}
.answer-grid{display:grid;grid-template-columns:repeat(4,1fr);margin-top:20px;border:1px solid rgba(246,246,243,.13);border-radius:var(--r-lg)}
.answer-grid>div{display:grid;grid-template-columns:1fr auto;gap:12px 15px;align-items:center;padding:24px;border-right:1px solid rgba(246,246,243,.13)}
.answer-grid>div:last-child{border-right:0}
.answer-grid span{grid-column:1/3;font-size:11px;color:var(--on-dark-faint)}
.answer-grid p{margin:0;font-size:18px;letter-spacing:-.01em}
.answer-grid .icon{width:16px;height:16px;color:var(--tc-sage-light)}

/* ---------- implementation ---------- */
.implementation-section{background:var(--tc-paper)}
.implementation-grid{display:grid;grid-template-columns:1fr .9fr;align-items:center;gap:100px}
.implementation-copy>p{margin-top:24px}
.implementation-copy .button{margin-top:8px}
/* extra bottom padding: the badge hangs off the bottom-right corner and
   would otherwise sit on top of step 03's icon */
.migration-card{position:relative;padding:33px 33px 66px;border-radius:var(--r-lg);background:var(--surface);box-shadow:0 26px 65px rgba(15,42,31,.1);line-height:1.3}
.migration-step{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:15px}
.migration-step>span{display:grid;place-items:center;width:34px;height:34px;border-radius:var(--r-sm);background:#e4ede8;font-size:10.5px;font-weight:500;color:var(--tc-moss)}
.migration-step div{display:flex;flex-direction:column;gap:4px}
.migration-step strong{font-size:14.5px;font-weight:500}
.migration-step small{font-size:11.5px;color:var(--text-faint)}
.migration-step .icon{width:17px;height:17px;color:var(--tc-sage)}
.migration-line{width:1px;height:28px;margin:5px 0 5px 17px;background:#cfdcd4}
.days-badge{position:absolute;right:-22px;bottom:-25px;display:flex;flex-direction:column;padding:19px 23px;border-radius:var(--r-sm);background:var(--tc-forest);color:var(--tc-paper)}
.days-badge strong{font-size:28px;font-weight:300;letter-spacing:-.02em;color:var(--tc-mist)}
.days-badge span{margin-top:3px;font-size:10px;color:var(--on-dark)}

/* ---------- trust + faq ---------- */
.trust-section{background:var(--surface)}
.trust-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.trust-cards article{padding:30px;border:1px solid var(--line);border-radius:var(--r-lg)}
.trust-cards .icon{width:25px;height:25px;color:var(--tc-sage)}
.trust-cards h3{margin:22px 0 12px;font-size:21px;line-height:1.25;letter-spacing:-.015em}
.trust-cards p{margin:0;font-size:14.5px;line-height:1.7;color:var(--text-muted)}
.faq-grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:100px;margin-top:110px;padding-top:90px;border-top:1px solid var(--line)}
.faq-grid h3{margin:20px 0;font-size:38px;line-height:1.1;letter-spacing:-.03em}
.faq-list details{padding:19px 0;border-bottom:1px solid var(--line)}
.faq-list summary{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:16px;font-weight:500;cursor:pointer;list-style:none}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary .icon{width:18px;height:18px;color:var(--tc-sage);transition:transform .2s}
.faq-list details[open] summary .icon{transform:rotate(180deg)}
.faq-list p{max-width:650px;margin:14px 0 2px;font-size:14.5px;line-height:1.7;color:var(--text-muted)}

/* ---------- final cta ---------- */
.final-cta{position:relative;overflow:hidden;padding:120px 0}
.final-cta::after{
  content:"";position:absolute;top:-260px;right:-100px;width:600px;height:600px;border-radius:50%;
  border:1px solid rgba(169,197,180,.25);
  box-shadow:0 0 0 85px rgba(169,197,180,.04),0 0 0 170px rgba(169,197,180,.025);
}
.cta-inner{position:relative;z-index:2;max-width:800px;text-align:center}
.cta-inner .eyebrow{justify-content:center}
.cta-inner h2{font-size:clamp(38px,4.6vw,60px)}
/* `>p`: only the intro paragraph — the contact card below has its own text
   styles and must not inherit the on-dark color. */
.cta-inner>p{max-width:650px;margin:25px auto;color:var(--on-dark);font-size:17px;line-height:1.7;font-weight:300}
.cta-inner .button .icon,.hero-actions .button .icon{width:17px;height:17px}

/* ---------- contact form ----------
   Behavior (submit, success, mailto fallback) lives in site.js. The card is
   paper-on-forest so the fields read as a real, fillable form rather than
   dark-on-dark chrome. */
.contact-card{
  max-width:600px;margin:40px auto 0;padding:32px;border-radius:var(--r-lg);
  background:var(--tc-paper);color:var(--tc-forest);text-align:left;
  box-shadow:0 35px 75px rgba(0,0,0,.32);
}
.contact-form{display:grid;gap:16px}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{display:grid;gap:6px;min-width:0}
.field label{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--text-muted)}
.field .optional{font-weight:400;letter-spacing:.02em;text-transform:none;color:var(--text-faint)}
/* 16px minimum: below that iOS Safari zooms the whole page on field focus */
.field input,.field textarea{
  width:100%;padding:12px 14px;border:1px solid var(--line);border-radius:var(--r-sm);
  background:var(--surface);color:var(--tc-forest);font:inherit;font-size:16px;line-height:1.4;
}
.field textarea{min-height:88px;resize:vertical}
.field input:focus,.field textarea:focus{outline:2px solid var(--tc-sage);outline-offset:-1px;border-color:var(--tc-sage)}
.contact-form>.button{width:100%;margin-top:4px;padding:16px 22px;font-size:15.5px;cursor:pointer}
.contact-form>.button:disabled{opacity:.65;cursor:progress;transform:none}
.form-note{margin:0;font-size:13px;line-height:1.6;color:var(--text-muted)}
.form-note a{color:var(--tc-forest);text-decoration:underline;text-underline-offset:2px}
.contact-failure{display:grid;gap:8px;justify-items:start;padding:16px;border-left:2px solid var(--st-critical);border-radius:var(--r-sm);background:#fdf6f4;font-size:14.5px;line-height:1.5;color:#7d3f39}
.contact-failure strong{font-weight:600}
.contact-failure .button{margin-top:4px}
.contact-success{padding:28px 8px;text-align:center;outline:0}
.contact-success .icon{width:44px;height:44px;margin:0 auto 14px;padding:10px;border-radius:50%;background:#e2efe8;color:var(--tc-moss)}
.contact-success h3{font-size:26px;letter-spacing:-.02em}
.contact-success p{margin:10px 0 0;color:var(--text-muted)}

/* ---------- legal pages (privacy/) ---------- */
.legal-hero{padding:calc(var(--header-h) + 72px) 0 60px}
.legal-hero h1{margin-top:18px;font-size:clamp(38px,4.6vw,60px);line-height:1.04;letter-spacing:-.035em}
.legal-hero p{max-width:640px;margin:20px 0 0;color:var(--on-dark);font-size:17px;line-height:1.7;font-weight:300}
.legal-body{padding:72px 0 110px;background:var(--tc-paper)}
.legal-layout{display:grid;grid-template-columns:200px minmax(0,720px);gap:90px;align-items:start}
.legal-toc{position:sticky;top:calc(var(--header-h) + 32px);display:grid;gap:10px;font-size:13.5px;color:var(--text-muted)}
.legal-toc strong{margin-bottom:4px;font-size:11px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--accent-sm)}
.legal-toc a:hover{color:var(--tc-forest)}
.prose h2{margin:56px 0 14px;font-size:28px;line-height:1.15;letter-spacing:-.02em}
.prose h3{margin:30px 0 8px;font-size:18px;letter-spacing:-.005em}
.prose p,.prose li{font-size:16.5px;line-height:1.75;color:var(--text-muted)}
.prose p{margin:0 0 1em}
.prose ul{margin:0 0 1em;padding-left:1.2em}
.prose li{margin-bottom:.4em}
.prose li::marker{color:var(--tc-sage)}
.prose strong{font-weight:500;color:var(--tc-forest)}
.prose a{color:var(--tc-forest);text-decoration:underline;text-decoration-color:var(--tc-sage);text-underline-offset:3px}
.summary-card{padding:28px 30px;border:1px solid var(--line);border-radius:var(--r-lg);background:var(--surface)}
.summary-card h2{margin-top:0}
.summary-card ul{margin-bottom:0}
.provider-table{width:100%;margin:6px 0 1.2em;border-collapse:collapse;font-size:15px}
.provider-table th{padding:10px 12px 10px 0;border-bottom:1px solid var(--line);text-align:left;font-size:11px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--text-faint)}
.provider-table td{padding:13px 12px 13px 0;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.55;color:var(--text-muted)}
.provider-table td:first-child{font-weight:500;color:var(--tc-forest);white-space:nowrap}
.optout-card{display:grid;gap:14px;justify-items:start;margin:6px 0 1.4em;padding:22px 24px;border-radius:var(--r-lg);background:var(--surface-tint)}
.optout-card p{margin:0;font-size:15px}
.optout-card .button{cursor:pointer}

/* ---------- footer ---------- */
footer{padding:32px 0;background:var(--forest-deepest);color:var(--tc-paper)}
.footer-inner{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center}
.footer-inner p{margin:0;text-align:center;font-size:13px;color:var(--on-dark-faint)}
.footer-inner>span{text-align:right;font-size:12px;color:var(--on-dark-faint)}
.footer-legal{margin-top:24px;padding-top:20px;border-top:1px solid rgba(246,246,243,.08);display:flex;justify-content:space-between;gap:12px;font-size:12px;color:var(--on-dark-faint)}
.footer-legal a:hover{color:var(--tc-paper)}
.footer-links{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 22px}

/* ---------- responsive ---------- */
@media (max-width:1000px){
  .nav-links{gap:20px}
  .pain-grid{grid-template-columns:repeat(3,1fr)}
  .pain-grid p{grid-column:1/4;padding:20px;text-align:center}
  .parcel-grid,.version-grid,.implementation-grid{grid-template-columns:1fr;gap:60px}
  .parcel-copy{max-width:650px}
  .wide-heading{grid-template-columns:1fr;gap:24px}
  .split-intro{gap:60px}
  .faq-grid{gap:50px}
  /* the badge hangs 22px outside the card; pull it in before it can cause
     horizontal scroll on narrow screens */
  .days-badge{right:16px}
  /* the sticky table of contents needs a second column; below this it's
     just noise above the text */
  .legal-layout{grid-template-columns:minmax(0,720px)}
  .legal-toc{display:none}
}
@media (max-width:760px){
  :root{--header-h:66px}
  .shell,.nav-shell{width:min(100% - 32px,1180px)}
  .section{padding:78px 0}
  .nav-links{
    display:none;position:absolute;top:var(--header-h);left:0;right:0;margin:0;padding:22px 24px;
    flex-direction:column;align-items:flex-start;background:var(--tc-forest);border-top:1px solid var(--line-dark);
    font-size:16px;
  }
  .nav-links.open{display:flex}
  .nav-cta{display:none}
  .menu-button{display:block}
  .hero{padding-top:118px}
  /* the eyebrow is long; centered + wrapped it reads better without the rule */
  .hero-copy .eyebrow::before{display:none}
  .hero-actions{flex-direction:column;gap:20px}
  .hero-proof{gap:10px 16px}
  .hero-shot{width:min(100% - 32px,1280px);margin-top:48px}
  /* phones get the pre-cropped detail column (<picture> in index.html),
     which is already cut mid-content — so no extra bottom crop here */
  .hero-shot img{aspect-ratio:1144/1908}
  .pain-grid{grid-template-columns:1fr}
  .pain-grid>div{border-right:0;border-bottom:1px solid rgba(246,246,243,.09)}
  .pain-grid p{grid-column:auto}
  .split-intro,.faq-grid{grid-template-columns:1fr;gap:40px}
  .intro-copy{padding-top:0}
  .status-board{grid-template-columns:1fr 1fr}
  .status-tile{border-bottom:1px solid var(--line);border-radius:0!important}
  .status-tile:nth-child(2n){border-right:0}
  .status-tile:last-child{grid-column:1/3;border-bottom:0}
  .parcel-copy ul{grid-template-columns:1fr}
  .parcel-content{grid-template-columns:1fr}
  .history-rail{display:none}
  .record-grid{grid-template-columns:1fr}
  .record-grid div{border-right:0!important;border-bottom:1px solid var(--line)!important}
  .record-grid div:last-child{border-bottom:0!important}
  /* copy first, then the comparison window (it sits left on desktop) */
  .version-grid{display:flex;flex-direction:column-reverse}
  /* wide mock tables scroll inside their window instead of squashing */
  .comparison-window{width:100%;overflow:auto}
  .exception-list{min-width:480px}
  .workflow-panel{overflow-x:auto}
  .workflow-table{min-width:700px}
  .answer-grid{grid-template-columns:1fr 1fr}
  .answer-grid>div:nth-child(2){border-right:0}
  .answer-grid>div:nth-child(-n+2){border-bottom:1px solid rgba(246,246,243,.13)}
  .trust-cards{grid-template-columns:1fr}
  .faq-grid{margin-top:70px;padding-top:60px}
  .faq-grid h3{font-size:32px}
  .footer-inner{grid-template-columns:1fr;gap:18px;text-align:center}
  .footer-inner .logo{justify-content:center}
  .footer-inner p,.footer-inner>span{text-align:center}
  .footer-legal{flex-direction:column;align-items:center}
  .contact-card{padding:24px 20px}
  .field-row{grid-template-columns:1fr}
  .legal-hero{padding:calc(var(--header-h) + 48px) 0 44px}
  .legal-body{padding:48px 0 78px}
  .prose h2{margin-top:44px;font-size:24px}
  .summary-card{padding:22px 20px}
  /* three columns of prose can't fit a phone: stack each provider as a block */
  .provider-table thead{display:none}
  .provider-table tr{display:block;padding:14px 0;border-bottom:1px solid var(--line)}
  .provider-table td{display:block;padding:0 0 4px;border:0;white-space:normal}
}
@media (max-width:470px){
  .hero h1{font-size:44px}
  .status-board{grid-template-columns:1fr}
  .status-tile{border-right:0}
  .status-tile:last-child{grid-column:auto}
  .answer-grid{grid-template-columns:1fr}
  .answer-grid>div{border-right:0;border-bottom:1px solid rgba(246,246,243,.13)}
  .answer-grid>div:last-child{border-bottom:0}
  .compare-summary>div{padding:14px 10px}
  .compare-summary .num{font-size:22px}
}
@media (prefers-reduced-motion:reduce){
  *{scroll-behavior:auto!important;transition:none!important}
}
