/* ============================================================================
   Merit — marketing and public pages
   Serves meritcv.com (landing/) and the public pages on app.meritcv.com
   (subscribe, terms, privacy, refund, contact).

   This file declares NO design tokens and no reset. It sits on top of
   design/tokens.css, design/base.css and design/components.css, which are the
   single source for colour, geometry, type and controls. The earlier
   stylesheet declared its own full token set, which silently overrode the
   design layer exactly as web/styles.css did.

   Copied into web/ and landing/ by `npm run design:sync`.
   ========================================================================= */

body {
  background: var(--bg);
  color: var(--label);
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--s-5);
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -60px;
  z-index: 200;
  padding: var(--s-3) var(--s-4);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: var(--surface-1);
  color: var(--label);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-float);
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: var(--s-4); }

/* ------------------------------------------------------------ site header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgb(var(--bar-rgb) / var(--bar-alpha));
  backdrop-filter: var(--material-blur);
  -webkit-backdrop-filter: var(--material-blur);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: 62px;
}
.brand { display: inline-flex; align-items: center; gap: var(--s-2); margin-right: auto; }
.brand-mark { display: grid; place-items: center; color: var(--accent); }
.brand-mark svg { width: 22px; height: 22px; }
.brand-word { font-size: var(--t-5); font-weight: var(--w-bold); letter-spacing: -0.03em; }

.site-nav { display: flex; align-items: center; gap: var(--s-5); }
.site-nav > a:not(.btn):not(.m-btn) {
  font-size: var(--t-4);
  font-weight: var(--w-medium);
  color: var(--label-2);
  transition: color var(--t-fast) var(--ease);
}
.site-nav > a:not(.btn):not(.m-btn):hover { color: var(--label); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 44px; height: 44px;
  padding: 0 10px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
}
.nav-toggle span { display: block; height: 2px; background: var(--label); border-radius: var(--r-full); }

/* Stays in the header on every width, including when the nav collapses. */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  background: var(--surface-1);
  color: var(--label);
  font-family: var(--font);
  font-size: var(--t-3);
  font-weight: var(--w-semi);
  letter-spacing: var(--track-body);
  cursor: pointer;
}
.theme-toggle svg { width: 16px; height: 16px; display: block; flex: 0 0 auto; }
.theme-toggle .theme-when-dark { display: none; }
[data-theme="dark"] .theme-toggle .theme-when-light { display: none; }
[data-theme="dark"] .theme-toggle span.theme-when-dark { display: inline; }
[data-theme="dark"] .theme-toggle svg.theme-when-dark { display: block; }
.theme-toggle:hover { background: var(--surface-2); }

