/* Layout: Harvey's skeleton, cut down. Split hero, one large painted stage carrying the product,
   a wall of sources, then alternating light sections and dark rows. Few words, large surfaces.
   No italics anywhere. */
:root {
  --paper: oklch(0.985 0.004 250);
  --paper-2: oklch(0.955 0.008 250);
  --surface: oklch(0.997 0.002 250);
  --ink: oklch(0.21 0.04 250);
  --ink-2: oklch(0.42 0.025 250);
  --ink-3: oklch(0.56 0.018 250);
  --rule: oklch(0.88 0.01 250);
  --rule-strong: oklch(0.78 0.015 250);
  --brass: oklch(0.72 0.06 82);
  --brass-ink: oklch(0.48 0.06 82);
  --brass-wash: oklch(0.72 0.06 82 / 0.18);
  --ok: oklch(0.50 0.09 155);
  --bad: oklch(0.52 0.14 28);
  --shadow: oklch(0.25 0.05 250 / 0.28);
  /* dark sections stay dark in both themes */
  --night: oklch(0.165 0.03 250);
  --night-2: oklch(0.21 0.035 250);
  --night-rule: oklch(0.32 0.03 250);
  --on-night: oklch(0.96 0.005 250);
  --on-night-2: oklch(0.74 0.02 250);
  --night-brass: oklch(0.80 0.055 82);

  --font-display: "Ibarra Real Nova", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-text: "Schibsted Grotesk", "Helvetica Neue", Arial, system-ui, sans-serif;
  --font-ref: "Spline Sans Mono", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  --radius-panel: 10px;
  --sec: clamp(64px, 8vw, 112px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: oklch(0.175 0.022 250);
    --paper-2: oklch(0.215 0.026 250);
    --surface: oklch(0.205 0.025 250);
    --ink: oklch(0.95 0.007 250);
    --ink-2: oklch(0.78 0.018 250);
    --ink-3: oklch(0.64 0.018 250);
    --rule: oklch(0.30 0.025 250);
    --rule-strong: oklch(0.42 0.025 250);
    --brass: oklch(0.80 0.055 82);
    --brass-ink: oklch(0.83 0.06 82);
    --brass-wash: oklch(0.80 0.055 82 / 0.16);
    --ok: oklch(0.76 0.10 155);
    --bad: oklch(0.74 0.12 25);
    --shadow: oklch(0 0 0 / 0.55);
    --night: oklch(0.135 0.022 250);
    --night-2: oklch(0.19 0.028 250);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: oklch(0.175 0.022 250);
  --paper-2: oklch(0.215 0.026 250);
  --surface: oklch(0.205 0.025 250);
  --ink: oklch(0.95 0.007 250);
  --ink-2: oklch(0.78 0.018 250);
  --ink-3: oklch(0.64 0.018 250);
  --rule: oklch(0.30 0.025 250);
  --rule-strong: oklch(0.42 0.025 250);
  --brass: oklch(0.80 0.055 82);
  --brass-ink: oklch(0.83 0.06 82);
  --brass-wash: oklch(0.80 0.055 82 / 0.16);
  --ok: oklch(0.76 0.10 155);
  --bad: oklch(0.74 0.12 25);
  --shadow: oklch(0 0 0 / 0.55);
  --night: oklch(0.135 0.022 250);
  --night-2: oklch(0.19 0.028 250);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-text); font-size: 1rem; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
[hidden] { display: none !important; }
em, i, cite, address { font-style: normal; }
a { color: inherit; text-underline-offset: 3px; }
p, ul, ol, dl, dd, h3, h4 { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; text-wrap: balance; letter-spacing: -0.015em; }
h1, h2 { margin: 0; }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem); line-height: 1.05; }
mark { background: var(--brass-wash); color: inherit; padding: 0 3px; border-radius: 2px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass-ink); outline-offset: 3px; }
.wrap { max-width: 1320px; margin-inline: auto; padding-inline: clamp(16px, 3vw, 32px); }
.center { text-align: center; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 4px; background: var(--ink); color: var(--paper); text-decoration: none; }
.skip:focus { top: 12px; }
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }

