/* The home page. The other pages (privacy, support, get) keep /style.css.
 *
 * Colours are the app's own: the cobalt of the icon, the dark-mode accent (#8C93F5), the dark
 * canvas and card greys, and the dark-mode section swatches from design/swatches.js. Type is the
 * app's bundled Epilogue Bold and Manrope, subset to Latin and served from /fonts — no font CDN,
 * so the page makes no third-party request at all. */

@font-face { font-family: Epilogue; font-weight: 700; font-display: swap; src: url(/fonts/Epilogue-Bold.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 400; font-display: swap; src: url(/fonts/Manrope-Regular.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 600; font-display: swap; src: url(/fonts/Manrope-SemiBold.woff2) format("woff2"); }
@font-face { font-family: Manrope; font-weight: 700; font-display: swap; src: url(/fonts/Manrope-Bold.woff2) format("woff2"); }

:root {
  --bg: #0b0b0d;
  --bg-2: #111114;
  --tile: #141417;
  --canvas: #131313;      /* the app's dark canvas */
  --card: #1e1e1e;        /* the app's dark card */
  --sunken: #0d0d0d;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --ink: #edf0f5;
  --muted: #98a1b0;
  --faint: #7d8491;      /* 5.2:1 on --bg, 4.9:1 on --tile */
  --cobalt: #4b54d6;
  --cobalt-deep: #2f36ad;
  --peri: #8c93f5;
  --peri-hi: #c5c9ff;
  --on-peri: #131313;
  --wash: #22263a;
  --amber: #d59f5d;
  --orange: #e08a35;
  --ok: #34c46a;
  --no: #f06a6a;

  /* Section swatches, dark mode: accent, panel, border. */
  --rose: #d7739f;  --rose-panel: #2a1620;  --rose-border: #4a2338;
  --green: #7aab46; --green-panel: #1a2311; --green-border: #2f4319;

  --display: Epilogue, "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --sans: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: 16px;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { max-width: 100%; }
a { color: var(--peri); }
b, strong { font-weight: 700; color: var(--ink); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--peri-hi); outline-offset: 3px; border-radius: 10px; }
::selection { background: var(--peri); color: var(--on-peri); }

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #111; padding: 10px 14px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

/* Line icons share one style. */
.btn svg, .back svg, .last-time svg, .no-icon svg, .dr-icon svg, .round-btn svg {
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 700 1.02rem/1.1 var(--sans); letter-spacing: -.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; stroke-width: 2.3; }
.btn:active { transform: scale(.97); }
.btn-light { background: #fff; color: #2a31a6; box-shadow: 0 14px 34px -12px rgba(8, 10, 60, .55); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(8, 10, 60, .6); }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); }
.btn.is-soon { cursor: default; font-weight: 600; color: rgba(255, 255, 255, .86); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.btn.is-soon:active { transform: none; }
.btn-accent { background: var(--peri); color: var(--on-peri); }
.btn-accent:hover { background: #9da3ff; }
.btn-tonal { background: var(--wash); color: var(--peri); }
.btn-tonal:hover { background: #2a2f48; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: .95rem; }
.btn-block { width: 100%; }

/* ------------------------------------------------------------------ nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top);
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.nav.scrolled {
  background: rgba(11, 11, 13, .72);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
}
.nav-in { max-width: var(--max); margin: 0 auto; height: 68px; padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font: 700 1.2rem/1 var(--display); letter-spacing: -.02em; }
.brand img { border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .22); }
.nav-links { display: none; margin-left: auto; gap: 4px; }
.nav-links a { color: rgba(255, 255, 255, .82); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-links a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.btn-nav { margin-left: auto; min-height: 42px; padding: 0 18px; font-size: .92rem; background: #fff; color: #2a31a6; }
.nav.scrolled .btn-nav { background: var(--peri); color: var(--on-peri); }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .btn-nav { margin-left: 8px; }
}

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: clip; padding: calc(96px + env(safe-area-inset-top)) var(--gutter) 0; isolation: isolate; }
.hero-bg {
  --cut: 150px;
  position: absolute; inset: 0 0 var(--cut); z-index: -1;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(140, 150, 255, .55), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(30, 34, 140, .7), transparent 70%),
    linear-gradient(180deg, #5058e0, var(--cobalt) 55%, #434bcc);
  border-radius: 0 0 clamp(28px, 6vw, 72px) clamp(28px, 6vw, 72px);
}
/* Film grain, so the big flat blue has some tooth. */
.hero-bg::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-in { max-width: var(--max); margin: 0 auto; display: grid; gap: 48px; }
/* Above the art, so the phones' soft shadows never tint the headline. */
.hero-copy { position: relative; z-index: 4; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-moose { width: clamp(132px, 34vw, 190px); height: auto; filter: drop-shadow(0 18px 30px rgba(12, 14, 80, .35)); animation: bob 6s ease-in-out infinite; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 22px 0 0;
  padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22);
  color: #fff; font-weight: 700; font-size: .88rem; letter-spacing: .01em;
}
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 196, 106, .6); animation: ping 2.4s infinite; }
h1 {
  margin: 18px 0 0; color: #fff;
  font: 700 clamp(3.4rem, 16vw, 8.4rem)/.86 var(--display); letter-spacing: -.055em;
  text-shadow: 0 10px 40px rgba(14, 16, 90, .25);
}
.hero-sub { margin: 22px 0 0; max-width: 31em; color: rgba(255, 255, 255, .86); font-size: clamp(1.05rem, 2.6vw, 1.22rem); line-height: 1.55; }
.hero-sub strong { color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; justify-content: center; }
.ticks { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; padding: 0; margin: 26px 0 0; color: #fff; font-weight: 700; font-size: .95rem; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks li::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%; flex: none;
  background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/14px no-repeat;
}

.hero-art { position: relative; height: 560px; margin: 0 auto; width: 100%; max-width: 520px; }
.hero-art .phone { position: absolute; left: 50%; top: 0; }
.hero-art .phone-front { --pw: 248px; transform: translateX(-66%); z-index: 2; animation: rise 1.1s var(--ease) both; }
.hero-art .phone-back { --pw: 222px; transform: translateX(-2%) translateY(48px) rotate(7deg); z-index: 1; opacity: .92; animation: rise-back 1.3s var(--ease) both; }

.float {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 18px; color: var(--ink);
  background: rgba(22, 22, 28, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 40px -14px rgba(0, 0, 0, .6);
  font-size: .85rem; line-height: 1.25; white-space: nowrap;
  animation: float 7s ease-in-out infinite;
}
.float b { display: block; font-weight: 700; }
.float small { display: block; color: var(--muted); font-size: .78rem; }
.float-a { left: -1%; top: 440px; animation-delay: -1s; }
.float-b { right: -1%; top: 36px; flex-direction: column; align-items: flex-start; gap: 0; animation-delay: -3s; }
.float-b b { color: var(--orange); font: 700 1.3rem/1.1 var(--display); letter-spacing: -.02em; }
.float-c { right: 0; top: 300px; animation-delay: -5s; }
.fa-ring { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 2.5px var(--peri); color: var(--peri); font-weight: 700; font-size: .85rem; flex: none; }
.fc-check { width: 26px; height: 26px; border-radius: 50%; background: var(--peri) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131313' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/15px no-repeat; flex: none; }

@media (min-width: 1000px) {
  .hero { padding-top: calc(120px + env(safe-area-inset-top)); }
  .hero-bg { --cut: 130px; }
  .hero-in { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; }
  .hero-copy { text-align: left; align-items: flex-start; padding-bottom: 150px; }
  .cta-row { justify-content: flex-start; }
  .ticks { justify-content: flex-start; }
  .hero-moose { width: 168px; }
  h1 { font-size: clamp(5.5rem, 9.4vw, 8.6rem); }
  .hero-art { height: 760px; max-width: none; }
  .hero-art .phone-front { --pw: 336px; transform: translateX(-72%); }
  .hero-art .phone-back { --pw: 296px; transform: translateX(-2%) translateY(70px) rotate(7deg); }
  .float { font-size: .92rem; padding: 12px 16px; }
  .float-a { left: -5%; top: 470px; }
  .float-b { right: -2%; top: 40px; }
  .float-c { right: 0; top: 580px; }
}

/* ------------------------------------------------------------------ phone frame */
.phone {
  --pw: 260px;
  width: var(--pw); padding: calc(var(--pw) * .032);
  border-radius: calc(var(--pw) * .165);
  background: linear-gradient(150deg, #4a4a52 0%, #18181b 22%, #0c0c0e 60%, #2c2c31 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, .14),
    inset 0 0 0 4px #050506,
    0 60px 100px -40px rgba(0, 0, 0, .8),
    0 30px 60px -30px rgba(18, 22, 90, .55);
}
.phone-screen { position: relative; overflow: hidden; border-radius: calc(var(--pw) * .135); background: var(--canvas); }
.phone-screen img { display: block; width: 100%; height: auto; }
.statusbar {
  position: relative; height: calc(var(--pw) * .1); padding: 0 calc(var(--pw) * .085);
  display: flex; align-items: center; justify-content: space-between;
  color: var(--ink); font: 700 calc(var(--pw) * .046)/1 var(--sans);
}
.cam { position: absolute; left: 50%; top: 50%; width: calc(var(--pw) * .038); height: calc(var(--pw) * .038); transform: translate(-50%, -50%); border-radius: 50%; background: #000; box-shadow: 0 0 0 calc(var(--pw) * .008) #1c1c20; }
.sb-icons { display: flex; align-items: center; gap: calc(var(--pw) * .018); }
.sb-icons::before {
  content: ""; width: calc(var(--pw) * .055); height: calc(var(--pw) * .036);
  background: linear-gradient(to right, var(--ink) 0 18%, transparent 18% 27%, var(--ink) 27% 45%, transparent 45% 54%, var(--ink) 54% 72%, transparent 72% 81%, var(--ink) 81%);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.sb-icons::after { content: ""; width: calc(var(--pw) * .07); height: calc(var(--pw) * .034); border-radius: calc(var(--pw) * .01); background: linear-gradient(to right, var(--ink) 75%, rgba(237, 240, 245, .3) 75%); }

/* ------------------------------------------------------------------ marquee */
.marquee { position: relative; overflow: clip; padding: 40px 0 28px; }
.marquee-band {
  overflow: hidden; margin: 0 -4vw; padding: 16px 0; transform: rotate(-2deg);
  background: var(--peri); color: var(--on-peri); box-shadow: 0 20px 50px -20px rgba(140, 147, 245, .5);
}
.marquee-track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marquee 48s linear infinite; }
.marquee span { font: 700 clamp(1.6rem, 4.6vw, 2.6rem)/1 var(--display); letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; }
.marquee span.o {
  color: var(--peri);
  text-shadow: 1.5px 0 var(--on-peri), -1.5px 0 var(--on-peri), 0 1.5px var(--on-peri), 0 -1.5px var(--on-peri),
    1.1px 1.1px var(--on-peri), -1.1px 1.1px var(--on-peri), 1.1px -1.1px var(--on-peri), -1.1px -1.1px var(--on-peri);
}
.marquee i {
  width: 1.9em; height: 1.45em; font-size: clamp(1.1rem, 3vw, 1.6rem); flex: none; background: var(--on-peri);
  -webkit-mask: url(/img/moose.webp) center/contain no-repeat; mask: url(/img/moose.webp) center/contain no-repeat;
}

/* ------------------------------------------------------------------ feature sections */
.feature { position: relative; overflow-x: clip; padding: clamp(84px, 12vw, 150px) var(--gutter); }
.feature-in { max-width: var(--max); margin: 0 auto; display: grid; gap: 48px; align-items: center; }
@media (min-width: 920px) {
  .feature-in { grid-template-columns: 1fr 1fr; gap: 80px; }
  .flip .feature-copy { order: 2; }
  .wide .feature-in { grid-template-columns: 1fr; gap: 56px; }
}
.feature-copy.center, .center { text-align: center; margin-inline: auto; }
.feature-copy.center .lede { margin-inline: auto; }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--muted); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { display: inline-grid; place-items: center; height: 26px; padding: 0 10px; border-radius: 999px; color: var(--peri); box-shadow: inset 0 0 0 1.5px rgba(140, 147, 245, .5); letter-spacing: .04em; }
h2 { margin: 0; font: 700 clamp(2.6rem, 7.4vw, 4.9rem)/.94 var(--display); letter-spacing: -.045em; text-wrap: balance; }
h2 em { font-style: normal; background: linear-gradient(92deg, var(--peri) 10%, var(--peri-hi) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
#plan h2 em { background-image: linear-gradient(92deg, #e0779f 0%, #e39150 28%, #c9b23c 46%, #7aab46 64%, #2fa7d6 82%, #9c8af0 100%); }
#progress h2 em { background-image: linear-gradient(92deg, #f0a45a, var(--orange) 60%, #ffcf8f); }
#consistency h2 em { background-image: linear-gradient(92deg, var(--amber), #f3c48f 50%, var(--peri)); }
.lede { margin: 22px 0 0; max-width: 32em; color: var(--muted); font-size: clamp(1.06rem, 1.7vw, 1.2rem); line-height: 1.6; }
.lede b { color: var(--ink); }
.points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 16px; max-width: 33em; }
.points li { position: relative; padding-left: 34px; color: var(--muted); }
.points li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--wash)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c93f5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center/14px no-repeat;
}
.fine { margin: 18px 0 0; max-width: 34em; color: var(--faint); font-size: .92rem; }
.fine a { color: var(--muted); }

/* A demo is a little piece of the app, sitting in a glow. */
.demo { position: relative; width: 100%; max-width: 480px; margin: 0 auto; }
.demo::before {
  content: ""; position: absolute; inset: 8% -6% 4%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(140, 147, 245, .2), transparent);
  filter: blur(30px);
}
#plan .demo::before { background: radial-gradient(closest-side, rgba(122, 171, 70, .2), rgba(215, 115, 159, .12) 60%, transparent); }
#progress .demo { max-width: 980px; }
#progress .demo::before { background: radial-gradient(closest-side, rgba(224, 138, 53, .18), transparent); }
.demo.stack { display: grid; gap: 16px; }
.demo-hint { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 18px 0 0; color: var(--faint); font-size: .9rem; text-align: center; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--peri); animation: ping 2s infinite; box-shadow: 0 0 0 0 rgba(140, 147, 245, .6); flex: none; }

.app-card {
  position: relative; background: var(--canvas); border-radius: 32px; padding: 20px;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .4);
}

/* ---------------------------------------------------- To Do demo */
.todo-head { display: flex; align-items: center; gap: 12px; padding: 4px 4px 6px; }
.todo-title { font: 700 1.9rem/1 var(--display); letter-spacing: -.04em; }
.todo-pct { font: 700 1.05rem/1 var(--display); font-variant-numeric: tabular-nums; min-width: 3.1em; text-align: right; }
.meter { flex: 1; height: 13px; border-radius: 999px; background: #2b2e4a; overflow: hidden; }
.meter-fill { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--peri); transition: width .6s var(--spring); }
.todo-list { margin-top: 14px; }
/* Finished rows and sections fold away: a 1fr -> 0fr grid row around a clipping child. */
.fold { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .5s var(--ease), opacity .4s; }
.fold.gone { grid-template-rows: 0fr; opacity: 0; }
.clip { min-height: 0; overflow: hidden; }
.fold + .fold > .clip > .sec { margin-top: 12px; }
.sec {
  --c: var(--green); --p: var(--green-panel); --bd: var(--green-border);
  background: var(--p); border-radius: 24px; padding: 14px 16px 4px; box-shadow: inset 0 0 0 1px var(--bd);
}
.sec.rose { --c: var(--rose); --p: var(--rose-panel); --bd: var(--rose-border); }
.sec-head { display: flex; align-items: center; gap: 10px; color: var(--c); padding: 2px 0 6px; min-height: 0; }
.sec-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--c); flex: none; }
.sec-name { font: 700 1.2rem/1.2 var(--display); letter-spacing: -.02em; }
.sec-left { margin-left: auto; font-size: .92rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ex { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.ex:disabled { cursor: default; }
.ex-in { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--bd); }
.fold:first-child > .clip > .ex .ex-in { border-top: 0; }
.ex-name { flex: 1; font-size: 1.06rem; font-weight: 600; color: var(--ink); transition: color .3s; }
.ex:hover .ex-name { color: #fff; }
.ring { position: relative; width: 42px; height: 42px; flex: none; transition: transform .3s var(--spring); }
.ex:active .ring { transform: scale(.9); }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3.5; }
.ring .trk { stroke: var(--bd); }
.ring .val { stroke: var(--c); stroke-linecap: round; transition: stroke-dashoffset .5s var(--spring); }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: .8rem; font-variant-numeric: tabular-nums; }
.ex.full .ring span { color: var(--canvas); }
.ex.full .ring::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--c); animation: pop .4s var(--spring); }
.todo-done { text-align: center; padding: 34px 10px 18px; animation: fade-up .6s var(--ease); }
.td-big { margin: 0; font: 700 2.6rem/1 var(--display); letter-spacing: -.04em; }
.td-small { margin: 10px 0 20px; color: var(--muted); }

