/* Albori marketing site, v4.
   Dark ground taken from the app's Wake Mode, the sunrise from its icon.
   Light mode is the app's planning theme. One accent, one radius scale:
   buttons 14px, cards 22px, phones 34px. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/bricolage-grotesque-latin.v1.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark light;
  --page: #0b0a0d;
  --page-2: #110f14;
  --surface: #17151b;
  --raised: #1f1c24;
  --line: rgb(255 247 238 / 10%);
  --line-strong: rgb(255 247 238 / 18%);
  --ink: #fff7ee;
  --muted: #b9afa4;
  --accent: #ff6a33;
  --accent-soft: rgb(255 106 51 / 14%);
  --action: #ff6a33;
  --action-hover: #ff8352;
  --action-ink: #1a0802;
  --glow-warm: rgb(255 106 51 / 26%);
  --glow-sun: rgb(248 155 27 / 22%);
  --glow-dusk: rgb(123 99 211 / 22%);
  --sun-outer: #f89b1b;
  --sun-mid: #fdce40;
  --sun-core: #fcf7b2;
  --case: #1b1a1f;
  --case-line: rgb(255 255 255 / 14%);
  --shadow: 0 24px 60px rgb(0 0 0 / 45%);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --r-btn: 14px;
  --r-card: 22px;
  --r-phone: 34px;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: light) {
  :root {
    --page: #f5f1e9;
    --page-2: #efe9de;
    --surface: #fffdf9;
    --raised: #ede7db;
    --line: #e2dacb;
    --line-strong: #d4cab8;
    --ink: #191510;
    --muted: #665e52;
    --accent: #be3e16;
    --accent-soft: #fbe7de;
    --action: #be3e16;
    --action-hover: #a83512;
    --action-ink: #fffdf9;
    --glow-warm: rgb(222 78 32 / 16%);
    --glow-sun: rgb(248 155 27 / 22%);
    --glow-dusk: rgb(123 99 211 / 12%);
    --shadow: 0 22px 50px rgb(64 40 20 / 18%);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font: 1rem/1.6 var(--body);
  overflow-x: clip;
}
:where(h1, h2, h3, p, figure, dl, dd, blockquote) { margin: 0; }
:where(h1, h2, h3) {
  font-family: var(--display);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.9rem, 6.6vw, 5.4rem); line-height: 0.98; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 0.22em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
[id] { scroll-margin-top: 5.5rem; }
.icon { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; }

.wrap { width: min(100% - 48px, 1160px); margin-inline: auto; }
.lede { max-width: 52ch; color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.55; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head .lede { margin-top: 14px; }
.center { text-align: center; margin-inline: auto; }
.center .lede { margin-inline: auto; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  min-height: 44px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}
.text-link .icon { transition: transform 200ms var(--ease-out); }
.text-link:hover .icon { transform: translateX(3px); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 30;
  padding: 10px 16px;
  border-radius: var(--r-btn);
  background: var(--surface);
  transform: translateY(calc(-100% - 24px));
}
.skip-link:focus { transform: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 66px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
  font: 780 1.42rem/1 var(--display);
  letter-spacing: -0.035em;
  text-decoration: none;
}
.brand svg { flex: none; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); margin-inline-start: auto; }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
.nav-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  color: var(--action-ink);
  background: var(--action);
  box-shadow: 0 10px 26px var(--glow-warm);
  font-size: 1rem;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
.btn:hover { background: var(--action-hover); }
.btn:active { transform: scale(0.97); }
.btn.small { min-height: 42px; padding-inline: 16px; font-size: 0.92rem; box-shadow: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); box-shadow: none; }
.btn.ghost:hover { background: var(--raised); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 30px; }
.ticks { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 16px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.9rem; font-weight: 600; }
.ticks li { display: inline-flex; align-items: center; gap: 7px; }
.ticks .icon { color: var(--accent); width: 0.95em; height: 0.95em; }

/* Glow backdrop: hero only. Static, so nothing repaints on scroll. */
.glow { position: relative; isolation: isolate; }
.glow::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent);
  mask-image: linear-gradient(to bottom, #000 55%, transparent);
  background:
    radial-gradient(60% 70% at 88% 0%, var(--glow-sun), transparent 70%),
    radial-gradient(45% 55% at 100% 10%, var(--glow-warm), transparent 72%),
    radial-gradient(50% 60% at 0% 100%, var(--glow-dusk), transparent 70%);
}