/* buttons: Harvey's square, small-radius shape */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 4px; border: 1px solid transparent; font-size: 0.95rem; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 0.86rem; }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: color-mix(in oklch, var(--ink) 82%, var(--brass)); }
.btn-line { border-color: var(--rule-strong); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--ink); }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.link-arrow { display: inline-block; margin-top: 22px; font-size: 0.95rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: " →"; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in oklch, var(--paper) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s ease; }
.top.scrolled { border-bottom-color: var(--rule); }
.top-row { position: relative; display: flex; align-items: center; gap: 32px; height: 68px; }
.brand .ia { color: var(--brass-ink); }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.65rem; line-height: 1; letter-spacing: -0.01em; }
.sign { width: 26px; height: 26px; color: var(--brass); flex: none; }
.nav { display: flex; gap: 26px; font-size: 0.92rem; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }
.nav .nav-only-menu { display: none; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 40px; height: 40px; padding: 0; border: 1px solid var(--rule-strong); border-radius: 4px; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 16px; height: 1.5px; background: var(--ink); transition: transform .2s ease; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: start; padding-block: clamp(48px, 7vw, 96px) clamp(36px, 4vw, 56px); }
.hero h1 { font-size: clamp(3.2rem, 1.2rem + 6vw, 6.6rem); line-height: 0.96; letter-spacing: -0.025em; }
.hero-side { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-top: clamp(4px, 1.4vw, 18px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.book-alt { margin-top: 14px; font-size: 0.95rem; color: var(--ink-2); }
.book-alt a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.hero-side p { font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); line-height: 1.45; color: var(--ink-2); max-width: 30ch; }

/* painted surfaces: a CSS gradient at rest, the canvas fades in over it */
.tex { position: relative; overflow: hidden; border-radius: var(--radius-panel); }
.tex canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s ease; }
.tex canvas.ready { opacity: 1; }
.stage { min-height: 520px; display: grid; place-items: center; padding: clamp(28px, 6vw, 88px) clamp(12px, 5vw, 72px); background: radial-gradient(120% 90% at 30% 60%, oklch(0.36 0.04 240), transparent 60%), oklch(0.80 0.02 240); }

/* product window */
.app { position: relative; width: 100%; max-width: 980px; border-radius: 8px; background: var(--surface); box-shadow: 0 50px 100px -40px var(--shadow), 0 0 0 1px oklch(0 0 0 / 0.06); overflow: hidden; }
.app-bar { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-bottom: 1px solid var(--rule); font-size: 0.84rem; font-weight: 600; }
.app-bar .sign { width: 18px; height: 18px; }
.app-tag { margin-left: auto; font-size: 0.72rem; font-weight: 500; color: var(--ink-3); border: 1px solid var(--rule); border-radius: 4px; padding: 1px 8px; }
.app-body { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.convo { display: flex; flex-direction: column; gap: 22px; padding: 30px clamp(18px, 3vw, 36px); min-width: 0; }
.q { align-self: flex-end; max-width: 88%; padding: 12px 16px; border-radius: 12px 12px 3px 12px; background: var(--paper-2); font-size: 0.95rem; }
.a { font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); line-height: 1.5; }
.mk { display: inline-block; margin-left: 2px; padding: 0 5px; border: 0; border-radius: 3px; font-family: var(--font-ref); font-size: 0.6em; line-height: 1.55; vertical-align: 0.6em; color: var(--brass-ink); background: var(--brass-wash); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.mk:hover, .mk.hl { background: var(--brass); color: oklch(0.2 0.04 250); }
.composer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 8px 0 16px; border: 1px solid var(--rule-strong); border-radius: 10px; font-size: 0.9rem; color: var(--ink-3); }
.send { width: 34px; height: 34px; border-radius: 7px; display: grid; place-items: center; background: var(--ink); color: var(--paper); }
.sources { display: flex; flex-direction: column; gap: 18px; padding: 26px 24px; border-left: 1px solid var(--rule); background: var(--paper); min-width: 0; }
.src { position: relative; padding-left: 16px; }
.src::before, .card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; border: 1.5px solid var(--brass); border-right: 0; transition: width .15s ease, border-color .15s ease; }
.src.hl::before { width: 9px; border-color: var(--brass-ink); }
.src-h { display: flex; gap: 8px; font-size: 0.82rem; font-weight: 600; }
.src-h .n { font-family: var(--font-ref); font-weight: 400; color: var(--brass-ink); }
.src-q { margin-top: 4px; font-family: var(--font-display); font-size: 0.98rem; line-height: 1.4; color: var(--ink-2); }
.ok { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 600; color: var(--ok); }
.ok svg { width: 13px; height: 13px; }

