/* Green Tracker's website (D63): look A "Aurora Glass" of https://claude.ai/artifact/AkwHtCE8iVw8d9yyqEK2qR.
   The app's dark green and its Aurora lights (D29), opened up into slowly drifting green, teal and
   violet lights, with frosted glass cards. Fonts are stored with the site: nothing loads from
   anywhere else (no tracking, D63). Since D89 the fonts are Apple's own (as in the app), so none are downloaded.
   D85 (0.74.0): an Apple-style polish. Buttons answer the moment they're pressed; things move once,
   when they arrive, instead of looping for ever; the four features are one grouped panel; the slider
   is an iPhone-style one with marks where the colours change; the bar at the top gets its edge only
   once the page scrolls under it, and offers Sign up once the hero's buttons have gone; less see-through
   with Reduce Transparency, plainer with Increase Contrast.
   D88 (0.77.0): Anton's own cut-out photos in place of the drawn nugs (img.nug, .card img.bud, .sphone img.photo). */


:root {
  color-scheme: dark;
  --bg: #03070a;
  --text: #f1f6f3;
  --text-2: rgba(241, 246, 243, 0.8);
  --warn: #f0a93b;
  --text-3: rgba(241, 246, 243, 0.6);
  --green: #58e08c;
  --teal: #40c4c4;
  --violet: #8b7bff;
  --on-accent: #03140a;
  --glass: rgba(255, 255, 255, 0.055);
  --glass-edge: rgba(255, 255, 255, 0.13);
  --hairline: rgba(255, 255, 255, 0.09);
  /* The lights take the colours of the Look picked in "Make it yours" (D86); Aurora Glass to start. */
  --lt1: #58e08c; --lt2: #40c4c4; --lt3: #8b7bff;
  --card: #0c1410;
  --card-edge: rgba(88, 224, 140, 0.16);
  --prism: #ff9aa8, #ffc996, #fff2a8, #a6f0c1, #9fdcff, #cdbdff, #ff9aa8;
  /* Apple's own fonts, as in the app since D87 (nothing downloaded): SF Pro on an iPhone or Mac. */
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --num: ui-rounded, "SF Pro Rounded", var(--body);
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  /* One curve for things arriving: quick out, long gentle settle, no overshoot (a critically damped spring). */
  --settle: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body { position: relative; margin: 0; min-height: 100dvh; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.5; overflow-x: clip; }
a { color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p { margin: 0; }

/* The lights: soft coloured glows drifting behind everything, down the whole page. Slow enough to
   feel like weather rather than motion (each drift takes half a minute or more). */
.lights { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); transition: background-color 1.4s ease; }
.l1 { width: 340px; height: 340px; top: -60px; left: -120px; background: var(--lt1); opacity: 0.38; animation: drift1 32s ease-in-out infinite alternate; }
.l2 { width: 300px; height: 300px; top: 120px; right: -140px; background: var(--lt2); opacity: 0.4; animation: drift2 38s ease-in-out infinite alternate; }
.l3 { width: 280px; height: 280px; top: 620px; left: 40px; background: var(--lt3); opacity: 0.32; animation: drift1 44s ease-in-out infinite alternate-reverse; }
.l4 { width: 360px; height: 360px; top: 1600px; right: -160px; background: var(--lt3); opacity: 0.25; animation: drift2 48s ease-in-out infinite alternate; }
.l5 { width: 360px; height: 360px; top: 2500px; left: -160px; background: var(--lt1); opacity: 0.25; animation: drift1 40s ease-in-out infinite alternate; }

/* Frosted bar along the top. No line under it at the top of the page; once the page scrolls under
   it, a soft edge appears (site.js adds .edge), so it reads as floating over what's beneath. */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) var(--gutter-r) 12px var(--gutter-l);
  background: rgba(3, 7, 10, 0.55); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 1px 0 transparent, 0 10px 24px -18px transparent; transition: box-shadow 0.3s ease; }
.nav.edge { box-shadow: 0 1px 0 var(--hairline), 0 10px 24px -18px rgba(0, 0, 0, 0.9); }
.brand { display: flex; align-items: center; gap: 9px; min-height: 44px; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -0.01em; text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
/* Open app, swapped for Sign up once the hero's buttons have scrolled away (site.js adds .join). */
.nav-act { display: grid; justify-items: end; }
.nav-act > a { grid-area: 1 / 1; transition: opacity 0.25s ease, transform 0.35s var(--settle), visibility 0s linear 0s; }
.nav-act .join { opacity: 0; visibility: hidden; transform: scale(0.92); transition-delay: 0s, 0s, 0.35s; }
.nav.join .nav-act .join { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.nav.join .nav-act .open { opacity: 0; visibility: hidden; transform: scale(0.92); transition-delay: 0s, 0s, 0.35s; }

.page { max-width: 560px; margin: 0 auto; padding: 0 var(--gutter-r) 0 var(--gutter-l); }

/* Buttons answer the moment a finger lands (not when it lifts): a quick press-in, a softer let-go. */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; border-radius: 99px; font-weight: 800; text-decoration: none; white-space: nowrap;
  letter-spacing: 0.005em; transition: transform 0.25s var(--settle), filter 0.25s ease; }
.btn:active { transform: scale(0.96); filter: brightness(0.92); transition-duration: 0.08s; }
.btn.sm { min-height: 44px; padding: 8px 16px; font-size: 13px; background: var(--glass); border: 1px solid var(--glass-edge); }
.btn.sm.go { padding: 8px 18px; font-size: 13px; box-shadow: 0 6px 20px rgba(88, 224, 140, 0.3); }
.btn.go { padding: 15px 26px; font-size: 16px; color: var(--on-accent); background: linear-gradient(100deg, var(--green), var(--teal)); box-shadow: 0 10px 40px rgba(88, 224, 140, 0.35); }
/* One shine across the main button, once, after the page arrives: a hint, not a nag. */
.hero .btn.go::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%); transform: translateX(-120%); animation: sweep 1.1s ease-in-out 1.4s both; }
.btn.ghost { padding: 15px 20px; font-size: 15px; background: var(--glass); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }

/* Hero */
.hero { padding-top: 34px; display: grid; gap: 18px; }
.eyebrow { display: inline-flex; width: fit-content; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 99px; font-size: 13px; font-weight: 700; letter-spacing: 0.01em;
  background: var(--glass); border: 1px solid var(--glass-edge); color: var(--text); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.eyebrow::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
/* Big words: tight lines and tighter letters; small words: a touch looser (tracking by size). */
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(38px, 11vw, 56px); line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance; }
h1 em { font-style: normal; background: linear-gradient(100deg, #8ff0b4, #7fe3e3 50%, #b3a8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 17px; line-height: 1.55; color: var(--text-2); max-width: 34ch; text-wrap: pretty; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }
/* What sign-up asks for (D80: an email and a password; Face ID optional). */
.asks { font-size: 14.5px; color: var(--text-2); max-width: 40ch; letter-spacing: 0.005em; }

/* The glass iPhone with the Leaderboard on it. It arrives once and then holds still: the rows slide
   in, the chips settle around it. */
.stage { position: relative; height: 490px; margin-top: 10px; perspective: 1000px; }
.mini { position: absolute; left: 50%; top: 34px; width: 236px; height: 440px; margin-left: -118px; border-radius: 38px; padding: 8px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04)); border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.3); transform: rotateX(calc(10deg + var(--tx, 0deg))) rotateY(calc(-16deg + var(--ty, 0deg))) rotateZ(3deg); animation: appear 0.9s var(--settle) 0.15s both; }
/* D86: the phone can be picked up. Drag it and it turns with your finger, the light sliding across its glass. */
.stage { touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; }
.stage.held { cursor: grabbing; }
.mini::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 18%), rgba(255, 255, 255, 0.22), transparent 45%); mix-blend-mode: screen; }
.mini-in { height: 100%; border-radius: 31px; overflow: hidden; padding: 30px 9px 9px;
  background: radial-gradient(70% 40% at 8% -4%, rgba(88, 224, 140, 0.25), transparent 70%), radial-gradient(60% 38% at 100% 6%, rgba(64, 196, 196, 0.18), transparent 70%), #050807; }
.mini-h { display: flex; justify-content: space-between; align-items: baseline; padding: 0 4px 8px; }
.mini-h b { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }
.mini-h span { font-size: 9px; color: var(--text-3); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-bottom: 8px; }
.tiles div { border-radius: 9px; padding: 6px; background: linear-gradient(115deg, rgba(88, 224, 140, 0.1), transparent 60%), var(--card); border: 1px solid var(--card-edge); }
.tiles small { display: block; font-size: 7px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.06em; }
.tiles b { font-size: 14px; font-family: var(--num); }
.lb { display: grid; gap: 5px; }

/* A Leaderboard row, as in the app: colours earned by the score (D48), the heat glow below 8 (D30). */
.lr { display: grid; grid-template-columns: 12px 30px minmax(0, 1fr) auto; gap: 6px; align-items: center; padding: 6px 7px 6px 4px; border-radius: 10px; font-size: 9.5px;
  background: var(--card); border: 1px solid var(--card-edge); }
.lb .lr { animation: slidein 0.7s var(--settle) both; }
.lb .lr:nth-child(1) { animation-delay: 0.45s; } .lb .lr:nth-child(2) { animation-delay: 0.53s; } .lb .lr:nth-child(3) { animation-delay: 0.61s; } .lb .lr:nth-child(4) { animation-delay: 0.69s; } .lb .lr:nth-child(5) { animation-delay: 0.77s; }
.lr .rk { color: var(--text-3); font-weight: 800; text-align: center; }
.lr .nm { min-width: 0; }
.lr .nm b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 10px; }
.lr .nm small { display: block; color: var(--text-3); font-size: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr .sc { font-family: var(--num); font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.lr.heat { --heat: #c8e86b; background: linear-gradient(270deg, color-mix(in srgb, var(--heat) 22%, transparent), transparent 60%), var(--card); border-color: color-mix(in srgb, var(--heat) 32%, transparent); }
.lr.heat .sc { color: var(--heat); }
/* The holo shimmer is the colour a top score earns in the app, so it keeps moving. */
.holo { --dk: 0.7; border: 1px solid rgba(255, 255, 255, 0.28);
  background: linear-gradient(rgba(10, 14, 12, var(--dk)), rgba(10, 14, 12, var(--dk))), linear-gradient(90deg, var(--prism), #ffc996, #fff2a8, #a6f0c1, #9fdcff, #cdbdff, #ff9aa8);
  background-size: 100% 100%, 300% 100%; background-position: 0 0, 0 0; }
.holo .sc { background: linear-gradient(90deg, #ff9aa8, #fff2a8, #9fdcff, #ff9aa8); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: holo-text 6s linear infinite; }
.holo { animation: holo 8s linear infinite; }
.lb .lr.holo { animation: slidein 0.7s var(--settle) both, holo 8s linear infinite; }
.holo.b4 { --dk: 0.5; } .holo.b3 { --dk: 0.66; } .holo.b2 { --dk: 0.78; } .holo.b1 { --dk: 0.88; }

.nug { aspect-ratio: 1; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5) 0 4%, transparent 5%), radial-gradient(circle at 62% 58%, #b48cff 0 10%, transparent 24%), radial-gradient(circle at 40% 40%, #b6ffd4, #58e08c 30%, #2a7a46 58%, #0f2a1a 80%); }
.nug.n2 { background: radial-gradient(circle at 35% 30%, #fff6 0 4%, transparent 5%), radial-gradient(circle at 60% 50%, #7aa8ff 0 12%, transparent 26%), radial-gradient(circle at 45% 45%, #d4ffe6, #6fd89a 32%, #23603b 62%, #0d2216 82%); }
.nug.n3 { background: radial-gradient(circle at 50% 50%, #ffe7a8, #f0b44b 40%, #8a5a12 70%, #2a1a05 90%); }
.nug.n4 { background: radial-gradient(circle at 50% 45%, #ffb0c4, #ff6f91 40%, #8a2440 72%, #2a0612 92%); border-radius: 50%; }
.nug.n5 { background: radial-gradient(circle at 38% 36%, #e2d4ff, #9d7bff 32%, #4a2c8a 62%, #160b2a 85%); }

/* Glass chips around the phone: they materialise (sharpen and grow into place) one after another. */
.chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 16px; font-size: 12px; font-weight: 700;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4); animation: materialise 0.7s var(--settle) both; }
.chip .nug { width: 28px; }
.chip small { display: block; font-weight: 500; color: var(--text-3); font-size: 10.5px; letter-spacing: 0.01em; }
.chip .big { display: block; font-family: var(--num); font-size: 18px; color: var(--green); }
.c1 { left: -6px; top: 0; animation-delay: 0.9s; }
.c2 { right: 0; top: 424px; animation-delay: 1.05s; }

/* Sections */
.sec { padding-top: 64px; display: grid; gap: 16px; scroll-margin-top: 64px; }
.label { font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); }
h2 { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.feats { display: grid; gap: 12px; }
.feat, .rate, .step { position: relative; overflow: hidden; background: var(--glass); border: 1px solid var(--glass-edge); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); }
.feat { display: grid; gap: 8px; padding: 18px; border-radius: 22px; }
.feat::before { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(255, 255, 255, 0.1), transparent 40%); pointer-events: none; }
.feat .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; border: 1px solid var(--glass-edge);
  background: linear-gradient(135deg, rgba(88, 224, 140, 0.3), rgba(64, 196, 196, 0.18)); }
.feat .ic svg { width: 22px; height: 22px; stroke: var(--text); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Card titles in the body font, heavy: the wide display face stays for the page's big headings, so
   the order of importance reads from weight and size rather than two shouting faces. */
h3 { margin-top: 4px; font-family: var(--body); font-size: 18px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
.feat p { color: var(--text-2); font-size: 15px; }
/* D86: the scroll story. The phone is held beside the words (sticky) and shows each feature as its words pass
   the middle of the screen; scrolling back plays it in reverse. The words never pass behind it. */
.story { display: grid; grid-template-columns: minmax(0, 1fr) 132px; column-gap: 16px; align-items: start; }
.story .pin { grid-column: 2; grid-row: 1 / span 4; position: sticky; top: 96px; display: grid; justify-items: center; gap: 10px; }
.story .feat { grid-column: 1; min-height: 320px; align-content: center; padding: 0; border: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; overflow: visible; }
.story .feat::before { content: none; }
.story .feat .ic { margin-bottom: 4px; }
.story .feat p { transition: color 0.4s ease; }
.sphone { position: relative; width: 132px; height: 258px; border-radius: 26px; padding: 5px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04)); border: 1px solid rgba(255, 255, 255, 0.22); box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55); }
.sphone .scrs { position: relative; height: 100%; border-radius: 21px; overflow: hidden;
  background: radial-gradient(70% 40% at 8% -4%, rgba(88, 224, 140, 0.22), transparent 70%), #050807; }
.sphone .s { position: absolute; inset: 0; padding: 20px 6px 6px; display: grid; gap: 4px; align-content: start; opacity: 0; transform: scale(0.96); filter: blur(4px);
  transition: opacity 0.45s ease, transform 0.6s var(--settle), filter 0.45s ease; }
.sphone .s.on { opacity: 1; transform: none; filter: none; }
.sphone .tt { font-weight: 800; font-size: 11px; padding: 0 2px 2px; }
.sphone .lr { grid-template-columns: 8px 18px minmax(0, 1fr) auto; gap: 4px; padding: 3px 5px 3px 3px; border-radius: 7px; font-size: 7px; }
.sphone .lr .nm b { font-size: 7.5px; } .sphone .lr .nm small { font-size: 6px; } .sphone .lr .sc { font-size: 10px; }
.sphone .lr .nug { border-radius: 5px; }
.sphone .photo { display: block; height: 96px; border-radius: 10px; }
.sphone .kv { display: flex; justify-content: space-between; gap: 6px; font-size: 8px; padding: 4px 6px; border-radius: 7px; background: var(--card); border: 1px solid var(--card-edge); white-space: nowrap; overflow: hidden; }
.sphone .kv b { font-family: var(--num); }
.sdots { display: flex; gap: 5px; }
.sdots i { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.3); transition: width 0.35s var(--settle), background 0.35s ease; }
.sdots i.on { width: 16px; background: var(--text); }

/* D86: Make it yours. A row of the app's Looks to swipe (snapping to the nearest), a little phone in that Look, and
   the page's lights slowly taking its colours. A light Look shows on the little phone; the page stays dark. */
.lookstage { display: grid; place-items: center; padding: 6px 0; }
.pmini { width: 200px; height: 300px; border-radius: 32px; padding: 7px; background: linear-gradient(150deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.04)); border: 1px solid rgba(255, 255, 255, 0.22); box-shadow: 0 26px 60px rgba(0, 0, 0, 0.55); }
.pmini .scr { height: 100%; border-radius: 26px; overflow: hidden; padding: 22px 8px 8px; display: grid; gap: 5px; align-content: start; color: var(--pm-text, var(--text));
  background: radial-gradient(80% 45% at 10% -5%, color-mix(in srgb, var(--lt1) 40%, transparent), transparent 70%), radial-gradient(60% 40% at 100% 10%, color-mix(in srgb, var(--lt2) 30%, transparent), transparent 70%), var(--pm-bg, #050807);
  transition: background-color 1.2s ease, color 1.2s ease; }
.pmini .tt { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 0 3px 4px; }
.pmini .tt i { width: 18px; height: 18px; border-radius: 50%; background: var(--lt1); box-shadow: 0 0 10px var(--lt1); transition: background-color 1.2s ease, box-shadow 1.2s ease; }
.pmini .lr { grid-template-columns: 10px 24px minmax(0, 1fr) auto; gap: 6px; padding: 5px 7px 5px 5px; border-radius: 10px; font-size: 8px; background: var(--pm-card, var(--card)); border-color: color-mix(in srgb, var(--lt1) 34%, transparent); transition: background-color 1.2s ease, border-color 1.2s ease; }
.pmini .lr .nm b { font-size: 10px; } .pmini .lr .nm small { font-size: 8px; color: inherit; opacity: 0.6; } .pmini .lr .sc { font-size: 13px; }
.pmini .lr:not(.holo) .sc { color: var(--pm-score, var(--lt1)); transition: color 1.2s ease; }
.looks { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter-r)) 0 calc(-1 * var(--gutter-l));
  padding: 8px calc(50% - 50px) 12px; overscroll-behavior-x: contain; }
.looks::-webkit-scrollbar { display: none; }
.lk { flex: none; width: 100px; scroll-snap-align: center; display: grid; gap: 7px; justify-items: center; padding: 0; border: 0; background: none; color: var(--text-2); font: 700 12.5px/1.25 var(--body); text-align: center; cursor: pointer; }
.lk .sw { width: 76px; height: 76px; border-radius: 22px; border: 1px solid var(--glass-edge); transition: transform 0.35s var(--settle), box-shadow 0.35s ease; }
.lk:active .sw { transform: scale(0.94); transition-duration: 0.08s; }
.lk[aria-pressed="true"] { color: var(--text); }
.lk[aria-pressed="true"] .sw { transform: scale(1.08); box-shadow: 0 0 0 2px var(--text), 0 10px 26px rgba(0, 0, 0, 0.5); }
.sw-aurora { background: radial-gradient(70% 70% at 20% 20%, #58e08c, transparent 70%), radial-gradient(70% 70% at 90% 80%, #40c4c4, transparent 70%), radial-gradient(60% 60% at 80% 10%, #8b7bff, transparent 70%), #03070a; }
.sw-neon { background: radial-gradient(70% 70% at 20% 20%, #b06bff, transparent 70%), radial-gradient(70% 70% at 90% 80%, #ff5ab4, transparent 70%), radial-gradient(60% 60% at 80% 10%, #3fdcf0, transparent 70%), #06041a; }
.sw-forest { background: radial-gradient(70% 70% at 20% 20%, #3fa866, transparent 70%), radial-gradient(70% 70% at 90% 80%, #1f6b45, transparent 70%), radial-gradient(60% 60% at 80% 10%, #7fc896, transparent 70%), #050807; }
.sw-sakura { background: radial-gradient(70% 70% at 20% 20%, #f58cba, transparent 70%), radial-gradient(70% 70% at 90% 80%, #ffb3d3, transparent 70%), radial-gradient(60% 60% at 80% 10%, #b48cff, transparent 70%), #130a13; }
.sw-fireflies { background: radial-gradient(70% 70% at 20% 20%, #b6e85a, transparent 70%), radial-gradient(70% 70% at 90% 80%, #2f8a6a, transparent 70%), radial-gradient(60% 60% at 80% 10%, #d4f78a, transparent 70%), #040b0b; }
.sw-deepsea { background: radial-gradient(70% 70% at 20% 20%, #3fd6c4, transparent 70%), radial-gradient(70% 70% at 90% 80%, #2a7fd6, transparent 70%), radial-gradient(60% 60% at 80% 10%, #7ff0e0, transparent 70%), #020a14; }
.sw-frost { background: radial-gradient(70% 70% at 20% 20%, #7cc8f0, transparent 70%), radial-gradient(70% 70% at 90% 80%, #aee0ff, transparent 70%), radial-gradient(60% 60% at 80% 10%, #8ea8ff, transparent 70%), #060b12; }
.sw-nebula { background: radial-gradient(70% 70% at 20% 20%, #a99bff, transparent 70%), radial-gradient(70% 70% at 90% 80%, #ff8ad8, transparent 70%), radial-gradient(60% 60% at 80% 10%, #5a7bff, transparent 70%), #05040c; }
.sw-outrun { background: radial-gradient(70% 70% at 20% 20%, #3fdcf0, transparent 70%), radial-gradient(70% 70% at 90% 80%, #ff4fd8, transparent 70%), radial-gradient(60% 60% at 80% 10%, #8b4fff, transparent 70%), #0a0420; }
.sw-lava { background: radial-gradient(70% 70% at 20% 20%, #ffa94d, transparent 70%), radial-gradient(70% 70% at 90% 80%, #ff5a6e, transparent 70%), radial-gradient(60% 60% at 80% 10%, #ffd166, transparent 70%), #12060c; }
.sw-daysky { background: radial-gradient(70% 70% at 20% 20%, #8fc4f5, transparent 70%), radial-gradient(70% 70% at 90% 80%, #ffd6a0, transparent 70%), #eef3fa; }

/* D86: Rate the stack. A deck of made-up products: drag the top card and its score changes as it moves (it takes
   the app's colours once it's past 8); throw it and it flies off at your speed; after five, your top shelf. */
.rate { display: grid; gap: 14px; padding: 18px; border-radius: 22px; }
.rate-help { max-width: 40ch; }
.stack { position: relative; height: 340px; touch-action: pan-y; }
.card { position: absolute; inset: 0 4px; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; padding: 18px; border-radius: 26px; touch-action: pan-y; cursor: grab;
  -webkit-user-select: none; user-select: none; will-change: transform;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)), #0b1210; border: 1px solid var(--glass-edge); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5); }
.card.holo { background: linear-gradient(rgba(10, 14, 12, var(--dk)), rgba(10, 14, 12, var(--dk))), linear-gradient(90deg, var(--prism), #ffc996, #fff2a8, #a6f0c1, #9fdcff, #cdbdff, #ff9aa8); background-size: 100% 100%, 300% 100%; }
.card:active { cursor: grabbing; }
.ctop { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.card .bud { width: 140px; justify-self: center; align-self: center; border-radius: 30px; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.cbot { display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.cnm { min-width: 0; }
.cnm b { display: block; font: 800 21px/1.1 var(--display); letter-spacing: -0.02em; }
.cnm small { color: var(--text-2); font-size: 13px; }
.cscore { font: 800 44px/1 var(--num); font-variant-numeric: tabular-nums; color: var(--text-3); }
.card.holo .cscore { background: linear-gradient(90deg, #ff9aa8, #fff2a8, #9fdcff, #ff9aa8); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: holo-text 6s linear infinite; }
.stamp { position: absolute; top: 20px; padding: 5px 11px; border-radius: 12px; border: 2px solid; font: 800 15px var(--display); letter-spacing: 0.02em; text-transform: uppercase; opacity: 0; }
.stamp.fire { left: 18px; color: #ffc996; transform: rotate(-10deg); }
.stamp.mids { right: 18px; color: #d8c8b0; transform: rotate(10deg); }
.rate-btns { display: flex; justify-content: center; gap: 10px; }
.rate-btns .btn { min-width: 110px; min-height: 48px; }
.now { min-height: 1.5em; text-align: center; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.board { display: grid; gap: 7px; align-content: start; }
.board .lr { grid-template-columns: 18px 40px minmax(0, 1fr) auto; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 14px; font-size: 13px; animation: rise 0.6s var(--settle) both; }
.board .lr.holo { animation: rise 0.6s var(--settle) both, holo 8s linear infinite; }
.board .lr .nm b { font-size: 14px; } .board .lr .nm small { font-size: 11.5px; } .board .lr .sc { font-size: 20px; }
.board .label { margin-bottom: 4px; }

/* D86: the install sheet. Slides up from the bottom over a dimmed page; drag it, flick it down to close. */
html.sheet-open { overflow: hidden; }
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, 0.55); opacity: 0; }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; max-height: 92dvh; overflow: hidden; display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; gap: 0; align-content: start;
  padding: 8px 0 calc(18px + env(safe-area-inset-bottom, 0px)); border-radius: 30px 30px 0 0; touch-action: none; transform: translateY(110%);
  background: rgba(20, 27, 25, 0.82); -webkit-backdrop-filter: blur(30px) saturate(170%); backdrop-filter: blur(30px) saturate(170%);
  border-top: 1px solid rgba(255, 255, 255, 0.18); box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.5); }
.sheet:focus { outline: none; }
.grab { width: 40px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, 0.35); margin: 2px auto 12px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 var(--gutter-r) 0 var(--gutter-l); }
.sheet-title { font: 800 20px/1.15 var(--display); letter-spacing: -0.02em; text-wrap: balance; }
.sheet-done { flex: none; min-height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--glass-edge); background: var(--glass); color: var(--text); font: 800 14px var(--body); cursor: pointer; transition: transform 0.25s var(--settle); }
.sheet-done:active { transform: scale(0.95); transition-duration: 0.08s; }
.sheet-more { justify-self: center; margin-top: 10px; min-height: 44px; display: inline-flex; align-items: center; padding: 0 12px; font-size: 14px; font-weight: 700; color: var(--green); }

/* The smallest iPhones: the story's phone a little smaller, so the words keep room. */
@media (max-width: 359px) { .story { grid-template-columns: minmax(0, 1fr) 106px; } .sphone, .sdots { zoom: 0.8; } }

/* Get it on your iPhone */
.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.step { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 4px 14px; align-items: start; align-content: start; padding: 16px; border-radius: 20px; }
.step .n { grid-row: span 2; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 800; color: var(--on-accent); background: linear-gradient(135deg, var(--green), var(--teal)); }
.step b { font-size: 16px; line-height: 1.35; }
.step p { font-size: 15px; color: var(--text-2); }
/* The film at the top (D98), in place of the drawn phone (whose styles stay for the share picture, og.html):
   upright like a phone, the iPhone's own controls, its poster showing until it's played. */
.film { margin: 22px 0 0; }
.film video { display: block; width: min(86%, 330px); height: auto; aspect-ratio: 9 / 16; margin: 0 auto; border-radius: 26px; border: 1px solid var(--glass-edge); background: #03070a; box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45); }
/* The how-to video (D68): the iPhone's own controls; the thumbnail shows until it's played. */
.video { margin: 0; display: grid; gap: 8px; }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 20px; border: 1px solid var(--glass-edge); background: #03070a; box-shadow: 0 16px 50px rgba(0, 0, 0, 0.45); }
.video figcaption { font-size: 14.5px; color: var(--text-2); }
.other { padding: 2px 2px 0; font-size: 14.5px; color: var(--text-2); }

.final { margin-top: 64px; padding: 30px 22px; border-radius: 28px; display: grid; gap: 14px; justify-items: center; text-align: center;
  background: radial-gradient(120% 90% at 50% 0%, rgba(88, 224, 140, 0.22), transparent 70%), var(--glass); border: 1px solid var(--glass-edge); }
.final h2 { font-size: 28px; }
.final .lede { max-width: none; }
.foot { display: grid; gap: 6px; padding: 40px var(--gutter-r) calc(40px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); text-align: center; font-size: 13px; color: var(--text-3); letter-spacing: 0.01em; }
.foot .who { color: var(--text-2); font-weight: 700; }

/* Each block arrives as it scrolls into view: a short rise that sharpens into place. Visible before
   then: site.js only adds .play. */
.reveal.play { animation: rise 0.6s var(--settle) both; }

@keyframes holo { to { background-position: 0 0, 300% 0; } }
@keyframes holo-text { to { background-position: 300% 0; } }
@keyframes sweep { from { transform: translateX(-120%); } to { transform: translateX(120%); } }
@keyframes drift1 { to { transform: translate(80px, 60px) scale(1.2); } }
@keyframes drift2 { to { transform: translate(-70px, 90px) scale(0.85); } }
@keyframes appear { from { opacity: 0; filter: blur(8px); } }
@keyframes materialise { from { opacity: 0; scale: 0.88; filter: blur(8px); } }
@keyframes slidein { from { opacity: 0; transform: translateX(-14px); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } }
@keyframes pop { 40% { scale: 1.035; } }

/* Reduce Motion (iPhone Settings → Accessibility → Motion): everything stays still. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
/* Reduce Transparency: the glass turns solid, nothing blurs what's behind it. */
@media (prefers-reduced-transparency: reduce) {
  .nav { background: #070d0c; }
  .nav, .btn.ghost, .eyebrow, .chip, .feat, .rate, .step, .card, .sheet { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .btn.ghost, .btn.sm:not(.go), .eyebrow, .feat, .rate, .step, .final { background: #0f1714; }
  .chip { background: #1a2420; }
  .sheet { background: #141b19; }
}
/* Increase Contrast: plainer cards with clearer edges, and the quieter words a little brighter. */
@media (prefers-contrast: more) {
  :root { --text-2: rgba(241, 246, 243, 0.92); --text-3: rgba(241, 246, 243, 0.8); --glass-edge: rgba(255, 255, 255, 0.4); --hairline: rgba(255, 255, 255, 0.3); }
  .btn.ghost, .btn.sm:not(.go), .eyebrow, .feat, .rate, .step, .final { background: #0b1210; }
  .sheet { background: #0b1210; border-top-color: var(--glass-edge); }
}

/* Wider screens: the phone picture sits beside the words. */
@media (min-width: 900px) {
  .page { max-width: 1080px; }
  .hero { grid-template-columns: minmax(0, 1fr) 420px; column-gap: 48px; padding-top: 80px; align-items: center; }
  .hero > :not(.film) { grid-column: 1; }
  .film { grid-column: 2; grid-row: 1 / span 6; margin-top: 0; }
  .film video { width: min(100%, 340px); }
  /* Everything lines up with the hero's left edge; the steps sit side by side. */
  /* The scroll story: the words on the left, a bigger phone held on the right. */
  .story { grid-template-columns: minmax(0, 1fr) 300px; column-gap: 48px; }
  .story .pin { top: 120px; }
  .sphone { width: 240px; height: 470px; border-radius: 40px; padding: 8px; }
  .sphone .scrs { border-radius: 33px; }
  .sphone .s { padding: 32px 10px 10px; gap: 7px; }
  .sphone .tt { font-size: 17px; }
  .sphone .lr { grid-template-columns: 12px 30px minmax(0, 1fr) auto; font-size: 9.5px; }
  .sphone .lr .nm b { font-size: 11px; } .sphone .lr .nm small { font-size: 9px; } .sphone .lr .sc { font-size: 15px; }
  .sphone .kv { font-size: 12px; padding: 8px 10px; }
  .sphone .photo { height: 170px; }
  .story .feat { min-height: 420px; }
  .stack { height: 380px; max-width: 420px; }
  .rate { max-width: 640px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wrong .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sheet .steps, .notapp .steps { grid-template-columns: 1fr; }
  .getapp, .wrong { max-width: 640px; }
  .wrong { max-width: 900px; }
  .rate, .video { width: 100%; max-width: 640px; }
  .sheet { left: 50%; right: auto; width: 520px; margin-left: -260px; }
}

/* D96: the one button, the wrong browser, and the website opened from a Home Screen icon. */
.getapp, .wrong { display: grid; gap: 14px; }
.usesafari { padding: 12px 14px; border-radius: 16px; border: 1px solid var(--warn); background: rgba(240, 169, 59, 0.12); font-size: 15.5px; color: var(--text); }
.usesafari b { color: var(--warn); }
.openapp, .copylink { width: 100%; min-height: 56px; font-size: 18px; }
.notthis { font-size: 14.5px; color: var(--text-2); }
.wrong-title { font: 800 22px/1.15 var(--display); letter-spacing: -0.02em; }
.wrong-why { font-size: 15.5px; color: var(--text-2); }
.applink { padding: 12px; border-radius: 12px; border: 1px solid var(--glass-edge); background: rgba(0, 0, 0, 0.45); font: 600 14px ui-monospace, "SF Mono", Menlo, monospace; overflow-wrap: anywhere; -webkit-user-select: all; user-select: all; }
.copied { font-size: 14.5px; color: var(--text-2); }
.copied:empty { display: none; }
.sheet-body { padding: 8px var(--gutter-r) 0 var(--gutter-l); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; }
/* 0.85.1: in the sheet the steps are shorter, so the button is never cut off at the bottom (Anton's screenshot,
   Chrome on an iPhone); on a very short screen the middle of the sheet scrolls and the button stays in reach. */
.sheet .getapp, .sheet .wrong { gap: 10px; }
.sheet .step { padding: 10px 14px; }
.sheet .wrong .step p, .sheet .wrong .wrong-title { display: none; }
.sheet .step, .notapp .step { -webkit-backdrop-filter: none; backdrop-filter: none; }
.notapp { position: fixed; inset: 0; z-index: 60; overflow-y: auto; background: #03070a; }
.notapp:focus { outline: none; }
.notapp-in { display: grid; gap: 14px; max-width: 520px; margin: 0 auto; padding: calc(24px + env(safe-area-inset-top, 0px)) var(--gutter-r) calc(24px + env(safe-area-inset-bottom, 0px)) var(--gutter-l); }
.notapp h2 { font-size: 28px; }
.brandline { display: flex; align-items: center; gap: 8px; font: 800 16px var(--display); }
.notapp-stay { justify-self: center; min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--text-2); font: 600 15px var(--body); text-decoration: underline; cursor: pointer; }

/* The page for an address that doesn't exist. */
.lost { min-height: 100dvh; display: grid; align-content: center; gap: 18px; padding-block: 40px; }
.lost .ctas { padding-top: 0; }
/* The sheet's glass carries on below its bottom edge, so pulling it up never shows a gap. */
.sheet::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 120px; background: inherit; }
/* Rate the stack's words are real words to read (not a picture, like the hero's phone): over the holo colours they
   stay bright, and the holo sits a shade darker behind them. */
.board .lr .rk, .board .lr .nm small, .card.holo .ctop, .card.holo .cnm small { color: var(--text-2); }
.board .holo.b4, .card.holo.b4 { --dk: 0.66; } .board .holo.b3, .card.holo.b3 { --dk: 0.76; }
.board .holo.b2, .card.holo.b2 { --dk: 0.84; } .board .holo.b1, .card.holo.b1 { --dk: 0.9; }
/* D88: Anton's own photos (the app's cut-outs, background removed) in place of the drawn nugs. Each sits on a soft
   dark tile in the rows and chips, and floats on its own on the Rate the stack cards and the story's screens. */
img.nug { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; padding: 2px; border-radius: 8px;
  background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02) 70%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.chip img.nug { width: 32px; }
.card img.bud { display: block; width: 168px; height: 168px; justify-self: center; align-self: center; object-fit: contain; border-radius: 0; box-shadow: none;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55)); -webkit-user-drag: none; user-select: none; pointer-events: none; }
.sphone img.photo { display: block; width: 100%; height: 96px; object-fit: contain; border-radius: 10px; background: radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.08), transparent 70%); }
@media (min-width: 900px) { .sphone img.photo { height: 170px; } .stack .card img.bud { width: 210px; height: 210px; } }

/* ===== D89 (0.78.0): the full overhaul. The website matches the app's Apple-style design (D87): Apple's fonts,
   the phone drawn as the new app, calm labels, a privacy section, a footer with ways on, hover for a mouse. ===== */
h1 { font-weight: 800; font-size: clamp(40px, 11.5vw, 60px); line-height: 1.02; letter-spacing: -0.04em; }
h2 { font-weight: 800; font-size: 32px; line-height: 1.08; letter-spacing: -0.035em; }
.final h2 { font-size: 30px; }
.brand { font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.verdict, .now { font-weight: 700; letter-spacing: -0.02em; }
.cnm b { font-weight: 800; letter-spacing: -0.03em; font-size: 23px; }
/* Calm labels, as in the app: sentence case, no spaced-out capitals. */
.label { text-transform: none; letter-spacing: -0.01em; font-size: 15px; font-weight: 600; }
.ctop { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 600; }
.hero { gap: 16px; padding-top: 28px; }
.lede { font-size: 17px; letter-spacing: -0.01em; }
.asks { font-size: 14px; }

/* The hero's phone, drawn as the app looks now: a large title, the Compact line, calm rows, the floating tab bar. */
.mini-in { padding: 34px 9px 9px; position: relative; display: flex; flex-direction: column; gap: 6px; }
.mini-top { display: flex; justify-content: space-between; align-items: center; padding: 0 3px; }
.mt-l { font: 800 21px/1.1 var(--display); letter-spacing: -0.03em; }
.mt-av { width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #b6ffd4, #2f8a5a 70%); box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.25); }
.mini-strip { padding: 0 3px 2px; font-size: 8.5px; color: var(--text-3); }
.mini-strip b { color: var(--text); font-family: var(--num); font-size: 9.5px; }
.mini .lr { border: 0; border-radius: 12px; }
.mini .lr:not(.holo) { background: rgba(255, 255, 255, 0.06); }
.mini .lr.holo { border: 0; }
.mini-bar { position: absolute; left: 9px; right: 9px; bottom: 10px; display: flex; gap: 6px; align-items: center; }
.mb-tabs { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); padding: 3px; border-radius: 20px; background: rgba(40, 46, 44, 0.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.22), 0 6px 16px rgba(0, 0, 0, 0.4); }
.mb-tabs > span { display: grid; place-items: center; height: 26px; border-radius: 16px; color: var(--text-3); }
.mb-tabs > span.on { color: #8ff0b4; background: rgba(255, 255, 255, 0.1); }
.mb-plus { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: #8ff0b4; background: rgba(40, 46, 44, 0.72); box-shadow: inset 0 0.5px 0 rgba(255, 255, 255, 0.22), 0 6px 16px rgba(0, 0, 0, 0.4); }
.mini-bar svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* The story's and the Looks' little phones: calm rows too. */
.sphone .lr, .pmini .lr, .sphone .kv { border: 0; }
.sphone .lr:not(.holo):not(.heat), .pmini .lr:not(.holo), .sphone .kv { background: rgba(255, 255, 255, 0.06); }
.sphone .lr.holo, .pmini .lr.holo { border: 0; }
.sphone .tt, .pmini .tt { font-weight: 800; letter-spacing: -0.02em; }
.ik { display: inline-flex; align-items: center; gap: 3px; }
.ik svg { width: 9px; height: 9px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; }
.story .feat { min-height: 270px; }

/* Your stash is your business: four plain promises. */
.promises { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 0; border-radius: 22px; background: var(--glass); overflow: hidden; }
.promises li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 16px 16px 14px; }
.promises li + li { box-shadow: inset 0 0.5px 0 var(--hairline); }
.pi { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #03140a; background: linear-gradient(135deg, var(--green), var(--teal)); }
.pi svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.promises h3 { margin: 0 0 3px; font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
.promises p { margin: 0; font-size: 15px; color: var(--text-2); }

/* The footer: a way back to the app and to Anton, then the small print. */
.foot { gap: 8px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; margin-bottom: 10px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 99px; color: var(--text); font-weight: 600; font-size: 15px; text-decoration: none; background: var(--glass); }

/* A mouse gets hover feedback too (phones don't hover). */
@media (hover: hover) {
  .btn, .foot-links a, .lk .sw, .card { transition: transform 0.25s var(--settle), filter 0.2s ease, background-color 0.2s ease; }
  .btn:hover, .foot-links a:hover { filter: brightness(1.12); }
  .btn.ghost:hover, .foot-links a:hover { background: rgba(255, 255, 255, 0.1); }
  .lk:hover .sw { transform: translateY(-2px); }
  .promises li:hover { background: rgba(255, 255, 255, 0.025); }
}
@media (min-width: 900px) {
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises li:nth-child(2) { box-shadow: none; }
  .looks { margin: 0; padding-left: 4px; padding-right: 4px; justify-content: center; }
  .story .feat { min-height: 360px; }
}
.stage { height: 530px; }
.c2 { top: 478px; }

/* Soft light (D101, as in the app): site.js puts a .touch-light inside what a finger presses, or what a mouse moves
   over, centred where it is (--tx / --ty), in the colour of the Look picked in "Make it yours". The story's cards
   lean a little towards it; everything springs back when let go. Reduce Motion keeps only the glow. */
.touch-host { position: relative; }
.touch-light { position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity 0.4s ease;
  background: radial-gradient(circle 130px at var(--tx, 50%) var(--ty, 50%), color-mix(in srgb, var(--lt1) 20%, transparent), transparent 72%); }
.touch-light.on { opacity: 1; transition-duration: 0.12s; }
@media (prefers-reduced-motion: no-preference) {
  .btn, .feat, .foot-links a { transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease, background-color 0.2s ease; }
  .btn:active, .feat.is-pressed { transition-duration: 0.1s; transition-timing-function: ease-out; }
  .feat.is-pressed { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) scale(0.98); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .feat.is-hover:not(.is-pressed) { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.15s ease-out; }
}
