/* ==========================================================================
   daybookpro.com — marketing site styles
   Brand kit: docs/HANDOFF-marketing-site-2026-08-23.md (palette from
   vite.config.ts + DAYBOOK_DEFAULT theme). Light-only by design.
   ========================================================================== */

/* ── Fonts (self-hosted, variable weight) ─────────────────────────────── */
@font-face {
  font-family: 'Archivo';
  src: url('/assets/fonts/archivo-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ── Tokens ───────────────────────────────────────────────────────────── */
:root {
  --brand: #0F766E;
  --brand-deep: #134E4A;
  --brand-tint: #EAF2F0;
  --brand-tint-2: #DCE9E6;
  --on-brand: #FAF9F6;
  --cta: #F59E0B;
  --cta-hover: #E18F06;
  --cta-ink: #2B2A28;
  --page: #FAF9F6;
  --page-muted: #F2F0EB;
  --surface: #FFFFFF;
  --ink: #2B2A28;
  --ink-heading: #1F1E1C;
  --ink-muted: #5F5D58;
  --line: #E4E1DA;
  --radius: 0.625rem;
  --radius-lg: 1rem;
  --shadow-card: 0 1px 2px 0 rgb(0 0 0 / .07), 0 4px 12px -2px rgb(0 0 0 / .10);
  --shadow-pop: 0 2px 4px 0 rgb(0 0 0 / .06), 0 16px 40px -8px rgb(0 0 0 / .16);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Archivo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

/* ── Reset ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }
body {
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; letter-spacing: inherit; cursor: pointer; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Type ─────────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink-heading);
  line-height: 1.12;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; line-height: 1.3; }
h4 { font-size: 1.0625rem; line-height: 1.35; }
p { max-width: 65ch; }
.lede { font-size: 1.1875rem; color: var(--ink-muted); line-height: 1.55; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.875rem;
}
.muted { color: var(--ink-muted); }
.hl {
  background-image: linear-gradient(to top, rgb(245 158 11 / .9) 0.16em, transparent 0.16em);
  padding-bottom: 0.04em;
}
.hl-teal {
  background-image: linear-gradient(to top, rgb(15 118 110 / .22) 0.42em, transparent 0.42em);
}
.small { font-size: 0.875rem; }

/* ── Layout ───────────────────────────────────────────────────────────── */
.container { max-width: 72rem; margin-inline: auto; padding-inline: 1.25rem; }
@media (min-width: 48rem) { .container { padding-inline: 2rem; } }
.section { padding-block: 4rem; }
@media (min-width: 48rem) { .section { padding-block: 6rem; } }
.section-muted { background: var(--brand-tint); }
.section-surface { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: 2.75rem; }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head.centered p { margin-inline: auto; }
.section-head h2 { margin-bottom: 0.75rem; }

/* ── Icons ────────────────────────────────────────────────────────────── */
.icon { width: 1.25rem; height: 1.25rem; stroke-width: 2; flex: none; }
.icon-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: var(--radius);
  background: var(--brand); color: var(--on-brand);
}
.icon-chip .icon { width: 1.375rem; height: 1.375rem; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.6875rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600; font-size: 0.9375rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease),
    color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.btn:hover { text-decoration: none; }
.btn .icon { width: 1rem; height: 1rem; }
.btn-primary { background: var(--cta); color: var(--cta-ink); box-shadow: 0 1px 2px rgb(0 0 0 / .08); }
.btn-primary:hover { background: var(--cta-hover); }
.btn-secondary { background: var(--surface); color: var(--brand); border-color: rgb(15 118 110 / .35); }
.btn-secondary:hover { border-color: var(--brand); background: var(--brand-tint); }
.btn-ghost-dark { background: transparent; color: var(--on-brand); border-color: rgb(250 249 246 / .35); }
.btn-ghost-dark:hover { border-color: rgb(250 249 246 / .7); background: rgb(250 249 246 / .08); }
.btn-lg { padding: 0.875rem 1.5rem; font-size: 1rem; }
.cta-note { font-size: 0.875rem; color: var(--ink-muted); margin-top: 0.75rem; margin-inline: auto; }

/* ── Header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--brand-deep);
  border-bottom: 1px solid rgb(250 249 246 / .08);
  transition: box-shadow 160ms var(--ease);
}
.site-header.scrolled { box-shadow: 0 2px 14px rgb(0 0 0 / .18); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: 4.25rem; }
.brand-lockup { display: inline-flex; align-items: center; gap: 0.625rem; text-decoration: none; }
.brand-lockup:hover { text-decoration: none; }
.brand-lockup img { width: 1.875rem; height: 1.875rem; }
.brand-lockup .wordmark {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em;
  font-size: 1.3125rem; color: var(--ink-heading);
}
.site-header .brand-lockup .wordmark, .site-footer .brand-lockup .wordmark { color: var(--on-brand); }
.main-nav { display: none; align-items: center; gap: 1.75rem; margin-inline: auto; }
.main-nav a {
  font-size: 0.9375rem; font-weight: 500; color: rgb(250 249 246 / .72);
  text-decoration: none; transition: color 150ms var(--ease);
}
.main-nav a:hover { color: var(--on-brand); }
.main-nav a[aria-current="page"] { color: #8FCFC7; font-weight: 600; }
.header-actions { display: none; align-items: center; gap: 0.75rem; margin-left: auto; }
.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; border: 1px solid rgb(250 249 246 / .3); border-radius: var(--radius);
  background: transparent; color: var(--on-brand);
}
@media (min-width: 64rem) {
  .main-nav { display: flex; }
  .header-actions { display: flex; margin-left: 0; }
  .nav-toggle { display: none; }
}
.mobile-menu {
  display: none; position: absolute; inset-inline: 0; top: 100%;
  background: var(--brand-deep); border-bottom: 1px solid rgb(250 249 246 / .12);
  box-shadow: 0 12px 30px rgb(0 0 0 / .25); padding: 0.75rem 1.25rem 1.25rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 0.75rem 0.25rem; font-weight: 500; color: var(--on-brand);
  text-decoration: none; border-bottom: 1px solid rgb(250 249 246 / .1);
}
.mobile-menu a[aria-current="page"] { color: #8FCFC7; }
.mobile-menu .menu-cta { display: grid; gap: 0.625rem; padding-top: 1rem; }
.mobile-menu .menu-cta a { border-bottom: none; padding: 0.6875rem 1.25rem; }

/* ── Product dropdown ─────────────────────────────────────────────────── */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: none; border: none; padding: 0;
  font-size: 0.9375rem; font-weight: 500; color: rgb(250 249 246 / .72);
  transition: color 150ms var(--ease);
}
.nav-drop-btn:hover, .nav-drop-btn[aria-expanded="true"] { color: var(--on-brand); }
.nav-drop-btn.is-active { color: #8FCFC7; font-weight: 600; }
.nav-drop-btn .chev { width: 0.9rem; height: 0.9rem; transition: transform 160ms var(--ease); }
.nav-drop-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.drop-panel {
  position: absolute; top: calc(100% + 1.2rem); left: 50%; transform: translateX(-35%);
  width: 41rem; max-width: calc(100vw - 2rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-pop); padding: 1rem; z-index: 60;
}
.drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem; }
.drop-item {
  display: flex; gap: 0.75rem; align-items: center; padding: 0.55rem 0.625rem;
  border-radius: var(--radius); text-decoration: none; color: inherit;
  transition: background-color 140ms var(--ease);
}
.drop-item:hover { background: var(--brand-tint); text-decoration: none; }
.drop-item .icon-chip { width: 2.125rem; height: 2.125rem; flex: none; }
.drop-item .icon-chip .icon { width: 1.125rem; height: 1.125rem; }
.drop-name { display: block; font-weight: 600; font-size: 0.9063rem; color: var(--ink-heading); line-height: 1.3; }
.drop-one { display: block; font-size: 0.78125rem; color: var(--ink-muted); }
.drop-foot { border-top: 1px solid var(--line); margin-top: 0.75rem; padding-top: 0.75rem; text-align: right; }
.drop-foot a { font-weight: 600; font-size: 0.9063rem; display: inline-flex; gap: 0.375rem; align-items: center; }
.drop-foot .icon { width: 0.9rem; height: 0.9rem; }
.menu-group-label {
  font-size: 0.71875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: #8FCFC7; margin-top: 1rem; padding: 0.25rem;
}

/* Deep-page pills (features overview hero) */
.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-top: 1.75rem; }
.pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.875rem; border-radius: 999px;
  border: 1px solid rgb(250 249 246 / .25); color: var(--on-brand);
  font-size: 0.875rem; font-weight: 500; text-decoration: none;
  transition: background-color 150ms var(--ease), border-color 150ms var(--ease);
}
.pill:hover { background: rgb(250 249 246 / .1); border-color: rgb(250 249 246 / .5); text-decoration: none; }
.pill .icon { width: 0.9375rem; height: 0.9375rem; color: #8FCFC7; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  padding-block: 4rem 3.5rem; text-align: center; position: relative; overflow: clip;
  background: linear-gradient(155deg, var(--brand-deep), #0E3A37 72%);
}
@media (min-width: 48rem) { .hero { padding-block: 5.5rem 5rem; } }
.hero:has(.hero-shot) { padding-bottom: 0; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 80%;
  background:
    radial-gradient(44rem 24rem at 28% 15%, rgb(15 118 110 / .5), transparent 65%),
    radial-gradient(36rem 20rem at 78% 8%, rgb(245 158 11 / .1), transparent 60%);
  pointer-events: none;
}
.hero h1 { color: var(--on-brand); }
.hero .eyebrow { color: #8FCFC7; }
.hero .lede { color: rgb(250 249 246 / .8); }
.hero .cta-note { color: rgb(250 249 246 / .6); }
.hero .btn-secondary { background: transparent; color: var(--on-brand); border-color: rgb(250 249 246 / .35); }
.hero .btn-secondary:hover { border-color: rgb(250 249 246 / .7); background: rgb(250 249 246 / .08); }
.hero .container { position: relative; }
.hero h1 { max-width: 21ch; margin-inline: auto; }
.hero .lede { max-width: 46ch; margin: 1.25rem auto 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.875rem; justify-content: center; margin-top: 2rem; }
.hero-shot { margin-top: 3.25rem; position: relative; }
.hero-shot::after {
  content: ""; position: absolute; inset: auto 0 0; height: 42%;
  background: var(--page-muted); z-index: 0;
}

/* Browser-chrome frame for product shots */
.browser-frame {
  position: relative; z-index: 1;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); overflow: hidden;
  max-width: 60rem; margin-inline: auto;
}
.browser-frame .chrome {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1rem; border-bottom: 1px solid var(--line); background: var(--page);
}
.browser-frame .dot { width: 0.625rem; height: 0.625rem; border-radius: 50%; background: var(--line); }
.browser-frame .chrome-url {
  margin-inline: auto; font-size: 0.75rem; color: var(--ink-muted);
  background: var(--page-muted); border-radius: 999px; padding: 0.2rem 1rem;
}
.browser-frame img { width: 100%; height: auto; }

/* Quiet proof strip */
.proof-strip { background: var(--brand); padding-block: 1.375rem; }
.proof-strip .container {
  display: flex; flex-wrap: wrap; gap: 0.5rem 2.5rem; align-items: center; justify-content: center;
  font-size: 0.9375rem; color: rgb(250 249 246 / .8);
}
.proof-strip strong { color: var(--on-brand); font-weight: 600; }

/* ── Cards / grids ────────────────────────────────────────────────────── */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 1.75rem;
}
.card h3 { margin: 1.125rem 0 0.5rem; }
.card p { color: var(--ink-muted); font-size: 0.9578rem; }
.grid-3 { display: grid; gap: 1.25rem; }
.grid-2 { display: grid; gap: 1.25rem; }
@media (min-width: 40rem) { .grid-3, .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card ul { list-style: none; padding: 0; margin-top: 0.875rem; display: grid; gap: 0.5rem; }
.card ul li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.9375rem; color: var(--ink); }
.card ul .icon { color: var(--brand); width: 1.05rem; height: 1.05rem; margin-top: 0.2rem; }

