/* ==========================================================================
   RA Digital House — website stylesheet
   Layer 1: tokens (from the RA Digital House design system, tokens.json)
   Layer 2: base + layout
   Layer 3: design-system components (ported from components/bundle.css, rd-*)
   Layer 4: site patterns (conversion components the system doesn't have yet)
   ========================================================================== */

/* ---------- Fonts (self-hosted design-system files) ---------- */
@font-face { font-family: "Archivo ExtraCondensed"; src: url("../fonts/ArchivoExtraCondensed-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../fonts/Archivo-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Archivo Expanded"; src: url("../fonts/ArchivoExpanded-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/InstrumentSans-Variable.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

/* ---------- Layer 1: tokens ---------- */
:root {
  /* Brand colors (fixed) */
  --blue: #007AFF;
  --blue-deep: #0066D7;
  --blue-deeper: #0056B7;
  --blue-200: #B4D3FF;
  --blue-100: #DAE9FF;
  --blue-50: #EFF6FF;
  --ink: #0D1626;
  --ink-2: #192334;
  --ink-3: #273041;
  --white: #FFFFFF;
  --sand: #E2CEB1;
  --sand-50: #F6EFE4;
  --sand-deep: #795D3C;
  --teal: #0F9293;
  --amber: #EFCC83;

  /* Semantic colors (Light) */
  --page: #F7F9FC;
  --surface: #FFFFFF;
  --surface-2: #F1F4F8;
  --hairline: rgba(13, 22, 38, 0.08);
  --line: #DEE2E7;
  --control-border: #81868F;
  --text: #0D1626;
  --text-soft: #4C535F;
  --text-faint: #666C77;
  --accent: #007AFF;
  --link: #0066D7;
  --button-bg: #0066D7;
  --button-bg-hover: #0056B7;
  --on-button: #FFFFFF;
  --highlight: #EFF6FF;
  --highlight-border: #DAE9FF;
  --warm: #F6EFE4;
  --success: #14764A;
  --success-fill: #DCF6E6;
  --warning: #915C08;
  --warning-fill: #FEEDC9;
  --error: #BA3630;
  --error-fill: #FFE9E6;
  --chart-1: #007AFF;
  --chart-2: #273041;
  --chart-3: #0F9293;
  --chart-4: #E2CEB1;
  --chart-track: #DAE9FF;

  /* Type */
  --font-display: "Archivo ExtraCondensed", Impact, "Arial Narrow", sans-serif;
  --font-heading: Archivo, ui-sans-serif, system-ui, sans-serif;
  --font-wide: "Archivo Expanded", Archivo, ui-sans-serif, system-ui, sans-serif;
  --font-body: "Instrument Sans", ui-sans-serif, system-ui, sans-serif;

  /* Spacing (4px grid) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(13, 22, 38, 0.05);
  --shadow-md: 0 1px 2px rgba(13, 22, 38, 0.04), 0 12px 32px -18px rgba(13, 22, 38, 0.22);
  --shadow-lg: 0 2px 4px rgba(13, 22, 38, 0.05), 0 24px 56px -24px rgba(13, 22, 38, 0.30);
  --shadow-button: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 1px 2px rgba(13, 22, 38, 0.12);
  --focus-ring: 0 0 0 2px #FFFFFF, 0 0 0 4px #0066D7;

  /* Layout */
  --container: 1200px;
  --container-narrow: 760px;
  --measure: 64ch;
  --gutter: 24px;
  --header-height: 72px;
  --logo-angle: 49deg;

  /* Motion */
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --dur: 160ms;
}

[data-theme="dark"] {
  --page: #0D1626;
  --surface: #192334;
  --surface-2: #222B3D;
  --hairline: rgba(255, 255, 255, 0.08);
  --line: #273041;
  --control-border: #727B8A;
  --text: #F3F5F9;
  --text-soft: #B0B8C5;
  --text-faint: #9299A5;
  --link: #71ACFF;
  --highlight: #122B4D;
  --highlight-border: #204271;
  --warm: #3F3324;
  --success: #5ECA91;
  --success-fill: #153524;
  --warning: #EBBC63;
  --warning-fill: #3E2D10;
  --error: #F47C70;
  --error-fill: #47211D;
  --chart-2: #B0B8C5;
  --chart-track: #273041;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.40);
  --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.35), 0 16px 40px -20px rgba(0, 0, 0, 0.60);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.40), 0 24px 56px -24px rgba(0, 0, 0, 0.70);
  --focus-ring: 0 0 0 2px #0D1626, 0 0 0 4px #71ACFF;
  background: var(--page);
  color: var(--text);
}

/* ---------- Layer 2: base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-height) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
ul, ol { margin: 0; padding: 0; }
dl, dd { margin: 0; }
a { color: var(--link); }
button { font: inherit; color: inherit; }
strong { font-weight: 600; color: var(--text); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); border-radius: var(--radius-xs); }
main:focus { outline: none; box-shadow: none; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--surface); color: var(--text); padding: 12px 16px; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Icons: one family (Lucide line icons), 1.75px stroke */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 24px; height: 24px; }

/* Layout */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--space-8));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.container-narrow { max-width: calc(var(--container-narrow) + 2 * var(--space-8)); }
.section { padding-block: var(--space-20); background: var(--page); position: relative; }
.section--surface { background: var(--surface); border-block: 1px solid var(--hairline); }
.section > .container { display: flex; flex-direction: column; gap: var(--space-12); }
.section-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); }
.section-foot--center { justify-content: center; text-align: center; }

@media (min-width: 640px) {
  .container { padding-left: max(var(--space-8), env(safe-area-inset-left, 0px)); padding-right: max(var(--space-8), env(safe-area-inset-right, 0px)); }
}
@media (min-width: 900px) {
  .section { padding-block: var(--space-32); }
  .section > .container { gap: var(--space-16); }
}

.grid { display: grid; gap: var(--space-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------- Layer 3: design-system components ---------- */

/* Leaf corner (the logo mark's silhouette) */
.rd-leaf { border-radius: var(--radius-xs) var(--radius-xl) var(--radius-xs) var(--radius-xl) !important; }

/* Button */
.rd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  border: 0; border-radius: var(--radius-md);
  font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap; cursor: pointer; touch-action: manipulation;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), color var(--dur) var(--ease);
}
.rd-btn-md { height: 48px; padding: 0 var(--space-6); }
.rd-btn-sm { height: 44px; padding: 0 var(--space-4); font-size: 14.5px; }
.rd-btn-lg { height: 56px; padding: 0 var(--space-8); font-size: 16px; }
.rd-btn-full { width: 100%; }
.rd-btn-primary { background: var(--button-bg); color: var(--on-button); box-shadow: var(--shadow-button); }
.rd-btn-primary:hover { background: var(--button-bg-hover); }
.rd-btn-primary:active { background: var(--button-bg-hover); box-shadow: inset 0 1px 2px rgba(13, 22, 38, 0.25); }
.rd-btn-secondary { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--control-border); }
.rd-btn-secondary:hover { background: var(--surface-2); }
.rd-btn:focus-visible { box-shadow: var(--focus-ring); }
.rd-btn .i { width: 18px; height: 18px; transition: transform var(--dur) var(--ease); }
.rd-btn:hover .i-arrow { transform: translateX(2px); }
.rd-btn[disabled], .rd-btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.rd-btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.rd-btn.is-loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45); border-top-color: #FFFFFF; animation: rd-spin 700ms linear infinite;
}
@keyframes rd-spin { to { transform: rotate(360deg); } }
@media (max-width: 479px) { .rd-btn-lg { width: 100%; } }

/* Text link */
.rd-tlink {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--link); font-family: var(--font-body); font-size: 15px; font-weight: 600;
  text-decoration: none; border-radius: var(--radius-xs); background: none; border: 0; padding: 0; cursor: pointer;
}
.rd-tlink > span:first-child {
  background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%;
  background-repeat: no-repeat; transition: background-size var(--dur) var(--ease); padding-bottom: 1px;
}
.rd-tlink:hover > span:first-child { background-size: 100% 1px; }
.rd-tlink-arrow { display: inline-block; transition: transform var(--dur) var(--ease); }
.rd-tlink:hover .rd-tlink-arrow { transform: translateX(2px); }

/* Label */
.rd-label {
  font-family: var(--font-wide); font-size: 12px; line-height: 1.3; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--link);
}
.rd-label-sm { font-size: 11px; letter-spacing: 0.1em; }
.rd-label-muted { color: var(--text-faint); }
.rd-label-green { color: var(--success); }

/* Display */
.rd-display {
  margin: 0; font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  word-spacing: 0.12em; color: var(--text); text-wrap: balance; font-kerning: normal;
}
.rd-display-1 { font-size: clamp(46px, 7.4vw, 96px); line-height: 0.92; letter-spacing: -0.005em; }
.rd-display-2 { font-size: clamp(40px, 5.6vw, 72px); line-height: 0.94; letter-spacing: -0.005em; }
.rd-display-3 { font-size: clamp(34px, 4.4vw, 56px); line-height: 0.95; }
.rd-display-4 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1; }
.rd-hl { color: var(--accent); }
.rd-hl-green { color: var(--success); }
.rd-nowrap { white-space: nowrap; }

/* Headings (Archivo) */
.h3 { font-family: var(--font-heading); font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
.h4 { font-family: var(--font-heading); font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: -0.005em; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--text-soft); max-width: 56ch; }
.body-sm { font-size: 14.5px; line-height: 1.55; color: var(--text-soft); }
.caption { font-size: 13px; line-height: 1.45; color: var(--text-faint); }

/* Section header */
.rd-sh { display: flex; flex-direction: column; gap: var(--space-4); max-width: 780px; }
.rd-sh .rd-display { margin-top: var(--space-1); }
.rd-sh-intro { margin-top: var(--space-1); font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--text-soft); max-width: 52ch; }
.rd-sh-center { align-items: center; text-align: center; margin-inline: auto; }