/* ---------------------------------------------------- Log demo */
.log-top { display: flex; align-items: center; gap: 14px; padding: 2px 2px 14px; }
.back { width: 46px; height: 46px; border-radius: 50%; background: var(--card); display: grid; place-items: center; color: var(--ink); flex: none; }
.back svg { width: 22px; height: 22px; }
.log-name { margin: 0; font: 700 1.9rem/1 var(--display); letter-spacing: -.04em; }
.log-sub { margin: 6px 0 0; color: var(--muted); font-size: .95rem; }
.panel { --c: var(--rose); --p: var(--rose-panel); --bd: var(--rose-border); background: var(--p); border-radius: 26px; padding: 16px; box-shadow: inset 0 0 0 1px var(--bd); }
.panel-label { margin: 2px 4px 12px; color: var(--c); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.sets { display: grid; gap: 8px; }
.set { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 8px 6px; font-variant-numeric: tabular-nums; }
.set.enter { animation: fade-up .4s var(--ease); }
.set-n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 700; font-size: .82rem; }
.set.done .set-n { background: var(--c); color: var(--canvas); }
.set.done .set-n.tick { font-size: 0; }
.set.done .set-n.tick::after { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23131313' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.set.next .set-n { border: 2px dashed rgba(152, 161, 176, .6); color: var(--muted); }
.set-val { font: 600 1.25rem/1 var(--sans); }
.set.next .set-val { color: var(--muted); }
.set-note { margin-left: auto; color: var(--muted); font-size: .85rem; }
.set.active { padding: 12px; border-radius: 22px; background: var(--card); box-shadow: inset 0 0 0 2.5px var(--peri); gap: 10px; }
.set.active .set-n { box-shadow: inset 0 0 0 2px var(--peri); color: var(--peri); }
.field { display: inline-flex; align-items: baseline; gap: 4px; padding: 0 2px 4px; border: 0; background: none; cursor: pointer; border-bottom: 3px solid #3a3a3a; font: 700 clamp(1.9rem, 7vw, 2.4rem)/1 var(--display); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; transition: border-color .2s; }
.field small { font: 600 .9rem/1 var(--sans); color: var(--muted); letter-spacing: 0; }
.field.focus { border-bottom-color: var(--peri); }
.times { color: var(--muted); font-weight: 700; font-size: 1rem; }
.steppers { margin-left: auto; display: flex; gap: 8px; }
.step { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--sunken); color: var(--ink); font: 400 1.6rem/1 var(--sans); cursor: pointer; display: grid; place-items: center; transition: transform .15s, background .2s; }
.step:hover { background: #000; }
.step:active { transform: scale(.88); }
.bump { animation: bump .35s var(--spring); }
.last-time { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin: 12px 4px 2px; color: var(--muted); font-size: .9rem; }
.last-time svg { width: 18px; height: 18px; }
.log-actions { display: grid; gap: 10px; margin-top: 16px; }
.log-actions .btn { font-size: 1.08rem; }
.log-finish { text-align: center; padding: 18px 0 4px; animation: fade-up .5s var(--ease); }
.lf-big { margin: 0 0 14px; font: 700 2rem/1 var(--display); letter-spacing: -.03em; color: var(--rose); }

/* ---------------------------------------------------- Progress demo */
.chart-card { padding: clamp(18px, 3vw, 30px); }
.chart-controls { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: space-between; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--card); color: var(--muted); font-weight: 700; font-size: .92rem; cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.chip:hover { color: var(--ink); }
.chip:active { transform: scale(.95); }
.chip.on { background: var(--peri); color: var(--on-peri); }
.chart-head { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 6px 24px; margin-top: 24px; }
.big-num { margin: 0; font: 700 clamp(3.6rem, 10vw, 6rem)/.9 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.big-num small { font-size: .32em; letter-spacing: -.01em; color: var(--muted); margin-left: .12em; }
.delta { margin: 0 0 .5em; display: grid; gap: 2px; }
.delta b { color: var(--orange); font: 700 clamp(1.3rem, 3vw, 1.7rem)/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.delta span { color: var(--muted); }
.chart-cap { margin: 8px 0 0; color: var(--muted); font-size: .95rem; }
.chart-wrap { position: relative; margin-top: 20px; height: clamp(220px, 34vw, 330px); border-radius: 22px; background: var(--card); padding: 12px 8px 0 0; touch-action: pan-y; cursor: crosshair; }
#chart { display: block; width: 100%; height: 100%; overflow: visible; }
#chart .grid line { stroke: #2c2c2c; stroke-width: 1; }
#chart .grid text, #chart .xlab text { fill: #8a8f99; font: 700 11.5px var(--sans); }
#chart .line { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
#chart .area { fill: url(#cg); }
#chart .end { fill: var(--orange); }
#chart .halo { fill: none; stroke: var(--orange); stroke-opacity: .35; stroke-width: 6; }
#chart .scrub line { stroke: var(--ink); stroke-opacity: .35; stroke-dasharray: 3 4; }
#chart .scrub circle { fill: var(--canvas); stroke: var(--orange); stroke-width: 3; }
.chart-foot { margin: 14px 4px 0; color: var(--faint); font-size: .85rem; }

/* ---------------------------------------------------- Consistency demo */
.scenarios { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.scn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--tile); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); font-weight: 700; cursor: pointer; transition: background .2s, color .2s, box-shadow .2s, transform .15s; }
.scn:hover { color: var(--ink); }
.scn:active { transform: scale(.96); }
.scn.on { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--peri); }
.scn-dot { width: 10px; height: 10px; border-radius: 50%; }
.scn-dot.drag { background: var(--amber); }
.scn-dot.pace { background: var(--muted); }
.scn-dot.lead { background: var(--peri); }

.gauge-card { background: var(--card); padding: 24px; }
.g-state { margin: 0; font-weight: 700; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .4s; }
.gauge-card[data-s="drag"] .g-state { color: var(--amber); }
.gauge-card[data-s="lead"] .g-state { color: var(--peri); }
.g-num { margin: 6px 0 0; font: 700 clamp(4.2rem, 13vw, 5.6rem)/.9 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.g-num small { font-size: .34em; color: var(--muted); letter-spacing: -.01em; margin-left: .2em; }
.g-sub { margin: 10px 0 0; color: var(--muted); }
.g-track { position: relative; height: 20px; margin: 26px 4px 0; border-radius: 999px; background: linear-gradient(90deg, #2a2117 0 50%, #1f2238 50% 100%); }
.g-mid { position: absolute; left: 50%; top: -6px; bottom: -6px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: #8a8a8a; }
.g-fill { position: absolute; top: 0; bottom: 0; left: 50%; width: 0; border-radius: 999px; transition: left .8s var(--spring), width .8s var(--spring), background .4s; }
.gauge-card[data-s="drag"] .g-fill { background: linear-gradient(90deg, rgba(213, 159, 93, .25), var(--amber)); }
.gauge-card[data-s="lead"] .g-fill { background: linear-gradient(90deg, var(--peri), rgba(140, 147, 245, .35)); }
.g-thumb {
  --tc: #8a8a8a;
  position: absolute; top: 50%; left: 50%; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%;
  background: var(--card); box-shadow: inset 0 0 0 7px var(--tc), 0 6px 16px rgba(0, 0, 0, .5);
  transition: left .8s var(--spring), box-shadow .4s;
}
.g-thumb::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: var(--tc); transition: background .4s; }
.gauge-card[data-s="drag"] .g-thumb { --tc: var(--amber); }
.gauge-card[data-s="lead"] .g-thumb { --tc: var(--peri); }
.g-labels { display: flex; justify-content: space-between; margin-top: 18px; color: var(--muted); font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.g-week { margin: 20px 0 0; font-size: 1.15rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.g-streak { margin: 4px 0 0; color: var(--muted); }

.heat-card { background: var(--card); padding: 22px 24px; }
.heat-title { margin: 0 0 16px; font: 700 1.25rem/1 var(--display); letter-spacing: -.02em; }
.heat { display: grid; grid-template-columns: 28px repeat(19, 1fr); gap: 5px 4px; align-items: center; }
.heat .d { aspect-ratio: 1; border-radius: 50%; background: var(--sunken); }
.heat .lab { color: var(--muted); font-weight: 700; font-size: .72rem; }
.heat .wk { width: 52%; aspect-ratio: 1; margin: 4px auto 0; border-radius: 50%; }
.heat .wk.met { background: var(--peri); }
.heat .wk.miss { box-shadow: inset 0 0 0 1.5px var(--amber); }
.heat-cap { margin: 16px 0 0; color: var(--muted); font-size: .95rem; }
html.js .heat .d.on { transform: scale(.2); opacity: 0; transition: transform .5s var(--spring), opacity .4s; transition-delay: calc(var(--i) * 28ms); }
html.js .in .heat .d.on, html.js .heat.in .d.on { transform: none; opacity: 1; }

/* ------------------------------------------------------------------ privacy manifesto */
.manifesto { position: relative; padding: clamp(100px, 14vw, 180px) var(--gutter); overflow: clip; isolation: isolate; }
.manifesto::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 40% at 50% 0%, rgba(75, 84, 214, .35), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg));
}
.manifesto-in { max-width: var(--max); margin: 0 auto; text-align: center; }
.mega { font-size: clamp(3rem, 10.5vw, 8rem); line-height: .96; letter-spacing: -.055em; }
.mega em { background-image: linear-gradient(92deg, var(--peri), #fff 70%); }
.nos { display: grid; gap: 14px; margin-top: clamp(48px, 7vw, 80px); text-align: left; }
@media (min-width: 640px) { .nos { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .nos { grid-template-columns: repeat(4, 1fr); } }
.no { position: relative; padding: 26px 24px; border-radius: 26px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s; }
.no:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--line-2); }
.no-icon { position: relative; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: var(--wash); color: var(--peri); }
.no-icon svg { width: 26px; height: 26px; }
.no-icon::after { content: ""; position: absolute; width: 38px; height: 3px; border-radius: 3px; background: var(--no); transform: rotate(-45deg); box-shadow: 0 0 0 2.5px var(--wash); }
.no h3 { margin: 20px 0 6px; font: 700 1.5rem/1.1 var(--display); letter-spacing: -.03em; }
.no p { margin: 0; color: var(--muted); }

.airplane { display: inline-flex; align-items: center; gap: 16px; margin-top: 44px; padding: 16px 24px 16px 18px; border-radius: 999px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--line-2); text-align: left; }
.switch { position: relative; width: 58px; height: 34px; border-radius: 999px; border: 0; background: #3a3a40; cursor: pointer; flex: none; transition: background .3s; }
.switch-knob { position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); transition: transform .35s var(--spring); }
.switch-knob::after { content: ""; position: absolute; inset: 6px; background: #3a3a40; transition: background .3s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5z'/%3E%3C/svg%3E") center/contain no-repeat; }
.switch[aria-checked="true"] { background: #f5a524; }
.switch[aria-checked="true"] .switch-knob { transform: translateX(24px); }
.switch[aria-checked="true"] .switch-knob::after { background: #f5a524; }
.ap-title { margin: 0; font-weight: 700; }
.ap-status { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }
.ap-status.ok { color: var(--ok); }
.manifesto .fine { margin: 34px auto 0; }

/* ------------------------------------------------------------------ data */
.transfer { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 28px; border-radius: 28px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--line); }
.mini-phone { position: relative; width: 84px; height: 150px; border-radius: 20px; background: var(--canvas); box-shadow: inset 0 0 0 3px #2a2a2e, 0 20px 30px -16px rgba(0, 0, 0, .8); flex: none; display: grid; place-items: end center; padding-bottom: 12px; }
.mini-phone::before { content: ""; position: absolute; top: 18px; left: 14px; right: 14px; height: 54px; border-radius: 10px; background: linear-gradient(var(--rose-panel), var(--rose-panel)) top/100% 22px no-repeat, linear-gradient(var(--green-panel), var(--green-panel)) bottom/100% 26px no-repeat; }
.mini-phone.new::before { animation: fill-in 4s var(--ease) infinite; }
.mini-phone span { font-size: .72rem; font-weight: 700; color: var(--muted); }
.wire { position: relative; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); }
.file { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); padding: 8px 12px; border-radius: 12px; background: var(--peri); color: var(--on-peri); font-weight: 700; font-size: .8rem; box-shadow: 0 10px 24px -8px rgba(140, 147, 245, .7); animation: travel 4s var(--ease) infinite; }
.data-rows { display: grid; gap: 10px; margin-top: 14px; }
.data-row { display: flex; gap: 16px; padding: 18px 20px; border-radius: 22px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--line); }
.data-row b { font-size: 1.06rem; }
.data-row p { margin: 2px 0 0; color: var(--muted); }
.dr-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--wash); color: var(--peri); display: grid; place-items: center; flex: none; }
.dr-icon svg { width: 22px; height: 22px; }

/* ------------------------------------------------------------------ details bento */
.details { padding: clamp(84px, 12vw, 150px) var(--gutter); }
.details-in { max-width: var(--max); margin: 0 auto; }
.details h2 { text-align: center; }
.bento { display: grid; gap: 14px; margin-top: clamp(40px, 6vw, 64px); }
@media (min-width: 700px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "units colours" "body body" "timer theme" "langs langs"; }
}
@media (min-width: 1040px) {
  .bento { grid-template-columns: 1fr 1fr 1fr; grid-template-areas: "units colours langs" "body body langs" "timer theme langs"; }
}
.t-units { grid-area: units; } .t-colours { grid-area: colours; } .t-timer { grid-area: timer; }
.t-langs { grid-area: langs; } .t-body { grid-area: body; } .t-theme { grid-area: theme; }
@media (max-width: 699px) { .bento > * { grid-area: auto; } }
.tile {
  --mx: 50%; --my: 0%;
  position: relative; overflow: hidden; padding: 24px; border-radius: 28px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--line);
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.tile::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(360px circle at var(--mx) var(--my), rgba(140, 147, 245, .13), transparent 60%); }
.tile:hover::before { opacity: 1; }
.tile-label { margin: 0; color: var(--muted); font-weight: 700; font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; }
.tile-big { margin: 0; font: 700 3rem/1 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.tile-big small { font-size: .42em; color: var(--muted); letter-spacing: 0; }
.tile-big.mono { font-variant-numeric: tabular-nums; }
.tile-delta { font: 700 1rem/1 var(--sans); color: var(--peri); letter-spacing: 0; margin-left: 6px; }
.tile-note { margin: auto 0 0; color: var(--muted); font-size: .95rem; }
.seg { display: flex; gap: 6px; width: 100%; }
.seg button { flex: 1; min-height: 44px; border: 0; border-radius: 999px; background: var(--card); color: var(--muted); font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.seg button.on { background: var(--peri); color: var(--on-peri); }
.swatches { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; width: 100%; }
.swatches button { aspect-ratio: 1; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--c); transition: transform .25s var(--spring), box-shadow .2s; }
.swatches button:hover { transform: scale(1.15); }
.swatches button.on { box-shadow: 0 0 0 3px var(--tile), 0 0 0 5px var(--c); }
.t-colours { --sc: #6B9538; --sp: #19230E; --sb: #33461f; }
.t-colours .sample b { color: inherit; font: inherit; }
.t-colours .sample { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 16px; background: var(--sp); box-shadow: inset 0 0 0 1px var(--sb); color: var(--sc); font: 700 1.1rem/1 var(--display); transition: background .4s, color .4s, box-shadow .4s; }
.t-colours .sample i { width: 10px; height: 10px; border-radius: 50%; background: var(--sc); transition: background .4s; }
.t-colours .sample span { margin-left: auto; font: 600 .85rem/1 var(--sans); }
.langs { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; width: 100%; }
.langs li { padding: 7px 12px; border-radius: 12px; color: var(--faint); font-weight: 600; font-size: 1.02rem; transition: color .4s, background .4s; }
.langs li.on { color: var(--ink); background: var(--card); }
@media (min-width: 700px) and (max-width: 1039px) { .langs { grid-template-columns: 1fr 1fr; } }
.spark { width: calc(100% + 48px); height: 90px; margin: 4px -24px -24px; display: block; }
html.js .spark-line { stroke-dasharray: 1000; stroke-dashoffset: 1000; transition: stroke-dashoffset 2s var(--ease); }
html.js .in .spark-line { stroke-dashoffset: 0; }
.mini-ui { --mb: #131313; --mc: #1e1e1e; --mi: #edf0f5; --mt: #2b2e4a;
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px; border-radius: 18px; background: var(--mb); box-shadow: inset 0 0 0 1px var(--line); transition: background .4s; }
.mini-ui .mu-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--green); flex: none; }
.mini-ui .mu-bar { flex: 1; height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--peri) 60%, var(--mt) 60%); transition: background .4s; }
.mini-ui .mu-ring { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 3px var(--green); color: var(--mi); font-weight: 700; font-size: .78rem; transition: color .4s; }
.t-theme.light .mini-ui { --mb: #eaeaea; --mi: #15181d; --mt: #d3d5ea; }
.t-theme.light .mini-ui .mu-bar { background: linear-gradient(90deg, #4b54d6 60%, var(--mt) 60%); }

/* ------------------------------------------------------------------ free */
.free { padding: clamp(84px, 12vw, 150px) var(--gutter); }
.free-in { max-width: var(--max); margin: 0 auto; display: grid; gap: 56px; align-items: center; }
@media (min-width: 920px) { .free-in { grid-template-columns: 1.1fr 1fr; gap: 80px; } }
.free h2 em { background-image: linear-gradient(92deg, var(--ok), #b5f2c9); }
.receipt {
  position: relative; width: 100%; max-width: 400px; margin: 0 auto; padding: 30px 28px 46px;
  background: #f3f0e8; color: #1c1c1c; font-family: var(--mono); font-size: .95rem;
  rotate: 2.2deg; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8);
  /* The torn bottom edge: each 18px tile keeps an upward 90° cone from its bottom centre. */
  -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
          mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / 18px 100%;
  transition: opacity .9s var(--ease), transform .9s var(--ease), rotate .5s var(--spring), scale .5s var(--spring);
}
.receipt:hover { rotate: 0deg; scale: 1.02; }
html.js .receipt.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease), rotate .5s var(--spring), scale .5s var(--spring); }
.receipt b { color: inherit; }
.r-head { margin: 0; text-align: center; font: 700 1.6rem/1 var(--display); letter-spacing: -.03em; }
.r-sub { margin: 8px 0 22px; text-align: center; color: #6b675e; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.receipt ul { list-style: none; margin: 0; padding: 18px 0; border-block: 2px dashed rgba(0, 0, 0, .22); display: grid; gap: 10px; }
.receipt li { display: flex; align-items: baseline; }
.receipt li span { flex: 1; display: flex; align-items: baseline; }
.receipt li span::after { content: ""; flex: 1; margin: 0 10px; border-bottom: 2px dotted rgba(0, 0, 0, .25); transform: translateY(-4px); }
.receipt li.dim { color: #6b675e; }
.r-total { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 0; font-weight: 700; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .06em; }
.r-total b { font: 700 2.2rem/1 var(--display); letter-spacing: -.03em; }
.r-moose { display: block; width: 86px; height: 66px; margin: 22px auto 0; background: #1c1c1c;
  -webkit-mask: url(/img/moose.webp) center/contain no-repeat; mask: url(/img/moose.webp) center/contain no-repeat; }

/* ------------------------------------------------------------------ tour */
.tour { padding: clamp(60px, 10vw, 120px) 0; }
.tour-head { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.tour-nav { display: none; gap: 10px; }
@media (min-width: 720px) { .tour-nav { display: flex; } }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--tile); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: background .2s, transform .15s; }
.round-btn:hover { background: var(--card); }
.round-btn:active { transform: scale(.92); }
.round-btn svg { width: 22px; height: 22px; }
.tour-track {
  --pad: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  display: flex; gap: clamp(18px, 3vw, 32px); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  padding: 48px var(--pad) 30px; scrollbar-width: none; overscroll-behavior-x: contain;
}
.tour-track::-webkit-scrollbar { display: none; }
.tour-track figure { margin: 0; scroll-snap-align: start; flex: none; }
.tour-track .phone { --pw: clamp(220px, 60vw, 270px); transition: transform .4s var(--ease); }
.tour-track figure:hover .phone { transform: translateY(-8px); }
.tour-track figcaption { margin-top: 18px; color: var(--muted); font-size: .95rem; }
.tour-track figcaption b { display: block; color: var(--ink); font: 700 1.25rem/1.2 var(--display); letter-spacing: -.02em; }

/* ------------------------------------------------------------------ faq */
.faq { padding: clamp(84px, 12vw, 150px) var(--gutter); }
.faq-in { max-width: 860px; margin: 0 auto; }
.faq h2 { text-align: center; }
.qs { margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line-2); }
.qs details { border-bottom: 1px solid var(--line-2); }
.qs summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; cursor: pointer; list-style: none;
  font: 700 clamp(1.15rem, 2.6vw, 1.45rem)/1.25 var(--display); letter-spacing: -.02em;
}
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ""; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--tile) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238c93f5' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/16px no-repeat; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform .35s var(--spring), background-color .2s; }
.qs details[open] summary::after { transform: rotate(135deg); background-color: var(--wash); }
.qs details p { margin: -6px 4px 26px; max-width: 40em; color: var(--muted); font-size: 1.05rem; animation: fade-up .4s var(--ease); }