/* ── Seat-math band ───────────────────────────────────────────────────── */
.seat-math { display: grid; gap: 1.25rem; align-items: stretch; }
@media (min-width: 64rem) { .seat-math { grid-template-columns: 1fr 1fr 1.15fr; } }
.tally {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 1.625rem; display: flex; flex-direction: column;
}
.tally.is-daybook { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-pop); }
.tally .who { font-weight: 600; color: var(--ink-heading); font-size: 1.0625rem; }
.tally .what { font-size: 0.875rem; color: var(--ink-muted); margin-top: 0.125rem; }
.tally dl { margin: 1.125rem 0 0; display: grid; gap: 0.5rem; }
.tally .row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.9375rem; }
.tally .row dt { color: var(--ink-muted); }
.tally .row dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 500; color: var(--ink-heading); white-space: nowrap; }
.tally .total {
  border-top: 1px solid var(--line); margin-top: auto; padding-top: 0.875rem;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
}
.tally .total .amount { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: 1.5rem; color: var(--ink-heading); }
.tally .total .amount-text { font-size: 1.0625rem; line-height: 1.35; letter-spacing: -0.01em; color: var(--ink-muted); }
.tally.is-daybook .total .amount { color: var(--brand); }
.tally .total .per { font-size: 0.8125rem; color: var(--ink-muted); }

