/* KidRun - kidrun.app */

:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --card: #ffffff;
  --card-alt: #f5f5f7;
  --text: #1d1d1f;
  --text-2: #6e6e73;
  --text-3: #86868b;
  --line: rgba(0, 0, 0, 0.1);
  --link: #0066cc;
  --accent: #ffb81f;
  --accent-strong: #e59c00;
  --accent-ink: #1d1d1f;
  --accent-soft: rgba(255, 184, 31, 0.16);
  --pink: #ff2d55;
  --orange: #ff9500;
  --blue: #007aff;
  --green: #34c759;
  --purple: #af52de;
  --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.2);
  --radius: 28px;
  --max: 1080px;
  --nav-h: 52px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #101012;
    --card: #1c1c1e;
    --card-alt: #2c2c2e;
    --text: #f5f5f7;
    --text-2: #a1a1a6;
    --text-3: #8e8e93;
    --line: rgba(255, 255, 255, 0.14);
    --link: #2997ff;
    --accent: #ffc238;
    --accent-strong: #ffc238;
    --accent-soft: rgba(255, 194, 56, 0.16);
    --pink: #ff375f;
    --orange: #ff9f0a;
    --blue: #0a84ff;
    --green: #30d158;
    --purple: #bf5af2;
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.06);
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.03em; line-height: 1.07; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--card); padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 760px; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text); font-size: 14px; opacity: 0.85; }
.nav-links a:hover { opacity: 1; text-decoration: none; }
.nav-links a[aria-current="page"] { opacity: 1; font-weight: 600; }
.nav-links a.btn-primary { color: var(--accent-ink); opacity: 1; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; margin-right: -8px; color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; display: block; }

