@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/dm-sans.woff2") format("woff2");
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-mono-400.woff2") format("woff2");
}

@font-face {
  font-family: "DM Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/dm-mono-500.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-condensed-600.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Sans Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-condensed-700.woff2") format("woff2");
}

:root {
  --ink: #0b0f1a;
  --paper: #fafaf8;
  --white: #ffffff;
  --emerald: #00c896;
  --emerald-dark: #00a87c;
  --amber: #ff9f1c;
  --coral: #ff4b6e;
  --text-on-paper: #0b0f1a;
  --muted-on-paper: #596170;
  --text-on-ink: #fafaf8;
  --muted-on-ink: rgba(255, 255, 255, 0.66);
  --rule-on-paper: rgba(11, 15, 26, 0.14);
  --rule-on-ink: rgba(255, 255, 255, 0.14);
  --rule-strong-paper: rgba(11, 15, 26, 0.3);
  --rule-strong-ink: rgba(255, 255, 255, 0.28);
  --font-display: "IBM Plex Sans Condensed", "Arial Narrow", system-ui, sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;
  --gutter: 20px;
  --max-content: 1320px;
  --header-h: 56px;
}

@media (min-width: 480px) {
  :root { --gutter: 24px; }
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

@media (min-width: 1024px) {
  :root { --gutter: 48px; --header-h: 68px; }
}

@media (min-width: 1440px) {
  :root { --gutter: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  color-scheme: light;
  font-size: 100%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--text-on-paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  text-rendering: optimizeLegibility;
}

body.image-dialog-open { overflow: hidden; }

.pdf-capture .site-header {
  position: relative;
  top: auto;
}

img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, summary { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-underline-offset: 4px; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.75rem, 9vw, 5.25rem); line-height: 0.95; }
h2 { font-size: clamp(1.9rem, 6vw, 3.5rem); line-height: 1; }
h3 { font-size: clamp(1.25rem, 3vw, 1.6rem); line-height: 1.15; }

.wrap {
  width: 100%;
  max-width: var(--max-content);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  transform: translateY(-140%);
  background: var(--emerald);
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 700;
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
}

.on-paper :focus-visible { outline-color: var(--emerald-dark); }

.mono,
.chapter-marker,
.status-line {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.lead { max-width: 66ch; font-size: clamp(1.12rem, 2vw, 1.35rem); line-height: 1.48; }

html[data-audience="business"] [data-aud="firms"],
html[data-audience="firms"] [data-aud="business"] { display: none !important; }

html[data-audience="business"] .desktop-nav [data-aud="business"],
html[data-audience="firms"] .desktop-nav [data-aud="firms"] { display: inline-flex; }
html[data-audience="business"] .mobile-menu [data-aud="business"],
html[data-audience="firms"] .mobile-menu [data-aud="firms"] { display: flex; }

.access-strip {
  min-height: 36px;
  background: #070b14;
  color: var(--text-on-ink);
  border-bottom: 1px solid var(--rule-on-ink);
}

.access-strip[hidden] { display: none; }

.access-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s3);
  padding-block: 5px;
  text-align: center;
}

.strip-close {
  width: 44px;
  height: 44px;
  margin-block: -4px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 1.25rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 250, 248, 0.98);
  color: var(--ink);
  border-bottom: 1px solid var(--rule-on-paper);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: minmax(92px, 1fr) auto auto;
  align-items: center;
  gap: 10px;
}

.logo-link { width: min(122px, 100%); height: 36px; display: block; overflow: hidden; }
.logo-link img { width: 185%; max-width: none; transform: translate(-13%, -29%); }

.desktop-nav { display: none; }
.header-cta { display: none !important; }

.menu-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--rule-strong-paper);
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease;
}

.menu-icon { position: relative; }
.menu-icon::before { position: absolute; top: -6px; }
.menu-icon::after { position: absolute; top: 6px; }
.menu-button[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-button[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: calc(var(--header-h) + 36px) 0 0;
  z-index: 90;
  background: var(--paper);
  padding: 32px var(--gutter);
  border-top: 1px solid var(--rule-on-paper);
}

.access-strip[hidden] + .site-header .mobile-menu { inset-block-start: var(--header-h); }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; }
.mobile-menu a {
  min-height: 54px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--rule-on-paper);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
}

.chapter {
  position: relative;
  padding-block: clamp(56px, 10vw, 128px);
  overflow: clip;
}