/* Card */
.rd-card {
  display: flex; flex-direction: column; gap: var(--space-3);
  background: var(--surface); color: var(--text);
  border: 1px solid var(--hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: var(--space-6); min-width: 0;
}
@media (min-width: 900px) { .rd-card { padding: var(--space-8); } }
.rd-card-flat { box-shadow: none; }
.rd-card-highlight { background: var(--highlight); border-color: var(--highlight-border); box-shadow: none; }
.rd-card-dark { background: var(--page); border-color: var(--hairline); }
.rd-card-title { font-family: var(--font-heading); font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; color: var(--text); text-wrap: balance; }
.rd-card-body { font-size: 15px; line-height: 1.55; color: var(--text-soft); }

/* Callout */
.rd-callout { border-radius: var(--radius-md); padding: var(--space-5) var(--space-6); border: 1px solid transparent; }
.rd-callout-highlight { background: var(--highlight); border-color: var(--highlight-border); }
.rd-callout-green { background: var(--success-fill); border-color: rgba(20, 118, 74, 0.16); }
.rd-callout-title { font-family: var(--font-heading); font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: -0.005em; color: var(--text); margin-bottom: var(--space-1); }
.rd-callout-body { font-size: 15px; line-height: 1.55; color: var(--text-soft); max-width: var(--measure); }

/* Stat */
.rd-stat { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.rd-stat-value { font-family: var(--font-display); font-weight: 900; color: var(--text); font-variant-numeric: tabular-nums; font-size: clamp(48px, 5vw, 64px); line-height: 0.9; letter-spacing: -0.01em; }
.rd-stat-accent .rd-stat-value { color: var(--accent); }
.rd-stat-label { font-size: 14.5px; line-height: 1.45; color: var(--text-soft); max-width: 24ch; }

/* Steps */
.rd-steps { list-style: none; margin: 0; padding: 0; width: 100%; }
.rd-steps-vertical { display: flex; flex-direction: column; }
.rd-steps-vertical .rd-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: var(--space-4); padding: var(--space-6) 0; border-top: 1px solid var(--hairline); }
.rd-steps-vertical .rd-step:last-child { border-bottom: 1px solid var(--hairline); }
.rd-step-num { font-family: var(--font-display); font-weight: 900; font-size: 36px; line-height: 0.95; color: var(--accent); font-variant-numeric: tabular-nums; }
.rd-step-title { font-family: var(--font-heading); font-size: 18px; line-height: 1.3; font-weight: 700; letter-spacing: -0.005em; color: var(--text); }
.rd-step-body { margin-top: var(--space-1); font-size: 15.5px; line-height: 1.55; color: var(--text-soft); }

/* Pricing card */
.rd-price {
  display: flex; flex-direction: column; gap: var(--space-4);
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: var(--space-6); min-width: 0; position: relative;
}
@media (min-width: 900px) { .rd-price { padding: var(--space-8); } }
.rd-price-featured { background: var(--highlight); border-color: var(--blue-200); box-shadow: var(--shadow-lg); }
.rd-price-head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); flex-wrap: wrap; }
.rd-price-name { margin: 0; font-family: var(--font-heading); font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; color: var(--text); }
.rd-price-badge { font-family: var(--font-wide); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--link); }
.rd-price-desc { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-soft); }
.rd-price-amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-1) var(--space-2); padding: var(--space-2) 0 var(--space-4); border-bottom: 1px solid var(--hairline); }
.rd-price-from { width: 100%; font-family: var(--font-wide); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.rd-price-value { font-family: var(--font-display); font-weight: 900; font-size: clamp(48px, 4.8vw, 64px); line-height: 0.9; letter-spacing: -0.01em; color: var(--text); font-variant-numeric: tabular-nums; }
.rd-price-value-sm { font-size: clamp(38px, 3.8vw, 48px); }
.rd-price-featured .rd-price-value { color: var(--accent); }
.rd-price-period { font-size: 14px; color: var(--text-faint); }
.rd-price-list { list-style: none; margin: 0 0 var(--space-2); padding: 0; display: flex; flex-direction: column; gap: var(--space-2); font-size: 15px; line-height: 1.5; color: var(--text-soft); }
.rd-price-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--space-2); }
.rd-price-list .i { color: var(--accent); width: 18px; height: 18px; margin-top: 3px; stroke-width: 2.25; }
.rd-price .rd-btn { margin-top: auto; }

/* Table */
.rd-table-wrap { width: 100%; overflow-x: auto; }
.rd-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.45; color: var(--text); font-variant-numeric: tabular-nums; }
.rd-table th { text-align: left; font-weight: 600; font-size: 12.5px; color: var(--text-faint); padding: var(--space-2) var(--space-3); background: var(--surface-2); white-space: nowrap; }
.rd-table th:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.rd-table th:last-child { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.rd-table td { padding: var(--space-3); border-bottom: 1px solid var(--hairline); vertical-align: top; white-space: nowrap; }
.rd-table .rd-num { text-align: right; }

/* Status */
.rd-status { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 500; line-height: 1.3; color: var(--text-soft); white-space: nowrap; }
.rd-status-dot { width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--text-faint); flex: none; }
.rd-status-success .rd-status-dot { background: var(--success); }
.rd-status-warning .rd-status-dot { background: var(--warning); }
.rd-status-error .rd-status-dot { background: var(--error); }
.rd-status-info .rd-status-dot { background: var(--accent); }
.rd-status-filled { padding: 4px 10px 4px 8px; border-radius: var(--radius-full); background: var(--surface-2); color: var(--text); }
.rd-status-filled.rd-status-success { background: var(--success-fill); color: var(--success); }
.rd-status-filled.rd-status-warning { background: var(--warning-fill); color: var(--warning); }
.rd-status-filled.rd-status-error { background: var(--error-fill); color: var(--error); }
.rd-status-filled.rd-status-info { background: var(--highlight); color: var(--link); }

/* ---------- Layer 4: site patterns ---------- */

/* Site header (sticky) */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid var(--hairline);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px -18px rgba(13, 22, 38, 0.35); }
.site-header__inner { height: 64px; display: flex; align-items: center; gap: var(--space-4); }
@media (min-width: 960px) { .site-header__inner { height: var(--header-height); gap: var(--space-8); } }
.site-logo { display: flex; flex: none; border-radius: var(--radius-xs); margin-right: auto; }
.site-logo img { width: 124px; height: auto; }
@media (min-width: 960px) { .site-logo img { width: 140px; } }
.site-nav { display: none; }
@media (min-width: 960px) {
  .site-nav { display: flex; align-items: center; gap: var(--space-8); margin-left: auto; }
  .site-logo { margin-right: 0; }
}
.site-nav a {
  position: relative; font-size: 15px; font-weight: 500; color: var(--text-soft); text-decoration: none;
  padding-block: 8px; transition: color var(--dur) var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -23px; height: 2px; background: var(--blue-deep); border-radius: 2px;
}
.menu-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
  border: 0; border-radius: var(--radius-md); background: transparent; color: var(--text); cursor: pointer;
}
.menu-toggle:hover { background: var(--surface-2); }
.menu-toggle .i { width: 24px; height: 24px; }
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: block; }
@media (min-width: 960px) { .menu-toggle { display: none; } }
@media (max-width: 380px) { .site-header .rd-btn-sm { padding: 0 12px; font-size: 14px; } .site-logo img { width: 112px; } }
.page-book .header-cta { display: none; }

.mobile-menu {
  position: fixed; inset: 64px 0 0 0; z-index: 49; overflow-y: auto;
  background: var(--surface); border-top: 1px solid var(--hairline);
  padding: var(--space-6) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(var(--space-8) + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; gap: var(--space-8);
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: flex; align-items: center; justify-content: space-between; min-height: 56px;
  font-family: var(--font-heading); font-size: 22px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--text); text-decoration: none; border-bottom: 1px solid var(--hairline);
}
.mobile-menu nav a[aria-current="page"] { color: var(--link); }
.mobile-menu nav a .i { color: var(--text-faint); }
.mobile-menu__cta { display: flex; flex-direction: column; gap: var(--space-3); }
.mobile-menu__cta .caption { text-align: center; }
@media (min-width: 960px) { .mobile-menu { display: none !important; } }
body.menu-open { overflow: hidden; }

/* Shared small pieces */
.checks { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-3); font-size: 16px; line-height: 1.5; color: var(--text-soft); }
.checks .i { width: 20px; height: 20px; margin-top: 2px; color: var(--accent); stroke-width: 2.25; }
.checks-green .i { color: var(--success); }
.checks-x .i { color: var(--text-faint); stroke-width: 2; }
.icon-tile {
  display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px;
  border-radius: var(--radius-md); background: var(--highlight); color: var(--blue-deep);
  border: 1px solid var(--highlight-border);
}
.icon-tile .i { width: 22px; height: 22px; }
.icon-tile-green { background: var(--success-fill); color: var(--success); border-color: rgba(20, 118, 74, 0.14); }
[data-theme="dark"] .icon-tile { color: var(--link); }
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px;
  border-radius: var(--radius-full); background: var(--surface-2); color: var(--text-soft);
  font-size: 13px; font-weight: 600; line-height: 1; white-space: nowrap;
}
.chip .i { width: 14px; height: 14px; }
.chip-row { display: flex; flex-wrap: wrap; gap: var(--space-2); }
a.chip { text-decoration: none; transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
a.chip:hover { background: var(--highlight); color: var(--link); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-4); }
.actions--center { justify-content: center; }

/* ===== Hero (home): centered, product below the CTA ===== */
.hero {
  position: relative; overflow: hidden; padding-block: var(--space-12) var(--space-20);
  background: radial-gradient(60% 52% at 50% 0%, rgba(0, 122, 255, 0.11), rgba(0, 122, 255, 0) 72%), var(--page);
}
@media (min-width: 900px) { .hero { padding-block: clamp(var(--space-12), 8vh, var(--space-20)) var(--space-20); } }
.hero::before {
  content: ""; position: absolute; top: 0; left: 64%; width: 140%; height: 1px; background: var(--hairline);
  transform: rotate(var(--logo-angle)); transform-origin: 0 0; pointer-events: none;
}
.hero__center { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-6); }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px;
  border-radius: var(--radius-full); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-sm);
  font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--text-soft);
}
.hero-pill__tag {
  font-family: var(--font-wide); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #FFFFFF; background: var(--blue-deep); padding: 6px 10px; border-radius: var(--radius-full);
}
.hero-pill__tag { white-space: nowrap; }
@media (max-width: 479px) {
  .hero-pill { padding: 6px 14px; font-size: 13px; }
  .hero-pill__tag { display: none; }
  .showcase { margin-top: var(--space-10); }
}
.hero__title { font-size: clamp(48px, min(8vw, 11.5vh), 112px); max-width: 11.5em; }
.hero__lead { max-width: 54ch; margin-inline: auto; }
.hero .actions { margin-top: var(--space-2); }