/* ── Feature rows (features page + home pillars) ──────────────────────── */
.pillars { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar-wide { grid-column: 1 / -1; }
@media (min-width: 64rem) { .pillar-wide { grid-column: span 2; } }

.feature-group { padding-block: 3rem; border-top: 1px solid var(--line); }
.feature-group:first-of-type { border-top: none; }
.feature-group-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.625rem; }
.feature-group-head h2 { font-size: 1.5rem; }
.feature-group > p { color: var(--ink-muted); max-width: 60ch; }
.feature-list { list-style: none; padding: 0; margin-top: 1.5rem; display: grid; gap: 0.875rem 2rem; }
@media (min-width: 48rem) { .feature-list { grid-template-columns: 1fr 1fr; } }
.feature-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.feature-list .icon { color: var(--brand); margin-top: 0.25rem; width: 1.125rem; height: 1.125rem; }
.tier-chip {
  font-size: 0.71875rem; font-weight: 600; letter-spacing: 0.03em; white-space: nowrap;
  color: var(--ink-muted); background: var(--page-muted); border: 1px solid var(--line);
  padding: 0.1rem 0.5rem; border-radius: 999px; margin-left: 0.375rem; vertical-align: 0.12em; display: inline-block;
}

/* ── Feature drill-down rows (home) ───────────────────────────────────── */
.feature-row {
  display: grid; gap: 2rem; align-items: center;
  padding-block: 3rem; border-top: 1px solid var(--line);
}
.section-head + .feature-row { border-top: none; padding-top: 0.5rem; }
@media (min-width: 64rem) {
  .feature-row { grid-template-columns: 1fr 1fr; gap: 4.5rem; padding-block: 3.75rem; }
  .feature-row.flip .row-copy { order: 2; }
  .feature-row.flip .row-visual { order: 1; }
}
.row-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 0.75rem; }
.row-copy > p { color: var(--ink-muted); }
.row-points { list-style: none; padding: 0; margin-top: 1.25rem; display: grid; gap: 0.625rem; }
.row-points li { display: flex; gap: 0.625rem; align-items: flex-start; font-size: 0.9375rem; }
.row-points .icon { color: var(--brand); width: 1.05rem; height: 1.05rem; margin-top: 0.2rem; flex: none; }
.detail-card {
  background: var(--brand-tint); border: 1px solid var(--brand-tint-2); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card); padding: 1.75rem;
}
.detail-card ul { list-style: none; padding: 0; display: grid; gap: 0.9375rem; }
.detail-card li { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 0.9375rem; color: var(--ink); }
.detail-card .icon { color: var(--brand); width: 1.125rem; height: 1.125rem; margin-top: 0.15rem; flex: none; }
.row-shot img { border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-pop); width: 100%; height: auto; }
.phone-frame {
  width: min(300px, 78%); margin-inline: auto;
  border: 10px solid #1F1E1C; border-radius: 2.75rem;
  box-shadow: var(--shadow-pop), 0 0 0 1px rgb(0 0 0 / .2);
  overflow: hidden; background: #1F1E1C; position: relative;
  /* bezel above and chin below: the app's own top bar must sit BELOW the
     earpiece pill, never under it (Ryan, 2026-08-23) */
  padding: 1.65rem 0 0.9rem;
}
.phone-frame::before {
  content: ""; position: absolute; top: 0.45rem; left: 50%; transform: translateX(-50%);
  width: 34%; height: 0.7rem; background: #3A3936; border-radius: 999px; z-index: 2;
}
.phone-frame img { width: 100%; height: auto; display: block; border-radius: 1rem; }
.take-it { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 64rem) { .take-it { grid-template-columns: 1.15fr 1fr; } }