.chapter.on-paper { background: var(--paper); color: var(--text-on-paper); }
.chapter.on-ink { background: var(--ink); color: var(--text-on-ink); }
.chapter-head { display: grid; gap: var(--s4); margin-bottom: clamp(32px, 6vw, 64px); }
.chapter-marker { color: var(--muted-on-paper); }
.on-ink .chapter-marker { color: var(--muted-on-ink); }
.chapter-head .lead { margin-top: var(--s2); }

.hero {
  min-height: calc(100svh - var(--header-h));
  padding-block: clamp(36px, 7vw, 84px) 0;
}

.hero.on-ink { background: var(--ink); color: var(--text-on-ink); }

.hero-grid { display: grid; gap: clamp(32px, 6vw, 72px); }
.hero-copy { display: grid; align-content: start; gap: var(--s5); }
.status-line { color: var(--emerald); }
.hero h1 { max-width: 11ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); }
.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary { border: 1px solid var(--emerald); background: var(--emerald); color: var(--ink); }
.btn-primary:hover { border-color: var(--emerald-dark); background: var(--emerald-dark); }
.btn-quiet { border: 1px solid currentColor; background: transparent; color: inherit; }

.cfo-note {
  display: grid;
  gap: var(--s3);
  padding: var(--s5) 0;
  border-top: 2px solid var(--emerald);
}

.cfo-note p { max-width: 62ch; font-size: clamp(1.05rem, 2vw, 1.28rem); }
.index-list,
.steps { list-style: none; border-top: 1px solid currentColor; }

.index-list li,
.steps li {
  display: grid;
  gap: var(--s2);
  padding: 18px 0;
  border-bottom: 1px solid currentColor;
  border-color: inherit;
}

.index-list, .steps { border-color: var(--rule-on-paper); }
.on-ink .index-list, .on-ink .steps { border-color: var(--rule-on-ink); }
.list-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--emerald-dark); }
.on-ink .list-label { color: var(--emerald); }

