/* TrueTime Visit Planner landing page (/welcome)
   Brand: blue shield palette + DM Sans body + Fraunces display, same family as
   the app and truetime.health. Hand-written (no Tailwind build): this page is
   served by the backend, outside the SPA bundle and outside the service
   worker's precache, so it stays a plain, indexable HTML document. */

:root {
  --b50: #eef5fc; --b100: #d8e8f7; --b200: #b3d1ef; --b300: #6BB3F0;
  --b400: #4A90D9; --b500: #2E7BC4; --b600: #1E5BA8; --b700: #1A4B8C;
  --b800: #0D3A6E; --b900: #0A2850;
  --ink: #101828; --ink-muted: #475467; --ink-subtle: #667085;
  --surface: #ffffff; --surface-muted: #F7F8FA; --line: #EAECF0; --line-strong: #D0D5DD;
  --green: #059669; --green-50: #ECFDF5;
  --radius: 16px; --radius-sm: 12px;
  --shadow-card: 0 1px 3px rgba(16,24,40,.06), 0 4px 12px rgba(16,24,40,.04);
  --shadow-lift: 0 4px 12px rgba(16,24,40,.08), 0 12px 28px rgba(16,24,40,.08);
  --shadow-elev: 0 12px 32px rgba(16,24,40,.14), 0 2px 8px rgba(16,24,40,.06);
  --ease: cubic-bezier(.16,1,.3,1);
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--surface);
  line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--b600); }
h1, h2, h3 { font-family: var(--serif); font-optical-sizing: auto; letter-spacing: -0.015em; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); line-height: 1.06; font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); line-height: 1.15; font-weight: 600; }
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 600; }
p { margin: 0 0 1rem; }
.wrap { width: min(1120px, 92vw); margin: 0 auto; }
.wrap.narrow { width: min(820px, 92vw); }
.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--b500); margin: 0 0 .9rem;
}
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head h2 { max-width: 22ch; margin: 0 auto; }

.skip {
  position: absolute; left: -999px; top: 8px; background: var(--b800); color: #fff;
  padding: .5rem .9rem; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 600; font-size: 1rem; text-decoration: none; border-radius: 12px;
  padding: .95rem 1.4rem; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  white-space: nowrap;
}
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(74,144,217,.45); }
.btn-primary {
  color: #fff; background: linear-gradient(135deg, var(--b500), var(--b700));
  box-shadow: 0 8px 20px rgba(30,91,168,.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(30,91,168,.36); }
.btn-primary:active { transform: scale(.985); }
.btn-ghost {
  color: var(--b800); background: var(--surface); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
}
.btn-ghost:hover { border-color: var(--b400); color: var(--b600); transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-light { color: var(--b800); background: #fff; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.24); }
.btn-arrow { transition: transform .2s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ── Nav ─────────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem 4vw; background: rgba(255,255,255,.86); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; }
.nav-brand img { border-radius: 8px; width: 40px; height: 40px; object-fit: contain; }
.nav-wordmark { display: flex; flex-direction: column; line-height: 1.1; }
.nav-name { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--b800); letter-spacing: -0.01em; }
.nav-tag { font-size: .68rem; color: var(--ink-subtle); letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 1.4rem; }
.nav-link { display: none; text-decoration: none; color: var(--ink-muted); font-weight: 500; font-size: .95rem; }
.nav-link:hover { color: var(--b600); }
.nav-signin {
  text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--b800);
  border: 1px solid var(--line-strong); border-radius: 10px; padding: .5rem .9rem; background: #fff;
  transition: all .2s var(--ease);
}
.nav-signin:hover { border-color: var(--b400); color: var(--b600); }
.nav-signin-open { background: var(--b800); color: #fff; border-color: var(--b800); }
.nav-signin-open:hover { background: var(--b700); color: #fff; }
@media (min-width: 760px) { .nav-link { display: inline; } }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 3.2rem 0 3.5rem; }
.hero-glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60rem 30rem at 15% -10%, rgba(74,144,217,.16), transparent 60%),
    radial-gradient(40rem 26rem at 95% 20%, rgba(107,179,240,.14), transparent 60%);
}
.hero-grid { display: grid; gap: 2.4rem; align-items: center; }
.hero-copy .lede { font-size: 1.15rem; color: var(--ink-muted); max-width: 54ch; margin: 1.25rem 0 1.6rem; }
.accent { color: var(--b600); }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.trust-line { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1.4rem 0 0; font-size: .92rem; color: var(--ink-muted); font-weight: 500; }
.trust-item { display: inline-flex; align-items: center; gap: .4rem; }
.check { width: 18px; height: 18px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.hero-video { margin: 0; }
.device {
  border-radius: 18px; padding: 8px; background: linear-gradient(160deg, var(--b800), var(--b900));
  box-shadow: var(--shadow-elev);
}
.device video { width: 100%; aspect-ratio: 1280 / 736; border-radius: 12px; background: #0A2850; }
.hero-video figcaption { font-size: .82rem; color: var(--ink-subtle); text-align: center; margin-top: .7rem; }
@media (min-width: 900px) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; }
}