@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 22px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.open .nav-links { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links li:last-child { border-bottom: 0; padding-top: 14px; }
  .nav-links a { display: block; padding: 14px 0; font-size: 17px; }
  .nav-links .btn { display: inline-flex; padding: 10px 18px; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.btn-dark { background: var(--text); color: var(--bg); }
.btn-sm { padding: 7px 14px; font-size: 14px; }
.btn[aria-disabled="true"] { cursor: default; }
.btn svg { width: 18px; height: 18px; flex: none; }

.link-arrow { font-size: 17px; font-weight: 400; }
.link-arrow::after { content: " \203A"; }

.appstore-badge { display: inline-block; line-height: 0; }
.appstore-badge img { height: 55px; width: auto; }

/* ---------- Sections ---------- */

.section { padding: 120px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: #000; color: #f5f5f7; --text: #f5f5f7; --text-2: #a1a1a6; --card: #1c1c1e; --card-alt: #2c2c2e; --line: rgba(255,255,255,.14); --link: #2997ff; --accent: #ffc238; }
.eyebrow { font-size: 17px; font-weight: 600; color: var(--accent-strong); margin-bottom: 12px; letter-spacing: -0.01em; }
.section-dark .eyebrow { color: var(--accent); }
.headline { font-size: clamp(40px, 6vw, 64px); }
.headline-md { font-size: clamp(32px, 4.6vw, 48px); }
.lede { font-size: clamp(19px, 2.2vw, 24px); line-height: 1.38; color: var(--text-2); letter-spacing: -0.015em; font-weight: 400; }
.lede strong { color: var(--text); font-weight: 600; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.stack > * + * { margin-top: 20px; }

@media (max-width: 720px) {
  .section { padding: 80px 0; }
}

/* ---------- Hero ---------- */

.hero { padding: 72px 0 0; text-align: center; overflow: hidden; position: relative; }
.hero-icon { width: 104px; height: 104px; margin: 0 auto 24px; border-radius: 24px; box-shadow: 0 12px 30px -10px rgba(229, 156, 0, 0.55); }
.hero h1 { font-size: clamp(48px, 8.5vw, 96px); letter-spacing: -0.045em; line-height: 1.02; }
.hero h1 .hl {
  background: linear-gradient(100deg, var(--orange) 0%, var(--accent) 45%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede { max-width: 640px; margin: 22px auto 0; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px 28px; margin-top: 36px; }
.hero-meta { margin-top: 16px; font-size: 14px; color: var(--text-3); letter-spacing: -0.01em; }

.hero-stage { position: relative; margin: 8px auto 0; max-width: 980px; height: 620px; }
.hero-stage .phone, .hero-stage .device { position: absolute; left: 50%; bottom: -150px; }
.device picture { display: block; }
.device img { display: block; width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.3)); }
.hero-stage .phone-main { width: 320px; transform: translateX(-50%); z-index: 3; }
.hero-stage .phone-left { width: 270px; transform: translateX(-118%) rotate(-6deg); z-index: 2; bottom: -210px; }
.hero-stage .phone-right { width: 270px; transform: translateX(18%) rotate(6deg); z-index: 2; bottom: -210px; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5; z-index: 0; pointer-events: none; }
.glow-a { width: 420px; height: 420px; background: var(--accent); left: 50%; top: 120px; transform: translateX(-50%); }
.glow-b { width: 300px; height: 300px; background: var(--pink); left: 8%; top: 260px; opacity: 0.25; }
.glow-c { width: 300px; height: 300px; background: var(--blue); right: 8%; top: 260px; opacity: 0.25; }
@media (prefers-color-scheme: dark) { .glow { opacity: 0.28; } .glow-b, .glow-c { opacity: 0.18; } }

@media (max-width: 860px) {
  .hero-stage { height: 520px; }
  .hero-stage .phone-main { width: 270px; }
  .hero-stage .phone-left, .hero-stage .phone-right { width: 220px; }
}
@media (max-width: 560px) {
  .hero { padding-top: 48px; }
  .hero-icon { width: 84px; height: 84px; border-radius: 20px; }
  .hero-stage { height: 440px; margin-top: 56px; }
  .hero-stage .phone-main { width: 240px; bottom: -120px; }
  .hero-stage .phone-left { width: 190px; transform: translateX(-102%) rotate(-6deg); bottom: -170px; }
  .hero-stage .phone-right { width: 190px; transform: translateX(2%) rotate(6deg); bottom: -170px; }
}

/* ---------- Phone frame ---------- */

.phone {
  position: relative;
  padding: 3.4%;
  border-radius: 15% / 7%;
  background: linear-gradient(145deg, #3a3a3c, #1c1c1e 40%, #0b0b0c);
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
}
.phone picture { display: block; }
.phone img { width: 100%; height: auto; aspect-ratio: 1206 / 2622; border-radius: 12.4% / 5.7%; background: #000; }
.phone::after {
  /* Dynamic Island */
  content: "";
  position: absolute;
  top: 4.6%;
  left: 50%;
  width: 29%;
  height: 3.1%;
  transform: translateX(-50%);
  background: #000;
  border-radius: 999px;
}

/* ---------- Statement ---------- */

.statement { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 700; max-width: 920px; }
.statement .k-pink { color: var(--pink); }
.statement .k-blue { color: var(--blue); }
.statement .k-green { color: var(--green); }
.statement .k-purple { color: var(--purple); }
.statement .muted { color: var(--text-3); }

/* ---------- Split feature ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-rev .split-media { order: -1; }
.split-media { display: flex; justify-content: center; position: relative; }
.split-media .phone, .split-media .device { width: 300px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 56px; }
  .split-rev .split-media { order: 0; }
  .split-media .phone, .split-media .device { width: 260px; }
}

.points { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
.points li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.points h3 { font-size: 19px; letter-spacing: -0.02em; line-height: 1.25; margin-bottom: 2px; }
.points p { color: var(--text-2); font-size: 17px; }
.pi {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.pi svg { width: 22px; height: 22px; }
.pi-blue { background: color-mix(in srgb, var(--blue) 14%, transparent); color: var(--blue); }
.pi-pink { background: color-mix(in srgb, var(--pink) 14%, transparent); color: var(--pink); }
.pi-green { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); }
.pi-purple { background: color-mix(in srgb, var(--purple) 14%, transparent); color: var(--purple); }
.pi-orange { background: color-mix(in srgb, var(--orange) 14%, transparent); color: var(--orange); }

/* ---------- Lock Screen mock (Live Activity + notifications) ---------- */

.lock {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 40px 18px 24px;
  border-radius: 44px;
  background:
    radial-gradient(120% 80% at 20% 0%, #3b5bdb 0%, transparent 60%),
    radial-gradient(120% 90% at 100% 100%, #c2255c 0%, transparent 55%),
    linear-gradient(180deg, #1b1f3b, #0b0b14);
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.lock-date { text-align: center; font-size: 17px; font-weight: 600; opacity: 0.85; letter-spacing: -0.01em; }
.lock-time { text-align: center; font-size: 84px; font-weight: 700; letter-spacing: -0.04em; line-height: 1; margin: 2px 0 28px; }
.glass {
  background: rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
}
.la { padding: 16px; }
.la-top { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 18px;
  color: #fff;
  flex: none;
  letter-spacing: 0;
}
.av-pink { background: var(--pink); }
.av-blue { background: var(--blue); }
.av-orange { background: var(--orange); }
.av-green { background: var(--green); }
.av-purple { background: var(--purple); }
.la-title { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.la-sub { font-size: 13px; opacity: 0.75; letter-spacing: -0.005em; }
.la-count { margin-left: auto; text-align: right; white-space: nowrap; }
.la-count b { display: block; font-size: 26px; font-weight: 600; color: #ffc238; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1.1; }
.la-count span { font-size: 12px; opacity: 0.75; }
.la-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.la-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.la-btn svg { width: 16px; height: 16px; }
.la-btn-yellow { background: #ffc238; color: #1d1d1f; }
.notif { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; margin-top: 10px; }
.notif img { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.notif-body { min-width: 0; flex: 1; }
.notif-head { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.notif-head span { font-weight: 400; opacity: 0.65; font-size: 13px; }
.notif p { font-size: 14px; line-height: 1.3; opacity: 0.92; letter-spacing: -0.005em; }

/* ---------- Bento ---------- */

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 64px; }
.tile {
  grid-column: span 2;
  background: var(--card);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
  position: relative;
  min-height: 280px;
}
.tile-wide { grid-column: span 3; }
.tile-xl { grid-column: span 4; }
.tile h3 { font-size: 24px; letter-spacing: -0.025em; line-height: 1.15; }
.tile p { color: var(--text-2); font-size: 17px; line-height: 1.4; }
.tile .tag { font-size: 14px; font-weight: 600; color: var(--accent-strong); letter-spacing: -0.01em; }
.tile-visual { margin-top: auto; padding-top: 20px; }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile-wide, .tile-xl { grid-column: span 1; }
  .tile-xl { grid-column: span 2; }
}
@media (max-width: 620px) {
  .bento { grid-template-columns: 1fr; gap: 16px; }
  .tile, .tile-wide, .tile-xl { grid-column: span 1; min-height: 0; padding: 28px 24px; }
}

/* Widget mocks */
.widgets { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.w-small {
  width: 158px;
  height: 158px;
  border-radius: 24px;
  padding: 14px;
  background: var(--card-alt);
  display: flex;
  flex-direction: column;
  font-size: 13px;
  letter-spacing: -0.01em;
  box-shadow: 0 1px 0 var(--line);
}
.w-small .w-label { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--orange); letter-spacing: 0.02em; }
.w-small .w-title { font-size: 17px; font-weight: 600; margin-top: 4px; line-height: 1.15; }
.w-small .w-sub { color: var(--text-2); font-size: 13px; }
.w-row { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; color: var(--text-2); font-size: 12px; }
.w-row + .w-row { margin-top: 2px; padding-top: 0; }
.w-row span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-small .w-title, .w-small .w-label { white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.d-pink { background: var(--pink); }
.d-blue { background: var(--blue); }
.d-orange { background: var(--orange); }
.d-green { background: var(--green); }
.d-purple { background: var(--purple); }
.w-lock {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  border-radius: 18px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #2b3a67, #5b2a58);
  color: #fff;
}
.w-lock .w-inline { font-size: 13px; opacity: 0.85; display: flex; align-items: center; gap: 6px; }
.w-lock .w-rect { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.18); font-size: 13px; line-height: 1.35; }
.w-lock .w-rect b { font-weight: 600; display: block; font-size: 15px; }
.w-lock svg { width: 14px; height: 14px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--card-alt);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}
.chip svg { width: 14px; height: 14px; }
.chip-on { background: var(--accent); color: var(--accent-ink); }
.chip-strike { text-decoration: line-through; color: var(--text-2); }
.chip-blue { background: color-mix(in srgb, var(--blue) 14%, transparent); color: var(--blue); }
.chip-pink { background: color-mix(in srgb, var(--pink) 14%, transparent); color: var(--pink); }
.chip-green { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); }

/* Segmented control */
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--card-alt); gap: 2px; }
.seg span { padding: 8px 22px; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--text-2); }
.seg .on { background: var(--card); color: var(--text); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
@media (prefers-color-scheme: dark) { .seg .on { background: #636366; } }

/* Mini notification inside tiles */
.mini-notif { display: flex; gap: 10px; padding: 12px; border-radius: 18px; background: var(--card-alt); align-items: flex-start; }
.mini-notif img { width: 30px; height: 30px; border-radius: 7px; flex: none; }
.mini-notif b { font-size: 14px; font-weight: 600; display: block; letter-spacing: -0.01em; }
.mini-notif span { font-size: 14px; color: var(--text-2); line-height: 1.35; display: block; }
.mini-notif > div { min-width: 0; }
.mini-notif b, .mini-notif span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Kid avatars row */
.kids { display: flex; gap: 10px; flex-wrap: wrap; }
.kids .avatar { width: 48px; height: 48px; font-size: 20px; }
.avatar-photo { padding: 2.5px; }
.avatar-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--card); }

/* Week dots */
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.week div { font-size: 12px; color: var(--text-3); font-weight: 600; }
.week strong { display: block; font-size: 20px; color: var(--text); font-weight: 500; margin: 4px auto 6px; width: 36px; height: 36px; line-height: 36px; border-radius: 50%; }
.week .today strong { background: var(--pink); color: #fff; }
.week i { display: flex; gap: 3px; justify-content: center; }
.week .dot { width: 6px; height: 6px; }

/* Big icon tile */
.big-glyph { width: 64px; height: 64px; color: var(--purple); }

/* ---------- Steps ---------- */

.steps { list-style: none; margin: 32px 0 0; padding: 0; counter-reset: step; display: grid; gap: 18px; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; align-items: start; counter-increment: step; }
.steps li::before {
  content: counter(step);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 16px;
}
.steps b { display: block; font-size: 19px; letter-spacing: -0.02em; }
.steps span { color: var(--text-2); }

/* ---------- Privacy grid ---------- */

.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; text-align: left; }
.privacy-grid div { background: var(--card); border-radius: 22px; padding: 26px; }
.privacy-grid svg { width: 30px; height: 30px; color: var(--blue); margin-bottom: 14px; }
.privacy-grid h3 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 6px; line-height: 1.2; }
.privacy-grid p { color: var(--text-2); font-size: 15px; line-height: 1.45; }
@media (max-width: 900px) { .privacy-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .privacy-grid { grid-template-columns: 1fr; } }
.shield { width: 72px; height: 72px; margin: 0 auto 20px; color: var(--blue); }

/* ---------- FAQ ---------- */

.faq { margin-top: 40px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 40px 22px 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  position: relative;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-2);
  border-bottom: 2px solid var(--text-2);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 0 24px; color: var(--text-2); font-size: 17px; }
.faq .answer > * + * { margin-top: 12px; }
.faq .answer a { color: var(--link); }
.faq .answer ul, .faq .answer ol { padding-left: 22px; margin-bottom: 0; }

/* ---------- CTA ---------- */

.cta { text-align: center; }
.cta picture img { width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 22px; }
.cta .hero-cta { margin-top: 32px; }

/* ---------- Doc pages (help, legal) ---------- */

.page-head { padding: 80px 0 48px; text-align: center; }
.page-head h1 { font-size: clamp(40px, 6vw, 64px); }
.page-head .lede { max-width: 620px; margin: 16px auto 0; }
.page-head .updated { margin-top: 16px; font-size: 14px; color: var(--text-3); }

.doc { padding: 0 0 120px; }
.doc h2 { font-size: clamp(26px, 3.4vw, 32px); letter-spacing: -0.025em; margin: 64px 0 16px; line-height: 1.15; }
.doc h3 { font-size: 21px; letter-spacing: -0.02em; margin: 36px 0 10px; line-height: 1.25; }
.doc p, .doc li { color: var(--text); font-size: 17px; line-height: 1.6; }
.doc p + p { margin-top: 14px; }
.doc ul, .doc ol { padding-left: 24px; margin: 14px 0; }
.doc li + li { margin-top: 8px; }
.doc .muted { color: var(--text-2); }
.doc table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); line-height: 1.45; }
.doc th { font-weight: 600; color: var(--text-2); font-size: 13px; text-transform: uppercase; letter-spacing: 0.02em; }
.table-scroll { overflow-x: auto; }
.callout { background: var(--bg-alt); border-radius: 20px; padding: 22px 24px; margin: 24px 0; }
.callout p { color: var(--text); }
.callout-accent { background: var(--accent-soft); }
.placeholder { background: color-mix(in srgb, var(--pink) 18%, transparent); padding: 1px 6px; border-radius: 6px; font-weight: 600; }

.toc { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 32px auto 0; max-width: 820px; }
.toc a { padding: 9px 16px; border-radius: 999px; background: var(--bg-alt); color: var(--text); font-size: 15px; font-weight: 500; }
.toc a:hover { text-decoration: none; background: var(--line); }

.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 8px; }
.guide { background: var(--bg-alt); border-radius: 24px; padding: 30px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.guide .pi { margin-bottom: 16px; }
.guide h3 { margin: 0 0 10px; font-size: 22px; }
.guide ol, .guide ul { margin: 10px 0 0; padding-left: 20px; }
.guide li, .guide p { font-size: 16px; line-height: 1.55; color: var(--text-2); }
.guide li b, .guide p b { color: var(--text); font-weight: 600; }
.guide p + p, .guide p + ol, .guide ol + p, .guide ul + p { margin-top: 10px; }
@media (max-width: 760px) { .guide-grid { grid-template-columns: 1fr; } .guide { padding: 24px; } }

.contact-card { text-align: center; background: var(--bg-alt); border-radius: 28px; padding: 48px 28px; margin-top: 80px; }
.contact-card h2 { margin: 0 0 10px; }
.contact-card p { color: var(--text-2); max-width: 520px; margin: 0 auto; }
.contact-card .btn { margin-top: 24px; }

/* ---------- Footer ---------- */

.footer { background: var(--bg-alt); color: var(--text-2); font-size: 13px; padding: 40px 0 32px; border-top: 1px solid var(--line); }
.footer-top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.footer-brand { display: flex; gap: 12px; align-items: center; color: var(--text); font-weight: 600; font-size: 15px; }
.footer-brand img { width: 36px; height: 36px; border-radius: 9px; }
.footer-brand span { display: block; font-weight: 400; color: var(--text-2); font-size: 13px; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-cols h2 { font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 10px; letter-spacing: -0.01em; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--text); }
.footer-social { display: inline-flex; vertical-align: middle; }
.footer-bottom { padding-top: 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-note { margin-top: 12px; font-size: 12px; color: var(--text-3); line-height: 1.5; }

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: 0.08s; }
.js .reveal-d2 { transition-delay: 0.16s; }
.js .reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .faq summary::after { transition: none; }
}