.ruled-table-wrap { position: relative; width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
.ruled-table-wrap::after { position: absolute; top: 0; right: 0; bottom: 0; width: 3px; background: rgba(11, 15, 26, 0.16); pointer-events: none; content: ""; }
.on-ink .ruled-table-wrap::after { background: rgba(250, 250, 248, 0.12); }

.ruled-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

.ruled-table caption { padding-bottom: var(--s4); text-align: left; color: var(--muted-on-paper); }
.on-ink .ruled-table caption { color: var(--muted-on-ink); }
.ruled-table th, .ruled-table td { padding: 15px 14px; border-bottom: 1px solid var(--rule-on-paper); vertical-align: top; }
.on-ink .ruled-table th, .on-ink .ruled-table td { border-color: var(--rule-on-ink); }
.ruled-table th { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.ruled-table thead th { border-bottom-color: var(--rule-strong-paper); }
.on-ink .ruled-table thead th { border-bottom-color: var(--rule-strong-ink); }
.ruled-table .accent-col { border-left: 2px solid var(--emerald); }

.pricing-tiers { display: grid; border-top: 1px solid var(--rule-strong-ink); border-bottom: 1px solid var(--rule-strong-ink); }
.tier { padding: 28px 0; border-bottom: 1px solid var(--rule-on-ink); }
.tier:last-child { border-bottom: 0; }
.tier.featured { border-top: 2px solid var(--emerald); }
.tier-head { display: grid; gap: var(--s3); margin-bottom: var(--s5); }
.tier .price { font-family: var(--font-display); font-size: clamp(2.5rem, 10vw, 4.5rem); line-height: 0.95; }
.tier ul { list-style: none; }
.tier li { padding: 9px 0; border-top: 1px solid var(--rule-on-ink); }
.tier .btn { width: 100%; margin-top: var(--s5); }
.most-chosen { color: var(--emerald); }

.faq-list { border-top: 1px solid var(--rule-strong-paper); }
.on-ink .faq-list { border-color: var(--rule-strong-ink); }
.faq-list details { border-bottom: 1px solid var(--rule-on-paper); }
.on-ink .faq-list details { border-color: var(--rule-on-ink); }
.faq-list summary { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); cursor: pointer; list-style: none; font-weight: 700; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { flex: 0 0 auto; content: "+"; font-family: var(--font-mono); font-size: 1.25rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { max-width: 72ch; padding: 0 0 var(--s5); color: var(--muted-on-paper); }
.on-ink .faq-answer { color: var(--muted-on-ink); }

.demo-form { display: grid; gap: var(--s4); }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-weight: 700; }
.field input, .field select {
  width: 100%;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid var(--rule-strong-ink);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-on-ink);
}

.field select option { background: var(--ink); color: var(--text-on-ink); }
.phone-field { display: grid; grid-template-columns: auto 1fr; }
.phone-prefix { min-height: 50px; display: grid; place-items: center; padding-inline: 14px; border: 1px solid var(--rule-strong-ink); border-right: 0; color: var(--muted-on-ink); }
.phone-field input { border-radius: 0 4px 4px 0; }
.consent { display: grid; grid-template-columns: 24px 1fr; align-items: start; gap: var(--s3); }
/* 24px minimum so the checkbox clears WCAG 2.2 SC 2.5.8 target size. */
.consent input { width: 24px; height: 24px; margin-top: 0; accent-color: var(--emerald); }
.site-footer { background: #070b14; color: var(--text-on-ink); border-top: 1px solid var(--rule-on-ink); }
.footer-grid { display: grid; gap: var(--s7); padding-block: var(--s8) var(--s6); }
.footer-brand { display: grid; gap: var(--s4); max-width: 38ch; }
.footer-brand img { width: 170px; }
.footer-col h2 { margin-bottom: var(--s3); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--emerald); }
.footer-col ul { list-style: none; }
.footer-col li { padding: 4px 0; color: var(--muted-on-ink); }
/* inline-block + padding keeps adjacent footer links far enough apart for
   WCAG 2.2 SC 2.5.8 target spacing. */
.footer-col a { display: inline-block; padding-block: 3px; color: inherit; }
.footer-bottom { display: grid; gap: var(--s3); padding-block: var(--s5); border-top: 1px solid var(--rule-on-ink); color: var(--muted-on-ink); }
.trust-line { color: var(--text-on-ink); }

.pricing-hero { padding-block: clamp(56px, 10vw, 108px); background: var(--ink); color: var(--text-on-ink); }
.pricing-hero .wrap { display: grid; gap: var(--s5); }
.pricing-hero h1 { max-width: 10ch; }
.trial-grid { display: grid; border-top: 1px solid var(--rule-strong-paper); }
.trial-grid div { display: grid; grid-template-columns: minmax(110px, 0.45fr) 1fr; gap: var(--s4); padding: 14px 0; border-bottom: 1px solid var(--rule-on-paper); }
.trial-grid dt { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.trial-grid dd { margin: 0; }
.service-price { font-family: var(--font-display); font-size: clamp(2rem, 7vw, 3.75rem); line-height: 1; }
.service-block { display: grid; gap: var(--s4); padding: var(--s6) 0; border-top: 1px solid var(--rule-on-paper); }
.service-block:last-child { border-bottom: 1px solid var(--rule-on-paper); }
.service-block ul { padding-left: 1.15rem; }
.service-block li { margin-block: 7px; }
.page-close { text-align: left; }
.page-close .hero-actions { margin-top: var(--s5); }

@media (min-width: 700px) {
  .pricing-tiers { grid-template-columns: repeat(3, 1fr); }
  .tier { padding: 30px 24px; border-right: 1px solid var(--rule-on-ink); border-bottom: 0; }
  .tier:last-child { border-right: 0; }
  .footer-grid { grid-template-columns: 1.35fr repeat(3, 1fr); }
  .footer-bottom { grid-template-columns: 1fr auto; align-items: end; }
}

@media (min-width: 900px) {
  .header-inner { grid-template-columns: 150px auto 1fr auto; gap: 20px; }
  .desktop-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, 2vw, 28px); }
  .desktop-nav a { position: relative; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; font-size: 0.9rem; font-weight: 700; }
  .desktop-nav a::after { position: absolute; right: 0; bottom: 7px; left: 0; height: 1px; background: var(--emerald-dark); transform: scaleX(0); transform-origin: left; transition: transform 180ms ease; content: ""; }
  .desktop-nav a:hover::after, .desktop-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .menu-button { display: none; }
  .header-cta { display: inline-flex !important; }
  .mobile-menu { display: none !important; }
  .hero-grid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); align-items: end; }
}