/* Hero showcase: agent examples, click through */
.showcase { position: relative; z-index: 1; width: 100%; align-self: stretch; margin-top: var(--space-16); display: flex; flex-direction: column; align-items: center; gap: var(--space-8); }
.showcase__tabs {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; width: 100%; max-width: 460px;
  border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-sm);
}
@media (min-width: 760px) { .showcase__tabs { display: inline-flex; width: auto; max-width: none; border-radius: var(--radius-full); } }
.showcase__tab {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 0; border-radius: var(--radius-md); background: transparent; color: var(--text-soft);
  font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
@media (min-width: 760px) { .showcase__tab { border-radius: var(--radius-full); } }
.showcase__tab .i { width: 16px; height: 16px; }
.showcase__tab:hover { color: var(--text); background: var(--surface-2); }
.showcase__tab[aria-selected="true"] { background: var(--ink); color: #FFFFFF; }
.showcase__stage { position: relative; width: 100%; }
@media (min-width: 760px) {
  /* The mask clips to this box, so it runs 108px below the cards to keep their shadows;
     the negative margin keeps the layout as if the box were 412px tall. */
  .showcase__stage {
    height: 500px; margin-bottom: -88px;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 91%, transparent 100%);
  }
  .sc-card {
    position: absolute; top: 0; left: 50%; width: min(660px, 62%); height: 392px;
    transform: translateX(-50%); transition: transform 520ms var(--ease), opacity 520ms var(--ease), filter 520ms var(--ease);
  }
  .sc-card[data-pos="center"] { z-index: 3; }
  .sc-card[data-pos="left"], .sc-card[data-pos="right"] { z-index: 2; opacity: 0.8; filter: saturate(0.5); cursor: pointer; }
  .sc-card[data-pos="left"]:hover, .sc-card[data-pos="right"]:hover { opacity: 1; filter: none; }
  .sc-card[data-pos="left"] { transform: translateX(calc(-50% - 70%)) scale(0.88); }
  .sc-card[data-pos="right"] { transform: translateX(calc(-50% + 70%)) scale(0.88); }
  .sc-card[data-pos="back"] { z-index: 1; opacity: 0; transform: translateX(-50%) scale(0.7); pointer-events: none; }
}
@media (max-width: 759px) {
  .sc-card:not([data-pos="center"]) { display: none; }
}
.sc-card .app { height: 100%; }
.sc-card[data-pos="center"] .app { box-shadow: 0 2px 4px rgba(13, 22, 38, 0.05), 0 40px 80px -36px rgba(13, 22, 38, 0.42); }

/* App window used in the hero showcase */
.app {
  display: flex; flex-direction: column; text-align: left; overflow: hidden;
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  font-size: 14px; line-height: 1.45; color: var(--text);
}
.app__bar {
  flex: none; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px;
  border-bottom: 1px solid var(--hairline); background: var(--surface-2); font-size: 13px; color: var(--text-faint);
}
.dots { display: flex; gap: 6px; flex: none; }
.dots i { display: block; width: 10px; height: 10px; border-radius: 50%; background: #D3D9E1; }
.app__title { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__title strong { color: var(--text); font-weight: 600; }
.app__meta { margin-left: auto; white-space: nowrap; }
.app__body { flex: 1; min-height: 0; padding: 20px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.app__foot {
  flex: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px;
  padding: 12px 20px; border-top: 1px solid var(--hairline); background: var(--surface-2); font-size: 13px; color: var(--text-faint);
}
.agent-id { display: flex; align-items: center; gap: 12px; }
.agent-id strong { display: block; font-family: var(--font-heading); font-size: 15px; font-weight: 700; }
.agent-id span.caption { display: block; }
.agent-badge {
  width: 40px; height: 40px; display: grid; place-items: center; flex: none; color: #FFFFFF; background: var(--blue-deep);
  border-radius: var(--radius-xs) 14px var(--radius-xs) 14px;
}
.agent-badge .i { width: 20px; height: 20px; }
.tag-agent {
  font-family: var(--font-wide); font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--link); background: var(--highlight); border-radius: var(--radius-xs); padding: 3px 6px; line-height: 1.2;
}
.big-title { font-family: var(--font-heading); font-size: 18px; font-weight: 800; letter-spacing: -0.015em; color: var(--text); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pills .rd-status { font-size: 12.5px; }
.rows { list-style: none; display: flex; flex-direction: column; border: 1px solid var(--hairline); border-radius: var(--radius-md); overflow: hidden; }
.rows li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; font-size: 13.5px; }
.rows li + li { border-top: 1px solid var(--hairline); }
.rows .row-main { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.rows .row-meta { color: var(--text-faint); font-size: 12.5px; white-space: nowrap; }
.bars { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.bars li { display: grid; grid-template-columns: 52px minmax(0, 1fr) 104px; align-items: center; gap: 12px; font-size: 13.5px; }
.bars .bar { height: 10px; border-radius: var(--radius-full); background: var(--chart-track); overflow: hidden; position: relative; }
.bars .bar > span { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--chart-1); }
.bars .bar.is-over > span { background: var(--error); }
.bars .bar.is-room > span { background: var(--teal); }
.bars .rd-status { font-size: 12.5px; justify-self: end; }
.tasklist { list-style: none; display: flex; flex-direction: column; }
.tasklist li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--hairline); font-size: 14px; }
.tasklist li:last-child { border-bottom: 0; }
.tasklist .i { width: 18px; height: 18px; margin-top: 1px; stroke-width: 2.25; }
.tasklist .is-done .i { color: var(--success); }
.tasklist .is-ask .i { color: var(--warning); }
.tasklist small { display: block; font-size: 12.5px; color: var(--text-faint); }
.mailmini { display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.mailmini__row { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--hairline); }
.mailmini__row > span:first-child { color: var(--text-faint); }
.mailmini h5 { font-family: var(--font-heading); font-size: 13px; font-weight: 700; margin-top: 4px; }
.mailmini ul { list-style: none; display: flex; flex-direction: column; gap: 3px; color: var(--text-soft); }
.mailmini li { display: flex; gap: 8px; }
.mailmini li .i { width: 15px; height: 15px; margin-top: 2px; color: var(--success); stroke-width: 2.25; }
@media (max-width: 520px) {
  .rows .row-meta { display: none; }
  .bars li { grid-template-columns: 48px minmax(0, 1fr); }
  .bars .rd-status { grid-column: 2; justify-self: start; }
  .app__body { padding: 16px; }
}

/* ===== Proof strip ===== */
.proof { background: var(--surface); border-block: 1px solid var(--hairline); }
.proof__list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); }
.proof__list li { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-4) 0; font-size: 15px; line-height: 1.4; color: var(--text-soft); }
.proof__list li + li { border-top: 1px solid var(--hairline); }
.proof__list .i { color: var(--blue-deep); width: 22px; height: 22px; }
.proof__list .is-green .i { color: var(--success); }
@media (min-width: 720px) {
  .proof__list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-8); }
  .proof__list li:nth-child(2) { border-top: 0; }
}
@media (min-width: 1100px) {
  .proof__list { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; }
  .proof__list li { padding: var(--space-6); border-top: 0 !important; }
  .proof__list li:first-child { padding-left: 0; }
  .proof__list li + li { border-left: 1px solid var(--hairline); }
}

/* ===== Problem (minimal) ===== */
.leak-grid { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
@media (min-width: 720px) { .leak-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .leak-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-5); } }
.leak {
  display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6) var(--space-5);
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.leak h3 { font-family: var(--font-heading); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
.leak p { font-size: 14.5px; line-height: 1.45; color: var(--text-soft); margin-top: 4px; }
.leak .icon-tile { background: var(--error-fill); color: var(--error); border-color: rgba(186, 54, 48, 0.12); width: 40px; height: 40px; }
@media (max-width: 719px) { .leak-grid li:last-child { grid-column: 1 / -1; } }

.equation {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--space-3); align-items: center;
  padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-md);
}
@media (min-width: 900px) {
  .equation { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.25fr); gap: var(--space-4); padding: var(--space-8) var(--space-10); }
}
.eq-item { display: flex; flex-direction: column; gap: 6px; text-align: center; min-width: 0; }
.eq-num { font-family: var(--font-display); font-weight: 900; font-size: clamp(44px, 5vw, 64px); line-height: 0.9; color: var(--text); font-variant-numeric: tabular-nums; }
.eq-label { font-size: 14px; line-height: 1.35; color: var(--text-soft); }
.eq-op { font-family: var(--font-display); font-weight: 900; font-size: 36px; line-height: 1; color: var(--text-faint); text-align: center; }
.eq-result { padding: var(--space-5) var(--space-4); border-radius: var(--radius-md); background: var(--error-fill); }
.eq-result .eq-num { color: var(--error); font-size: clamp(52px, 6vw, 80px); }
.eq-result .eq-label { color: var(--error); font-weight: 600; }
@media (max-width: 899px) {
  .equation { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); gap: var(--space-2); padding: var(--space-5) var(--space-4); }
  .eq-num { font-size: clamp(32px, 9vw, 44px); }
  .eq-label { font-size: 12.5px; }
  .eq-op { font-size: 24px; }
  .equation .eq-op-eq { grid-column: 1 / -1; }
  .equation .eq-result { grid-column: 1 / -1; }
}
.t-green { color: var(--success) !important; }
.icon-tile-quiet { background: var(--surface-2); color: var(--text-soft); border-color: var(--hairline); }
.plan__step .plan__spacer { margin-top: auto; align-self: flex-start; }
.sc-preview__tag { position: absolute; top: var(--space-5); right: var(--space-5); }
.book__title { font-size: clamp(44px, 6vw, 80px); }

