/* Pawfer site. Tokens first; every color below derives from these. */
:root {
  --grape: #5B3FD9;
  --grape-deep: #4128B5;
  --night: #170F38;
  --night-2: #221A4D;
  --clicker: #FF8A3D;
  --clicker-lip: #D8621B;
  --apricot: #FFB27A;
  --fawn: #E3A877;

  --paper: #F4F1FF;
  --card: #FFFFFF;
  --ink: #1C1640;
  --muted: #5E5880;
  --line: #E1DBF6;
  --chip: #ECE7FF;
  --accent-text: #5B3FD9;
  --focus: #FF8A3D;
  --band: #170F38;

  --f-display: 'Fredoka', ui-rounded, system-ui, sans-serif;
  --f-body: 'Figtree', system-ui, sans-serif;
  --f-mono: 'DM Mono', ui-monospace, Menlo, monospace;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-lg: 32px;
  --r-md: 22px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #110B2A;
    --card: #1D1644;
    --ink: #F3F0FF;
    --muted: #ABA4D0;
    --line: #2D2560;
    --chip: #2A2160;
    --accent-text: #A996FF;
    --band: #241A5C;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #110B2A; --card: #1D1644; --ink: #F3F0FF; --muted: #ABA4D0;
  --line: #2D2560; --chip: #2A2160; --accent-text: #A996FF; --band: #241A5C; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-text); font-weight: 600; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: .02em; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.04; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }

/* ---------- Top bar ---------- */
.top { position: absolute; inset: 0 0 auto; z-index: 20; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 600 26px/1 var(--f-display); letter-spacing: -.01em; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 4px 0 rgba(0,0,0,.18); }
.top nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); }
.top nav a { color: rgba(255,255,255,.86); text-decoration: none; font-size: 15px; }
.top nav a:hover { color: #fff; }
.top nav .hide-sm { display: inline; }
@media (max-width: 640px) { .top nav .hide-sm { display: none; } }

/* ---------- Buttons ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px 13px; border-radius: 999px;
  font: 600 17px/1 var(--f-display); letter-spacing: .005em; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.pill-store { background: #fff; color: var(--night); box-shadow: 0 5px 0 rgba(23,15,56,.35); }
.pill-store .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--clicker); box-shadow: 0 0 0 0 rgba(255,138,61,.6); animation: beacon 2.2s ease-out infinite; }
.pill-ghost { color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); }
.pill-ghost:hover { box-shadow: inset 0 0 0 2px #fff; }
a.pill:active { transform: translateY(3px); }
@keyframes beacon { 70% { box-shadow: 0 0 0 9px rgba(255,138,61,0); } 100% { box-shadow: 0 0 0 0 rgba(255,138,61,0); } }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--grape); color: #fff;
  border-radius: 0 0 clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px);
  padding: 112px 0 clamp(40px, 6vw, 72px);
}
.rays {
  position: absolute; z-index: -1; left: 50%; top: 50%;
  width: 260vmax; height: 260vmax; translate: -50% -50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.075) 0deg 7deg, transparent 7deg 18deg);
  -webkit-mask: radial-gradient(closest-side, #000 8%, transparent 46%);
          mask: radial-gradient(closest-side, #000 8%, transparent 46%);
  animation: spin 160s linear infinite;
  transition: opacity .4s ease;
}
.rays.flash { animation: spin 160s linear infinite, flash .5s ease-out; }
@keyframes spin { to { rotate: 360deg; } }
@keyframes flash { 0% { filter: brightness(2.2); } 100% { filter: none; } }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(24px, 4vw, 56px); }
.eyebrow { display: inline-block; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.72); margin-bottom: 18px; }
.hero h1 { font-size: clamp(54px, 8.6vw, 124px); font-weight: 700; line-height: .92; letter-spacing: -.03em; }
.hero h1 .w { display: block; }
.hero h1 .good { color: var(--apricot); position: relative; white-space: nowrap; width: fit-content; }
.hero h1 .good svg { position: absolute; left: -2%; bottom: -.14em; width: 104%; height: .26em; overflow: visible; }
.hero h1 .good path { fill: none; stroke: var(--clicker); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 1s .9s cubic-bezier(.6,0,.2,1) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero .lede { font-size: clamp(18px, 1.7vw, 21px); color: rgba(255,255,255,.86); max-width: 33ch; margin: 34px 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* The clicker stage */
.stage { position: relative; display: grid; justify-items: center; padding-top: 8px; }
.max-wrap { position: relative; width: clamp(190px, 23vw, 310px); aspect-ratio: 1; margin-bottom: -18px; }
.max-wrap .lot { position: absolute; inset: 0; opacity: 0; transition: opacity .08s linear; }
.max-wrap .lot.on { opacity: 1; }
.max-wrap::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 7%; height: 9%; border-radius: 50%; background: rgba(23,15,56,.28); z-index: -1; }
.bubble {
  position: absolute; z-index: 3; top: 6%; left: calc(50% + clamp(60px, 6.4vw, 92px));
  width: max-content; max-width: 210px;
  background: #fff; color: var(--night); border-radius: 18px 18px 18px 6px;
  padding: 11px 15px; font: 600 15px/1.3 var(--f-body);
  box-shadow: 0 5px 0 rgba(23,15,56,.22);
  transform-origin: 0 100%;
}
.bubble.pop { animation: pop .35s cubic-bezier(.3,1.6,.5,1); }
@keyframes pop { 0% { transform: scale(.85); } 100% { transform: scale(1); } }
.clicker-wrap { position: relative; width: clamp(220px, 25vw, 300px); aspect-ratio: 1; display: grid; place-items: center; }
.ring { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; overflow: visible; }
.ring .track { stroke: rgba(255,255,255,.18); }
.ring .arc { stroke: #fff; stroke-linecap: round; transition: stroke-dashoffset .35s cubic-bezier(.3,1.4,.5,1), stroke .3s; }
.clicker-wrap.done .ring .arc { stroke: var(--apricot); filter: drop-shadow(0 0 10px rgba(255,178,122,.8)); }
.ripple { position: absolute; inset: 15%; border-radius: 50%; border: 3px solid rgba(255,255,255,.7); pointer-events: none; opacity: 0; }
.ripple.go { animation: ripple .55s ease-out; }
@keyframes ripple { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.32); } }
.clicker {
  position: relative; z-index: 2;
  width: 68%; aspect-ratio: 1; border-radius: 50%; border: 0; cursor: pointer;
  background: radial-gradient(circle at 50% 30%, #FFA868 0%, var(--clicker) 55%);
  box-shadow: inset 0 -12px 0 var(--clicker-lip), 0 10px 0 rgba(23,15,56,.28), 0 0 0 0 rgba(255,138,61,0);
  color: var(--night); display: grid; place-content: center; gap: 2px;
  font: 600 clamp(28px, 3vw, 36px)/1 var(--f-display);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none;
  transition: transform .09s ease-out, box-shadow .09s ease-out;
}
.clicker svg { width: 34%; height: auto; margin: 0 auto 4px; fill: var(--night); }
.clicker.down { transform: translateY(6px) scale(.965, .94); box-shadow: inset 0 -5px 0 var(--clicker-lip), 0 4px 0 rgba(23,15,56,.28); transition-duration: .03s; }
.clicker:focus-visible { outline: 4px solid #fff; outline-offset: 6px; border-radius: 50%; }
.fx { position: absolute; pointer-events: none; z-index: 1; }
.fx-paws { inset: -30%; filter: brightness(0) invert(1); opacity: .5; }
.fx-confetti { left: 50%; top: 4%; width: min(150%, 620px); aspect-ratio: 1; translate: -50% 0; z-index: 4; visibility: hidden; }
.fx-confetti.on { visibility: visible; }
.readout { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; margin-top: 14px; }
.count { white-space: nowrap; font: 600 40px/1 var(--f-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.count.bump { animation: bump .25s ease-out; }
@keyframes bump { 40% { transform: scale(1.18); } }
.count small { font: 500 15px var(--f-mono); color: rgba(255,255,255,.7); margin-left: 4px; }
.mini { white-space: nowrap; background: rgba(255,255,255,.14); color: #fff; border: 0; border-radius: 999px; padding: 8px 13px; font: 500 13px/1 var(--f-mono); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.mini:hover { background: rgba(255,255,255,.22); }
.mini[hidden] { display: none; }
.hint { margin-top: 12px; font-size: 13px; color: rgba(255,255,255,.62); text-align: center; }
.hint kbd { font: inherit; padding: 1px 6px; border-radius: 6px; background: rgba(255,255,255,.14); }

/* ---------- Sections ---------- */
section.block { padding: clamp(80px, 11vw, 150px) 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--clicker); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 18px; }
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.h2 { font-size: clamp(38px, 5.4vw, 72px); max-width: 15ch; }
.intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(20px, 5vw, 80px); align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.intro p { color: var(--muted); font-size: 19px; margin: 0; max-width: 46ch; }

/* Method */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 24px); list-style: none; margin: 0; padding: 0; position: relative; }
.step .panel { position: relative; aspect-ratio: 1 / 1; border-radius: var(--r-lg); background: var(--chip); overflow: hidden; display: grid; place-items: center; }
.step .panel .lot { width: 92%; height: 92%; }
.step .panel.wide .lot { width: 128%; height: 128%; margin-top: 10%; }
.step:nth-child(2) .panel { background: var(--clicker); }
.sticker { position: absolute; top: 14%; right: 10%; rotate: 10deg; background: var(--night); color: #fff; padding: 6px 12px 7px; border-radius: 12px; font: 700 20px/1 var(--f-display); }
.step:nth-child(2) .sticker { animation: tick 2.4s ease-in-out infinite; }
@keyframes tick { 0%, 82%, 100% { transform: scale(1); } 88% { transform: scale(1.16); } }
.timing { display: flex; align-items: center; gap: 10px; margin: 22px 0 10px; color: var(--accent-text); font-size: 13px; }
.timing b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-text); color: var(--paper); font: 600 14px/1 var(--f-display); }
.timing::after { content: ""; flex: 1; height: 0; border-top: 2px dashed var(--line); }
.step:last-child .timing::after { display: none; }
.step h3 { font-size: 30px; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* App tour */
.tour { background: var(--band); color: #fff; border-radius: clamp(28px, 5vw, 56px); margin: 0 clamp(8px, 1.4vw, 16px); overflow: hidden; position: relative; }
.tour .h2 { color: #fff; }
.tour .intro p { color: rgba(255,255,255,.72); }
.phones { display: flex; justify-content: center; align-items: flex-start; gap: clamp(14px, 2vw, 28px); padding: 0 var(--gutter); }
.phone { flex: 0 0 auto; width: clamp(180px, 17vw, 230px); margin: 0; }
.phone .screen { border-radius: 30px; overflow: hidden; background: #000; box-shadow: 0 0 0 7px var(--night-2), 0 0 0 8px rgba(255,255,255,.12), 0 30px 60px -20px rgba(0,0,0,.6); aspect-ratio: 590 / 1279; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone:nth-child(1) { margin-top: 90px; --tilt: -4deg; }
.phone:nth-child(2) { margin-top: 36px; --tilt: -2deg; }
.phone:nth-child(3) { width: clamp(200px, 19vw, 262px); }
.phone:nth-child(4) { margin-top: 36px; --tilt: 2deg; }
.phone:nth-child(5) { margin-top: 90px; --tilt: 4deg; }
.phone .screen { rotate: var(--tilt, 0deg); }
.phone figcaption { margin-top: 30px; padding: 0 4px; }
.phone figcaption b { display: block; font: 600 20px/1.2 var(--f-display); margin-bottom: 4px; }
.phone figcaption span { display: block; color: rgba(255,255,255,.66); font-size: 14.5px; line-height: 1.45; }
.phone:nth-child(3) figcaption b { color: var(--apricot); }

/* Programs */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters button { border: 0; cursor: pointer; padding: 10px 18px; border-radius: 999px; background: var(--chip); color: var(--ink); font: 600 15px/1 var(--f-display); letter-spacing: .01em; transition: background .15s, color .15s; }
.filters button[aria-pressed="true"] { background: var(--grape); color: #fff; }
.filters button:not([aria-pressed="true"]):hover { background: var(--line); }
.programs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.prog { background: var(--card); border-radius: var(--r-md); padding: 24px 24px 22px; box-shadow: 0 4px 0 var(--line); display: flex; flex-direction: column; transition: opacity .25s, transform .25s; }
.prog[hidden] { display: none; }
.prog header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.tag { font: 600 12px/1 var(--f-mono); letter-spacing: .06em; padding: 6px 9px; border-radius: 8px; background: var(--chip); color: var(--accent-text); text-transform: uppercase; }
.tag.free { background: var(--clicker); color: var(--night); }
.prog h3 { font-size: 27px; margin-bottom: 6px; }
.prog > p { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; }
.days { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.days i { width: 11px; height: 11px; border-radius: 50%; background: var(--grape); opacity: .85; }
.prog.is-free .days i { background: var(--clicker); opacity: 1; }
.meta { margin: 10px 0 14px; font-size: 13px; color: var(--muted); }
.lessons { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 14px 0 0; margin: 0; border-top: 1px solid var(--line); }
.lessons li { font-size: 13.5px; padding: 5px 10px; border-radius: 8px; background: var(--paper); }

/* Pricing */
.plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; align-items: stretch; }
.plan { border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); position: relative; overflow: hidden; }
.plan h3 { font-size: 34px; margin-bottom: 4px; }
.plan .sub { margin: 0 0 26px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.plan li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.plan li svg { width: 22px; height: 22px; margin-top: 2px; }
.plan-free { background: var(--card); box-shadow: 0 4px 0 var(--line); }
.plan-free .sub { color: var(--muted); }
.plan-free li svg { color: var(--clicker); }
.plan-free li span small { display: block; color: var(--muted); font-size: 14px; }
.plan-plus { background: var(--grape); color: #fff; }
.plan-plus .sub { color: rgba(255,255,255,.75); }
.plan-plus li svg { color: var(--apricot); }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; }
.price b { font: 700 clamp(48px, 6vw, 72px)/1 var(--f-display); letter-spacing: -.03em; }
.price span { font-size: 15px; color: rgba(255,255,255,.75); }
.plan-plus .alt { margin: 0 0 26px; color: rgba(255,255,255,.85); }
.plan-plus .fine { margin: 26px 0 0; font-size: 13.5px; color: rgba(255,255,255,.65); }
.plan-plus .lot { position: absolute; right: -6%; bottom: -8%; width: 46%; aspect-ratio: 1; opacity: .95; pointer-events: none; }
.plan-plus ul, .plan-plus .fine { max-width: 60%; }

/* FAQ */
.faq { max-width: 860px; margin-top: clamp(64px, 8vw, 110px); }
.faq h3 { font-size: 32px; margin-bottom: 18px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 600 21px/1.3 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 3px solid var(--clicker); border-bottom: 3px solid var(--clicker); rotate: 45deg; transition: rotate .2s, margin .2s; }
.faq details[open] summary::after { rotate: 225deg; margin-top: -2px; }
.faq details p { margin: 0 0 22px; color: var(--muted); max-width: 64ch; }

/* Rest-day finale */
.finale { background: var(--band); color: #fff; border-radius: clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px) 0 0; margin: 0 clamp(8px, 1.4vw, 16px); padding: clamp(70px, 9vw, 120px) 0 0; position: relative; overflow: hidden; }
.finale .stars { position: absolute; inset: 0; background-image: radial-gradient(1.5px 1.5px at 12% 22%, #fff8 50%, transparent 52%), radial-gradient(1px 1px at 28% 64%, #fff6 50%, transparent 52%), radial-gradient(1.5px 1.5px at 74% 18%, #fff8 50%, transparent 52%), radial-gradient(1px 1px at 88% 52%, #fff6 50%, transparent 52%), radial-gradient(1.5px 1.5px at 56% 34%, #fff5 50%, transparent 52%), radial-gradient(1px 1px at 40% 12%, #fff7 50%, transparent 52%); pointer-events: none; }
.moon { position: absolute; top: clamp(40px, 7vw, 90px); right: clamp(30px, 10vw, 160px); width: clamp(54px, 7vw, 92px); aspect-ratio: 1; border-radius: 50%; box-shadow: inset clamp(-14px, -1.8vw, -24px) clamp(-6px, -.8vw, -10px) 0 0 var(--apricot); rotate: -20deg; }
.finale-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px; position: relative; }
.finale h2 { font-size: clamp(44px, 6.4vw, 88px); color: #fff; }
.finale p { color: rgba(255,255,255,.75); font-size: 19px; max-width: 40ch; margin: 22px 0 30px; }
.finale .lot { width: min(100%, 460px); aspect-ratio: 1; justify-self: center; margin-bottom: -6%; }
.footer { background: var(--band); color: rgba(255,255,255,.62); margin: 0 clamp(8px, 1.4vw, 16px); border-top: 1px solid rgba(255,255,255,.1); }
.footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding-block: 28px 36px; font-size: 14px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer a { color: #fff; font-weight: 500; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .brand { font-size: 20px; }
.footer .brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: none; }

/* Reveal on scroll (only once JS confirms motion is welcome) */
.js-motion [data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .7s ease, translate .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js-motion [data-reveal].in { opacity: 1; translate: 0 0; }

/* ---------- Legal pages ---------- */
.legal-hero { background: var(--grape); color: #fff; border-radius: 0 0 clamp(28px, 5vw, 56px) clamp(28px, 5vw, 56px); padding: 120px 0 clamp(48px, 6vw, 72px); position: relative; overflow: hidden; isolation: isolate; }
.legal-hero .wrap { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; }
.legal-hero h1 { font-size: clamp(46px, 7vw, 92px); font-weight: 700; letter-spacing: -.03em; }
.legal-hero .meta { margin: 14px 0 0; color: rgba(255,255,255,.75); font-size: 14px; }
.legal-hero .lot { width: clamp(120px, 15vw, 190px); aspect-ratio: 1; margin-bottom: -20px; }
.legal { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(32px, 6vw, 90px); padding-block: clamp(48px, 7vw, 90px) clamp(70px, 9vw, 120px); }
.toc { position: sticky; top: 28px; align-self: start; font-size: 14.5px; }
.toc p { margin: 0 0 12px; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-weight: 500; text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); border-left-color: var(--clicker); }
.legal article { font-size: 17.5px; }
.legal article > p:first-child { font-size: 21px; line-height: 1.5; margin-top: 0; }
.legal article h2 { font-size: clamp(26px, 3vw, 32px); margin: 52px 0 14px; scroll-margin-top: 24px; }
.legal article ul { padding-left: 0; list-style: none; display: grid; gap: 12px; }
.legal article li { position: relative; padding-left: 26px; }
.legal article li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--clicker); }
.legal article p, .legal article li { color: var(--ink); }
.legal article strong { font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 44px; }
  .step:nth-child(2) .timing::after { display: none; }
  .programs { grid-template-columns: repeat(2, 1fr); }
  .phones { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 28px; scrollbar-width: none; padding-top: 12px; }
  .phones::-webkit-scrollbar { display: none; }
  .phone, .phone:nth-child(n) { margin-top: 0; --tilt: 0deg; scroll-snap-align: center; width: 220px; }
}
@media (max-width: 860px) {
  .hero { padding-top: 100px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(56px, 14vw, 112px); }
  .bubble { position: relative; top: auto; left: auto; margin-bottom: 10px; max-width: 260px; text-align: center; border-radius: 18px; }
  .bubble::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; background: #fff; translate: -50% 0; rotate: 45deg; border-radius: 0 0 4px 0; }
  .bubble { transform-origin: 50% 100%; }
  .hero .lede { max-width: 40ch; }
  .stage { margin-top: 18px; }
  .intro { grid-template-columns: 1fr; align-items: start; }
  .plans { grid-template-columns: 1fr; }
  .finale-grid { grid-template-columns: 1fr; }
  .finale .lot { width: min(80%, 360px); }
  .legal { grid-template-columns: 1fr; }
  .legal article > p:first-child { font-size: 19px; }
  .toc { display: none; }
  .legal-hero .wrap { grid-template-columns: 1fr; }
  .legal-hero .lot { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .timing::after { display: none; }
  .programs { grid-template-columns: 1fr; }
  .plan-plus ul, .plan-plus .fine { max-width: none; }
  .plan-plus .lot { position: relative; right: auto; bottom: auto; width: 60%; margin: 10px auto -40px; }
  .step .panel { aspect-ratio: 16 / 11; }
  .step .panel .lot { width: auto; height: 92%; aspect-ratio: 1; }
  .step .panel.wide .lot { width: 100%; height: auto; aspect-ratio: 3 / 2; margin-top: 4%; }
  .hero .cta .pill-ghost { display: none; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 50px; }
  .top nav a:not(.hide-sm) { font-size: 14px; }
  .pill { font-size: 16px; padding: 13px 18px 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rays, .rays.flash, .pill-store .dot, .step:nth-child(2) .sticker { animation: none; }
  .hero h1 .good path { animation: none; stroke-dashoffset: 0; }
  .ripple.go, .count.bump, .bubble.pop { animation: none; }
}