/* wall of sources */
.wall-sec { padding-block: var(--sec) 0; }
.wall-sec h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); }
.wall { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.wall li { display: grid; place-items: center; min-height: 104px; padding: 16px; text-align: center; border-bottom: 1px solid var(--rule); border-right: 1px solid var(--rule); font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem); color: var(--ink-2); }
.wall li:nth-child(4n) { border-right: 0; }
.wall-own { margin-top: 28px; text-align: center; color: var(--ink-3); }

/* split sections: verification and accompaniment */
.verify, .people { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: var(--sec); }
.people { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.verify-text > p, .people-text > p { margin-top: 18px; font-size: 1.15rem; color: var(--ink-2); max-width: 38ch; }
.trio { margin-top: 36px; border-top: 1px solid var(--rule-strong); }
.trio li { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.trio b { font-weight: 600; }
.trio span { color: var(--ink-2); }
.verify-pic, .people-pic { min-height: 440px; display: grid; place-items: center; padding: clamp(24px, 5vw, 64px); }
.verify-pic { background: linear-gradient(150deg, oklch(0.84 0.02 240), oklch(0.40 0.04 245)); }
.people-pic { background: linear-gradient(160deg, oklch(0.86 0.02 80), oklch(0.62 0.03 240)); }
.card { position: relative; width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 24px 36px; border-radius: 8px; background: var(--surface); box-shadow: 0 40px 80px -36px oklch(0 0 0 / 0.5); }
.card::before { left: 16px; top: 26px; bottom: 24px; }
.card-k { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.card-t { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.3; }
.card-hist { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 0.86rem; }
.card-hist p { display: flex; align-items: center; gap: 10px; }
.card-hist .old { color: var(--ink-3); text-decoration: line-through; text-decoration-color: var(--rule-strong); }
.dot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--ink-3); flex: none; }
.dot.on { border-color: var(--brass); background: var(--brass); }

/* product */
.product { padding-block: 0 var(--sec); }  /* the verification section above already ends with the gap */
.product-grid { margin-top: clamp(36px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.plist { display: flex; flex-direction: column; }
.plist button { width: 100%; display: flex; flex-direction: column; gap: 6px; padding: 22px 0 18px; border: 0; border-top: 1px solid var(--rule-strong); background: none; text-align: left; cursor: pointer; }
.pt { font-size: 1.35rem; font-weight: 500; color: var(--ink-3); transition: color .2s ease; }
.pd { font-size: 0.95rem; color: var(--ink-2); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s ease, opacity .35s ease; }
.bar { display: block; height: 1px; margin-top: 10px; }
.bar span { display: block; height: 1px; width: 0; background: var(--ink); }
.plist button:hover .pt, .plist button[aria-selected="true"] .pt { color: var(--ink); }
.plist button[aria-selected="true"] .pd { max-height: 4em; opacity: 1; }
.plist button[aria-selected="true"] .bar span { width: 100%; }
.plist.cycling button[aria-selected="true"] .bar span { width: 0; animation: fill 6s linear forwards; }
@keyframes fill { to { width: 100%; } }
.pstage { min-height: 440px; display: grid; place-items: center; padding: clamp(24px, 5vw, 64px); background: linear-gradient(135deg, oklch(0.27 0.04 240), oklch(0.17 0.03 250)); }
.vig { position: relative; width: 100%; max-width: 480px; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 8px; background: var(--surface); box-shadow: 0 40px 80px -36px oklch(0 0 0 / 0.6); }
.vig-k { font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.vig-art { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.3; }
.vig-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 0.8rem; padding: 4px 10px; border-radius: 4px; border: 1px solid var(--rule); color: var(--ink-2); }
.chip.on { border-color: var(--brass); background: var(--brass-wash); color: var(--ink); }
.page { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 4px; background: oklch(0.995 0.002 250); color: oklch(0.22 0.03 250); box-shadow: 0 0 0 1px oklch(0.9 0.01 250); font-family: "Times New Roman", Tinos, Times, serif; font-size: 1.02rem; line-height: 1.55; }
.page-h { font-weight: 700; text-transform: uppercase; font-size: 0.82rem; letter-spacing: 0.06em; text-align: center; }
.line { display: block; height: 7px; border-radius: 4px; background: oklch(0.92 0.008 250); }
.line.short { width: 62%; }
.gap { font-family: var(--font-text); font-size: 0.82rem; padding: 1px 6px; border: 1.5px dashed oklch(0.66 0.13 60); border-radius: 3px; color: oklch(0.45 0.11 55); background: oklch(0.93 0.05 75 / 0.5); }
.note { position: relative; padding: 12px 14px 12px 22px; border-radius: 6px; background: var(--paper-2); font-size: 0.9rem; color: var(--ink-2); }
.note::before { content: ""; position: absolute; left: 9px; top: 12px; bottom: 12px; width: 6px; border: 1.5px solid var(--brass); border-right: 0; }
.note b { display: block; color: var(--ink); font-weight: 600; }

/* time estimates: two bars per task, one scale (180 min = full track) */
.time { padding-block: 0 var(--sec); }
.time-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.legend { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--ink-2); }
.legend .sw { width: 14px; height: 6px; border-radius: 3px; margin-left: 10px; }
.sw-a { background: var(--rule-strong); }
.sw-b { background: var(--brass); }
.bars { margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--rule-strong); }
.bars li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 132px; align-items: center; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--rule); }
.task { font-size: 1.02rem; }
.track { display: flex; flex-direction: column; gap: 6px; }
.track span { display: block; height: 8px; border-radius: 4px; }
.ba { width: calc(var(--a) / 180 * 100%); background: var(--rule-strong); }
.bb { width: max(6px, calc(var(--b) / 180 * 100%)); background: var(--brass); }
.vals { display: flex; justify-content: flex-end; gap: 14px; font-size: 0.92rem; color: var(--ink-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.vals b { font-weight: 600; color: var(--ink); }
.fine-light { margin-top: 20px; font-size: 0.82rem; color: var(--ink-3); }

/* dark sections */
.dark { background: var(--night); color: var(--on-night); padding-block: clamp(64px, 8vw, 112px); }
.dark h2 { color: var(--on-night); }
.dark .eyebrow { color: var(--night-brass); }
.statement { margin-top: 20px; max-width: 20ch; font-size: clamp(2.2rem, 1.2rem + 3.6vw, 4.6rem); line-height: 1.04; letter-spacing: -0.02em; }
.statement .hl { color: var(--night-brass); }
.statement-cta { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.btn-light { background: var(--on-night); color: var(--night); }
.btn-light:hover { background: var(--night-brass); }
.statement-2 { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem); color: var(--on-night-2); }
.stats { margin-top: clamp(44px, 6vw, 72px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding-top: 22px; border-top: 1px solid var(--night-rule); }
.stats dt { font-size: 1.02rem; color: var(--on-night-2); }
.stats dd { font-family: var(--font-display); font-size: clamp(2.8rem, 1.6rem + 3vw, 4.4rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums; }
.dark-tex { background: radial-gradient(90% 120% at 85% 20%, var(--night-2), transparent 60%), var(--night); }
.security { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.security p { margin-top: 18px; font-size: 1.1rem; color: var(--on-night-2); max-width: 32ch; }
.security .link-arrow { color: var(--on-night); }
.rows { border-top: 1px solid var(--night-rule); }
.rows li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--night-rule); font-size: 1.1rem; font-weight: 500; }
.rows li::after { content: ""; width: 9px; height: 5px; border-left: 1.5px solid var(--night-brass); border-bottom: 1.5px solid var(--night-brass); transform: rotate(-45deg); flex: none; }

/* colegios */
.colegios { background: var(--paper-2); }
.colegios-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: clamp(56px, 7vw, 88px); }
.colegios h2 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); }
.colegios p { margin-top: 10px; color: var(--ink-2); }