@media (min-width: 1200px) {
  .chapter-marker { position: absolute; top: clamp(56px, 10vw, 128px); left: max(16px, calc((100vw - var(--max-content)) / 2 - 104px)); writing-mode: vertical-rl; transform: rotate(180deg); }
}

@media (max-width: 389px) {
  .header-inner { grid-template-columns: 88px auto 44px; gap: 6px; }
  .logo-link { width: 88px; height: 30px; }
  .hero h1 { font-size: 2.72rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

@media print {
  .access-strip, .site-header, .mobile-menu { display: none !important; }
  .chapter, .pricing-hero { break-inside: avoid; background: #fff !important; color: #000 !important; }
  .on-ink .chapter-marker, .on-ink .faq-answer { color: #333 !important; }
}

/* Version 2: separate audience routes and genuine product evidence */
.route-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding: 3px;
  border: 1px solid var(--rule-strong-paper);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .02em;
}
.route-toggle a { min-width: 94px; padding: 9px 12px; border-radius: 999px; color: var(--muted-on-paper); text-align: center; text-decoration: none; }
.route-toggle a[aria-current="page"] { background: var(--ink); color: var(--emerald); }
.screen-window { position: relative; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: #071019; box-shadow: 0 28px 80px rgba(0,0,0,.3); }
.screen-window::before { content: ""; display: block; height: 28px; border-bottom: 1px solid rgba(255,255,255,.1); background: radial-gradient(circle at 16px 14px,#ff6f7d 0 3px,transparent 4px),radial-gradient(circle at 30px 14px,#f4b44b 0 3px,transparent 4px),radial-gradient(circle at 44px 14px,#31d0aa 0 3px,transparent 4px); }
.screen-window img { display: block; width: 100%; height: auto; }
.screen-caption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 12px 14px; border-top: 1px solid rgba(255,255,255,.1); color: var(--muted-on-ink); font-family: var(--font-mono); font-size: .66rem; letter-spacing: .04em; text-transform: uppercase; }
.screen-caption strong { color: var(--emerald); font-weight: 500; }
.hero-product { align-self: center; }
.hero-product .screen-window { transform: rotate(.35deg); }
.chapter-intro { max-width: 760px; }
.pricing-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s5); }
.pricing-jump a { border: 1px solid currentColor; padding: 9px 12px; text-decoration: none; }
.pricing-jump a[aria-current="true"] { background: var(--emerald); border-color: var(--emerald); color: var(--ink); }
.form-shell { display: grid; gap: var(--s6); }
.form-success { padding: 28px; border: 1px solid var(--emerald); outline: 0; }
.form-success h3 { color: var(--emerald); }
.form-meta { display: none; }
@media (min-width: 700px) {
  .form-shell { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); align-items: start; }
}
@media (max-width: 899px) {
  .header-inner .route-toggle { order: 3; width: 100%; margin-top: 8px; }
  .header-inner { flex-wrap: wrap; padding-block: 10px; }
  .site-header { height: auto; }
  .access-strip[hidden] + .site-header { top: 0; }
  .hero { padding-top: calc(var(--s7) + 24px); }
}
@media (max-width: 520px) {
  .header-inner { grid-template-columns: minmax(0,1fr) 44px; height: auto; padding-block: 8px; }
  .header-inner .logo-link { grid-column: 1; grid-row: 1; }
  .header-inner .menu-button { grid-column: 2; grid-row: 1; }
  .header-inner .route-toggle { grid-column: 1 / -1; grid-row: 2; width: 100%; margin-top: 4px; }
  .route-toggle a { min-width: 0; }
  .mobile-menu { inset-block-start: calc(var(--header-h) + 86px); }
  .access-strip[hidden] + .site-header .mobile-menu { inset-block-start: calc(var(--header-h) + 50px); }
  .screen-window::before { height: 22px; }
}

@media (min-width: 700px) and (max-width: 1099px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr)); gap: var(--s6); }
}

/* CA/Firm and Pricing content revision */
.ca-page .hero {
  min-height: auto;
  padding-block: clamp(64px, 9vw, 120px);
}

.ca-page .hero h1 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 7vw, 5.1rem);
}

.hero-support {
  max-width: 34ch;
  color: var(--text-on-ink);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 600;
  line-height: 1.08;
}