/* The layered sun: three discs in the icon's proportions (1, 0.72, 0.46). */
.sun {
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle closest-side, var(--sun-core) 0 46%, var(--sun-mid) 46% 72%, var(--sun-outer) 72% 100%, transparent 100%);
  box-shadow: 0 0 120px 30px rgb(248 155 27 / 30%);
}

/* Phone frame around real screenshots */
.phone {
  position: relative;
  padding: 7px;
  border: 1px solid var(--case-line);
  border-radius: var(--r-phone);
  background: var(--case);
  box-shadow: var(--shadow);
}
.phone img { width: 100%; border-radius: calc(var(--r-phone) - 7px); }

/* Hero (home and every landing page) */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-top: 18px; }
.hero .lede { margin-top: 22px; max-width: 36ch; }
.stage {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: clamp(460px, 48vw, 600px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: #1a1424;
  isolation: isolate;
}
.stage-sky { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.stage .sun { position: absolute; left: 50%; bottom: 14%; width: min(78%, 420px); margin-left: calc(min(78%, 420px) / -2); z-index: -1; opacity: 0.95; }
.stage .phone { width: min(56%, 270px); margin-bottom: -18%; }
.stage.photo { place-items: stretch; }
.stage.photo > img { width: 100%; height: 100%; object-fit: cover; }

/* Timeline: ring, task, check */
.timeline { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.timeline li { position: relative; padding: 30px clamp(14px, 2.4vw, 32px) 0 0; }
.timeline li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}
.timeline time { display: block; font: 760 clamp(2.4rem, 4.6vw, 3.6rem)/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.timeline h3 { margin-top: 14px; }
.timeline p { margin-top: 8px; color: var(--muted); max-width: 32ch; }

/* Task board: tasks grouped by outcome */
.board { display: grid; gap: clamp(28px, 4vw, 44px); }
.board-group { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.board-group > h3 { padding-top: 14px; color: var(--muted); font-size: 1rem; letter-spacing: 0; }
.board-group > h3 span { display: block; margin-top: 4px; color: var(--ink); font-size: 1.5rem; letter-spacing: -0.025em; }
.task-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 12px; }
.task-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  align-content: start;
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 180ms ease, transform 200ms var(--ease-out), background-color 180ms ease;
}
.task-card .badge { grid-row: span 3; }
.task-card h4 { margin: 2px 0 0; font: 740 1.15rem/1.2 var(--display); letter-spacing: -0.02em; }
.task-card p { color: var(--muted); font-size: 0.94rem; line-height: 1.45; }
.task-card .meta { margin-top: 6px; color: var(--muted); font-size: 0.8rem; font-weight: 650; }
@media (hover: hover) and (pointer: fine) {
  .task-card:hover { border-color: var(--line-strong); background: var(--raised); transform: translateY(-2px); }
}
.badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.35rem;
}

/* Generic split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split > .media { order: -1; }
.split.media-end > .media { order: 1; }
.split .lede { margin-top: 16px; }
.media-frame {
  display: grid;
  place-items: center;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px) 0;
  overflow: hidden;
  max-height: 620px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: radial-gradient(70% 60% at 50% 100%, var(--glow-sun), transparent 70%), var(--surface);
}
.media-frame .phone { width: min(68%, 290px); }
.media-frame.photo { padding: 0; max-height: none; }
.media-frame.photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.check-list { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.check-list li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; color: var(--muted); }
.check-list .icon { margin-top: 0.28em; color: var(--accent); }
.check-list strong { color: var(--ink); }
.note { margin-top: 22px; padding-left: 14px; border-left: 2px solid var(--accent); color: var(--muted); font-size: 0.95rem; max-width: 52ch; }

/* Facts: duration, permission, effort as display type */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 34px; border-block: 1px solid var(--line); }
.facts div { padding: 20px 16px 20px 0; }
.facts div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 0.82rem; font-weight: 650; }
.facts dd { margin-top: 6px; font: 750 clamp(1.3rem, 2.4vw, 1.8rem)/1.1 var(--display); letter-spacing: -0.03em; }

