@font-face { font-family: "Jakarta"; src: url("jakarta-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("jakarta-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("jakarta-extrabold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

/* The app's own colors, from lib/app/theme.dart (light tokens). */
:root {
  color-scheme: light;
  --paper: #f4f7f7;
  --surface: #fff;
  --hairline: #e0e8e8;
  --option: #eff4f4;
  --ink: #0c2226;
  --text: #26393d;
  --muted: #566a6e;
  --brand: #0d7480;
  --brand-deep: #0a5660;
  --brand-soft: #e2f3f4;
  --brand-line: #c3e3e6;
  --amber: #f5b73b;
  --amber-soft: #fff1d6;
  --amber-ink: #9a6200;
  --success: #17804c;
  --success-soft: #e7f6ee;
  --sky: #eaf1fe;
  --sky-ink: #1e40af;
  --peach: #feede5;
  --peach-ink: #c2410c;
  --lavender: #f0edff;
  --lavender-ink: #4530b8;
  --shadow: 12 34 38;
  --gradient: linear-gradient(135deg, #084c55 0%, #0d7480 60%, #1b8e9a 100%);
  --font: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { color: var(--ink); font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.4vw, 44px); }
h3 { font-size: 21px; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--brand-deep); text-underline-offset: 0.18em; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 8px; }
.wrap { width: min(1120px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
section { padding-block: clamp(64px, 9vw, 112px); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.lede { color: var(--muted); font-size: 19px; max-width: 40em; margin-top: 16px; }

/* Brand mark: the app icon. */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -0.01em; text-decoration: none; color: inherit; white-space: nowrap; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.25); }

/* Buttons: pills, as in the app. */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font-weight: 800; text-decoration: none; cursor: pointer;
  transition: transform 0.15s, background-color 0.15s, box-shadow 0.15s;
}
.button-light { background: #fff; color: var(--brand-deep); box-shadow: 0 10px 30px rgb(var(--shadow) / 0.25); }
.button-light:hover { transform: translateY(-1px); }
.button-brand { background: var(--brand); color: #fff; }
.button-brand:hover { background: var(--brand-deep); }
.button-ghost { background: transparent; color: #fff; border: 1.5px solid rgb(255 255 255 / 0.5); }
.button-ghost:hover { background: rgb(255 255 255 / 0.12); }
.button svg { width: 20px; height: 20px; flex: none; }
.store-soon { cursor: default; }
.store-soon:hover { transform: none; }
.store-soon small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; opacity: 0.75; line-height: 1.1; }
.store-soon span { display: block; line-height: 1.15; text-align: left; }

/* Hero: the gradient header from the Today screen. */
.hero {
  position: relative;
  background: var(--gradient);
  color: #fff;
  border-radius: 0 0 clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px);
  padding-bottom: 0;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: auto -10% -40% auto; width: 60%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(255 255 255 / 0.16), transparent);
  z-index: -1;
}
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-block: 22px; }
.topbar nav { display: flex; gap: clamp(14px, 3vw, 30px); font-weight: 600; font-size: 15px; }
.topbar nav a { color: rgb(255 255 255 / 0.85); text-decoration: none; }
.topbar nav a:hover { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 5vw, 64px); align-items: end; padding-top: clamp(24px, 5vw, 56px); }
.hero-copy { padding-bottom: clamp(48px, 8vw, 104px); }
.hero h1 { color: #fff; font-size: clamp(38px, 6.2vw, 66px); letter-spacing: -0.035em; }
.hero-copy > p { font-size: clamp(18px, 2vw, 20px); color: rgb(255 255 255 / 0.86); margin-top: 22px; max-width: 32em; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: rgb(255 255 255 / 0.14); border: 1px solid rgb(255 255 255 / 0.22); font-size: 14px; font-weight: 600; margin-bottom: 24px; }
.chip svg { width: 16px; height: 16px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { font-size: 14px; color: rgb(255 255 255 / 0.72); margin-top: 18px; }
.hero-phone { display: flex; justify-content: center; align-self: center; padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 8vw, 104px); }
.hero-phone .phone { width: min(330px, 100%); animation: rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.15s backwards; }
.hero-phone .device { box-shadow: 0 0 0 0.36cqw #4a4d57, 0 0 0 0.84cqw #1c1d22, 0 40px 80px rgb(0 0 0 / 0.32); }
@keyframes rise { from { transform: translateY(60px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-phone .phone { animation: none; } }

/* An iPhone with a Dynamic Island around each app screenshot, drawn the
   same way as the App Store images (tool/make_store_frames.py). Sizes are
   in cqw, so the whole device scales with the width given to .phone. */
.phone { container-type: inline-size; }
.device {
  position: relative;
  padding: 2.4cqw;
  border-radius: 15.9cqw;
  background: #0d0e12;
  box-shadow: 0 0 0 0.36cqw #4a4d57, 0 0 0 0.84cqw #1c1d22, 0 30px 60px rgb(var(--shadow) / 0.24);
}
/* Action button and volume buttons on the left, side button on the right. */
.device::before, .device::after { content: ""; position: absolute; width: 0.84cqw; }
.device::before {
  left: -0.84cqw; top: 39.8cqw; height: 42.8cqw;
  border-radius: 0.5cqw 0 0 0.5cqw;
  background: linear-gradient(to bottom, #2a2c33 0 7.7cqw, transparent 7.7cqw 12cqw, #2a2c33 12cqw 26.2cqw, transparent 26.2cqw 28.6cqw, #2a2c33 28.6cqw 42.8cqw);
}
.device::after { right: -0.84cqw; top: 56.6cqw; height: 21.7cqw; border-radius: 0 0.5cqw 0.5cqw 0; background: #2a2c33; }
.screen { position: relative; overflow: hidden; border-radius: 13.5cqw; background: var(--paper); }
.screen img { display: block; width: 100%; height: auto; }
/* Dynamic Island. */
.screen::before { content: ""; position: absolute; top: 3.6cqw; left: 50%; width: 28.4cqw; height: 8.2cqw; margin-left: -14.2cqw; border-radius: 4.8cqw; background: #000; }
/* Home indicator. */
.screen::after { content: ""; position: absolute; bottom: 1.7cqw; left: 50%; width: 33.7cqw; height: 1.1cqw; margin-left: -16.85cqw; border-radius: 1cqw; background: var(--ink); }
/* Status bar: the time on the left, signal, Wi-Fi and battery on the right.
   Dark on the paper-coloured screens, white on the teal Today header. */
.status { position: absolute; top: 4.3cqw; left: 0; right: 0; height: 6.7cqw; display: flex; align-items: center; justify-content: space-between; padding: 0 8cqw 0 11.1cqw; color: var(--ink); font: 700 4.3cqw/1 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; letter-spacing: -0.01em; }
.status::before { content: "9:41"; }
.status::after { content: ""; width: 19.5cqw; height: 3.25cqw; background: currentColor; -webkit-mask: url(/assets/status-icons.svg) no-repeat right center / contain; mask: url(/assets/status-icons.svg) no-repeat right center / contain; }
.phone.on-brand .status { color: #fff; }

/* Try it: the entry form and the portfolio page it fills in. */
.try-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); }
.student { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.avatar { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 20px; background: var(--success-soft); color: var(--success); }
.student strong { display: block; color: var(--ink); font-size: 19px; line-height: 1.2; }
.student span { color: var(--muted); font-size: 15px; }
.field { display: block; margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field:last-child { margin-bottom: 0; }
.field-label { display: block; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.field textarea, .field input {
  display: block; width: 100%; border: 1px solid var(--hairline); border-radius: 16px; background: #fff;
  padding: 13px 16px; font-size: 16px; line-height: 1.5; resize: vertical; color: var(--ink);
}
.field textarea:focus, .field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices button {
  min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--hairline); background: #fff;
  font-size: 15px; font-weight: 600; color: var(--text); cursor: pointer;
}
.choices button:hover { border-color: var(--brand-line); }
.choices button[aria-pressed="true"] { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-deep); }
.time-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.time-row input { width: 112px; flex: none; }
.time-row .choices button { min-width: 52px; padding: 0 12px; }
.card-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; margin-bottom: 14px; }
.card-head h3 { white-space: nowrap; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 800; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--success-soft); color: var(--success); font-size: 13px; font-weight: 600; white-space: nowrap; }
.badge svg { width: 14px; height: 14px; }

/* The portfolio page, drawn like the PDF. */
.sheet { background: #fff; border: 1px solid var(--hairline); border-radius: 14px; padding: clamp(16px, 3vw, 24px); box-shadow: 0 18px 40px -24px rgb(var(--shadow) / 0.35); color: var(--ink); font-size: 14px; line-height: 1.45; }
.sheet h4 { font-size: 18px; letter-spacing: -0.01em; margin-bottom: 12px; }
.sheet h4 + .sheet-month { margin-top: 0; }
.sheet * + h4 { margin-top: 22px; }
.stats { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 8px; margin-bottom: 22px; }
.stat { background: #edf5f5; border-radius: 10px; padding: 10px 12px; min-width: 0; }
.stat b { display: block; font-size: clamp(16px, 1.6vw, 20px); font-weight: 800; color: var(--brand-deep); letter-spacing: -0.02em; line-height: 1.15; }
.stat span { display: block; font-size: 12px; color: var(--muted); line-height: 1.3; margin-top: 2px; }
.stat em { display: inline-block; font-style: normal; font-size: 12px; font-weight: 600; color: var(--success); margin-top: 4px; }
.stat em:empty { display: none; }
.sheet-month { font-weight: 800; color: var(--brand-deep); font-size: 15px; margin: 0 0 6px; }
.sheet-day { display: grid; grid-template-columns: 86px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--hairline); }
.sheet-day > span { font-weight: 800; font-size: 13.5px; }
.sheet-day p + p { margin-top: 3px; }
.sheet-day b { font-weight: 800; }
.sheet .reading { color: var(--brand); font-size: 13px; margin-top: 0 !important; }
.sheet-day.is-new { background: linear-gradient(90deg, var(--amber-soft), rgb(255 241 214 / 0)); margin-inline: -10px; padding-inline: 10px; border-radius: 8px; }
.books { display: grid; }
.books div { display: flex; justify-content: space-between; gap: 12px; padding: 6px 2px; border-bottom: 1px solid var(--hairline); }
.books div:first-child { background: #edf5f5; font-weight: 800; padding-inline: 8px; border-radius: 6px 6px 0 0; margin-inline: -6px; }
.books div.is-new { font-weight: 600; color: var(--brand-deep); }
.books span:last-child { color: var(--muted); white-space: nowrap; }
.same-book { color: var(--muted); font-size: 13px; margin-top: 8px !important; }
.card-foot { margin-top: 16px; }
.card-foot p { color: var(--muted); font-size: 14px; }

/* A school day: rows of screens and text. */
.day { background: var(--surface); border-block: 1px solid var(--hairline); }
.rows { list-style: none; padding: 0; margin: clamp(40px, 6vw, 72px) 0 0; display: grid; gap: clamp(56px, 8vw, 96px); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.row:nth-child(even) .row-copy { order: 2; }
.row .when { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--brand); font-size: 15px; margin-bottom: 12px; }
.row .when::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.row h3 { font-size: clamp(26px, 3.2vw, 34px); letter-spacing: -0.025em; }
.row p { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 30em; }
.row-shots { display: flex; justify-content: center; align-items: flex-start; gap: 20px; }
.row-shots .phone { width: min(290px, 100%); }
.row-shots.two .phone { width: min(250px, 48%); }
.row-shots.two .phone:last-child { margin-top: 48px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: baseline; color: var(--text); }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%; background: var(--success-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317804c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; transform: translateY(3px); }

/* The portfolio PDF: its pages, and what is on each. */
.pages { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 24px); margin: 44px 0 0; padding: 0; list-style: none; }
.pages li { min-width: 0; }
.pages img { display: block; width: 100%; height: auto; border-radius: 6px; background: #fff; border: 1px solid var(--hairline); box-shadow: 0 24px 40px -22px rgb(var(--shadow) / 0.4); }
.pages li:nth-child(even) img { transform: translateY(18px); }
.pages strong { display: block; color: var(--ink); font-size: 16px; margin-top: 16px; }
.pages li:nth-child(even) strong { margin-top: 34px; }
.pages span { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.45; margin-top: 4px; }
.pdf-note { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--hairline); color: var(--muted); font-size: 15.5px; }
.pdf-note p { flex: 1 1 280px; }
.pdf-note strong { color: var(--ink); }

/* States. */
.states-band { background: var(--surface); border-block: 1px solid var(--hairline); }
.states { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.state { display: flex; flex-direction: column; }
.state .ticks { margin-top: 14px; }
.state .ticks li { font-size: 15.5px; }
.state-tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; margin-bottom: 14px; background: var(--brand-soft); color: var(--brand-deep); }
.state-tag.alt { background: var(--option); color: var(--muted); }
.state p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
.disclaimer { color: var(--muted); font-size: 15px; margin-top: 24px; max-width: 46em; }

/* Small features: tinted icon tiles. */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.tile { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px; }
.tile-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; }
.tile-icon svg { width: 22px; height: 22px; }
.tile h3 { font-size: 18px; }
.tile p { color: var(--muted); font-size: 15.5px; margin-top: 8px; }
.t-brand { background: var(--brand-soft); color: var(--brand-deep); }
.t-lavender { background: var(--lavender); color: var(--lavender-ink); }
.t-sky { background: var(--sky); color: var(--sky-ink); }
.t-mint { background: var(--success-soft); color: var(--success); }
.t-amber { background: var(--amber-soft); color: var(--amber-ink); }
.t-peach { background: var(--peach); color: var(--peach-ink); }

/* Pricing. */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; max-width: 900px; }
.plan { display: flex; flex-direction: column; }
.plan h3 { font-size: 22px; }
.price { font-size: 44px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; margin-top: 12px; line-height: 1.1; }
.price small { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .sub { color: var(--muted); margin-top: 6px; font-size: 15.5px; }
.plan .ticks { margin-top: 22px; }
.plan-pro { background: var(--gradient); color: #fff; border: 0; }
.plan-pro h3, .plan-pro .price { color: #fff; }
.plan-pro .price small, .plan-pro .sub { color: rgb(255 255 255 / 0.82); }
.plan-pro .ticks li { color: #fff; }
.plan-pro .ticks li::before { background-color: rgb(255 255 255 / 0.95); }
.plan-tag { align-self: flex-start; padding: 4px 12px; border-radius: 999px; background: var(--amber); color: var(--ink); font-size: 13px; font-weight: 800; margin-bottom: 14px; }
.plan-free .plan-tag { background: var(--success-soft); color: var(--success); }
.fineprint { color: var(--muted); font-size: 14px; margin-top: 20px; max-width: 900px; }

/* Privacy band. */
.private-band { padding-top: 0; }
.private-inner { background: var(--ink); color: rgb(255 255 255 / 0.82); border-radius: clamp(24px, 4vw, 40px); padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.private-inner h2 { color: #fff; }
.private-inner .eyebrow { color: #7fd8e2; }
.private-inner p { font-size: 18px; }
.private-inner a { color: #fff; }
.private-inner .ticks li { color: #fff; }
.private-inner .ticks li::before { background-color: rgb(255 255 255 / 0.95); }

/* Closing call to action. */
.closing { text-align: center; padding-top: 0; }
.closing .card { padding: clamp(36px, 6vw, 64px) var(--gutter); background: var(--brand-soft); border-color: var(--brand-line); }
.closing img { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 20px; }
.closing p { color: var(--muted); font-size: 18px; margin: 14px auto 0; max-width: 34em; }

/* Footer. */
.foot { border-top: 1px solid var(--hairline); padding-block: 32px; font-size: 15px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.foot .brand { font-size: 17px; color: var(--ink); }
.foot .brand img { width: 28px; height: 28px; border-radius: 7px; box-shadow: none; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-left: auto; }
.foot nav a { color: var(--muted); text-decoration: none; }
.foot nav a:hover { color: var(--brand-deep); }

/* Legal and support pages. */
.page-top { background: var(--gradient); color: #fff; border-radius: 0 0 32px 32px; }
.page-top .topbar { padding-block: 22px; }
.page-head { padding-block: clamp(20px, 4vw, 40px) clamp(40px, 6vw, 64px); }
.page-head h1 { color: #fff; font-size: clamp(36px, 5.4vw, 54px); letter-spacing: -0.03em; }
.page-head p { color: rgb(255 255 255 / 0.82); margin-top: 12px; font-size: 18px; max-width: 38em; }
.doc { padding-block: clamp(40px, 6vw, 72px); }
.doc > * { max-width: 760px; }
.doc h2 { font-size: 26px; margin: 44px 0 12px; letter-spacing: -0.02em; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 19px; margin: 28px 0 8px; }
.doc p, .doc li { font-size: 17px; }
.doc p + p { margin-top: 14px; }
.doc ul, .doc ol { padding-left: 22px; margin: 12px 0 0; display: grid; gap: 8px; }
.doc > p + .summary { margin-top: 28px; }
.summary { background: var(--brand-soft); border: 1px solid var(--brand-line); border-radius: var(--radius); padding: 24px 28px; }
.summary h2 { margin-top: 0 !important; font-size: 20px; }
.summary ul { margin-top: 10px; }
.site-note { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--hairline); color: var(--muted); }
.site-note h2 { font-size: 20px; margin-top: 0; }
.site-note p { font-size: 15.5px; }
.contact-card { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.contact-card > div { flex: 1 1 300px; }
.contact-card p { color: var(--muted); }
.contact-card strong { display: block; color: var(--ink); font-size: 20px; }
.contact-card .button { max-width: 100%; overflow-wrap: anywhere; }
details { border-bottom: 1px solid var(--hairline); }
details:first-of-type { border-top: 1px solid var(--hairline); }
summary { list-style: none; cursor: pointer; padding: 20px 36px 20px 0; position: relative; font-weight: 600; font-size: 18px; color: var(--ink); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--brand); line-height: 1; }
details[open] summary::after { content: "–"; }
details > div { padding: 0 0 22px; color: var(--text); }
details > div p + p { margin-top: 10px; }

/* Narrow screens. */
@media (max-width: 900px) {
  .hero-grid, .try-grid, .row, .private-inner, .plans, .states { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .hero-phone .phone { width: min(290px, 78%); }
  .row:nth-child(even) .row-copy { order: 0; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .pages { grid-template-columns: 1fr 1fr; row-gap: 36px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar nav a.optional { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .row-shots.two .phone:last-child { margin-top: 32px; }
  .foot nav { margin-left: 0; }
  .time-row input { width: 84px; }
  .time-row .choices button { min-width: 44px; padding: 0 10px; }
  .stats { grid-template-columns: 1fr; gap: 6px; }
  .stat { display: flex; align-items: baseline; gap: 8px; padding: 8px 12px; }
  .stat b { font-size: 17px; white-space: nowrap; }
  .stat span { margin-top: 0; font-size: 13px; }
  .stat em { margin: 0 0 0 auto; white-space: nowrap; }
  .sheet-day { grid-template-columns: 1fr; gap: 2px; }
}
/* Small phones: keep the brand and the support link on one line. */
@media (max-width: 400px) {
  .topbar .brand { font-size: 17px; gap: 8px; }
  .topbar .brand img { width: 30px; height: 30px; border-radius: 8px; }
  .topbar nav { gap: 14px; font-size: 14px; }
}
@media (max-width: 359px) {
  .topbar nav a:not(:last-child) { display: none; }
}