/* On the pages that still use the legacy `.btn` classes, keep them on the
   design system rather than re-introducing the old type treatment. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: 0 var(--s-5);
  border: 1px solid transparent;
  border-radius: var(--r-md);
  font-family: var(--font);
  font-size: var(--t-4);
  font-weight: var(--w-semi);
  letter-spacing: var(--track-body);
  text-transform: none;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), transform var(--t-press) var(--ease);
}
.btn:active { transform: scale(0.975); }
.btn-primary { background: var(--accent-solid); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-press); }
.btn-outline { background: transparent; border-color: var(--line-strong); color: var(--label); }
.btn-outline:hover { background: var(--surface-2); }
.btn-ghost { background: transparent; color: var(--accent); }
.btn-sm { min-height: 44px; padding-inline: var(--s-4); font-size: var(--t-3); border-radius: var(--r-sm); }
.btn-block { width: 100%; }

/* ------------------------------------------------------------------ hero */
.hero { padding: var(--s-11) 0 var(--s-12); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: var(--s-8);
  align-items: center;
}
.hero-copy { display: grid; gap: var(--s-5); align-content: start; }
.hero h1 {
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.5rem);
  font-weight: var(--w-bold);
  line-height: 1.02;
  letter-spacing: var(--track-display);
  text-wrap: balance;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lede {
  font-size: var(--t-5);
  color: var(--label-2);
  line-height: var(--lh-body);
  max-width: 40ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.hero-points { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: var(--t-3);
  color: var(--label-2);
}
.hero-points svg { width: 15px; height: 15px; color: var(--success); flex: 0 0 auto; }
.hero-fine { font-size: var(--t-3); color: var(--label-3); }

/* -------------------------------------------------------------- product mock */
.mock {
  position: relative;
  background: var(--surface-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-float);
  overflow: hidden;
}
.mock-head {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.mock-file { font-size: var(--t-3); font-weight: var(--w-semi); color: var(--label-2); margin-right: auto; }
.mock-tabs { display: inline-flex; gap: var(--s-1); }
.mock-tabs span {
  padding: 2px var(--s-2);
  border-radius: var(--r-full);
  font-size: var(--t-2);
  color: var(--label-3);
}
.mock-tabs .is-current { background: var(--accent-soft); color: var(--accent); font-weight: var(--w-semi); }
.mock-body { padding: var(--s-4); display: grid; gap: var(--s-4); }
/* `--label-3` is the placeholder step and does not clear 4.5:1 at 12px on this
   surface: the marketing audit measured 4.42:1 on the hero mock in dark. The
   secondary step is what the app uses for small semi-bold labels, and it is the
   one that is guaranteed to pass. */
.mock-label {
  font-size: var(--t-2);
  font-weight: var(--w-semi);
  color: var(--label-2);
}
.mock-source {
  padding: var(--s-3);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: var(--t-3);
  color: var(--label-2);
}
.turns { display: grid; gap: var(--s-3); }
.turn { display: grid; gap: 2px; }
.turn-who { font-size: var(--t-2); font-weight: var(--w-semi); color: var(--label-3); }
.turn p:last-child { font-size: var(--t-3); color: var(--label-2); line-height: 1.5; }
.turn-you .turn-who { color: var(--accent); }
.turn-you p:last-child { color: var(--label); }
.mock-draft {
  padding: var(--s-3);
  border: 1px solid var(--accent-edge);
  border-radius: var(--r-md);
  background: var(--accent-soft);
  display: grid;
  gap: var(--s-2);
}
.mock-lines { display: grid; gap: var(--s-2); }
.mock-lines li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  font-size: var(--t-3);
  color: var(--label);
  line-height: 1.45;
}
.mock-lines .tick {
  flex: 0 0 auto;
  width: 15px; height: 15px;
  margin-top: 3px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--line-strong);
}
.mock-lines .is-kept .tick {
  background: var(--success);
  border-color: var(--success);
  box-shadow: inset 0 0 0 2px var(--surface-1);
}
.mock-tools { display: flex; gap: var(--s-2); }
.mock-tools span {
  padding: 2px var(--s-2);
  border-radius: var(--r-full);
  font-size: var(--t-2);
  font-weight: var(--w-semi);
  background: var(--surface-3);
  color: var(--label-2);
}
.mock-tools .tool-keep { background: var(--accent); color: var(--accent-ink); }
.mock-out {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.mock-out .doc-name { font-size: var(--t-3); font-weight: var(--w-semi); color: var(--label); }
.mock-out .doc-status { font-size: var(--t-2); color: var(--label-3); }
.mock figcaption { padding: 0 var(--s-4) var(--s-4); font-size: var(--t-2); color: var(--label-3); }

/* ------------------------------------------------- posting to CV demo
   Every selector is nested under .hero-demo so nothing here can restyle
   .mock or the rest of the page. The CV panel is a paper surface in both
   themes: it is the document, not another dark card. */
.hero-demo {
  margin: 0;
  background: var(--surface-1);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-float);
}
.hero-demo-panels {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: var(--s-3);
  align-items: stretch;
  min-height: 560px;
  padding: var(--s-4);
}
.hero-demo .demo-chat,
.hero-demo .demo-cv {
  min-width: 0;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-4);
}
.hero-demo .demo-chat {
  background: var(--surface-2);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.hero-demo .demo-chat-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px var(--s-3);
  align-items: center;
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--line);
}
.hero-demo .demo-kicker {
  font-size: 12px;
  line-height: 1.3;
  font-weight: var(--w-semi);
  color: var(--label-2);
}
.hero-demo .demo-chat-title {
  grid-column: 1;
  font-size: 15px;
  line-height: 1.25;
  font-weight: var(--w-semi);
  color: var(--label);
  white-space: nowrap;
}
.hero-demo .demo-status {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: var(--w-semi);
  color: var(--success);
}
.hero-demo .demo-status span {
  width: 7px;
  height: 7px;
  border-radius: var(--r-full);
  background: var(--success);
}
.hero-demo .demo-thread { display: grid; gap: var(--s-4); align-content: start; }
.hero-demo .demo-msg { display: grid; gap: 2px; }
.hero-demo .demo-who { font-size: 12px; line-height: 1.3; font-weight: var(--w-semi); color: var(--label-2); }
.hero-demo .demo-msg.is-merit .demo-who { color: var(--accent); }
.hero-demo .demo-msg p:last-child { font-size: 14px; line-height: 1.45; color: var(--label); }
.hero-demo .demo-composer {
  margin-top: auto;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface-1);
  font-size: 13px;
  line-height: 1.3;
  color: var(--label-3);
}
.hero-demo .demo-join {
  align-self: center;
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
  font-weight: var(--w-bold);
}
.hero-demo .demo-cv {
  overflow: hidden;
  background: #fff;
  color: #14161a;
  font-family: var(--font-doc);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-demo .demo-cv-name { font-size: 15px; line-height: 1.2; font-weight: 650; }
.hero-demo .demo-cv-role {
  display: flex;
  justify-content: space-between;
  gap: var(--s-2);
  font-size: 12px;
  line-height: 1.3;
  color: #47505a;
}
.hero-demo .demo-cv ul { display: grid; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.hero-demo .demo-cv-contact {
  font-size: 12px;
  line-height: 1.3;
  color: #47505a;
}
.hero-demo .demo-cv li {
  font-size: 13px;
  line-height: 1.4;
  padding: 6px 8px;
  border-radius: 6px;
}
.hero-demo .demo-cv .is-hit { background: rgb(227 168 74 / 0.28); }
.hero-demo .demo-cv-foot {
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid rgb(0 0 0 / 0.1);
  font-size: 11px;
  line-height: 1.3;
  font-family: var(--font);
  color: #47505a;
}
.hero-demo figcaption { padding: 0 var(--s-4) var(--s-4); font-size: var(--t-2); color: var(--label-3); }

.fit-sample {
  margin-top: var(--s-6);
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-1);
}
.section-soft .fit-sample { background: var(--bg); }
.vault-col { max-width: 62ch; }

.mock-stage {
  flex: 0 0 auto;
  padding: 3px var(--s-2);
  border-radius: var(--r-full);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: var(--t-2);
  font-weight: var(--w-semi);
}
.mock-pack { gap: 0; }
.mock-pack-intro { display: grid; gap: var(--s-1); padding-bottom: var(--s-3); }
.mock-pack-intro > p:last-child { font-size: var(--t-3); color: var(--label); }
.mock-pack-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  align-items: start;
  gap: var(--s-3);
  padding: var(--s-3) 0;
  border-top: 1px solid var(--line);
}
.mock-pack-row strong { display: block; font-size: var(--t-3); font-weight: var(--w-semi); }
.mock-pack-row p { margin-top: 2px; font-size: var(--t-3); color: var(--label-2); line-height: 1.45; }
.mock-pack-status {
  display: inline-flex;
  justify-content: center;
  padding: 3px var(--s-2);
  border-radius: var(--r-full);
  font-size: var(--t-2);
  font-weight: var(--w-semi);
}
.mock-pack-status.is-covered { color: var(--success); background: var(--success-soft); }
.mock-pack-status.is-partly { color: var(--warn); background: var(--warn-soft); }
.mock-pack-status.is-gap { color: var(--warn); background: var(--warn-soft); }
.mock-pack-outputs {
  display: grid;
  gap: var(--s-2);
  margin: var(--s-2) 0 var(--s-4);
  padding: var(--s-3);
  border: 1px solid var(--accent-edge);
  border-radius: var(--r-md);
  background: var(--accent-soft);
}
.mock-pack-outputs ul { display: grid; gap: var(--s-1); }
.mock-pack-outputs li { font-size: var(--t-3); color: var(--label); }
.mock-pack-outputs li::before { content: '✓'; color: var(--accent); margin-right: var(--s-2); }