/* Levels */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0; padding: 0; list-style: none; }
.level {
  display: grid;
  align-content: space-between;
  gap: 26px;
  min-height: 250px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}
.level.standard { background: linear-gradient(180deg, var(--accent-soft), transparent 70%), var(--surface); border-color: var(--line-strong); }
.level .name { color: var(--muted); font-weight: 700; font-size: 0.95rem; }
.level .count { font: 780 clamp(3.4rem, 7vw, 5rem)/0.9 var(--display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.level .count small { display: block; margin-top: 10px; color: var(--accent); font-size: 1.1rem; letter-spacing: -0.01em; }
.level .count.word { font-size: clamp(1.6rem, 2.8vw, 2.1rem); line-height: 1.08; letter-spacing: -0.03em; }
.level p { color: var(--muted); }

/* Bands: one framed panel with the glow inside */
.band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(30px, 5vw, 60px);
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--r-card) + 6px);
  background: var(--page-2);
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(55% 80% at 100% 0%, var(--glow-warm), transparent 70%),
    radial-gradient(50% 70% at 0% 100%, var(--glow-dusk), transparent 70%);
}
.band-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.band .lede { margin-top: 14px; }
.band .sun { width: min(100%, 220px); justify-self: center; }
.band-phone { align-self: end; justify-self: center; width: min(100%, 240px); margin-bottom: calc(-1 * clamp(30px, 5vw, 60px)); }
.band-phone .phone { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }

/* Check options (quick vs strong) */
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.option { padding: 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.option h3 { font-size: 1.15rem; }
.option p { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.chips li { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--ink); font-size: 0.88rem; font-weight: 650; font-variant-numeric: tabular-nums; }

/* Full-bleed photo with a statement */
.photo-band { position: relative; display: grid; align-items: end; min-height: clamp(440px, 52vw, 640px); overflow: hidden; isolation: isolate; }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.photo-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(11 10 13 / 0%) 35%, rgb(11 10 13 / 90%) 100%); }
.photo-band .wrap { padding-block: clamp(40px, 6vw, 72px); }
.photo-band h2 { max-width: 15ch; color: #fff7ee; }
.photo-band p { margin-top: 12px; max-width: 46ch; color: rgb(255 247 238 / 84%); font-size: 1.1rem; }

/* Two cards with a phone rising from the bottom edge */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.duo-card {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 26px;
  max-height: 560px;
  padding: clamp(22px, 3vw, 34px) clamp(22px, 3vw, 34px) 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
}
.duo-card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.duo-card p { margin-top: 10px; color: var(--muted); }
.duo-card .phone { width: min(62%, 250px); justify-self: center; align-self: start; }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 880px; }
.plan { display: grid; justify-items: start; gap: 12px; padding: clamp(24px, 4vw, 34px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.plan.featured { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), transparent 60%), var(--surface); }
.plan h3 { font-size: 1.2rem; }
.plan p:not(.price) { color: var(--muted); }
.price { font: 780 clamp(2.4rem, 5vw, 3.4rem)/1 var(--display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font: 650 0.95rem var(--body); letter-spacing: 0; }
.plan .btn { margin-top: 6px; }
.fine { margin-top: 18px; max-width: 72ch; color: var(--muted); font-size: 0.88rem; }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(20px, 6vw, 80px); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 56px;
  padding-block: 16px;
  font-weight: 680;
  font-size: 1.04rem;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+" / ""; flex: none; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform 200ms var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > div { padding-bottom: 18px; color: var(--muted); max-width: 64ch; }
.faq-list details > div p + p { margin-top: 10px; }
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 { margin-bottom: 14px; font-size: clamp(1.5rem, 3vw, 2rem); }

/* Guide links row */
.guide-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 14px; padding: 0; list-style: none; }
.guide-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 64px; padding: 16px 0; border-top: 1px solid var(--line-strong); color: var(--ink); font-weight: 680; text-decoration: none; }
.guide-links a:hover { color: var(--accent); }
.guide-links .icon { color: var(--accent); }