/* ------------------------------------------------------------------ final */
.final {
  position: relative; overflow: hidden; isolation: isolate; margin: 40px var(--gutter) 0; padding: clamp(70px, 10vw, 120px) 24px;
  border-radius: clamp(32px, 5vw, 56px); text-align: center; color: #fff;
  background: radial-gradient(60% 60% at 50% 0%, #6a72f0, transparent 70%), linear-gradient(180deg, var(--cobalt), var(--cobalt-deep));
}
.final-glow { position: absolute; inset: 0; z-index: -1; opacity: .25; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.final-moose { width: clamp(150px, 30vw, 230px); height: auto; filter: drop-shadow(0 20px 30px rgba(10, 12, 70, .4)); }
.final h2 { margin-top: 20px; font-size: clamp(3rem, 10vw, 7.2rem); letter-spacing: -.055em; }
.final > p { margin: 18px auto 0; max-width: 30em; color: rgba(255, 255, 255, .86); font-size: clamp(1.05rem, 2.4vw, 1.25rem); }
.cta-row.center { justify-content: center; margin-top: 34px; }

/* ------------------------------------------------------------------ footer */
.foot { padding: 56px var(--gutter) calc(40px + env(safe-area-inset-bottom)); }
.foot-in { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; color: var(--muted); font-size: .92rem; }
.foot-in .brand { font-size: 1.05rem; }
.foot-in .brand img { border-radius: 8px; }
.foot-tag { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-left: auto; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); }
.foot-copy { margin: 0; width: 100%; color: var(--faint); }

.confetti { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 90; }

/* ------------------------------------------------------------------ reveal + motion */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }

@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-8px) rotate(1deg); } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 currentColor; } 70%, 100% { box-shadow: 0 0 0 9px transparent; } }
.kicker .dot { color: rgba(52, 196, 106, .6); }
.pulse { color: rgba(140, 147, 245, .6); }
@keyframes rise { from { opacity: 0; translate: 0 80px; } to { opacity: 1; translate: 0 0; } }
@keyframes rise-back { from { opacity: 0; translate: 40px 120px; } to { opacity: .92; translate: 0 0; } }
@keyframes marquee { to { translate: -50% 0; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes bump { 40% { transform: scale(1.12); } }
@keyframes travel {
  0% { left: 0; opacity: 0; } 12% { opacity: 1; } 70% { left: 100%; opacity: 1; } 82%, 100% { left: 100%; opacity: 0; }
}
@keyframes fill-in { 0%, 55% { opacity: .15; } 75%, 100% { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee-track { animation: none; }
  html.js .reveal { opacity: 1; transform: none; }
  .file { left: 50%; opacity: 1; }
}

/* ------------------------------------------------------------------ guides */
.guides { padding: clamp(84px, 12vw, 150px) var(--gutter) 0; }
.guides-in { max-width: 860px; margin: 0 auto; }
.guides h2 { text-align: center; }
.guide-grid { list-style: none; padding: 0; margin: clamp(40px, 6vw, 64px) 0 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .guide-grid { grid-template-columns: 1fr 1fr; } }
.guide-grid a { display: block; height: 100%; padding: 18px 20px; border-radius: 16px; background: var(--tile); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font-weight: 600; text-decoration: none; transition: background-color .2s, transform .25s var(--ease); }
.guide-grid a:hover { background: var(--wash); transform: translateY(-2px); }
.guides-all { text-align: center; margin-top: 28px; font-weight: 700; }

/* ------------------------------------------------------------------ articles dropdown */
.nav-drop { position: relative; margin-left: auto; }
.nav-drop + .btn-nav { margin-left: 8px; }
@media (min-width: 960px) { .nav-drop { margin-left: 0; } }
.nav-drop summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .82); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s; }
.nav-drop summary::-webkit-details-marker { display: none; }
.nav-drop summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .25s var(--ease); }
.nav-drop[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.nav-drop summary:hover, .nav-drop[open] summary { background: rgba(255, 255, 255, .1); color: #fff; }
.drop-menu {
  position: absolute; top: calc(100% + 10px); right: 0; width: min(340px, calc(100vw - 32px));
  display: grid; padding: 8px; border-radius: 18px;
  background: rgba(20, 20, 23, .96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  box-shadow: inset 0 0 0 1px var(--line-2), 0 24px 60px -20px rgba(0, 0, 0, .7);
  animation: fade-up .25s var(--ease);
}
@media (max-width: 959px) { .drop-menu { position: fixed; top: calc(76px + env(safe-area-inset-top)); right: 16px; } }
.drop-menu a { padding: 11px 14px; border-radius: 12px; color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.35; text-decoration: none; }
.drop-menu a:hover, .drop-menu a:focus-visible { background: var(--wash); color: #fff; }