/* ---------------------------------------------------------------- sections */
.section { padding: var(--s-11) 0; border-top: 1px solid var(--line); }
.section-soft { background: var(--surface-1); }
.section-head { display: grid; gap: var(--s-3); max-width: 62ch; margin-bottom: var(--s-8); }
.section h2 {
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.25rem);
  font-weight: var(--w-bold);
  line-height: 1.12;
  letter-spacing: var(--track-display);
  text-wrap: balance;
}
.section-lede { font-size: var(--t-5); color: var(--label-2); line-height: var(--lh-body); }
.kicker {
  font-size: var(--t-3);
  font-weight: var(--w-semi);
  color: var(--accent);
  letter-spacing: 0;
  text-transform: none;
}

.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--surface-1);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  display: grid;
  gap: var(--s-3);
  align-content: start;
}
.section-soft .card { background: var(--bg); }
.card h3 { font-size: var(--t-5); font-weight: var(--w-semi); letter-spacing: var(--track-card); }
.card p { font-size: var(--t-4); color: var(--label-2); line-height: var(--lh-body); }
.card-num {
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: var(--t-2);
  font-weight: var(--w-bold);
  font-variant-numeric: tabular-nums;
}

.ticks { display: grid; gap: var(--s-2); }
.ticks li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
  font-size: var(--t-4);
  color: var(--label-2);
  line-height: 1.5;
}
.ticks svg { flex: 0 0 auto; margin-top: 4px; color: var(--success); }

/* ------------------------------------------------------ application workflow */
.application-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--s-8); align-items: start; }
.application-work { display: grid; }
.application-work li {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-top: 1px solid var(--line);
}
.application-work li:last-child { border-bottom: 1px solid var(--line); }
.application-work li > span { font-family: var(--font-num); font-size: var(--t-3); font-weight: var(--w-bold); color: var(--accent); }
.application-work h3 { font-size: var(--t-5); font-weight: var(--w-semi); margin-bottom: var(--s-1); }
.application-work p { font-size: var(--t-4); color: var(--label-2); line-height: var(--lh-body); }
.application-extra {
  display: grid;
  gap: var(--s-4);
  padding: var(--s-6);
  border: 1px solid var(--accent-edge);
  border-radius: var(--r-lg);
  background: var(--bg);
  box-shadow: var(--shadow-card);
}
.application-extra h3 { font-size: var(--t-6); font-weight: var(--w-semi); letter-spacing: var(--track-heading); }
.application-extra > p:not(.mock-label) { font-size: var(--t-4); color: var(--label-2); line-height: var(--lh-body); }
.application-extra .application-boundary { padding-top: var(--s-4); border-top: 1px solid var(--line); color: var(--label); }
.application-extra .btn { justify-self: start; }

/* ---------------------------------------------------------------- callouts */
.proof-block { display: grid; gap: var(--s-2); }
.proof-block h3 { font-size: var(--t-5); font-weight: var(--w-semi); letter-spacing: var(--track-card); }
.proof-block ul { display: grid; gap: var(--s-2); }
.proof-block li { font-size: var(--t-4); color: var(--label-2); line-height: 1.5; }

.compare-note { font-size: var(--t-2); color: var(--label-3); margin-top: var(--s-3); }

/* ----------------------------------------------------------------- pricing */
.price-card { display: grid; gap: var(--s-4); align-content: start; }
.price-card h3 { font-size: var(--t-5); font-weight: var(--w-semi); }
.price-amount { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem); font-weight: var(--w-bold); letter-spacing: -0.04em; }
.price-amount small { font-size: var(--t-5); font-weight: var(--w-medium); color: var(--label-3); }
.price-sub { font-size: var(--t-3); color: var(--label-3); }
.price-card .ticks { margin-top: var(--s-1); }
.price-feature { border-color: var(--accent-edge); box-shadow: 0 0 0 1px var(--accent-edge), var(--shadow-card); }
.price-fine { font-size: var(--t-3); color: var(--label-3); margin-top: var(--s-5); max-width: 68ch; }

/* --------------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 60px;
  padding: var(--s-4) 0;
  cursor: pointer;
  font-size: var(--t-5);
  font-weight: var(--w-semi);
  letter-spacing: var(--track-card);
  color: var(--label);
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: var(--t-6);
  font-weight: var(--w-regular);
  color: var(--label-3);
  transition: transform var(--t-fast) var(--ease);
}
.faq details[open] summary::after { content: "−"; }
.faq .faq-body { padding: 0 0 var(--s-5); max-width: 68ch; }
.faq .faq-body p { font-size: var(--t-4); color: var(--label-2); line-height: var(--lh-body); }
.faq .faq-body p + p { margin-top: var(--s-3); }

/* ------------------------------------------------------------------ footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface-1);
  padding: var(--s-9) 0 var(--s-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr);
  gap: var(--s-8);
}
.footer-brand { display: grid; gap: var(--s-3); align-content: start; }
.footer-brand p { font-size: var(--t-3); color: var(--label-2); max-width: 34ch; }
.footer-domain { font-family: var(--font-num); font-size: var(--t-2); color: var(--label-3); }
.footer-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.footer-nav h3 { font-size: var(--t-3); font-weight: var(--w-semi); color: var(--label-3); margin-bottom: var(--s-3); }
.footer-nav ul { display: grid; gap: var(--s-2); }
.footer-nav li, .footer-nav a { font-size: var(--t-3); color: var(--label-2); }
.footer-nav a:hover { color: var(--label); }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.footer-base p { font-size: var(--t-2); color: var(--label-3); }
.footer-legal a { color: var(--label-2); text-decoration: underline; text-underline-offset: 2px; }

/* ------------------------------------------------------------- contact */
.contact-layout {
  display: grid;
  gap: var(--s-5);
  padding: var(--s-8) 0 var(--s-11);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5);
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-3);
  min-width: 0;
  padding: var(--s-7);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  background: var(--surface-1);
  box-shadow: var(--shadow-card);
}
.contact-card h2 {
  font-size: clamp(var(--t-6), 1.1rem + 0.6vw, var(--t-7));
  font-weight: var(--w-bold);
  letter-spacing: var(--track-heading);
  line-height: var(--lh-heading);
}
.contact-card p { color: var(--label-2); line-height: var(--lh-body); max-width: 36ch; }
.contact-card > p:last-child { max-width: none; align-self: stretch; width: 100%; margin-top: auto; }
.contact-card .btn { width: 100%; }
.contact-aside {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.7fr);
  gap: var(--s-7);
  padding: var(--s-6) var(--s-7);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface-2);
}
.contact-aside h2 {
  font-size: var(--t-4);
  font-weight: var(--w-semi);
  letter-spacing: var(--track-card);
  margin-bottom: var(--s-2);
}
.contact-aside p,
.contact-aside li {
  color: var(--label-2);
  font-size: var(--t-4);
  line-height: var(--lh-body);
}
.contact-aside a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.contact-aside ul { display: grid; gap: var(--s-1); }
.contact-aside li { display: flex; align-items: center; min-height: 44px; }