/* ===== Agents (tabs + realistic app panels) ===== */
.agents { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); }
@media (min-width: 1040px) { .agents { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.42fr); gap: var(--space-10); align-items: start; } }
.agents__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
@media (min-width: 1040px) { .agents__list { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--hairline); } }
.agent-tab {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: var(--space-3);
  width: 100%; text-align: left; cursor: pointer; background: var(--surface); color: var(--text);
  border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 10px 12px; min-height: 56px;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.agent-tab:hover { background: var(--surface-2); }
.agent-tab[aria-selected="true"] { background: var(--highlight); border-color: var(--blue-200); }
.agent-tab__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text-soft); transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.agent-tab[aria-selected="true"] .agent-tab__icon { background: var(--blue-deep); color: #FFFFFF; }
.agent-tab__name { display: block; font-family: var(--font-heading); font-size: 15px; font-weight: 700; line-height: 1.25; letter-spacing: -0.005em; }
.agent-tab__job { display: none; font-size: 14.5px; line-height: 1.5; color: var(--text-soft); margin-top: 4px; }
@media (min-width: 1040px) {
  .agent-tab {
    grid-template-columns: 40px minmax(0, 1fr); align-items: start; gap: var(--space-4);
    border: 0; border-bottom: 1px solid var(--hairline); border-radius: 0; padding: var(--space-5) var(--space-4) var(--space-5) var(--space-3);
    background: transparent; position: relative;
  }
  .agent-tab::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: transparent; transition: background-color var(--dur) var(--ease); }
  .agent-tab[aria-selected="true"] { background: var(--highlight); }
  .agent-tab[aria-selected="true"]::before { background: var(--blue-deep); }
  .agent-tab__icon { width: 40px; height: 40px; }
  .agent-tab__name { font-size: 18px; margin-top: 2px; }
  .agent-tab__job { display: block; }
}
.agent-panel { display: flex; flex-direction: column; gap: var(--space-4); min-width: 0; }
@media (min-width: 1040px) { .agents__panels { position: sticky; top: calc(var(--header-height) + var(--space-6)); } }
.agent-panel__job { font-size: 16px; line-height: 1.55; color: var(--text-soft); }
@media (min-width: 1040px) { .agent-panel__job { display: none; } }
.agent-panel__meta { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.agents.is-live .agent-panel .appwin { animation: panel-in 240ms var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* App UI kit: windows that look like the tools agencies use */
.appwin {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden; font-size: 13.5px; line-height: 1.45; color: var(--text);
}
.appwin__top { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; background: var(--surface-2); border-bottom: 1px solid var(--hairline); }
.appwin__url { flex: 1; display: flex; justify-content: center; min-width: 0; }
.appwin__url span { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; background: var(--surface); border: 1px solid var(--hairline); border-radius: 6px; padding: 3px 12px; font-size: 12px; color: var(--text-faint); }
.appwin__main { display: grid; grid-template-columns: 172px minmax(0, 1fr); min-height: 440px; }
.side { background: #FAFBFD; border-right: 1px solid var(--hairline); padding: 12px 10px; display: flex; flex-direction: column; gap: 1px; font-size: 13px; color: var(--text-soft); }
.side__ws { display: flex; align-items: center; gap: 8px; padding: 4px 8px 12px; font-weight: 700; color: var(--text); }
.side__ws b { width: 24px; height: 24px; border-radius: 6px; background: var(--ink); color: #FFFFFF; display: grid; place-items: center; font-size: 11px; }
.side__item { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; white-space: nowrap; overflow: hidden; }
.side__item .i { width: 15px; height: 15px; color: var(--text-faint); }
.side__item.is-on { background: var(--highlight); color: var(--link); font-weight: 600; }
.side__item.is-on .i { color: var(--link); }
.side__head { padding: 14px 8px 4px; font-family: var(--font-wide); font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.side__dot { width: 8px; height: 8px; border-radius: 3px; flex: none; }
.side__count { margin-left: auto; font-size: 11px; font-weight: 700; color: #FFFFFF; background: var(--error); border-radius: 9px; padding: 0 6px; line-height: 16px; }
.view { padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.view__crumb { display: flex; align-items: center; gap: 4px; font-size: 12.5px; color: var(--text-faint); }
.view__crumb .i { width: 13px; height: 13px; }
.view__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.view__title { font-family: var(--font-heading); font-size: 19px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; }
.view__tabs { display: flex; gap: 18px; border-bottom: 1px solid var(--hairline); font-size: 13px; color: var(--text-faint); }
.view__tabs span { padding-bottom: 8px; }
.view__tabs .is-on { color: var(--text); font-weight: 600; box-shadow: inset 0 -2px 0 var(--blue-deep); }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; font-size: 13px; }
.fields > div { display: flex; align-items: center; gap: 8px; min-width: 0; }
.fields dt { width: 70px; flex: none; color: var(--text-faint); }
.fields dd { display: flex; align-items: center; gap: 6px; font-weight: 500; min-width: 0; white-space: nowrap; }
.t-red { color: var(--error); font-weight: 600 !important; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: 5px; font-size: 11px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; white-space: nowrap; }
.pill-red { background: var(--error-fill); color: var(--error); }
.pill-amber { background: var(--warning-fill); color: var(--warning); }
.pill-green { background: var(--success-fill); color: var(--success); }
.pill-blue { background: var(--highlight); color: var(--link); }
.pill-grey { background: var(--surface-2); color: var(--text-soft); }
.av { display: inline-grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; font-size: 9.5px; font-weight: 700; color: var(--ink); letter-spacing: 0.02em; }
.av-a { background: #DAE9FF; } .av-b { background: #F3E3CB; } .av-c { background: #CFEDEC; } .av-d { background: #FEEDC9; } .av-e { background: #E4E8EE; }
.av-lg { width: 30px; height: 30px; font-size: 11px; }
.av-agent { background: var(--blue-deep); color: #FFFFFF; border-radius: 4px 10px 4px 10px; }
.av-agent .i { width: 15px; height: 15px; }
.activity { display: flex; flex-direction: column; gap: 12px; }
.act { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; }
.act__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12.5px; color: var(--text-faint); }
.act__head strong { font-size: 13px; }
.act__bubble { margin-top: 4px; padding: 10px 12px; border-radius: 4px 12px 12px 12px; background: var(--surface-2); font-size: 13.5px; color: var(--text); }
.act--agent .act__bubble { background: var(--highlight); border: 1px solid var(--highlight-border); }
.act__sys { display: flex; align-items: center; gap: 8px; padding-left: 40px; font-size: 12.5px; color: var(--text-faint); }
.act__sys .i { width: 14px; height: 14px; }
.act__sys strong { font-weight: 600; color: var(--text-soft); }
.mention { color: var(--link); font-weight: 600; }
.composer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; color: var(--text-faint); }
.composer .i { width: 16px; height: 16px; }
.mock-label { font-family: var(--font-wide); font-size: 9.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
/* Email compose */
.mailwin__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--hairline); }
.mailwin__head strong { font-family: var(--font-heading); font-size: 15px; font-weight: 700; }
.mailwin__row { display: flex; align-items: center; gap: 10px; padding: 8px 20px; border-bottom: 1px solid var(--hairline); font-size: 13px; }
.mailwin__row > span:first-child { width: 52px; color: var(--text-faint); }
.addr { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px 2px 2px; border-radius: var(--radius-full); background: var(--surface-2); font-size: 12.5px; font-weight: 500; }
.mailwin__body { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; font-size: 13.5px; }
.mailwin__body h5 { font-family: var(--font-heading); font-size: 13px; font-weight: 700; margin-top: 2px; }
.mailwin__body ul { list-style: none; display: flex; flex-direction: column; gap: 4px; color: var(--text-soft); }
.mailwin__body li { display: flex; gap: 8px; align-items: flex-start; }
.mailwin__body li .i { width: 15px; height: 15px; margin-top: 2px; stroke-width: 2.25; }
.mailwin__body .done .i { color: var(--success); }
.mailwin__body .next .i { color: var(--blue-deep); }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kpis div { padding: 8px 10px; border-radius: 8px; background: var(--surface-2); }
.kpis b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 22px; line-height: 1; }
.kpis span { font-size: 11.5px; color: var(--text-faint); }
.ask { padding: 10px 12px; border-radius: 8px; background: var(--warm); font-size: 13.5px; color: var(--text); }
.mailwin__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 10px 20px; border-top: 1px solid var(--hairline); background: var(--surface-2); font-size: 12.5px; color: var(--text-faint); }
.fakebtn { display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 6px; background: var(--blue-200); color: #FFFFFF; font-size: 12.5px; font-weight: 600; }
.fmt { display: flex; gap: 10px; color: var(--text-faint); }
.fmt .i { width: 15px; height: 15px; }
.byline { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
/* Tables */
.table-scroll { overflow-x: auto; border: 1px solid var(--hairline); border-radius: 8px; }
.dtable { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.dtable th { text-align: left; font-size: 11.5px; font-weight: 600; color: var(--text-faint); padding: 8px 10px; border-bottom: 1px solid var(--hairline); white-space: nowrap; background: #FAFBFD; }
.dtable td { padding: 9px 10px; border-bottom: 1px solid var(--hairline); white-space: nowrap; }
.dtable tr:last-child td { border-bottom: 0; }
.dtable tr.is-flag td { background: #FFFBF2; }
.cell { display: flex; align-items: center; gap: 8px; }
.cbox { width: 14px; height: 14px; flex: none; border: 1.5px solid var(--line); border-radius: 4px; }
.missing { display: inline-flex; align-items: center; gap: 4px; color: var(--warning); font-weight: 600; }
.missing .i { width: 14px; height: 14px; }
.suggest { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--highlight); border: 1px solid var(--highlight-border); font-size: 13.5px; color: var(--text-soft); }
.suggest strong { color: var(--text); }
.suggest .av-agent { width: 26px; height: 26px; }
/* Intake */
.mailcard { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: #FAFBFD; }
.mailcard__subj { font-weight: 600; font-size: 13.5px; margin-top: 2px; }
.mailcard__text { font-size: 13.5px; color: var(--text-soft); }
.flow-arrow { display: flex; align-items: center; gap: 8px; color: var(--text-faint); font-size: 12px; }
.flow-arrow::before, .flow-arrow::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }
.flow-arrow .i { width: 14px; height: 14px; transform: rotate(90deg); color: var(--blue-deep); }
/* Workload */
.wl { display: grid; grid-template-columns: 128px repeat(5, minmax(0, 1fr)) 64px; font-size: 12.5px; border: 1px solid var(--hairline); border-radius: 8px; overflow: hidden; }
.wl > span { display: flex; align-items: center; gap: 8px; padding: 7px 6px; border-bottom: 1px solid var(--hairline); min-width: 0; }
.wl > span:nth-last-child(-n+7) { border-bottom: 0; }
.wl__h { color: var(--text-faint); font-weight: 600; font-size: 11.5px; justify-content: center; background: #FAFBFD; }
.wl__h:first-child { justify-content: flex-start; padding-left: 10px; }
.wl__who { padding-left: 10px !important; white-space: nowrap; }
.wl__who small { display: block; font-size: 11px; color: var(--text-faint); }
.wl__c { justify-content: center; }
.wl__c i { display: grid; place-items: center; width: 100%; height: 26px; border-radius: 5px; font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; }
.l1 { background: #EFF6FF; } .l2 { background: #DAE9FF; } .l3 { background: #B4D3FF; } .lx { background: var(--error-fill); color: var(--error); }
.wl__t { justify-content: flex-end; padding-right: 10px !important; font-weight: 700; font-variant-numeric: tabular-nums; }
.wl__t.over { color: var(--error); } .wl__t.room { color: var(--success); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--text-faint); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
/* Chat */
.chat { display: flex; flex-direction: column; min-width: 0; }
.chat__head { display: flex; align-items: baseline; gap: 10px; padding: 12px 20px; border-bottom: 1px solid var(--hairline); }
.chat__head strong { font-family: var(--font-heading); font-size: 15px; }
.chat__msgs { display: flex; flex-direction: column; gap: 16px; padding: 16px 20px; flex: 1; }
.chat .composer { margin: 0 20px 16px; }
.doc-card { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 10px 12px; max-width: 300px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.doc-card .i { color: var(--blue-deep); }
.doc-card strong { display: block; font-size: 13px; }
.doc-card small { font-size: 12px; color: var(--text-faint); }
.reacts { display: flex; gap: 6px; margin-top: 8px; }
.reacts span { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 8px; border-radius: var(--radius-full); border: 1px solid var(--line); font-size: 12px; color: var(--text-soft); }
.reacts .i { width: 13px; height: 13px; color: var(--success); stroke-width: 2.25; }
.steps-inline { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 3px; }
@media (max-width: 640px) {
  .appwin__main { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .side { display: none; }
  .view { padding: 14px 16px; }
  .fields { grid-template-columns: minmax(0, 1fr); }
  .wl { grid-template-columns: 76px repeat(5, minmax(0, 1fr)) 44px; font-size: 11.5px; }
  .wl__who small { display: none; }
  .byline { margin-left: 0; }
}

/* ===== Pricing path (home + pricing) ===== */
.plan { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
@media (min-width: 980px) { .plan { grid-template-columns: 1.1fr 1fr 1fr; gap: var(--space-6); align-items: stretch; } }
.plan__step {
  position: relative; display: flex; flex-direction: column; gap: var(--space-5); padding: var(--space-8) var(--space-6);
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
@media (min-width: 980px) {
  .plan__step:not(:last-child)::after {
    content: "→"; position: absolute; z-index: 2; top: 50%; right: calc(var(--space-6) / -2); width: 32px; height: 32px; margin: -16px -16px 0 0;
    display: grid; place-items: center; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    font-size: 15px; color: var(--text-soft);
  }
}
.plan__step.is-start { background: var(--highlight); border-color: var(--blue-200); box-shadow: var(--shadow-lg); }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); min-height: 28px; }
.plan__phase { font-family: var(--font-wide); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.is-start .plan__phase { color: var(--link); }
.plan__name { font-family: var(--font-heading); font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.plan__price { display: flex; flex-direction: column; gap: 6px; padding-block: var(--space-5); border-block: 1px solid var(--hairline); }
.plan__from { font-family: var(--font-wide); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.plan__amount { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-display); font-weight: 900; font-size: clamp(64px, 6.4vw, 92px); line-height: 0.85; letter-spacing: -0.01em; color: var(--text); font-variant-numeric: tabular-nums; }
.plan__amount small { font-family: var(--font-body); font-size: 16px; font-weight: 600; letter-spacing: 0; color: var(--text-faint); }
.is-start .plan__amount { color: var(--accent); }
.plan__desc { font-size: 15.5px; line-height: 1.5; color: var(--text-soft); }
.plan__time { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--text); }
.plan__time .i { width: 18px; height: 18px; color: var(--text-faint); }
.plan__step .rd-btn { margin-top: auto; }
.plan__step .plan__spacer { margin-top: auto; }
.plan-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-3) var(--space-6); text-align: center; font-size: 15px; color: var(--text-soft); }
.plan-note .i { color: var(--success); }
.plan-note > span { display: inline-flex; align-items: center; gap: 8px; }

/* ===== Compare (Operators, not advisors) ===== */
.compare { display: flex; flex-direction: column; border-top: 1px solid var(--hairline); }
.compare__head { display: none; }
.compare__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-2); padding: var(--space-5) 0; border-bottom: 1px solid var(--hairline); }
.compare__alt { font-family: var(--font-heading); font-size: 18px; font-weight: 700; letter-spacing: -0.005em; }
.compare__them, .compare__us { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-3); font-size: 16px; line-height: 1.5; }
.compare__them { color: var(--text-faint); }
.compare__them .i { color: var(--text-faint); margin-top: 2px; width: 18px; height: 18px; }
.compare__us { color: var(--text); }
.compare__us .i { color: var(--accent); margin-top: 2px; width: 18px; height: 18px; stroke-width: 2.25; }
@media (min-width: 900px) {
  .compare__head, .compare__row { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--space-8); align-items: start; }
  .compare__head { padding: 0 0 var(--space-3); border-bottom: 1px solid var(--hairline); }
  .compare { border-top: 0; }
  .compare__row { padding: var(--space-6) 0; }
}

/* ===== Guarantee (light, green) ===== */
/* Home guarantee: one compact band, the seal beside one promise. No cards. */
.guar { display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center; gap: var(--space-8); text-align: center; }
.guar .seal { width: min(200px, 56vw); }
.guar .seal__core b { font-size: clamp(56px, 6vw, 72px); }
.guar .seal__core span { font-size: 12.5px; }
.guar__copy { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); }
.guar__lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.55; color: var(--text-soft); max-width: 50ch; }
.guar__cta { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); margin-top: var(--space-3); }
.guar__note { font-size: 14px; line-height: 1.4; color: var(--text-soft); }
@media (min-width: 860px) {
  .guar { grid-template-columns: auto minmax(0, 1fr); justify-items: start; align-items: center; column-gap: var(--space-16); max-width: 1000px; margin-inline: auto; text-align: left; }
  .guar .seal { width: 240px; }
  .guar__copy { align-items: flex-start; }
  .guar__cta { flex-direction: row; gap: var(--space-5); }
}

.seal { position: relative; width: min(300px, 76vw); aspect-ratio: 1; display: grid; place-items: center; }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--success); }
.seal__ring text { font-family: var(--font-wide); font-size: 11px; font-weight: 700; letter-spacing: 0.24em; fill: currentColor; }
.seal__core {
  position: relative; width: 70%; aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
  background: var(--success-fill); border: 1px solid rgba(20, 118, 74, 0.18); box-shadow: 0 28px 56px -30px rgba(20, 118, 74, 0.55);
}
.seal__core b { font-family: var(--font-display); font-weight: 900; font-size: clamp(76px, 9vw, 104px); line-height: 0.82; color: var(--success); }
.seal__core span { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--success); max-width: 14ch; }
/* ===== Share with partners ===== */
.share { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-12); align-items: center; }
@media (min-width: 1040px) { .share { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); } }
.share__text { display: flex; flex-direction: column; gap: var(--space-6); }
.askers { list-style: none; display: flex; flex-direction: column; border-top: 1px solid var(--hairline); }
.askers li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--hairline); }
.askers strong { display: block; font-size: 16px; }
.askers div span { font-size: 15px; color: var(--text-soft); }
.pin { width: 28px; height: 28px; border-radius: 50%; background: var(--blue-deep); color: #FFFFFF; font-family: var(--font-heading); font-weight: 800; font-size: 13px; display: grid; place-items: center; flex: none; box-shadow: 0 0 0 4px rgba(0, 102, 215, 0.14); }
.copy-done { font-size: 13.5px; color: var(--success); font-weight: 600; }
.doc-stage { position: relative; padding: var(--space-8) var(--space-6) var(--space-8) var(--space-12); }
.doc-stage::before { content: ""; position: absolute; inset: 0 0 0 10%; border-radius: var(--radius-xl); background: var(--highlight); border: 1px solid var(--highlight-border); }
.doc {
  position: relative; max-width: 420px; margin-inline: auto; display: flex; flex-direction: column; gap: 16px;
  background: #FFFFFF; border: 1px solid var(--hairline); border-radius: 10px; box-shadow: var(--shadow-lg); padding: 28px 26px;
  font-size: 11px; color: var(--ink); transform: rotate(-1.5deg);
}
.doc__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.doc__head img { width: 96px; }
.doc__tag { font-family: var(--font-wide); font-size: 8px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.doc__title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; word-spacing: 0.12em; font-size: 28px; line-height: 0.92; }
.doc__title span { color: var(--blue); }
.doc__sec { position: relative; display: flex; flex-direction: column; gap: 7px; }
.doc__sec h6 { font-family: var(--font-wide); font-size: 8px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--link); }
.doc__sec .pin { position: absolute; left: -48px; top: -4px; width: 24px; height: 24px; font-size: 11.5px; }
.doc__lines { display: flex; flex-direction: column; gap: 6px; }
.doc__lines i { display: block; height: 5px; border-radius: 3px; background: #E7EBF1; }
.doc__lines i:nth-child(2) { width: 86%; } .doc__lines i:nth-child(3) { width: 64%; }
.doc__prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.doc__prices span { display: flex; flex-direction: column; gap: 3px; padding: 8px; border-radius: 6px; background: #EFF6FF; font-family: var(--font-display); font-weight: 900; font-size: 18px; line-height: 1; }
.doc__prices small { font-family: var(--font-body); font-weight: 600; font-size: 8px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-faint); }
.doc__guar { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 6px; background: var(--success-fill); color: var(--success); font-weight: 600; font-size: 10.5px; line-height: 1.3; }
.doc__guar b { font-family: var(--font-display); font-weight: 900; font-size: 26px; line-height: 0.9; }
.doc__data { display: flex; align-items: center; gap: 8px; }
.doc__data .i { width: 16px; height: 16px; color: var(--ink); }
.doc__data .doc__lines { flex: 1; }
@media (max-width: 560px) {
  .doc-stage { padding: var(--space-6) var(--space-4); }
  .doc-stage::before { inset: 0; }
  .doc { transform: none; }
  .doc__sec .pin { left: auto; right: -12px; top: -10px; }
}

/* ===== FAQ ===== */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-10); }
@media (min-width: 1000px) { .faq-layout { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--space-16); align-items: start; } .faq-layout > .rd-sh { position: sticky; top: calc(var(--header-height) + var(--space-8)); } }
.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
  min-height: 68px; padding: var(--space-4) 0; font-family: var(--font-heading); font-size: 18px; font-weight: 700; line-height: 1.35; letter-spacing: -0.005em; color: var(--text);
  border-radius: var(--radius-xs);
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); transition: background-color var(--dur) var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--text); border-radius: 1px; transition: transform var(--dur) var(--ease); }
.faq-icon::after { transform: rotate(90deg); }
.faq details[open] .faq-icon { background: var(--blue-deep); }
.faq details[open] .faq-icon::before, .faq details[open] .faq-icon::after { background: #FFFFFF; }
.faq details[open] .faq-icon::after { transform: rotate(0deg); }
.faq summary:hover .faq-icon { background: var(--highlight); }
.faq details[open] summary:hover .faq-icon { background: var(--blue-deeper); }
.faq__a { padding: 0 var(--space-12) var(--space-6) 0; font-size: 16px; line-height: 1.62; color: var(--text-soft); max-width: var(--measure); }
@media (max-width: 560px) { .faq__a { padding-right: 0; } }

/* ===== Closing CTA band (always light; the footer below is dark) ===== */
.cta-band { padding-block: var(--space-16); background: var(--page); }
@media (min-width: 900px) { .cta-band { padding-block: var(--space-24); } }
.cta-panel {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-6);
  padding: var(--space-16) var(--space-6);
  background: radial-gradient(70% 90% at 50% 0%, rgba(0, 122, 255, 0.12), rgba(0, 122, 255, 0) 70%), var(--highlight);
  border: 1px solid var(--highlight-border);
}
@media (min-width: 900px) { .cta-panel { padding: var(--space-24) var(--space-16); } }
.cta-panel::before {
  content: ""; position: absolute; top: 0; left: 70%; width: 120%; height: 1px; background: rgba(0, 102, 215, 0.14);
  transform: rotate(var(--logo-angle)); transform-origin: 0 0; pointer-events: none;
}
.cta-panel > * { position: relative; }
.cta-panel .rd-display { max-width: 14ch; }
.cta-panel .lead { max-width: 46ch; }
.cta-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-5); font-size: 14px; color: var(--text-soft); }
.cta-meta span { display: inline-flex; align-items: center; gap: 6px; }
.cta-meta .i { width: 16px; height: 16px; color: var(--blue-deep); }