.hero-lead {
  max-width: 62ch;
  color: var(--muted-on-ink);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-outcomes {
  display: grid;
  align-self: stretch;
  border-top: 1px solid var(--rule-strong-ink);
}

.hero-outcomes > div {
  display: grid;
  gap: 8px;
  padding: clamp(20px, 4vw, 32px) 0;
  border-bottom: 1px solid var(--rule-strong-ink);
}

.hero-outcomes .mono { color: var(--emerald); }
.hero-outcomes strong {
  max-width: 28ch;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.08;
}

.feature-evidence-grid {
  display: grid;
  gap: clamp(48px, 8vw, 88px);
}

.feature-evidence {
  display: grid;
  gap: 22px;
  align-content: start;
}

.feature-copy {
  display: grid;
  gap: 12px;
}

.feature-copy p {
  max-width: 62ch;
  color: var(--muted-on-paper);
}

.screen-window { display: block; }

.screen-link {
  display: block;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
}

.screen-link .screen-window {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.screen-link:hover .screen-window,
.screen-link:focus-visible .screen-window {
  transform: translateY(-3px);
  box-shadow: 0 32px 88px rgba(0,0,0,.38);
}

.screen-link:focus-visible { outline-offset: 6px; }
.screen-caption { align-items: center; }
.screen-caption strong { max-width: 44ch; }
.screen-expand { white-space: nowrap; }

.output-groups {
  display: grid;
  gap: var(--s7);
}

.output-groups > div > h3 { margin-bottom: var(--s4); }
.output-subhead { margin-top: var(--s7); }

.review-steps {
  display: grid;
  list-style: none;
  border-top: 1px solid var(--rule-on-paper);
}

.review-steps li {
  display: grid;
  gap: 10px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule-on-paper);
}

.review-steps strong {
  max-width: 42ch;
  font-size: clamp(1.08rem, 2vw, 1.24rem);
}

.pricing-support {
  max-width: 78ch;
  margin-block: var(--s6);
  color: var(--muted-on-ink);
}

/* Any paper surface, not only the pricing page — business/index.html carries a
   .pricing-support note inside an .on-paper chapter and was rendering
   light-on-light. */
.on-paper .pricing-support { color: var(--muted-on-paper); }

.after-trial {
  display: grid;
  gap: var(--s3);
  max-width: 72ch;
  margin-top: var(--s6);
  padding-top: var(--s5);
  border-top: 1px solid var(--rule-on-paper);
}

.service-list { border-top: 1px solid var(--rule-on-paper); }
.service-list .service-block:first-child { border-top: 0; }

.compact-table { max-width: 760px; }
.compact-table .ruled-table { min-width: 520px; }

.pricing-page .pricing-hero h1 {
  max-width: 15ch;
  font-size: clamp(2.7rem, 7vw, 5.1rem);
}

.pricing-page .page-close .lead { margin-top: var(--s4); }

.image-dialog {
  width: min(96vw, 1500px);
  max-width: none;
  height: min(94vh, 980px);
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--rule-strong-ink);
  border-radius: 10px;
  background: #070b14;
  color: var(--text-on-ink);
  box-shadow: 0 30px 100px rgba(0,0,0,.65);
}

.image-dialog::backdrop { background: rgba(0,0,0,.82); }

.image-dialog-shell {
  width: 100%;
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.image-dialog-head {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule-on-ink);
}

.image-dialog-head p {
  min-width: 0;
  overflow: hidden;
  color: var(--text-on-ink);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-dialog-close {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--emerald);
  border-radius: 4px;
  background: var(--emerald);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
}

.image-dialog-stage {
  width: 100%;
  min-width: 0;
  overflow: auto;
  overscroll-behavior: contain;
  background: #03070d;
}

.image-dialog-stage img {
  width: max(100%, 1180px);
  max-width: none;
  height: auto;
}

@media (min-width: 700px) {
  .output-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .review-steps li:nth-child(odd) { padding-right: var(--s6); border-right: 1px solid var(--rule-on-paper); }
  .review-steps li:nth-child(even) { padding-left: var(--s6); }
  .service-block { grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); align-items: center; gap: var(--s7); }
}

@media (min-width: 900px) {
  .feature-evidence-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .screen-caption { align-items: flex-start; }
  .screen-expand { width: 100%; }
  .image-dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100svh;
    max-height: 100svh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }
  .image-dialog-head { padding-inline: 12px; }
}