/* ── Proof band (public counters) ────────────────────────────────────── */
.counters { padding: 2.6rem 0; background: linear-gradient(160deg, var(--b800), var(--b900)); color: #fff; }
.counters .eyebrow { color: var(--b300); text-align: center; margin-bottom: 1.4rem; }
.counter-grid { display: grid; gap: .7rem; grid-template-columns: repeat(2, 1fr); }
.counter {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .2rem;
  padding: 1.2rem 1rem; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
}
.counter-num { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 700; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: #fff; }
/* An icon ahead of each label, to break up the words (Jessica Lee, 2026-09-23:
   "an icon that isn't busy before the title under the number"). Line art on
   purpose -- these sit under a big serif number, and anything detailed fights
   it. The label keeps the meaning; the icon is decoration, so it is
   aria-hidden and a screen reader still hears "Minutes given back". */
.counter-label {
  font-weight: 700; font-size: 1.02rem; margin-top: .35rem;
  display: inline-flex; align-items: center; gap: .4rem;
}
.counter-icon {
  width: 1.75em; height: 1.75em; flex: none;
  /* A tinted chip, not a bare glyph. Dimmed line art at label size read as a
     smudge on the navy band -- the clock hands and the road dashes vanished,
     which is the opposite of "breaks up the words" (CEO 2026-09-23). The
     disc gives the mark its own ground, so the strokes can be full white and
     still sit quieter than the number above them. */
  padding: .34em;
  box-sizing: border-box;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  stroke-width: 1.9;
}
.counter-sub { font-size: .85rem; color: rgba(255,255,255,.72); max-width: 26ch; }
/* Phones read the band across, not down (CEO 2026-09-08): 2x2, tighter. */
@media (max-width: 599px) {
  .counter { padding: .9rem .55rem; gap: .15rem; }
  .counter-num { font-size: 2.1rem; }
  .counter-label { font-size: .88rem; gap: .3rem; }
  /* The 2x2 phone band is tight; a slightly smaller mark keeps two-word
     labels on the line they were on before the icon arrived. */
  .counter-icon { width: 1.55em; height: 1.55em; padding: .3em; }
  .counter-sub { font-size: .72rem; }
}
.counters-fine { text-align: center; font-size: .8rem; color: rgba(255,255,255,.6); margin: 1.2rem 0 0; }
@media (min-width: 600px) { .counter-grid { gap: 1rem; } }
@media (min-width: 1000px) { .counter-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }

/* ── Problem ─────────────────────────────────────────────────────────── */
.problem { padding: 4rem 0; background: var(--surface-muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.problem h2 { margin-bottom: .8rem; }
.problem .big { font-family: var(--serif); font-size: clamp(1.25rem, 2.4vw, 1.6rem); color: var(--b700); line-height: 1.3; margin-bottom: 1.2rem; }
.problem p { color: var(--ink-muted); font-size: 1.08rem; max-width: 62ch; }
.problem .pull {
  border-left: 4px solid var(--b400); padding: .6rem 0 .6rem 1.2rem; margin-top: 1.4rem;
  color: var(--ink); font-size: 1.12rem;
}
.problem .pull strong { color: var(--b800); }

/* ── What it does ────────────────────────────────────────────────────── */
.what { padding: 4.5rem 0; }
.feature-list { display: grid; gap: 2.2rem; }
.feature {
  display: grid; gap: 1.4rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow-card); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.feature-icon {
  display: inline-flex; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center;
  background: var(--b50); color: var(--b600); margin-bottom: .9rem;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-text h3 { margin-bottom: .5rem; }
.feature-text p { color: var(--ink-muted); margin: 0; max-width: 46ch; }
.feature-shot {
  border-radius: 12px; overflow: hidden; border: 1px solid var(--line); background: #0A2850;
  box-shadow: 0 10px 30px rgba(13,58,110,.14);
}
.feature-shot img { width: 100%; aspect-ratio: 1280 / 736; object-fit: cover; }
@media (min-width: 860px) {
  .feature { grid-template-columns: .9fr 1.1fr; gap: 2.2rem; padding: 2rem; }
  .feature-flip .feature-text { order: 2; }
  .feature-flip .feature-shot { order: 1; }
}

.section-sub { color: var(--ink-muted); max-width: 52ch; margin: .8rem auto 0; font-size: 1.05rem; }
.promo { margin: 0 auto 2.6rem; max-width: 860px; }
.promo figcaption { font-size: .82rem; color: var(--ink-subtle); text-align: center; margin-top: .7rem; }
.device-light { background: linear-gradient(160deg, var(--b100), var(--b200)); }
.device-light video { background: var(--b800); aspect-ratio: 16 / 9; }

.hero-alt { margin: 1.1rem 0 0; font-size: .95rem; color: var(--ink-muted); }
.hero-alt a { color: var(--b600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ── Clinician door ──────────────────────────────────────────────────── */
.clinician { padding: 4.5rem 0; background: linear-gradient(180deg, #fff, var(--b50)); border-top: 1px solid var(--line); }
.clinician-grid { display: grid; gap: 2rem; align-items: start; }
.clinician-copy h2 { margin-bottom: .9rem; }
.clinician-copy p { color: var(--ink-muted); font-size: 1.05rem; max-width: 54ch; }
.clinician-copy .check-list { margin-bottom: 0; }
.seat-form {
  background: #fff; border: 1px solid var(--b100); border-radius: 20px; padding: 1.8rem;
  box-shadow: var(--shadow-lift);
}
.seat-form h3 { font-size: 1.4rem; margin-bottom: .4rem; }
.seat-sub { color: var(--ink-muted); font-size: .95rem; margin-bottom: 1.2rem; }
.field { display: block; margin-bottom: .9rem; }
.field > span { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: .3rem; }
.field > span em { font-style: normal; font-weight: 500; color: var(--ink-subtle); margin-left: .35rem; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid var(--line-strong); border-radius: 10px; padding: .7rem .85rem;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--b400); box-shadow: 0 0 0 3px rgba(74,144,217,.25); }
.field textarea { resize: vertical; min-height: 4.5rem; }
.field-row { display: grid; gap: 0 .9rem; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.seat-submit { width: 100%; margin-top: .3rem; }
.seat-submit:disabled { opacity: .6; transform: none; cursor: progress; }
.seat-status { margin: .9rem 0 0; font-size: .95rem; min-height: 1.2em; color: var(--ink-muted); }
.seat-status:empty { display: none; }
.seat-status-ok { color: var(--green); font-weight: 600; }
.seat-status-err { color: #B91C1C; font-weight: 500; }
.seat-fine { margin: .9rem 0 0; font-size: .8rem; color: var(--ink-subtle); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .clinician-grid { grid-template-columns: 1fr 1fr; gap: 3rem; } }

/* ── Office ──────────────────────────────────────────────────────────── */
.office { padding: 4.5rem 0; background: var(--surface-muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.office-grid { display: grid; gap: 2rem; align-items: center; }
.office-copy h2 { margin-bottom: .9rem; }
.office-copy p { color: var(--ink-muted); font-size: 1.05rem; max-width: 52ch; }
.office-list { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .8rem; }
.office-list li {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem;
  color: var(--ink-muted); font-size: .97rem; box-shadow: var(--shadow-card);
}
.office-list strong { color: var(--ink); display: block; margin-bottom: .15rem; }
.office-video { margin: 0; }
.office-video video { aspect-ratio: 16 / 9; }
.office-video figcaption { font-size: .82rem; color: var(--ink-subtle); text-align: center; margin-top: .7rem; }
@media (min-width: 900px) { .office-grid { grid-template-columns: .9fr 1.1fr; gap: 3rem; } }

/* ── Proof ───────────────────────────────────────────────────────────── */
.proof { padding: 4.5rem 0; background: linear-gradient(180deg, var(--b50), #fff 70%); border-top: 1px solid var(--line); }
.proof .eyebrow { text-align: center; }
.quote {
  margin: 0; background: #fff; border: 1px solid var(--b100); border-radius: 20px;
  padding: 2rem clamp(1.4rem, 4vw, 2.8rem); box-shadow: var(--shadow-lift); position: relative;
}
.quote::before {
  content: "\201C"; position: absolute; top: -.35em; left: 1.2rem; font-family: var(--serif);
  font-size: 5rem; line-height: 1; color: var(--b200);
}
.quote blockquote { margin: 0; }
.quote-body { color: var(--ink-muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.6; margin: 0; }
.quote-lead { display: block; margin-top: .9rem; font-family: var(--serif); font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.3; color: var(--ink); font-weight: 600; }
.quote figcaption { display: flex; flex-direction: column; gap: .15rem; margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.quote-name { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.quote-role { color: var(--ink-subtle); font-size: .9rem; }
.proof-note { text-align: center; color: var(--ink-muted); font-size: .95rem; margin: 1.4rem 0 0; }

/* ── Signing / pricing ───────────────────────────────────────────────── */
.signing { padding: 4.5rem 0; }
.signing-grid { display: grid; gap: 2rem; align-items: start; }
.signing-copy h2 { margin-bottom: .9rem; }
.signing-copy p { color: var(--ink-muted); font-size: 1.05rem; max-width: 56ch; }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; gap: .6rem; }
.check-list li { position: relative; padding-left: 1.9rem; color: var(--ink); }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23059669' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.5 3.5L15 7'/%3E%3C/svg%3E");
  background-size: 14px; background-position: center; background-repeat: no-repeat;
}
.trial-card {
  background: linear-gradient(160deg, var(--b800), var(--b900)); color: #fff; border-radius: 20px;
  padding: 1.8rem; box-shadow: var(--shadow-elev);
}
.trial-kicker { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--b300); margin-bottom: .6rem; }
.trial-card h3 { color: #fff; font-size: 1.45rem; margin-bottom: 1.2rem; }
.trial-terms { margin: 0; display: grid; gap: 1rem; }
.trial-terms div { padding: .9rem 1rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; }
.trial-terms dt { font-weight: 700; margin-bottom: .25rem; }
.trial-terms dd { margin: 0; color: rgba(255,255,255,.82); font-size: .95rem; }
@media (min-width: 900px) { .signing-grid { grid-template-columns: 1.1fr .9fr; gap: 3rem; } }

/* ── Steps ───────────────────────────────────────────────────────────── */
.steps { padding: 4.5rem 0; background: var(--surface-muted); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: step; }
.step-list li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-card); }
.step-num {
  display: inline-flex; width: 38px; height: 38px; border-radius: 12px; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--b100), var(--b50)); color: var(--b700); font-weight: 700; margin-bottom: .8rem;
}
.step-list h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.step-list p { color: var(--ink-muted); margin: 0; font-size: .97rem; }
.steps-note { text-align: center; color: var(--ink-subtle); font-size: .92rem; font-style: italic; margin: 1.8rem auto 0; max-width: 60ch; }
@media (min-width: 760px) { .step-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .step-list { grid-template-columns: repeat(4, 1fr); } }

/* ── Apps ────────────────────────────────────────────────────────────── */
.apps { padding: 4.5rem 0; }
.apps-inner { display: grid; gap: 1.6rem; align-items: center; }
.apps-copy h2 { margin-bottom: .8rem; }
.apps-copy p { color: var(--ink-muted); margin: 0; }
.store-badges { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff;
  background: var(--ink); border-radius: 10px; padding: .55rem 1rem; line-height: 1.1;
}
.store-badge svg { width: 26px; height: 26px; }
.store-badge span { display: flex; flex-direction: column; font-weight: 600; font-size: 1.05rem; }
.store-badge small { font-size: .68rem; font-weight: 500; opacity: .8; }
@media (min-width: 860px) { .apps-inner { grid-template-columns: 1.2fr .8fr; } }

/* ── FAQ ─────────────────────────────────────────────────────────────── */
.faq { padding: 4.5rem 0; background: var(--surface-muted); border-top: 1px solid var(--line); }
.faq-list { display: grid; gap: .7rem; }
.faq-list details { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-card); }
.faq-list details[open] { border-color: var(--b200); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 1.05rem 3rem 1.05rem 1.25rem; font-weight: 600; position: relative; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--b50); color: var(--b600);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; transition: transform .2s var(--ease);
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list p { margin: 0; padding: 0 1.25rem 1.15rem; color: var(--ink-muted); }

/* ── Close ───────────────────────────────────────────────────────────── */
.close {
  position: relative; overflow: hidden; padding: 5rem 0; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--b600), var(--b900));
}
.close::before, .close::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35; pointer-events: none;
}
.close::before { width: 26rem; height: 26rem; right: -8rem; top: -10rem; background: #fff; }
.close::after { width: 22rem; height: 22rem; left: -6rem; bottom: -12rem; background: var(--b300); }
.close-inner { position: relative; }
.close h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .8rem; }
.close p { color: rgba(255,255,255,.86); font-size: 1.1rem; }
.close .btn { margin: .6rem 0 1.4rem; }
.close-founder { font-size: .98rem; color: rgba(255,255,255,.82); margin: 0; }
.close-founder a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ── Footer ──────────────────────────────────────────────────────────── */
.foot { padding: 2.2rem 0; background: var(--surface-muted); border-top: 1px solid var(--line); }
.foot-inner { display: flex; flex-direction: column; gap: 1.2rem; align-items: center; text-align: center; }
.foot-brand { display: flex; align-items: center; gap: .6rem; }
.foot-brand img { border-radius: 6px; }
.foot-brand div { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.foot-name { font-family: var(--serif); color: var(--b800); font-size: 1.05rem; font-weight: 600; }
.foot-tag { font-size: .72rem; color: var(--ink-subtle); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.3rem; }
.foot-links a { color: var(--ink-muted); text-decoration: none; font-size: .9rem; }
.foot-links a:hover { color: var(--b600); }
.foot-copy { color: var(--ink-subtle); font-size: .82rem; margin: 0; }
@media (min-width: 860px) {
  .foot-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ── Motion respect ──────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .feature, .btn-arrow { transition: none; }
  .btn:hover, .feature:hover { transform: none; }
}

/* Issue #564: the clinician column's own sign-up button, clear of the list above it. */
.clinician-copy > .btn { margin-top: 1.25rem; }
/* Issue #564: where the agency tour video was. The tour is shown on a call. */
.office-invite {
  align-self: center; background: #fff; border: 1px solid var(--b100); border-radius: 20px;
  padding: 1.8rem; box-shadow: var(--shadow-lift);
}
.office-invite h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.office-invite p { margin-bottom: 1.2rem; }
/* The invite sits under the office benefits now; the tour video is back beside them. */
.office-copy .office-invite { margin-top: 1.5rem; }