/* ===== Footer (always dark) ===== */
.site-footer { background: var(--page); color: var(--text); padding-block: var(--space-16) var(--space-8); }
@media (min-width: 900px) { .site-footer { padding-block: var(--space-20) var(--space-8); } }
.footer-top { display: flex; flex-direction: column; gap: var(--space-3); padding-bottom: var(--space-12); border-bottom: 1px solid var(--hairline); }
.footer-tagline { color: #FFFFFF; }
.footer-tagline .rd-hl { color: #71ACFF; }
.footer-top p.footer-desc { color: var(--text-soft); font-size: 17px; }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-10) var(--space-6); padding-top: var(--space-12); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand img { width: 150px; }
.footer-brand p { margin-top: var(--space-5); font-size: 15px; color: var(--text-soft); max-width: 32ch; }
.footer-col ul { list-style: none; margin-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-1); }
.footer-col a { display: inline-flex; min-height: 32px; align-items: center; color: var(--text-soft); text-decoration: none; font-size: 15px; transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: #FFFFFF; }
.footer-legal { margin-top: var(--space-16); padding-top: var(--space-6); border-top: 1px solid var(--hairline); font-size: 13px; color: var(--text-faint); }

/* ===== Inner page hero (centered) ===== */
.page-hero {
  position: relative; overflow: hidden; padding-block: var(--space-12) var(--space-16);
  background: radial-gradient(60% 60% at 50% 0%, rgba(0, 122, 255, 0.09), rgba(0, 122, 255, 0) 72%), var(--page);
}
@media (min-width: 900px) { .page-hero { padding-block: clamp(var(--space-12), 8vh, var(--space-20)) var(--space-20); } }
.page-hero::before {
  content: ""; position: absolute; top: 0; left: 66%; width: 140%; height: 1px; background: var(--hairline);
  transform: rotate(var(--logo-angle)); transform-origin: 0 0; pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--space-12); }