/* ── Flagship band ────────────────────────────────────────────────────── */
.band-deep {
  background: linear-gradient(140deg, var(--brand-deep), #0E3A37 65%);
  color: var(--on-brand);
}
.band-deep h2, .band-deep h3 { color: var(--on-brand); }
.band-deep .eyebrow { color: #8FCFC7; }
.band-deep p { color: rgb(250 249 246 / .82); }
.band-deep a:not(.btn) { color: #A7DAD3; }
.band-deep .card {
  background: rgb(250 249 246 / .05); border-color: rgb(250 249 246 / .14);
  box-shadow: none;
}
.band-deep .card h3 { color: var(--on-brand); }
.band-deep .card p { color: rgb(250 249 246 / .7); }
.band-deep .card ul li { color: rgb(250 249 246 / .85); }
.band-deep .card ul .icon { color: #8FCFC7; }
.band-deep .icon-chip { background: rgb(250 249 246 / .1); color: #8FCFC7; }
.flagship { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 64rem) { .flagship { grid-template-columns: 1.1fr 1fr; } }
.flagship-callout {
  border-left: 3px solid var(--cta); padding-left: 1.25rem; margin: 2rem 0 0;
  font-size: 1.0625rem;
}
.flagship-callout p { color: rgb(250 249 246 / .92); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.stat-row .stat .n {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em;
  font-size: 1.75rem; color: var(--on-brand);
}
.stat-row .stat .l { font-size: 0.8125rem; color: rgb(250 249 246 / .65); }

/* ── Pricing ──────────────────────────────────────────────────────────── */
.billing-toggle {
  display: inline-flex; padding: 0.25rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); gap: 0.25rem; margin-inline: auto;
}
.billing-toggle button {
  border: none; background: transparent; border-radius: 999px;
  padding: 0.5rem 1.125rem; font-size: 0.9375rem; font-weight: 600; color: var(--ink-muted);
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.billing-toggle button[aria-pressed="true"] { background: var(--brand); color: var(--on-brand); }
.billing-toggle .chip {
  font-size: 0.71875rem; font-weight: 600; background: rgb(245 158 11 / .18); color: #8A5A00;
  border-radius: 999px; padding: 0.05rem 0.45rem; margin-left: 0.375rem;
}
.billing-toggle button[aria-pressed="true"] .chip { background: rgb(245 158 11 / .9); color: var(--cta-ink); }

.price-cards { display: grid; gap: 1.25rem; margin-top: 2.25rem; align-items: stretch; }
@media (min-width: 64rem) { .price-cards { grid-template-columns: repeat(3, 1fr); } }
.price-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 1.75rem;
  display: flex; flex-direction: column;
}
.price-card.is-popular { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-pop); }
.popular-badge {
  position: absolute; top: -0.8125rem; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: var(--on-brand); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.04em; padding: 0.25rem 0.875rem; border-radius: 999px; white-space: nowrap;
}
.price-card .tier-name { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; font-size: 1.375rem; color: var(--ink-heading); }
.price-card .tagline { font-size: 0.9063rem; color: var(--ink-muted); margin-top: 0.25rem; min-height: 2.9em; }
/* min-height reserves the ANNUAL state's taller wrap — the monthly/annual
   toggle must not shift the cards (two strings never wrap alike) */
.price-block { margin-top: 1.25rem; min-height: 6.5rem; }
.price-block .amount {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em;
  font-size: 2.625rem; color: var(--ink-heading); line-height: 1;
}
.price-block .amount .cur { font-size: 1.125rem; vertical-align: 1.05em; margin-right: 0.125rem; font-weight: 600; }
.price-block .amount .period { font-family: var(--font-body); font-size: 1rem; font-weight: 500; color: var(--ink-muted); letter-spacing: -0.011em; }
.price-block .sub { font-size: 0.875rem; color: var(--ink-muted); margin-top: 0.5rem; }
.price-card .seats { border-top: 1px solid var(--line); margin-top: 1.25rem; padding-top: 1.125rem; display: grid; gap: 0.5rem; }
.price-card .seats .row { display: flex; gap: 0.625rem; align-items: flex-start; font-size: 0.9375rem; }
.price-card .seats .icon { color: var(--brand); width: 1.05rem; height: 1.05rem; margin-top: 0.22rem; }
.price-card .seats .free { color: var(--brand); font-weight: 600; }
.price-card .card-cta { margin-top: auto; padding-top: 1.5rem; display: grid; gap: 0.5rem; }
.price-card .trial-note { text-align: center; font-size: 0.8125rem; color: var(--ink-muted); min-height: 1.25em; }

/* Matrix */
/* position:relative so absolutely-positioned .sr-only spans inside the table
   stay clipped by this scroller instead of widening the whole page */
.matrix-scroll { position: relative; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); }
table.matrix { border-collapse: collapse; width: 100%; min-width: 46rem; font-size: 0.9375rem; }
.matrix th, .matrix td { padding: 0.6875rem 1rem; text-align: left; }
.matrix thead th {
  position: sticky; top: 0; background: var(--surface); z-index: 2;
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; font-size: 1rem;
  border-bottom: 1px solid var(--line); text-align: center;
}
.matrix thead th.matrix-feature-col { text-align: left; }
.matrix thead th.is-popular { color: var(--brand); }
.matrix tbody th[scope="row"] { font-weight: 400; color: var(--ink); width: 55%; }
.matrix .matrix-group th {
  font-family: var(--font-body); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--brand); background: var(--page-muted);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.matrix tbody tr:not(.matrix-group):nth-child(odd) { background: rgb(242 240 235 / .45); }
.matrix td { text-align: center; }
.matrix td .icon { margin-inline: auto; color: var(--brand); width: 1.125rem; height: 1.125rem; }
.matrix td.not { color: #C9C5BC; }

/* Camp + daycare cards */
.camp-cards { display: grid; gap: 1.25rem; }
@media (min-width: 64rem) { .camp-cards { grid-template-columns: repeat(3, 1fr); } }
.note-card {
  border: 1px dashed var(--line); border-radius: var(--radius); background: var(--surface);
  padding: 1rem 1.25rem; font-size: 0.9375rem; color: var(--ink-muted);
}

/* FAQ */
.faq { max-width: 46rem; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem;
  align-items: center; padding: 1.125rem 0.25rem; font-weight: 600; color: var(--ink-heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.25rem; color: var(--ink-muted); transition: transform 160ms var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0.25rem 1.25rem; color: var(--ink-muted); }
.faq .answer p + p { margin-top: 0.625rem; }

/* ── Comparison table (why-daybook) ───────────────────────────────────── */
.compare-scroll { position: relative; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-card); }
table.compare { border-collapse: collapse; width: 100%; min-width: 56rem; font-size: 0.9375rem; }
.compare th, .compare td { padding: 0.875rem 1.125rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--font-display); font-weight: 600; font-size: 1rem; background: var(--page-muted); }
.compare thead th.is-daybook { color: var(--brand); }
.compare tbody th[scope="row"] { font-weight: 600; color: var(--ink-heading); width: 17%; }
.compare td.is-daybook { background: var(--brand-tint); font-weight: 500; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }
.compare .cell-note { display: block; font-size: 0.8125rem; color: var(--ink-muted); font-weight: 400; margin-top: 0.25rem; }

/* ── Industry cards ───────────────────────────────────────────────────── */
.industry-card { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: box-shadow 180ms var(--ease), border-color 180ms var(--ease), transform 180ms var(--ease); }
.industry-card:hover { text-decoration: none; box-shadow: var(--shadow-pop); border-color: #CFCBC2; transform: translateY(-2px); }
.industry-card .go { margin-top: auto; padding-top: 1rem; color: var(--brand); font-weight: 600; font-size: 0.9375rem; display: inline-flex; gap: 0.375rem; align-items: center; }
.industry-card .flag {
  font-size: 0.71875rem; font-weight: 600; color: #8A5A00; background: rgb(245 158 11 / .16);
  border-radius: 999px; padding: 0.15rem 0.625rem; margin-left: auto;
}
.industry-card .card-top { display: flex; align-items: center; }

/* ── CTA band ─────────────────────────────────────────────────────────── */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band p { margin: 1rem auto 0; }
.cta-band .hero-ctas { margin-top: 2rem; }
.cta-band .cta-note { color: rgb(250 249 246 / .6); }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer {
  background: linear-gradient(160deg, var(--brand-deep), #0E3A37 70%);
  border-top: 1px solid rgb(250 249 246 / .12); padding-block: 3.5rem 2.5rem;
  color: var(--on-brand);
}
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer .brand-lockup img { width: 1.625rem; height: 1.625rem; }
.site-footer .brand-lockup .wordmark { font-size: 1.125rem; }
.footer-tag { margin-top: 0.875rem; font-size: 0.9375rem; color: rgb(250 249 246 / .68); max-width: 28ch; }
.footer-col h4 { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #8FCFC7; margin-bottom: 0.875rem; font-family: var(--font-body); }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 0.625rem; }
.footer-col a { color: rgb(250 249 246 / .85); font-size: 0.9375rem; }
.footer-col a:hover { color: #A7DAD3; }
.footer-legal {
  margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgb(250 249 246 / .15);
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between;
  font-size: 0.875rem; color: rgb(250 249 246 / .6);
}
.footer-legal a { color: #8FCFC7; }

/* ── Page hero (interior pages) ───────────────────────────────────────── */
.page-hero {
  padding-block: 3.5rem 3.25rem;
  background: linear-gradient(155deg, var(--brand-deep), #0E3A37 72%);
}
@media (min-width: 48rem) { .page-hero { padding-block: 4.5rem 4rem; } }
.page-hero h1 { max-width: 24ch; color: var(--on-brand); }
.page-hero .eyebrow { color: #8FCFC7; }
.page-hero .lede { margin-top: 1.125rem; max-width: 54ch; color: rgb(250 249 246 / .8); }
.page-hero.centered { text-align: center; }
.page-hero.centered h1, .page-hero.centered .lede { margin-inline: auto; }

/* ── Prose (about page etc.) ──────────────────────────────────────────── */
/* About: founder story — text beside the Red Seal fireplace photo */
.founder { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 64rem) { .founder { grid-template-columns: 1.15fr 0.85fr; } }
.founder figure { margin: 0; }
.founder img { width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.founder figcaption { font-size: 0.875rem; color: var(--ink-muted); margin-top: 0.75rem; }
.founder p { color: var(--ink); }
.founder p + p { margin-top: 1rem; }
.founder .sig { font-weight: 600; margin-top: 1.5rem; }

.prose { max-width: 44rem; }
.prose h2 { margin: 2.5rem 0 0.875rem; font-size: 1.5rem; }
.prose p + p { margin-top: 1rem; }
.prose p { color: var(--ink); }