/* ------------------------------------------------- legal and public pages */
.page-hero { padding: var(--s-9) 0 var(--s-6); }
.page-hero h1 {
  font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.75rem);
  font-weight: var(--w-bold);
  letter-spacing: var(--track-display);
  margin-top: var(--s-2);
}
.page-hero .lede { font-size: var(--t-5); color: var(--label-2); margin-top: var(--s-3); max-width: 60ch; }
.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-5);
  margin-top: var(--s-4);
  font-size: var(--t-3);
  color: var(--label-3);
}

.doc {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: var(--s-8);
  align-items: start;
  padding-bottom: var(--s-11);
}
.doc-toc { position: sticky; top: calc(62px + var(--s-5)); display: grid; gap: var(--s-2); }
.doc-toc > p { font-size: var(--t-3); font-weight: var(--w-semi); color: var(--label-3); }
.doc-toc ol { display: grid; gap: var(--s-2); counter-reset: toc; }
.doc-toc a { font-size: var(--t-3); color: var(--label-2); }
.doc-toc a:hover { color: var(--accent); }
.doc-body { max-width: 68ch; }
.doc-body h2 {
  font-size: var(--t-6);
  font-weight: var(--w-bold);
  letter-spacing: var(--track-heading);
  margin: var(--s-8) 0 var(--s-3);
}
.doc-body h2:first-child { margin-top: 0; }
.doc-body h3 { font-size: var(--t-5); font-weight: var(--w-semi); margin: var(--s-5) 0 var(--s-2); }
.doc-body p, .doc-body li { font-size: var(--t-4); color: var(--label-2); line-height: var(--lh-body); }
.doc-body p + p { margin-top: var(--s-3); }
.doc-body ul, .doc-body ol { display: grid; gap: var(--s-2); margin: var(--s-3) 0 0 var(--s-5); }
.doc-body li { list-style: disc; }
.doc-body ol > li { list-style: decimal; }
.doc-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.doc-body strong { color: var(--label); font-weight: var(--w-semi); }
.doc-body table { width: 100%; border-collapse: collapse; margin-top: var(--s-4); }
.doc-body th, .doc-body td {
  text-align: left;
  padding: var(--s-3);
  border-bottom: 1px solid var(--line);
  font-size: var(--t-3);
  color: var(--label-2);
}
.doc-body th { color: var(--label); font-weight: var(--w-semi); }

/* Public pricing and policy pages share a quieter, editorial layout. */
.public-page .page-hero {
  padding: var(--s-10) 0 var(--s-9);
  background:
    radial-gradient(circle at 88% 12%, var(--accent-soft), transparent 35%),
    var(--surface-1);
  border-bottom: 1px solid var(--line);
}
.public-page .page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.4rem, 1.7rem + 3.2vw, 4.4rem);
  line-height: 1.04;
  text-wrap: balance;
}
.public-page .page-hero .lede {
  max-width: 64ch;
  line-height: var(--lh-body);
}
.public-page .page-meta { gap: var(--s-2) var(--s-4); margin-top: var(--s-6); }
.public-page .page-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  background: var(--surface-1);
  color: var(--label-2);
}