@media print {
  .skip-link,
  .image-dialog { display: none !important; }
  .screen-expand { display: none; }
  .chapter, .pricing-hero { break-inside: auto; }
  .feature-evidence-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 28px 24px;
  }
  .ruled-table-wrap { overflow: hidden; }
  .ruled-table {
    min-width: 0;
    table-layout: fixed;
  }
  .ruled-table th,
  .ruled-table td { padding-inline: 8px; }
  .demo-form { gap: 10px; }
  .field { gap: 3px; }
  .field input,
  .field select {
    min-height: 36px;
    padding: 6px 8px;
    border-color: #777 !important;
    background: #fff !important;
    color: #000 !important;
  }
  .phone-prefix {
    min-height: 36px;
    border-color: #777 !important;
    color: #000 !important;
  }
  .service-block {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-block: 20px;
  }
  .faq-list summary { min-height: 42px; }
  .footer-grid { padding-block: 28px 20px; }
  .feature-evidence, .service-block, .after-trial, .faq-list details { break-inside: avoid; }
}

/* Business, CA/Firm and pricing rework */
[hidden] { display: none !important; }

.business-page .hero h1 {
  max-width: 12.5ch;
  font-size: clamp(2.65rem, 7vw, 5rem);
}

.business-hero-price {
  color: var(--emerald);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
}

.hero-detail {
  max-width: 62ch;
  color: var(--muted-on-ink);
  font-size: 1rem;
}

.business-feature-grid {
  display: grid;
  gap: clamp(42px, 7vw, 78px) 24px;
}

.business-feature {
  display: grid;
  align-content: start;
  gap: 14px;
}

.business-feature p { color: var(--muted-on-paper); }
.business-feature-mobile .screen-link { width: min(100%, 430px); }

.ask-demo {
  display: grid;
  gap: clamp(36px, 7vw, 88px);
  align-items: center;
}

.ask-demo-media { width: min(100%, 430px); margin-inline: auto; }
.ask-demo-copy { display: grid; gap: var(--s5); }
.ask-demo-copy .lead { color: var(--muted-on-ink); }

.ask-prompts {
  display: grid;
  gap: 10px;
}

.ask-prompts button {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--rule-strong-ink);
  border-radius: 6px;
  background: transparent;
  color: var(--text-on-ink);
  cursor: pointer;
  text-align: left;
}

.ask-prompts button[aria-pressed="true"] {
  border-color: var(--emerald);
  background: rgba(0, 200, 150, .1);
  color: var(--emerald);
}

.ask-answers {
  min-height: 180px;
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid var(--emerald);
  background: rgba(0, 200, 150, .055);
}

.ask-answers > div { display: grid; gap: 12px; }
.ask-answers strong { font-family: var(--font-display); font-size: clamp(1.3rem, 3vw, 2rem); line-height: 1.15; }
.ask-answers p { color: var(--muted-on-ink); }

.alert-grid { display: grid; gap: 16px; }
.alert-screen-card { min-width: 0; }
.alert-screen-card .screen-link,
.alert-screen-card .screen-window { height: 100%; }
.alert-screen-card .screen-window { display: flex; flex-direction: column; }
.alert-screen-card picture { display: block; background: #071019; }
.alert-screen-card img { aspect-ratio: 1.63 / 1; object-fit: cover; }
.alert-screen-card .screen-caption { flex: 1; }
.on-paper .review-steps .list-label { color: #00785a; }

.comparison-legend { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 18px; color: var(--muted-on-paper); font-size: .9rem; }
.comparison-legend b { color: var(--emerald-dark); }
.comparison-wrap { width: 100%; }
.comparison-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--rule-strong-paper); }
.comparison-table caption { padding-bottom: 14px; color: var(--muted-on-paper); text-align: left; }
.comparison-table th,
.comparison-table td { padding: 14px 12px; border-bottom: 1px solid var(--rule-on-paper); text-align: center; vertical-align: middle; }
.comparison-table th { font-family: var(--font-mono); font-size: .7rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.comparison-table tbody th { font-family: var(--font-body); font-size: .95rem; font-weight: 700; letter-spacing: 0; text-align: left; text-transform: none; }
.comparison-table td span { font-size: 1.15rem; }
.comparison-table .gcfo-mark { background: rgba(0, 200, 150, .07); color: var(--emerald-dark); font-weight: 700; }

.billing-control {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin-bottom: var(--s6);
}

.billing-control > p { color: var(--muted-on-ink); }
.on-paper .billing-control > p { color: var(--muted-on-paper); }

.billing-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 360px);
  padding: 4px;
  border: 1px solid var(--rule-strong-ink);
  border-radius: 4px;
}