.page-hero__center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-5); }
.page-hero__center .lead { margin-inline: auto; }
.page-hero__split { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-10); align-items: center; }
@media (min-width: 1000px) { .page-hero__split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--space-16); } }
.page-hero__main { display: flex; flex-direction: column; gap: var(--space-5); align-items: flex-start; min-width: 0; }
/* ===== Pricing page: three cards hold every price, option and term ===== */
.pp { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); width: 100%; }
@media (min-width: 980px) { .pp { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(7, auto); column-gap: var(--space-6); row-gap: 0; } }
.pp__card { position: relative; display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-sm); text-align: left; }
@media (min-width: 980px) { .pp__card { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: var(--space-4); padding: var(--space-8) var(--space-6) var(--space-6); } }
.pp__card.is-start { background: var(--highlight); border-color: var(--blue-200); box-shadow: var(--shadow-lg); }
.pp__top { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.pp__step { font-family: var(--font-wide); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.is-start .pp__step { color: var(--link); }
.pp__time { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--text-soft); white-space: nowrap; }
.pp__time .i { width: 16px; height: 16px; }
.pp__name { font-family: var(--font-heading); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.pp__desc { margin-top: 4px; font-size: 15.5px; line-height: 1.45; color: var(--text-soft); }
.pp__price { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding-block: var(--space-4); border-block: 1px solid var(--hairline); }
.is-start .pp__price { border-color: var(--highlight-border); }
.pp__amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; font-family: var(--font-display); font-weight: 900; font-size: clamp(56px, 5vw, 76px); line-height: 0.85; letter-spacing: -0.01em; color: var(--text); font-variant-numeric: tabular-nums; }
.pp__amount small { font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--text-faint); }
.pp__amount .pp__from { width: 100%; margin-bottom: 4px; font-family: var(--font-wide); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.pp__unit { font-size: 14.5px; font-weight: 600; color: var(--text-soft); }
.pp__list { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--text); }
.pp__list li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; }
.pp__list .i { width: 18px; height: 18px; margin-top: 2px; color: var(--blue-deep); stroke-width: 2.25; }
.pp__more { font-size: 14px; line-height: 1.5; color: var(--text-soft); }
.pp__more strong { color: var(--text); font-weight: 600; }
.pp__terms { list-style: none; display: flex; flex-direction: column; gap: 8px; padding-top: var(--space-4); border-top: 1px dashed var(--line); font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--text); }
.pp__terms li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; align-items: start; }
.pp__terms .i { width: 18px; height: 18px; color: var(--blue-deep); }
.pp__terms--green, .pp__terms--green .i { color: var(--success); }
.pp__cta { align-self: end; margin-top: var(--space-2); }
.pp__def { color: inherit; text-decoration: underline dotted; text-underline-offset: 3px; }
.pp__def:hover { color: var(--link); }
.pp-notes { display: flex; flex-direction: column; align-items: center; gap: var(--space-8); }
.wf { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); text-align: center; scroll-margin-top: calc(var(--header-height) + var(--space-8)); }
.wf__lead { max-width: 64ch; font-size: 15px; line-height: 1.5; color: var(--text-soft); }
.wf__lead strong { color: var(--text); }
.wf__list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); }
.wf__list li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--radius-full); background: var(--surface); border: 1px solid var(--hairline); font-size: 13.5px; font-weight: 600; color: var(--text); }
.wf__list .i { width: 14px; height: 14px; color: var(--blue-deep); }
.founding-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-2) var(--space-4); text-align: center; font-size: 15px; line-height: 1.5; color: var(--text-soft); }
.founding-strip strong { color: var(--text); }
.founding-strip__tag { padding: 4px 10px; border-radius: var(--radius-full); background: var(--warm); font-family: var(--font-wide); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sand-deep); }
[data-theme="dark"] .founding-strip__tag { color: #E2C9A6; }

/* ROI calculator */
.roi { display: grid; grid-template-columns: minmax(0, 1fr); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--hairline); box-shadow: var(--shadow-lg); background: var(--surface); }
@media (min-width: 900px) { .roi { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.roi__inputs { display: flex; flex-direction: column; gap: var(--space-8); padding: var(--space-6); }
@media (min-width: 900px) { .roi__inputs { padding: var(--space-12); } }
.roi__out { display: flex; flex-direction: column; gap: var(--space-5); padding: var(--space-6); background: var(--highlight); border-top: 1px solid var(--highlight-border); }
@media (min-width: 900px) { .roi__out { padding: var(--space-12); border-top: 0; border-left: 1px solid var(--highlight-border); } }
.roi__small { font-size: 13px; line-height: 1.5; color: var(--text-faint); }
.range { display: flex; flex-direction: column; gap: var(--space-2); }
.range__top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); }
.range__top label { font-weight: 600; font-size: 15px; color: var(--text); }
.range__top output { font-family: var(--font-display); font-weight: 900; font-size: 34px; line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; }
.range input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; margin: 0; --fill: 50%; }
.range input[type="range"]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--blue-deep) var(--fill), var(--chart-track) var(--fill)); }
.range input[type="range"]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--chart-track); }
.range input[type="range"]::-moz-range-progress { height: 6px; border-radius: 3px; background: var(--blue-deep); }
.range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #FFFFFF; border: 2px solid var(--blue-deep); box-shadow: var(--shadow-md); }
.range input[type="range"]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #FFFFFF; border: 2px solid var(--blue-deep); }
.range input[type="range"]:focus-visible { box-shadow: none; }
.range input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: var(--focus-ring); }
.range__scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.roi__verdict { font-family: var(--font-heading); font-size: 18px; font-weight: 700; line-height: 1.4; color: var(--text); }
.vsbar { display: flex; flex-direction: column; gap: var(--space-6); }
.vsbar__label { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3); font-size: 15px; font-weight: 600; color: var(--text); }
.vsbar__label strong { font-family: var(--font-display); font-weight: 900; font-size: clamp(36px, 3.4vw, 48px); line-height: 1; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vsbar__row--gain .vsbar__label strong { color: var(--success); }
.vsbar__track { margin-top: 10px; height: 14px; border-radius: var(--radius-full); background: var(--chart-track); overflow: hidden; }
.vsbar__track span { display: block; width: var(--w, 0%); height: 100%; border-radius: inherit; transition: width 320ms var(--ease); }
.vsbar__row--gain .vsbar__track span { background: var(--success); }
.vsbar__row--cost .vsbar__track span { background: var(--blue-deep); }
.vsbar__sub { margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--text-soft); }
@media (prefers-reduced-motion: reduce) { .vsbar__track span { transition: none; } }

/* ===== How we work: one timeline, a decision between steps ===== */
.journey { --j-x: 24px; position: relative; list-style: none; display: flex; flex-direction: column; width: 100%; max-width: 1080px; margin-inline: auto; }
.journey::before { content: ""; position: absolute; top: 24px; bottom: 14px; left: calc(var(--j-x) - 1px); width: 2px; background: var(--chart-track); }
.jstep { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); padding: var(--space-2) 0 var(--space-8) calc(var(--j-x) * 2 + var(--space-4)); }
@media (min-width: 960px) { .jstep { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr) minmax(0, 0.8fr); gap: var(--space-8); padding-bottom: var(--space-10); } }
.jstep__num { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue-deep); color: #FFFFFF; font-family: var(--font-display); font-size: 24px; font-weight: 900; line-height: 1; box-shadow: 0 0 0 6px var(--surface); }
.jstep__meta { font-family: var(--font-wide); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--link); }
.jstep__title { margin-top: 8px; font-family: var(--font-heading); font-size: clamp(22px, 2.2vw, 28px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; color: var(--text); }
.jstep__guar { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-3); padding: 4px 10px 4px 8px; border-radius: var(--radius-full); background: var(--success-fill); color: var(--success); font-size: 13px; font-weight: 600; }
.jstep__guar .i { width: 15px; height: 15px; }
.jstep__label { margin-bottom: 10px; font-family: var(--font-wide); font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.jstep .checks { gap: var(--space-2); }
.jstep .checks li { font-size: 15px; }
.jstep__time { display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-size: 18px; font-weight: 700; color: var(--text); }
.jstep__time .i { width: 20px; height: 20px; color: var(--blue-deep); }
.jstep__body { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--text-soft); }
.jgate { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); padding: 0 0 var(--space-10) calc(var(--j-x) * 2 + var(--space-4)); font-size: 15px; line-height: 1.5; color: var(--text); }
.jgate:last-child { padding-bottom: 0; }
.jgate::before { content: ""; position: absolute; top: 7px; left: calc(var(--j-x) - 7px); width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 2px solid var(--success); }
.jgate__chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 9px; border-radius: var(--radius-full); background: var(--success-fill); color: var(--success); font-family: var(--font-wide); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.jgate__chip .i { width: 15px; height: 15px; }
.statement { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); align-items: center; padding: var(--space-8) var(--space-6); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-md); }
@media (min-width: 900px) { .statement { grid-template-columns: auto minmax(0, 1fr); gap: var(--space-12); padding: var(--space-12); } }
.statement__mark { width: 96px; height: 96px; }
.commit-list { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
@media (min-width: 900px) { .commit-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); } }
.commit-list li { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-sm); font-size: 16px; color: var(--text-soft); }
.commit-list li strong { display: block; color: var(--text); font-family: var(--font-heading); font-size: 18px; margin-bottom: 4px; }