/* faq */
.faq-sec { padding-block: var(--sec) 0; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.faq { border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding: 22px 0; cursor: pointer; font-size: 1.15rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 1.4rem; font-weight: 300; line-height: 1; color: var(--brass-ink); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; max-width: 60ch; color: var(--ink-2); }

/* booking */
.book { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: var(--sec); }
.book-text p { margin-top: 18px; font-size: 1.15rem; color: var(--ink-2); }
.sched { display: flex; flex-direction: column; gap: 22px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--rule); border-radius: var(--radius-panel); background: var(--surface); box-shadow: 0 40px 80px -56px var(--shadow); }
.sched fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.sched legend { padding: 0; margin-bottom: 10px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.slots { display: flex; flex-wrap: wrap; gap: 8px; min-height: 46px; align-items: center; }
.slots-wait { font-size: 0.9rem; color: var(--ink-3); }
.slot { min-height: 46px; min-width: 64px; padding: 6px 14px; border: 1px solid var(--rule-strong); border-radius: 4px; background: transparent; cursor: pointer; font-size: 0.9rem; line-height: 1.2; text-align: center; font-variant-numeric: tabular-nums; }
.slot small { display: block; font-size: 0.72rem; color: var(--ink-3); }
.slot:hover { border-color: var(--ink); }
.slot[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.slot[aria-pressed="true"] small { color: inherit; opacity: 0.75; }
.slots.cal { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; max-width: 460px; }
.slots.cal-times { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; max-width: 460px; }
.cal-times .slot { min-width: 0; padding: 6px 2px; }
.cal-times .slots-wait { grid-column: 1 / -1; }
@media (max-width: 400px) { .cal-times .slot { font-size: 0.84rem; } }
.cal-h { padding-bottom: 2px; text-align: center; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.04em; color: var(--ink-3); }
.cal-day, .cal-off { min-width: 0; min-height: 54px; padding: 6px 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.cal-off { border: 1px dashed var(--rule); border-radius: 4px; color: var(--ink-3); opacity: 0.55; }
.cal-n { font-size: 1.05rem; font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cal-day small, .cal-off small { font-size: 0.68rem; line-height: 1.1; color: var(--ink-3); }
.cal-day[aria-pressed="true"] small { color: inherit; opacity: 0.75; }
.sched-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.sched-fields label { display: flex; flex-direction: column; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--ink-2); min-width: 0; }
.sched-fields .full { grid-column: 1 / -1; }
.sched-fields .opt { font-weight: 400; color: var(--ink-3); }
.sched-fields input { min-height: 46px; padding: 10px 12px; border: 1px solid var(--rule-strong); border-radius: 4px; background: var(--paper); color: var(--ink); font: inherit; font-size: 1rem; font-weight: 400; }
.sched-fields input:focus { outline: 2px solid var(--brass-ink); outline-offset: 1px; }
.sched-fields input[aria-invalid="true"] { border-color: var(--bad); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--ink-2); }
.consent input { width: 18px; height: 18px; accent-color: var(--ink); }
.sched-end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.sched-msg { font-size: 0.9rem; color: var(--bad); }
.done { align-items: flex-start; }
.done-sign { width: 40px; height: 40px; color: var(--brass); }
.done h3 { font-size: 2rem; }
.done p { color: var(--ink-2); max-width: 42ch; }

/* footer */
.foot { background: var(--night); color: var(--on-night-2); }
.foot .brand { color: var(--on-night); font-size: 1.5rem; }
.foot .sign { color: var(--night-brass); }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-block: 40px 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 0.9rem; }
.foot-links a { text-decoration: none; color: var(--on-night); opacity: 0.85; }
.foot-links a:hover { opacity: 1; }
.foot-c { padding-block: 20px 36px; border-top: 1px solid var(--night-rule); font-size: 0.82rem; }

/* legal and security pages */
.doc { max-width: 760px; padding-block: clamp(56px, 8vw, 104px) var(--sec); }
.doc h1 { font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4rem); line-height: 1.02; }
.doc .lede { margin-top: 18px; font-size: 1.15rem; color: var(--ink-2); }
.doc h2 { margin-top: 48px; font-size: 1.7rem; }
.doc p, .doc ul { margin-top: 14px; color: var(--ink-2); line-height: 1.65; }
.doc ul { list-style: disc; padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.doc strong { color: var(--ink); font-weight: 600; }
.doc .updated { margin-top: 48px; font-size: 0.84rem; color: var(--ink-3); }
.todo-inline { padding: 0 6px; border: 1px dashed var(--rule-strong); border-radius: 3px; font-family: var(--font-ref); font-size: 0.86em; color: var(--brass-ink); }

/* owner's admin page */
.doc .adm-list { list-style: none; padding: 0; display: block; margin-top: 16px; border-top: 1px solid var(--rule-strong); }
.doc .adm-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink-2); }
.adm-list form { margin: 0; flex: none; }
.adm-hint { font-size: 0.9rem; }
.adm-cal { margin-top: 14px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; max-width: 560px; }
.adm-cal form { margin: 0; }
.adm-day { width: 100%; min-height: 68px; padding: 6px 2px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border: 1px solid var(--rule-strong); border-radius: 4px; background: var(--surface); color: var(--ink); cursor: pointer; }
button.adm-day:hover { border-color: var(--ink); }
.adm-day small { font-size: 0.68rem; line-height: 1.15; color: var(--ink-3); }
.adm-day .st { margin-top: 2px; font-weight: 600; color: var(--ink-2); }
.adm-day.has-demo { border-color: var(--brass); background: var(--brass-wash); }
.adm-day.is-closed { border-style: dashed; background: transparent; color: var(--ink-3); }
.adm-day.is-closed .st { color: var(--bad); }
.adm-off { border-style: dashed; border-color: var(--rule); background: transparent; color: var(--ink-3); opacity: 0.55; cursor: default; }
.adm-stats { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.adm-stats h3 { font-size: 1.2rem; }
.doc .adm-list li > div { min-width: 0; overflow-wrap: anywhere; }
.adm-stats pre { margin: 8px 0 0; font-family: var(--font-text); font-size: 0.95rem; line-height: 1.7; color: var(--ink-2); white-space: pre-wrap; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px clamp(16px, 3vw, 32px) 18px; background: var(--paper); border-bottom: 1px solid var(--rule); box-shadow: 0 30px 40px -30px var(--shadow); }
  .nav.open a { padding-block: 13px; font-size: 1.05rem; color: var(--ink); border-bottom: 1px solid var(--rule); }
  .nav.open a:last-child { border-bottom: 0; }
  .nav.open .nav-only-menu { display: block; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 960px) {
  .hero, .product-grid, .people, .verify, .security, .book, .faq-sec { grid-template-columns: minmax(0, 1fr); }
  .app-body { grid-template-columns: minmax(0, 1fr); }
  .sources { border-left: 0; border-top: 1px solid var(--rule); }
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wall li:nth-child(4n) { border-right: 1px solid var(--rule); }
  .wall li:nth-child(2n) { border-right: 0; }
  .stage { min-height: 0; }
  .people-pic { order: 2; }
  .pstage, .people-pic, .verify-pic { min-height: 360px; }
  .bars li { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 16px; }
  .bars .track { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 560px) {
  #src-2, #src-3 { display: none; }
  .hide-sm { display: none; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .stats div { padding-block: 16px; }
  .stats dd { font-size: 2.8rem; }
  .trio li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .sched-fields { grid-template-columns: minmax(0, 1fr); }
  .q { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