.on-paper .billing-switch { border-color: var(--rule-strong-paper); }

.billing-switch button {
  min-height: 44px;
  padding: 9px 18px;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.billing-switch button[aria-pressed="true"] { background: var(--emerald); color: var(--ink); font-weight: 700; }
.pricing-actions { margin-top: var(--s6); }
.footer-brand img { width: 200px; background: transparent; }

@media (min-width: 700px) {
  .business-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alert-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .ask-demo { grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr); }
}

@media (min-width: 1050px) {
  .business-feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 699px) {
  .comparison-table,
  .comparison-table caption,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table th,
  .comparison-table td { display: block; width: 100%; }

  .comparison-table thead { display: none; }
  .comparison-table tbody { display: grid; gap: 16px; }
  .comparison-table tr { border: 1px solid var(--rule-strong-paper); }
  .comparison-table tbody th { padding: 14px; border-bottom-color: var(--rule-strong-paper); }
  .comparison-table td { display: flex; min-height: 46px; align-items: center; justify-content: space-between; gap: 18px; padding: 9px 14px; text-align: right; }
  .comparison-table td::before { content: attr(data-label); color: var(--muted-on-paper); font-family: var(--font-mono); font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; }
  .comparison-table .gcfo-mark { border-bottom: 0; }

  /* A table that is both .ruled-table and .comparison-table stacks into cards
     here, so the 720px scroll floor must not apply. */
  .ruled-table.comparison-table { min-width: 0; }
  .ruled-table.comparison-table td { align-items: baseline; }
  .ruled-table.comparison-table td::before { flex: 0 1 auto; text-align: left; }
}

/* ==========================================================================
   v3 — Plan selector (ruled re-skin of the app pricing model)
   Replaces the v2 business/CA comparison tables.
   Structure: billing switch → selected-plan figure → ruled plan options.
   ========================================================================== */

/* minmax(0, 1fr): the implicit `auto` column was sized to the widest plan
   option's min-content (the nowrap price note), which pushed the whole
   selector past the viewport on narrow screens where section overflow-x:clip
   then cut the copy off. */
.plan-selector { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s6); }

.plan-figure {
  display: grid;
  min-width: 0;
  gap: var(--s2);
  padding: var(--s5) 0 var(--s5);
  border-top: 2px solid var(--emerald);
  border-bottom: 1px solid var(--rule-on-ink);
}

.on-paper .plan-figure { border-bottom-color: var(--rule-on-paper); }

.plan-figure-label {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-on-ink);
}

.on-paper .plan-figure-label { color: var(--muted-on-paper); }

.plan-figure-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.75rem, 12vw, 4.75rem);
  line-height: .95;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

.plan-figure-amount span { font-family: var(--font-body); font-size: .3em; font-weight: 500; letter-spacing: 0; }
.plan-figure-meta { max-width: 60ch; color: var(--muted-on-ink); }
.on-paper .plan-figure-meta { color: var(--muted-on-paper); }

.plan-figure-total {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.plan-options {
  display: grid;
  min-width: 0;
  border-top: 1px solid var(--rule-strong-ink);
  border-bottom: 1px solid var(--rule-strong-ink);
}

.on-paper .plan-options { border-color: var(--rule-strong-paper); }

.plan-option {
  position: relative;
  display: grid;
  align-content: start;
  min-width: 0;
  gap: var(--s3);
  padding: var(--s5) 0 var(--s5) var(--s4);
  border-bottom: 1px solid var(--rule-on-ink);
  border-left: 2px solid transparent;
  cursor: pointer;
}

.on-paper .plan-option { border-bottom-color: var(--rule-on-paper); }
.plan-options .plan-option:last-of-type { border-bottom: 0; }
.plan-option:hover { border-left-color: var(--rule-strong-ink); }
.on-paper .plan-option:hover { border-left-color: var(--rule-strong-paper); }
.plan-option.is-selected { border-left-color: var(--emerald); }

.plan-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.plan-option:focus-within { outline: 2px solid var(--emerald); outline-offset: 3px; }

.plan-option-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  min-width: 0;
  gap: var(--s2) var(--s4);
}