.pricing-page .price-page { padding: var(--s-10) 0 var(--s-11); }
.pricing-page .price-intro { max-width: 66ch; margin-bottom: var(--s-6); }
.pricing-page .price-intro h2,
.pricing-page .price-section h2 {
  font-size: clamp(var(--t-7), 1.15rem + 1vw, var(--t-8));
  letter-spacing: var(--track-heading);
  line-height: var(--lh-heading);
}
.pricing-page .price-intro p,
.pricing-page .price-section > p {
  margin-top: var(--s-2);
  color: var(--label-2);
  line-height: var(--lh-body);
}
.pricing-page .plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-5);
  align-items: stretch;
}
.pricing-page .plan {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  min-width: 0;
  padding: var(--s-7);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-xl);
  background: var(--surface-1);
  box-shadow: var(--shadow-card);
}
.pricing-page .plan-featured {
  border-color: var(--accent-edge);
  box-shadow: 0 0 0 1px var(--accent-edge), var(--shadow-card);
}
.pricing-page .plan-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.pricing-page .plan h3 { font-size: var(--t-6); letter-spacing: var(--track-card); }
.pricing-page .plan-flag {
  padding: var(--s-1) var(--s-3);
  border-radius: var(--r-full);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: var(--t-2);
  font-weight: var(--w-semi);
}
.pricing-page .plan-price { display: flex; align-items: baseline; gap: var(--s-2); flex-wrap: wrap; }
.pricing-page .plan-price .plan-price-was {
  font-size: var(--t-5);
  font-weight: 400;
  color: var(--label-3);
  text-decoration: line-through;
}
.pricing-page .plan-price .amount {
  font-size: clamp(2.8rem, 2.2rem + 1.4vw, 3.7rem);
  font-weight: var(--w-bold);
  line-height: 1;
  letter-spacing: var(--track-display);
}
.pricing-page .plan-price .per { color: var(--label-3); font-size: var(--t-4); }
.pricing-page .plan-sub { color: var(--label-2); line-height: var(--lh-body); min-height: 3.1em; }
.pricing-page .plan-list { display: grid; gap: var(--s-3); margin: var(--s-3) 0 var(--s-6); }
.pricing-page .plan-list li {
  position: relative;
  padding-left: var(--s-6);
  color: var(--label-2);
  font-size: var(--t-4);
  line-height: 1.45;
}
.pricing-page .plan-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: var(--w-bold);
}
.pricing-page .plan .btn { margin-top: auto; }
.pricing-page .plan-fine { color: var(--label-3); font-size: var(--t-3); line-height: 1.45; }
.pricing-page .price-section { padding-top: var(--s-10); }
.pricing-page .price-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-6);
}
.pricing-page .price-detail {
  padding: var(--s-6);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-1);
}
.pricing-page .price-detail h3 { font-size: var(--t-5); letter-spacing: var(--track-card); }
.pricing-page .price-detail p { margin-top: var(--s-3); color: var(--label-2); font-size: var(--t-4); line-height: var(--lh-body); }
.pricing-page .price-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--s-5);
}
.pricing-page .price-note {
  margin-top: var(--s-6);
  padding: var(--s-6);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-1);
}
.pricing-page .price-note p + p { margin-top: var(--s-3); }
.pricing-page .price-note p { color: var(--label-2); line-height: var(--lh-body); }
.pricing-page .price-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.pricing-page .price-note .btn { text-decoration: none; color: var(--accent-ink); margin-top: var(--s-4); }

.policy-page .policy-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-3);
  margin-top: var(--s-7);
}
.policy-page .policy-highlights a {
  display: grid;
  align-content: start;
  gap: var(--s-2);
  min-height: 124px;
  padding: var(--s-5);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--bg);
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.policy-page .policy-highlights a:hover { border-color: var(--accent-edge); transform: translateY(-2px); }
.policy-page .policy-highlights strong { font-size: var(--t-4); }
.policy-page .policy-highlights span { color: var(--label-2); font-size: var(--t-3); line-height: 1.45; }
.policy-page .doc { padding-top: var(--s-9); }
.policy-page .doc-toc {
  padding: var(--s-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-1);
}
.policy-page .doc-toc > p { color: var(--label); }
.policy-page .doc-toc ol { gap: 0; margin-top: var(--s-3); }
.policy-page .doc-toc li { border-top: 1px solid var(--line-faint); }
.policy-page .doc-toc a { display: flex; align-items: center; min-height: 36px; line-height: 1.3; }
.policy-page .doc-toc a:hover { color: var(--accent); }
.policy-page .doc-body { max-width: 72ch; }
.policy-page .doc-body h2 {
  scroll-margin-top: calc(62px + var(--s-5));
  margin-top: var(--s-8);
  padding-top: var(--s-7);
  border-top: 1px solid var(--line);
  font-size: var(--t-7);
}
.policy-page .doc-body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.policy-page .doc-body p,
.policy-page .doc-body li { font-size: var(--t-4); line-height: 1.7; }
.policy-page .doc-body p + p { margin-top: var(--s-4); }
.policy-page .doc-body ul,
.policy-page .doc-body ol { gap: var(--s-3); }
.policy-page .doc-body a { overflow-wrap: anywhere; }

/* -------------------------------------------------------------- utilities */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(10px); }
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

.cta-band { text-align: center; display: grid; gap: var(--s-4); justify-items: center; }
.cta-band h2 { max-width: 22ch; }
.cta-band p { color: var(--label-2); font-size: var(--t-5); max-width: 54ch; }
.cta-band .hero-actions { justify-content: center; }

/* ---------------------------------------------------------- store badges */
/* Non-link “coming soon” badges. They must look like a real store option
   without pretending a listing exists (no href, no play.google / apps.apple). */
.store-badges {
  display: grid;
  gap: var(--s-3);
  justify-items: center;
  margin-top: var(--s-2);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  width: 100%;
  max-width: 36rem;
}
.store-badges-label {
  font-size: var(--t-3);
  font-weight: var(--w-semi);
  color: var(--label-3);
  margin: 0;
}
.store-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
}
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  min-height: 52px;
  padding: var(--s-2) var(--s-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface-1);
  color: var(--label);
  text-align: left;
  cursor: default;
  user-select: none;
}
.store-badge-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--label);
}
.store-badge-icon svg { width: 22px; height: 22px; }
.store-badge-text { display: grid; gap: 1px; line-height: 1.2; }
.store-badge-name {
  font-size: var(--t-4);
  font-weight: var(--w-semi);
  letter-spacing: var(--track-card);
  color: var(--label);
}
.store-badge-status {
  font-size: var(--t-2);
  font-weight: var(--w-medium);
  color: var(--label-3);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s-8); }
  .doc { grid-template-columns: minmax(0, 1fr); gap: var(--s-6); }
  .doc-toc { position: static; }
  .policy-page .doc-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-4); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 820px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .application-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  .public-page .page-hero { padding: var(--s-9) 0 var(--s-7); }
  .pricing-page .price-page { padding: var(--s-8) 0 var(--s-10); }
  .pricing-page .plan-grid,
  .pricing-page .price-detail-grid,
  .pricing-page .price-bottom,
  .policy-page .policy-highlights,
  .contact-grid,
  .contact-aside { grid-template-columns: minmax(0, 1fr); }
  .pricing-page .plan { padding: var(--s-6); }
  .pricing-page .plan-sub { min-height: 0; }
  .pricing-page .price-section { padding-top: var(--s-9); }
  .policy-page .policy-highlights a { min-height: 0; }
  .policy-page .doc { padding-top: var(--s-7); }
  .policy-page .doc-toc ol { grid-template-columns: minmax(0, 1fr); }
  .site-nav {
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s-3) var(--s-5) var(--s-5);
    background: rgb(var(--sheet-rgb) / var(--sheet-alpha));
    backdrop-filter: var(--material-blur);
    -webkit-backdrop-filter: var(--material-blur);
    border-bottom: 1px solid var(--line-strong);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.btn):not(.m-btn) {
    display: flex;
    align-items: center;
    min-height: 48px;
    border-bottom: 1px solid var(--line);
  }
  .site-nav .btn, .site-nav .m-btn { margin-top: var(--s-4); }
  .nav-toggle { display: flex; }

  .hero { padding: var(--s-9) 0 var(--s-10); }
  .hero-demo-panels { grid-template-columns: minmax(0, 1fr); }
  .hero-demo .demo-join { display: none; }
  .hero-demo-panels,
  .hero-demo .demo-chat,
  .hero-demo .demo-cv { min-height: 0; }
  .section { padding: var(--s-9) 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions .btn, .hero-actions .m-btn { width: 100%; }
}