/* ===== About ===== */
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.stat-tile { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-md); }
.stat-tile:first-child { background: var(--highlight); border-color: var(--blue-200); }
.stat-tile:first-child .rd-stat-value { color: var(--accent); }
.creds { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
@media (min-width: 900px) { .creds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.creds li { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--hairline); font-size: 16px; font-weight: 600; color: var(--text); }
.story { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
@media (min-width: 1000px) { .story { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: var(--space-16); align-items: start; } }
.story__text { display: flex; flex-direction: column; gap: var(--space-6); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--text-soft); max-width: 56ch; }
.band { position: relative; overflow: hidden; background: var(--page); color: var(--text); padding-block: var(--space-20); }
@media (min-width: 900px) { .band { padding-block: var(--space-32); } }
.band::after { content: ""; position: absolute; top: 0; left: 58%; width: 160%; height: 1px; background: rgba(255, 255, 255, 0.12); transform: rotate(var(--logo-angle)); transform-origin: 0 0; pointer-events: none; }
.band > .container { position: relative; z-index: 1; }
.band .rd-hl { color: #71ACFF; }
.belief { display: flex; flex-direction: column; gap: var(--space-3); padding: var(--space-6); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-sm); }
@media (min-width: 900px) { .belief { padding: var(--space-8); } }
.belief p { font-size: 16px; color: var(--text-soft); }
.zero { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-10); align-items: center; }
@media (min-width: 1000px) { .zero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); } }
.pipeline { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.pipeline li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-sm); }
.pipeline strong { display: block; font-size: 15.5px; }

/* ===== Forms ===== */
.form-card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-6); }
@media (min-width: 900px) { .form-card { padding: var(--space-8); } }
.form-step { display: flex; flex-direction: column; gap: var(--space-5); }
[data-focus]:focus { outline: none; box-shadow: none; }
.form-progress { display: flex; flex-direction: column; gap: var(--space-2); }
.form-progress__top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); font-size: 13.5px; color: var(--text-faint); }
.form-progress__top strong { color: var(--text); font-weight: 600; }
.progress { height: 6px; border-radius: var(--radius-full); background: var(--chart-track); overflow: hidden; }
.progress > span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--blue-deep); transition: width 260ms var(--ease); }
.field { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
@media (min-width: 560px) { .field-row-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field label { font-size: 15px; font-weight: 600; color: var(--text); }
.field .opt { font-weight: 400; color: var(--text-faint); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--radius-md);
  background: var(--surface); color: var(--text); border: 1px solid var(--control-border);
  font-family: var(--font-body); font-size: 16px; line-height: 1.4;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.textarea { min-height: 104px; padding: 12px 14px; resize: vertical; }
.select {
  -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%234C535F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.input::placeholder, .textarea::placeholder { color: var(--text-faint); }
.input:hover, .select:hover, .textarea:hover { border-color: var(--text-soft); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 3px rgba(0, 102, 215, 0.18); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--error); }
.input[aria-invalid="true"]:focus, .select[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(186, 54, 48, 0.16); }
.field-error { display: flex; align-items: flex-start; gap: 6px; font-size: 14px; line-height: 1.4; color: var(--error); font-weight: 500; }
.field-error .i { width: 16px; height: 16px; margin-top: 2px; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13.5px; line-height: 1.5; color: var(--text-faint); text-align: center; }
.form-note .i { width: 15px; height: 15px; }
.form-actions { display: flex; flex-direction: column; gap: var(--space-3); }
.form-back { align-self: flex-start; }
.notice { display: flex; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-md); background: var(--warm); border: 1px solid var(--hairline); font-size: 14.5px; line-height: 1.5; color: var(--text-soft); }
.notice .i { color: var(--sand-deep); margin-top: 2px; }
.notice-error { background: var(--error-fill); color: var(--error); }
.notice-error .i { color: var(--error); }
.context-chip { display: flex; align-items: center; gap: var(--space-3); padding: 10px 12px; border-radius: var(--radius-md); background: var(--highlight); border: 1px solid var(--highlight-border); font-size: 14px; color: var(--text-soft); }
.context-chip .i { color: var(--blue-deep); }
.context-chip strong { color: var(--text); }

/* ===== Book page ===== */
.book { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-10); grid-template-areas: "intro" "form" "details"; }
@media (min-width: 1000px) {
  .book { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); grid-template-areas: "intro form" "details form"; column-gap: var(--space-16); row-gap: var(--space-12); align-items: start; }
  .book__form { position: sticky; top: calc(var(--header-height) + var(--space-6)); }
}
.book__intro { grid-area: intro; display: flex; flex-direction: column; gap: var(--space-5); }
.book__form { grid-area: form; min-width: 0; }
.book__details { grid-area: details; display: flex; flex-direction: column; gap: var(--space-10); }
.gets { list-style: none; display: flex; flex-direction: column; gap: var(--space-4); }
.gets li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--space-4); align-items: center; font-size: 16px; color: var(--text); }
.booking-frame { width: 100%; min-height: 680px; border: 0; border-radius: var(--radius-md); background: var(--surface-2); }
.booked { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.booked__icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--success-fill); color: var(--success); }
.booked__icon .i { width: 28px; height: 28px; stroke-width: 2.25; }

/* ===== Scorecard ===== */
.sc-preview { position: relative; display: flex; flex-direction: column; gap: var(--space-5); padding: var(--space-6); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-lg); text-align: left; width: 100%; max-width: 520px; }
@media (min-width: 900px) { .sc-preview { padding: var(--space-8); } }
.sc-preview .rd-display { font-size: clamp(30px, 3vw, 40px); }
.gauge { position: relative; width: 120px; height: 120px; flex: none; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 12; }
.gauge .g-track { stroke: var(--chart-track); }
.gauge .g-val { stroke: var(--blue); stroke-linecap: round; transition: stroke-dashoffset 700ms var(--ease); }
.gauge__label { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge__label b { font-family: var(--font-display); font-weight: 900; font-size: 42px; line-height: 0.9; color: var(--text); font-variant-numeric: tabular-nums; }
.gauge__label span { font-size: 12px; color: var(--text-faint); }
.score-row { display: flex; align-items: center; gap: var(--space-5); }
.areas { list-style: none; display: flex; flex-direction: column; gap: var(--space-4); }
.areas li { display: flex; flex-direction: column; gap: 6px; }
.areas__top { display: flex; justify-content: space-between; align-items: center; gap: var(--space-3); font-size: 14.5px; font-weight: 600; color: var(--text); }
.areas__top span:last-child { font-weight: 500; color: var(--text-faint); font-variant-numeric: tabular-nums; }
.areas .bar { height: 8px; border-radius: var(--radius-full); background: var(--chart-track); overflow: hidden; }
.areas .bar > span { display: block; height: 100%; border-radius: inherit; background: var(--chart-1); transition: width 700ms var(--ease); }
.areas li.is-weak .bar > span { background: var(--error); }
.areas li.is-weak .areas__top span:last-child { color: var(--error); font-weight: 600; }
.measures { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
@media (min-width: 720px) { .measures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .measures { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.quiz { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: var(--space-8); }
.quiz__q { font-family: var(--font-heading); font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--text); text-wrap: balance; }
.quiz__q:focus { outline: none; box-shadow: none; }
.choices { list-style: none; display: flex; flex-direction: column; gap: var(--space-3); }
.choice {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); align-items: center; gap: var(--space-4);
  width: 100%; min-height: 60px; padding: var(--space-3) var(--space-5); text-align: left; cursor: pointer;
  background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  font-size: 16.5px; line-height: 1.4; font-weight: 500;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.choice:hover { background: var(--surface-2); border-color: var(--control-border); }
.choice__key { display: grid; place-items: center; width: 28px; height: 28px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--text-faint); background: var(--surface); }
.choice[aria-checked="true"] { background: var(--highlight); border-color: var(--blue-deep); box-shadow: inset 0 0 0 1px var(--blue-deep); }
.choice[aria-checked="true"] .choice__key { background: var(--blue-deep); border-color: var(--blue-deep); color: #FFFFFF; }
.quiz__nav { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); min-height: 44px; }
.results { display: flex; flex-direction: column; gap: var(--space-10); }
.results__head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-5); max-width: 880px; margin-inline: auto; }
.results__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
@media (min-width: 900px) { .results__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); } }
.results__cta { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); text-align: center; }
.fix-card { display: flex; flex-direction: column; gap: var(--space-3); }

/* ===== Summary (one-pager) ===== */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); padding: var(--space-4); margin-bottom: var(--space-8); border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-sm); }
.toolbar p { font-size: 14px; color: var(--text-soft); margin-right: auto; }
.sheet { background: #FFFFFF; color: var(--ink); border: 1px solid var(--hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--space-8) var(--space-6); display: flex; flex-direction: column; gap: var(--space-8); }
@media (min-width: 900px) { .sheet { padding: var(--space-16); } }
.sheet__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-4); padding-bottom: var(--space-6); border-bottom: 2px solid var(--ink); }
.sheet__head img { width: 160px; }
.sheet__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); }
@media (min-width: 760px) { .sheet__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sheet__wide { grid-column: 1 / -1; }
.sheet h2 { font-family: var(--font-wide); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); margin-bottom: var(--space-3); }
.sheet p, .sheet li { font-size: 15px; line-height: 1.55; color: var(--text-soft); }
.sheet ul:not(.checks) { padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.sheet__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-4); padding-top: var(--space-6); border-top: 1px solid var(--line); }

/* ===== Legal pages ===== */
.prose { max-width: 68ch; display: flex; flex-direction: column; gap: var(--space-4); font-size: 16.5px; line-height: 1.7; color: var(--text-soft); }
.prose h2 { font-family: var(--font-heading); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--text); margin-top: var(--space-6); }
.prose ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
}