/* Numbered how-to steps on article pages */
.steps { counter-reset: s; display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); color: var(--muted); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); font-weight: 780; }
.steps strong { color: var(--ink); }

/* Section rhythm and page-level pieces used by the generated pages */
.section.tight { padding-top: clamp(24px, 4vw, 48px); }
.section.tight-top { padding-top: 0; }
.spaced { margin-top: 14px; }
.after-facts { margin-top: 18px; }
.statement { max-width: 880px; }
.statement p { margin-top: 18px; max-width: 34ch; font: 650 clamp(1.4rem, 2.6vw, 2rem)/1.3 var(--display); letter-spacing: -0.02em; }
.why-points .check-list { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 30px; margin-top: 34px; }
.band.spec { display: grid; gap: 4px; padding: clamp(24px, 4vw, 40px); }
.band.spec h3 { margin-top: 18px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.band.spec .facts { grid-template-columns: 1fr; margin-top: 18px; border-bottom: 0; }
.band.spec .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
.option .badge { width: 40px; height: 40px; border-radius: 12px; font-size: 1.15rem; }
.pick { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.pick > li { display: grid; gap: 4px; padding: 20px 0; border-top: 1px solid var(--line-strong); }
.pick > li:last-child { border-bottom: 1px solid var(--line-strong); }
.pick > li > p { font: 700 clamp(1.15rem, 2vw, 1.4rem)/1.25 var(--display); letter-spacing: -0.02em; }
.pick .chips a { color: inherit; text-decoration: none; }
.pick .chips li:has(a:hover) { border-color: var(--accent); color: var(--accent); }
.faq-page { max-width: 820px; }

/* Closing CTA */
.closing { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 110px); }
.closing .band-grid { grid-template-columns: 0.5fr 1.5fr; }
.closing h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }

/* Footer */
.site-footer { padding: clamp(44px, 6vw, 72px) 0 24px; border-top: 1px solid var(--line); background: var(--page-2); color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 0.9fr; gap: 24px; }
.footer-grid > div:first-child p { max-width: 28ch; margin-top: 8px; }
.footer-label { padding-top: 10px; color: var(--ink); font-weight: 750; font-size: 0.92rem; }
.site-footer ul { margin: 6px 0 0; padding: 0; list-style: none; }
.site-footer li a { display: inline-flex; align-items: center; min-height: 40px; color: var(--muted); font-size: 0.94rem; text-decoration: none; }
.site-footer li a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.84rem; }