.plan-option-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -.01em;
}

.plan-option-name::before {
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  border: 1px solid currentColor;
  background: transparent;
  content: "";
}

.plan-option.is-selected .plan-option-name { color: var(--emerald); }
.plan-option.is-selected .plan-option-name::before { border-color: var(--emerald); background: var(--emerald); }

.plan-option-price {
  min-width: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* The note under the price must wrap — inheriting nowrap from the price made
   the whole option unbreakable at ~374px and clipped the copy under 400px. */
.plan-option-price small {
  display: block;
  white-space: normal;
  font-family: var(--font-mono);
  font-size: .64rem;
  font-weight: 400;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: right;
  opacity: .72;
}

.plan-option-scope {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-on-ink);
}

.on-paper .plan-option-scope { color: var(--muted-on-paper); }

.plan-features { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule-on-ink); }
.on-paper .plan-features { border-top-color: var(--rule-on-paper); }
.plan-features li { padding: 8px 0; border-bottom: 1px solid var(--rule-on-ink); font-size: .95rem; }
.on-paper .plan-features li { border-bottom-color: var(--rule-on-paper); }
.plan-features li:last-child { border-bottom: 0; }

.plan-saving { color: var(--emerald); font-weight: 700; }

.plan-extras { display: grid; gap: var(--s2); padding-top: var(--s2); }
.plan-extras dt { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-on-ink); }
.on-paper .plan-extras dt { color: var(--muted-on-paper); }

.plan-actions { display: grid; gap: var(--s3); }
.plan-actions .btn { justify-self: start; }
.plan-cta-note { color: var(--muted-on-ink); font-size: .95rem; }
.on-paper .plan-cta-note { color: var(--muted-on-paper); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px var(--s5);
  padding: var(--s4) 0;
  border-top: 1px solid var(--rule-on-ink);
  border-bottom: 1px solid var(--rule-on-ink);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-on-ink);
}

.on-paper .trust-row { border-color: var(--rule-on-paper); color: var(--muted-on-paper); }

@media (min-width: 760px) {
  .plan-options { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
  .plan-option { padding: var(--s5) var(--s5) var(--s6) var(--s4); border-bottom: 0; border-right: 1px solid var(--rule-on-ink); }
  .on-paper .plan-option { border-right-color: var(--rule-on-paper); }
  .plan-options .plan-option:last-of-type { border-right: 0; }
  .plan-option-head { display: grid; gap: var(--s2); }
  .plan-option-price { font-size: 1.6rem; }
  .plan-option-price small { text-align: left; }
}

/* ==========================================================================
   v3 — Multi-step lead form
   ========================================================================== */

.lead-form { display: grid; gap: var(--s5); }
.lead-step { display: grid; gap: var(--s4); }
.lead-step[hidden] { display: none; }

.lead-progress {
  display: flex;
  gap: var(--s3);
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-on-ink);
}

.lead-progress span { padding-bottom: 6px; border-bottom: 2px solid transparent; }
.lead-progress span[aria-current="step"] { border-bottom-color: var(--emerald); color: var(--text-on-ink); }

.lead-step h3 { font-size: clamp(1.35rem, 4vw, 1.75rem); }
.lead-step > p { max-width: 56ch; color: var(--muted-on-ink); }

.chip-group { display: grid; gap: 10px; }

.chip-group-label {
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted-on-ink);
}

.chip-set { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--rule-strong-ink);
  border-radius: 4px;
  background: transparent;
  color: var(--text-on-ink);
  cursor: pointer;
  font-size: .9rem;
  text-align: left;
}

.chip:hover { border-color: var(--emerald); }
.chip[aria-pressed="true"] { border-color: var(--emerald); background: var(--emerald); color: var(--ink); font-weight: 700; }

.lead-error { color: var(--coral); font-size: .85rem; }
.lead-error[hidden] { display: none; }

.lead-actions { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.lead-back { border: 0; background: transparent; color: var(--muted-on-ink); cursor: pointer; text-decoration: underline; }
.lead-back:hover { color: var(--text-on-ink); }

.lead-skip { font-size: .85rem; color: var(--muted-on-ink); }

/* A chapter that continues the previous surface — ruled transition instead of
   a surface flip, used where content order beats strict ink/paper alternation. */
.chapter-continues { border-top: 2px solid var(--emerald); }