/* ===== Print (one-page summary) ===== */
@media print {
  @page { size: letter; margin: 14mm; }
  body { background: #FFFFFF; }
  .site-header, .site-footer, .toolbar, .skip-link, .mobile-menu, .no-print { display: none !important; }
  .section, .page-hero { padding: 0 !important; background: #FFFFFF !important; border: 0 !important; }
  .page-hero::before { display: none; }
  .container { padding: 0 !important; max-width: none !important; }
  .sheet { border: 0; box-shadow: none; padding: 0; gap: 12px; }
  .sheet p, .sheet li { font-size: 9.5pt; line-height: 1.4; }
  .sheet ul:not(.checks) { gap: 2px; }
  .sheet .lead { font-size: 11pt; }
  .sheet__head { padding-bottom: 12px; }
  .sheet__head img { width: 130px; }
  .sheet .rd-display-3 { font-size: 30pt; }
  .sheet__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
  .sheet h2 { margin-bottom: 6px; }
  .sheet .checks { gap: 4px; }
  .sheet .checks li { grid-template-columns: 16px minmax(0, 1fr); gap: 8px; }
  .sheet .checks .i { width: 14px; height: 14px; }
  .rd-table-wrap { overflow: visible; }
  .rd-table { font-size: 9.5pt; }
  .rd-table td { white-space: normal; padding: 6px 8px; }
  .rd-table th { padding: 5px 8px; }
  .sheet__foot { padding-top: 12px; }
  a { color: inherit; text-decoration: none; }
}

/* ==========================================================================
   Round 3: CTA focus, outcomes, comparison, share forms, closing panel
   ========================================================================== */

/* Hero: one dominant action */
.rd-btn-xl { height: 60px; padding: 0 var(--space-8); font-size: 17px; border-radius: 12px; }
@media (max-width: 479px) { .rd-btn-xl { width: 100%; } }
.hero__cta { display: flex; flex-direction: column; align-items: center; gap: var(--space-4); margin-top: var(--space-4); }
.hero .rd-btn-primary { box-shadow: var(--shadow-button), 0 16px 36px -14px rgba(0, 102, 215, 0.7); }
.hero .rd-btn-primary:hover { box-shadow: var(--shadow-button), 0 20px 40px -14px rgba(0, 86, 183, 0.75); }
.rd-tlink-quiet { color: var(--text-soft); font-weight: 500; }
.rd-tlink-quiet:hover { color: var(--text); }
.hero-pill__tag { color: var(--link); background: var(--highlight); }
.hero::after {
  content: ""; position: absolute; left: 50%; top: 34%; width: min(720px, 90vw); height: 360px; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(0, 122, 255, 0.10), rgba(0, 122, 255, 0)); pointer-events: none; z-index: 0;
}
.hero .showcase { margin-top: var(--space-20); }
@media (max-width: 479px) { .hero .showcase { margin-top: var(--space-12); } }
.showcase__tabs { background: var(--surface-2); box-shadow: none; }
.showcase__tab[aria-selected="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(13, 22, 38, 0.08), 0 0 0 1px var(--hairline); }
.showcase__tab[aria-selected="true"] .i { color: var(--blue-deep); }
@media (max-width: 759px) { .showcase__tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; } .showcase__tab { padding: 0 8px; font-size: 13px; gap: 6px; white-space: normal; text-align: center; } .showcase__tab .i { display: none; } }

/* Agents: auto-advance with a progress line on the open tab */
.agent-tab { position: relative; overflow: hidden; }
.agent-tab__progress { display: none; }
.agents.is-auto .agent-tab[aria-selected="true"] .agent-tab__progress {
  display: block; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--blue-deep);
  transform-origin: left center; transform: scaleX(0);
}
@media (min-width: 1040px) { .agents.is-auto .agent-tab[aria-selected="true"] .agent-tab__progress { bottom: -1px; height: 2px; } }

/* How it works: outcomes, not prices */
.plan__outcome {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase; word-spacing: 0.12em;
  font-size: clamp(34px, 3.2vw, 44px); line-height: 0.95; color: var(--text); text-wrap: balance;
  padding-block: var(--space-5); border-block: 1px solid var(--hairline);
}
.is-start .plan__outcome { color: var(--accent); }
.plan__list li { font-size: 15.5px; }

/* Why RA Digital House: comparison card with our column highlighted */
.vs { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); overflow: hidden; }
.vs__head { display: none; }
.vs__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-3); padding: var(--space-5); }
.vs__row + .vs__row { border-top: 1px solid var(--hairline); }
.vs__alt { display: flex; align-items: center; gap: var(--space-3); font-family: var(--font-heading); font-size: 18px; font-weight: 700; letter-spacing: -0.005em; }
.vs__icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: var(--radius-sm); background: var(--surface-2); color: var(--text-soft); }
.vs__icon .i { width: 18px; height: 18px; }
.vs__them, .vs__us { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--space-3); font-size: 15.5px; line-height: 1.5; }
.vs__them { color: var(--text-faint); }
.vs__them .i { width: 18px; height: 18px; margin-top: 2px; color: var(--text-faint); }
.vs__us { color: var(--text); font-weight: 500; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); background: var(--highlight); }
.vs__us .i { width: 18px; height: 18px; margin-top: 2px; color: var(--blue-deep); stroke-width: 2.25; }
@media (min-width: 900px) {
  .vs__head, .vs__row { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.15fr); gap: 0; padding: 0; }
  .vs__head { display: grid; border-bottom: 1px solid var(--hairline); }
  .vs__head > span { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-4) var(--space-6); font-family: var(--font-wide); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
  .vs__head .vs__col-us { color: var(--link); background: var(--highlight); border-left: 1px solid var(--highlight-border); }
  .vs__head .vs__col-us img { width: 22px; height: 22px; }
  .vs__row > * { padding: var(--space-6); }
  .vs__alt { align-self: center; }
  .vs__them { align-self: center; }
  .vs__us { border-radius: 0; background: var(--highlight); border-left: 1px solid var(--highlight-border); padding: var(--space-6); }
  .vs__row + .vs__row .vs__us { box-shadow: inset 0 1px 0 var(--highlight-border); }
}

/* Share: gated download and email */
.modal { padding: 0; border: 0; background: transparent; color: var(--text); width: 100%; max-width: min(460px, calc(100vw - 32px)); }
.modal::backdrop { background: rgba(13, 22, 38, 0.5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.modal[open] { animation: modal-in 220ms var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal__card { position: relative; display: flex; flex-direction: column; gap: var(--space-5); padding: var(--space-8) var(--space-6) var(--space-6); background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (min-width: 560px) { .modal__card { padding: var(--space-10) var(--space-8) var(--space-8); } }
.modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: var(--radius-md); background: transparent; color: var(--text-soft); cursor: pointer; }
.modal__close:hover { background: var(--surface-2); color: var(--text); }

/* Closing CTA: brand-blue panel with the call's deliverable */
.cta-panel {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-12); align-items: center; text-align: left;
  padding: var(--space-12) var(--space-6); color: #FFFFFF; border: 0;
  background: radial-gradient(90% 120% at 100% 0%, rgba(77, 163, 255, 0.55) 0%, rgba(77, 163, 255, 0) 60%), linear-gradient(140deg, #0066D7 0%, #0052AE 100%);
  box-shadow: 0 48px 96px -48px rgba(0, 82, 174, 0.75);
}
@media (min-width: 1000px) { .cta-panel { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); padding: var(--space-20) var(--space-16); gap: var(--space-16); } }
.cta-panel::before { background: rgba(255, 255, 255, 0.16); left: 56%; }
.cta-panel::after { content: ""; position: absolute; top: 0; left: 66%; width: 140%; height: 1px; background: rgba(255, 255, 255, 0.10); transform: rotate(var(--logo-angle)); transform-origin: 0 0; pointer-events: none; }
.cta-panel__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-6); }
.cta-panel .rd-display { color: #FFFFFF; max-width: 12ch; }
.cta-hl { color: #F2E3CC; }
.cta-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: var(--radius-full); background: rgba(255, 255, 255, 0.14); color: #FFFFFF; font-family: var(--font-wide); font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.cta-kicker .i { width: 16px; height: 16px; }
.cta-lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, 0.88); max-width: 44ch; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4) var(--space-6); margin-top: var(--space-2); }
.rd-btn-white { background: #FFFFFF; color: #0052AE; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 18px 36px -16px rgba(13, 22, 38, 0.55); }
.rd-btn-white:hover { background: #EFF6FF; }
.rd-btn-white:focus-visible { box-shadow: 0 0 0 3px #0052AE, 0 0 0 5px #FFFFFF; }
.rd-tlink-light { color: #FFFFFF; font-weight: 500; }
.rd-tlink-light:focus-visible { box-shadow: 0 0 0 2px #FFFFFF; }
.cta-visual { position: relative; padding: 0 0 var(--space-8); }
.leakcard { position: relative; background: #FFFFFF; color: var(--ink); border-radius: var(--radius-lg); box-shadow: 0 40px 80px -36px rgba(13, 22, 38, 0.6); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4); transform: rotate(-1.5deg); }
.leakcard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--text-faint); }
.leakcard__title { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; word-spacing: 0.12em; font-size: 30px; line-height: 0.95; color: var(--ink); }
.leakcard__list { list-style: none; display: flex; flex-direction: column; gap: var(--space-4); }
.leakcard__list li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px; row-gap: 8px; align-items: center; }
.leakcard__n { grid-row: 1 / span 2; align-self: start; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--error-fill); color: var(--error); font-weight: 700; font-size: 13px; }
.leakcard__name { font-weight: 600; font-size: 15px; color: var(--ink); line-height: 1.3; }
.leakcard__name small { display: block; font-weight: 400; font-size: 12.5px; color: var(--text-faint); }
.leakcard__h { font-family: var(--font-display); font-weight: 900; font-size: 22px; color: var(--error); font-variant-numeric: tabular-nums; }
.leakcard__bar { grid-column: 2 / -1; height: 6px; border-radius: 3px; background: var(--error-fill); overflow: hidden; }
.leakcard__bar i { display: block; height: 100%; border-radius: inherit; background: var(--error); }
.leakcard__foot { display: flex; align-items: center; gap: 8px; padding-top: var(--space-4); border-top: 1px solid var(--hairline); font-size: 13.5px; color: var(--success); font-weight: 600; }
.leakcard__foot .i { width: 18px; height: 18px; }
.callchip { position: absolute; left: -12px; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-md); background: var(--ink); color: #FFFFFF; box-shadow: 0 20px 40px -20px rgba(13, 22, 38, 0.7); font-size: 13px; color: #B0B8C5; }
.callchip strong { display: block; color: #FFFFFF; font-size: 14px; }
.callchip .i { color: #71ACFF; width: 22px; height: 22px; }
@media (max-width: 560px) { .leakcard { transform: none; } .callchip { position: relative; left: 0; margin-top: -16px; margin-left: 12px; width: max-content; max-width: 100%; } .cta-visual { padding-bottom: 0; } }