/* Article and legal pages (guides, support, privacy, terms) */
.article-hero { padding-top: clamp(36px, 7vw, 80px); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0 8px; margin-bottom: 16px; color: var(--muted); font-size: 0.88rem; }
.breadcrumbs a { display: inline-flex; align-items: center; min-height: 32px; }
.article-hero h1 { max-width: 20ch; font-size: clamp(2.4rem, 6vw, 4.4rem); }
.article-hero .lede { margin-top: 18px; }
.byline { margin-top: 16px; color: var(--muted); font-size: 0.88rem; }
.article-body, .legal-body { max-width: 70ch; padding-block: 24px clamp(48px, 8vw, 96px); color: var(--muted); font-size: 1.04rem; }
.article-body h2, .legal-body h2 { margin: 1.7em 0 0.6em; color: var(--ink); font-size: clamp(1.6rem, 3.6vw, 2.3rem); text-wrap: pretty; }
.article-body h3, .legal-body h3 { margin: 1.2em 0 0.5em; color: var(--ink); }
.article-body p + p, .legal-body p + p { margin-top: 14px; }
.article-body ul, .article-body ol, .legal-body ul { padding-left: 1.2em; }
.article-body li + li, .legal-body li + li { margin-top: 8px; }
.article-body strong, .legal-body strong { color: var(--ink); }
.callout, .how-with, .article-cta { margin-top: 26px; padding: clamp(18px, 4vw, 28px); border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.article-cta { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; border-color: var(--line-strong); background: linear-gradient(120deg, var(--accent-soft), transparent 70%), var(--surface); }
.how-with h2:first-child, .article-cta h2:first-child { margin-top: 0; }
.article-cta h2 { font-size: 1.5rem; }
.related { padding: 40px 0 clamp(52px, 7vw, 84px); border-top: 1px solid var(--line); }
.related h2, .guide-catalog h2 { margin-bottom: 18px; font-size: clamp(1.7rem, 3.6vw, 2.3rem); }
.guide-catalog { padding-top: 36px; }
.guide-group + .guide-group { margin-top: 40px; }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.guide-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.guide-card:hover { border-color: var(--line-strong); background: var(--raised); }
.guide-card p { color: var(--muted); }
.guide-card .more { color: var(--accent); font-size: 0.9rem; font-weight: 700; }
.updated { color: var(--muted); font-size: 0.88rem; }

/* Motion: load stagger, sunrise, scroll reveal. Reduced motion keeps none of it. */
@media (prefers-reduced-motion: no-preference) {
  .rise > * { animation: rise 700ms var(--ease-out) both; }
  .rise > *:nth-child(2) { animation-delay: 70ms; }
  .rise > *:nth-child(3) { animation-delay: 140ms; }
  .rise > *:nth-child(4) { animation-delay: 210ms; }
  .rise > *:nth-child(5) { animation-delay: 280ms; }
  .stage .sun { animation: sunrise 1400ms var(--ease-out) 120ms both; }
  .stage .phone { animation: lift 900ms var(--ease-out) 260ms both; }
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes lift { from { opacity: 0; transform: translateY(40px); } }
@keyframes sunrise { from { opacity: 0; transform: translateY(30%) scale(0.92); } }

/* Responsive */
@media (max-width: 1020px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .site-header .wrap { flex-wrap: wrap; gap: 10px; padding-block: 10px; }
  .brand { margin-inline-end: auto; }
  .site-nav { order: 3; flex: 1 0 100%; flex-wrap: wrap; gap: 0 20px; margin: 0; }
  .navigation-ready .nav-toggle {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--r-btn);
    background: transparent;
    color: var(--ink);
    font: 680 0.92rem var(--body);
    cursor: pointer;
  }
  .navigation-ready .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    padding: 12px 24px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--page);
  }
  .navigation-ready .nav-toggle[aria-expanded="true"] + .site-nav { display: grid; grid-template-columns: 1fr 1fr; }
  .board-group { grid-template-columns: 1fr; gap: 10px; }
  .board-group > h3 { padding-top: 0; }
}
@media (max-width: 800px) {
  .hero-grid, .split, .band-grid, .closing .band-grid, .faq-layout { grid-template-columns: 1fr; }
  .split > .media, .split.media-end > .media { order: 1; }
  .timeline { grid-template-columns: 1fr; gap: 30px; padding-left: 24px; border-top: 0; border-left: 1px solid var(--line-strong); }
  .timeline li { padding: 0; }
  .timeline li::before { top: 14px; left: -30px; }
  .levels, .options, .duo, .plans { grid-template-columns: 1fr; }
  .level { min-height: 0; }
  .guide-links { grid-template-columns: 1fr; gap: 0; }
  .closing .sun { width: 120px; justify-self: start; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .navigation-ready .site-nav { padding-inline: 16px; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .stage { min-height: 420px; }
  .stage .phone { width: 62%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-row .btn { width: 100%; }
}