/* ============================================================================
   Tap targets on touch devices

   The app holds itself to a 44x44 CSS px minimum and `npm run ui:audit` fails
   the build if a control misses it. The marketing site was never held to that
   rule, and at 390px its footer and contents links measured 16-18px tall —
   "FAQ" was 25x16, roughly a fifteenth of the area the app demands of its own
   buttons. Same design system, same domain family, two standards, and the
   marketing pages are the ones a phone user meets first.

   Scoped to `pointer: coarse` and to discrete navigation targets, following the
   pattern the app already uses for its own compact controls (see
   `web/styles.css`, "Segmented filters are 44px tall on touch"). Desktop keeps
   its tighter typographic rhythm, and inline links inside prose are left alone:
   forcing 44px on a link mid-sentence would wreck the paragraph.
   ========================================================================= */
@media (pointer: coarse) {
  .site-nav a,
  .footer-nav a,
  .footer-legal a,
  .footer-brand a,
  .brand {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  /* The list items carry the row height so the footer columns keep their
     spacing rather than collapsing into the new boxes. */
  .footer-nav li { display: flex; }
  .footer-nav a { width: 100%; }
  .nav-toggle { min-width: 44px; min-height: 44px; }
}

/* Launch presentation — every colour resolves through the canonical token layer. */
:root[data-surface="marketing"] { scroll-padding-top: 100px; }
[data-surface="marketing"] .wrap { max-width: 1248px; padding-inline: 40px; }
[data-surface="marketing"] .header-inner { min-height: 84px; }
[data-surface="marketing"] .brand-word { font-size: 26px; letter-spacing: -.055em; }
[data-surface="marketing"] .brand-mark svg { width: 27px; height: 27px; }
[data-surface="marketing"] .site-header { border-bottom: 1px solid var(--line-faint); }
[data-surface="marketing"] .site-nav { gap: 28px; }
[data-surface="marketing"] .site-nav > a:not(.btn) { min-height: 44px; display: inline-flex; align-items: center; }
[data-surface="marketing"] .btn { border-radius: 999px; min-height: 52px; padding: 0 25px; font-size: 15px; gap: 22px; }
[data-surface="marketing"] .btn-sm { min-height: 44px; padding: 0 21px; }
[data-surface="marketing"] .btn-primary { border-color: var(--accent-edge); }
[data-surface="marketing"] .site-footer { background: var(--surface-2); padding-top: 64px; }
[data-surface="marketing"] .footer-nav a, [data-surface="marketing"] .footer-legal a { display:inline-flex; align-items:center; min-height:44px; }
[data-surface="marketing"] .footer-nav ul { gap:0; }
.launch-hero { padding: 64px 0 72px; }
.launch-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.launch-copy { padding-bottom: 12px; }
.launch-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--label-2); margin-bottom: 24px; }
.launch-eyebrow > span { font-size: 18px; color: var(--accent); margin-right: 7px; }
.launch-copy h1 { font-size: clamp(58px,6vw,80px); line-height: 1.02; letter-spacing: -.055em; font-weight: 550; max-width: 650px; }
.launch-copy em, .launch-section-heading em, .launch-final em, .launch-principles em { font-family: var(--font-doc); font-weight: 400; letter-spacing: -.055em; }
.launch-copy em { color: var(--accent); }
.launch-lede { font-size: 18px; line-height: 1.65; color: var(--label-2); max-width: 45ch; margin: 25px 0 28px; }
.launch-text-link { display:inline-flex; align-items:center; justify-content:space-between; gap:20px; min-height:44px; font-size:14px; font-weight:600; border-bottom:1px solid var(--line-strong); }
.launch-fine { font-size: 12px; line-height: 1.7; color: var(--label-2); margin-top: 20px; }
.launch-studio { background: var(--marketing-field); padding: 20px; border: 1px solid var(--line); border-radius: 22px; transform: rotate(1deg); box-shadow: 0 20px 55px rgb(var(--bar-rgb) / .12); }
.launch-studio-head { display:flex; align-items:center; gap:9px; margin-bottom:18px; color:var(--marketing-field-ink); font-size:12px; }
.launch-studio-mark { font-family:var(--font-doc); font-weight:700; font-size:24px; }
.launch-sample { margin-left:auto; font-size:9px; letter-spacing:.12em; }
.launch-stage-controls { display:flex; padding:5px; border:1px solid var(--line-strong); border-radius:999px; margin-bottom:16px; gap:4px; }
.launch-stage-controls button { flex:1; min-height:44px; border-radius:999px; font-size:10px; font-weight:600; display:flex; gap:8px; align-items:center; justify-content:center; color:var(--label-2); }
.launch-stage-controls button span { font-size:12px; }
.launch-stage-controls button[aria-pressed="true"] { background:var(--surface-1); color:var(--label); box-shadow:0 1px 4px var(--line); }
.launch-demo-panel { min-height:335px; background:var(--surface-1); color:var(--label); padding:28px; border:1px solid var(--line); border-radius:3px; }
.launch-demo-panel[hidden] { display:none; }
.launch-demo-panel h2 { font-family:var(--font-doc); font-size:29px; letter-spacing:-.035em; line-height:1.15; font-weight:400; }
.launch-doc-label { font:500 9px/1.5 var(--font-num); letter-spacing:.12em; color:var(--label-2); margin-bottom:15px; }
.launch-doc-sub { color:var(--label-2); font-size:12px; margin:12px 0 18px; }
.launch-requirement { display:flex; gap:15px; padding:12px 0; border-top:1px solid var(--line-faint); font-size:13px; }
.launch-requirement > span { font:11px var(--font-num); color:var(--label-2); }
.launch-doc-note { border-top:1px solid var(--line); padding-top:14px; margin-top:16px; font-size:11px; line-height:1.5; color:var(--label-2); }
.launch-fit-row { display:flex; gap:15px; align-items:flex-start; padding:16px 0; border-bottom:1px solid var(--line-faint); }
.launch-fit-row strong { font-size:12px; }
.launch-fit-row p { font-size:11px; color:var(--label-2); margin-top:4px; }
.launch-status { display:inline-flex; align-items:center; padding:5px 9px; border-radius:99px; background:var(--success-soft); color:var(--success); font-size:10px; font-weight:600; white-space:nowrap; }
.launch-status.partial { background:var(--warn-soft); color:var(--warn); }
.launch-cv-top { display:flex; justify-content:space-between; align-items:center; }
.launch-cv-top p { font-size:12px; color:var(--label-2); font-family:var(--font-doc); margin-top:5px; }
.launch-monogram { font:19px var(--font-doc); padding:10px; border:1px solid var(--line); border-radius:50%; }
.launch-cv-rule { height:1px; background:var(--label); margin:22px 0; }
.launch-cv-role { display:flex; justify-content:space-between; font-size:12px; }
.launch-cv-role span { font:10px var(--font-num); color:var(--label-2); }
.launch-cv-position { font:italic 12px var(--font-doc); margin:6px 0 14px; }
.launch-cv ul { font:14px/1.55 var(--font-doc); list-style:disc; padding-left:17px; }
.launch-cv li { padding:4px 0; }
.launch-cv-highlight { background:var(--accent-soft); box-shadow:0 0 0 5px var(--accent-soft); margin-bottom:8px; }
.launch-cv-confirmed { display:flex; align-items:center; gap:9px; font:10px var(--font); color:var(--success); margin-top:24px; padding-top:15px; border-top:1px solid var(--line); }
.launch-studio figcaption { padding-top:14px; font-size:10px; line-height:1.5; color:var(--marketing-field-ink); }
.launch-principles { border-block:1px solid var(--line); padding:26px 0; }
.launch-principles .wrap { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.launch-principles p { font-size:19px; }
.launch-principles .wrap > div { display:flex; gap:26px; color:var(--label-2); font-size:12px; }
.launch-principles .wrap > div span::before { content:'↳'; color:var(--accent); margin-right:9px; }
.launch-section { padding:100px 0; }
.launch-section-heading h2 { font-size:clamp(36px,4vw,55px); font-weight:500; letter-spacing:-.045em; line-height:1.1; }
.launch-section-heading > p:not(.launch-eyebrow):not(.launch-fine) { font-size:17px; line-height:1.65; color:var(--label-2); max-width:47ch; margin-top:22px; }
.launch-section-heading .btn,.launch-section-heading .launch-text-link { margin-top:25px; }
.launch-process-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:36px; margin-top:50px; }
.launch-process-grid h3 { font-size:19px; letter-spacing:-.02em; }
.launch-process-grid article > p:last-child { margin-top:12px; font-size:15px; line-height:1.65; color:var(--label-2); }
.launch-step { font:500 10px var(--font-num); letter-spacing:.12em; color:var(--label-2); margin:25px 0 12px; }
.launch-mini { height:175px; display:flex; justify-content:center; align-items:center; flex-direction:column; gap:9px; background:var(--surface-2); border-radius:10px; padding:26px; overflow:hidden; }
.launch-mini span { display:block; background:var(--surface-1); border:1px solid var(--line); padding:12px 16px; font-size:12px; border-radius:5px; }
.launch-mini-notes span:nth-child(1) { transform:rotate(-5deg) translateX(-24px); }
.launch-mini-notes span:nth-child(2) { transform:rotate(4deg) translateX(20px); }
.launch-mini-notes span:nth-child(3) { font-family:var(--font-doc); font-style:italic; transform:rotate(-3deg); }
.launch-mini-chat span:first-child { align-self:flex-start; border-radius:12px 12px 12px 0; }
.launch-mini-chat span:last-child { align-self:flex-end; background:var(--marketing-field); border-radius:12px 12px 0 12px; }
.launch-mini-confirm { background:var(--marketing-field); }
.launch-mini-confirm span { width:100%; }
.launch-mini-confirm span:last-child { color:var(--success); font-size:10px; }
.launch-split { display:grid; grid-template-columns:1fr 1fr; gap:90px; align-items:center; }
.launch-vault-section { background:var(--marketing-field); }
.launch-evidence-card { background:var(--surface-1); padding:34px; border:1px solid var(--line); border-radius:12px; transform:rotate(-2deg); }
.launch-evidence-top { display:flex; justify-content:space-between; align-items:center; gap:15px; font-size:13px; padding-bottom:24px; border-bottom:1px solid var(--line); margin-bottom:24px; }
.launch-evidence-card h3 { font-family:var(--font-doc); font-size:28px; font-weight:400; }
.launch-evidence-card > p:not(.launch-doc-label) { font-size:15px; line-height:1.65; margin-top:20px; color:var(--label-2); }
.launch-source { display:flex; gap:14px; background:var(--surface-2); padding:17px; border-radius:8px; margin-top:28px; }
.launch-source strong { font-size:11px; }
.launch-source p { font-size:11px; margin-top:4px; color:var(--label-2); }
.launch-evidence-bottom { display:flex; justify-content:space-between; font-size:11px; margin-top:28px; color:var(--label-2); }
.launch-benefits { list-style:none; margin-top:24px; }
.launch-benefits li { padding:9px 0; font-size:14px; }
.launch-benefits li::before { content:'✓'; margin-right:12px; color:var(--success); }
.launch-pack { border:1px solid var(--line); border-radius:14px; background:var(--surface-1); padding:30px; }
.launch-pack > h3 { font-family:var(--font-doc); font-size:26px; font-weight:400; margin-bottom:26px; }
.launch-pack-row { display:flex; align-items:center; gap:16px; padding:22px 0; border-top:1px solid var(--line); }
.launch-pack-row > span:first-child { color:var(--label-2); font:11px var(--font-num); }
.launch-pack-row > span:last-child { margin-left:auto; }
.launch-pack-row strong { font-size:14px; }
.launch-pack-row p { margin-top:4px; color:var(--label-2); font-size:12px; }
.launch-pack-foot { background:var(--marketing-field); padding:14px; font-size:11px; border-radius:7px; }
.launch-pack-foot > span { margin-right:10px; }
.launch-pricing-section { border-block:1px solid var(--line); }
.launch-price-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; max-width:900px; margin:45px auto 0; }
.launch-price { padding:32px; border:1px solid var(--line); border-radius:12px; background:var(--surface-1); display:flex; flex-direction:column; align-items:stretch; }
.launch-price-featured { background:var(--marketing-field); border-color:var(--line-strong); }
.launch-price .launch-step { margin-top:0; }
.launch-price h3 { font-size:22px; }
.launch-price-was { margin:24px 0 0; font-size:15px; color:var(--label-3); }
.launch-price-was s { text-decoration:line-through; }
.launch-price-value { font-size:52px; font-weight:500; letter-spacing:-.05em; margin:8px 0 12px; line-height:1; }
.launch-price-value span { font-size:14px; letter-spacing:0; font-weight:400; }
.launch-price > p:not(.launch-step):not(.launch-price-value) { font-size:14px; color:var(--label-2); }
.launch-price ul { list-style:none; margin:28px 0; flex:1; }
.launch-price li { padding:9px 0; font-size:14px; line-height:1.5; }
.launch-price li::before { content:'✓'; color:var(--success); margin-right:10px; }
.launch-price-disclosure { max-width:900px; margin:20px auto 0; font-size:12px; line-height:1.8; color:var(--label-2); }
.launch-price-disclosure a { text-decoration:underline; display:inline-flex; align-items:center; min-height:44px; }
.launch-faq-grid { display:grid; grid-template-columns: .8fr 1.2fr; gap:70px; }
.launch-faq-grid .faq-list { margin:0; }
.launch-faq-grid summary { min-height:64px; font-size:15px; }
.launch-final { text-align:center; background:var(--marketing-ink); color:var(--marketing-on-ink); padding:90px 0; }
.launch-final h2 { font-size:clamp(40px,5vw,66px); line-height:1.08; font-weight:500; letter-spacing:-.04em; margin-bottom:30px; }
.launch-final .launch-eyebrow, .launch-final .launch-fine { color:var(--marketing-on-ink); }
[data-surface="marketing"] .reveal { opacity:1; transform:none; }
[data-surface="marketing"] .doc-body, [data-surface="marketing"] .page-lede { max-width:70ch; }
[data-surface="marketing"] .page-hero h1 { font-size:clamp(38px,5vw,64px); line-height:1.05; }
@media(max-width:1050px) {
 .launch-hero-grid { gap:30px; } .launch-copy h1 { font-size:60px; } .launch-split { gap:45px; }
 .launch-principles .wrap { flex-direction:column; align-items:flex-start; }
 [data-surface="marketing"] .site-nav { gap:16px; }
}
@media(max-width:860px) {
 [data-surface="marketing"] .wrap { padding-inline:24px; }
 [data-surface="marketing"] .header-inner { min-height:72px; }
 [data-surface="marketing"] .site-nav { display:none; }
 [data-surface="marketing"] .site-nav.is-open { display:flex; gap:4px; padding:18px 24px 24px; background:var(--bg); }
 [data-surface="marketing"] .nav-toggle { display:flex; }
 .launch-hero-grid { grid-template-columns:1fr; gap:40px; }
 .launch-copy h1 { font-size:clamp(43px,8vw,70px); }
 .launch-hero { padding:42px 0 48px; }
 .launch-studio { max-width:560px; width:100%; justify-self:center; transform:none; }
 .launch-section { padding:70px 0; }
 .launch-split,.launch-faq-grid { grid-template-columns:1fr; gap:36px; }
 .launch-vault-section .launch-section-heading { grid-row:1; }
 .launch-process-grid { gap:20px; }
 .launch-section-heading h2 { font-size:42px; }
 .launch-evidence-card { transform:none; }
}
@media(max-width:600px) {
 [data-surface="marketing"] .wrap { padding-inline:20px; }
 .launch-copy h1 { font-size:46px; }
 .launch-eyebrow { font-size:9px; margin-bottom:22px; }
 .launch-lede { font-size:16px; margin:22px 0; }
 .launch-copy .hero-actions { gap:15px; }
 .launch-copy .launch-text-link { font-size:12px; gap:10px; }
 .launch-fine { font-size:11px; }
 .launch-studio { padding:14px; border-radius:16px; }
 .launch-demo-panel { padding:22px; min-height:335px; }
 .launch-sample { font-size:8px; }
 .launch-stage-controls button { gap:5px; }
 .launch-stage-controls button span { font-size:11px; }
 .launch-principles p { font-size:18px; }
 .launch-principles .wrap > div { flex-wrap:wrap; gap:12px 20px; font-size:11px; }
 .launch-section { padding:60px 0; }
 .launch-section-heading h2 { font-size:36px; }
 .launch-process-grid,.launch-price-grid { grid-template-columns:1fr; }
 .launch-process-grid { gap:32px; margin-top:34px; }
 .launch-mini { height:155px; }
 .launch-evidence-card,.launch-pack,.launch-price { padding:24px; }
 .launch-price-value { font-size:46px; }
 .launch-final { padding:65px 0; }
 .launch-final h2 { font-size:39px; }
}
