/* Golf Friends promo site. Colours, radii and shadows are copied from the app's src/lib/theme.ts (Day look),
   so the page matches the app. Lilita One is only for the logo and numbers; Outfit is for everything else. */

@font-face { font-family: 'Outfit'; font-weight: 400; font-display: swap; src: url('fonts/Outfit_400Regular.ttf') format('truetype'); }
@font-face { font-family: 'Outfit'; font-weight: 500; font-display: swap; src: url('fonts/Outfit_500Medium.ttf') format('truetype'); }
@font-face { font-family: 'Outfit'; font-weight: 600; font-display: swap; src: url('fonts/Outfit_600SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Outfit'; font-weight: 700; font-display: swap; src: url('fonts/Outfit_700Bold.ttf') format('truetype'); }
@font-face { font-family: 'Lilita One'; font-weight: 400; font-display: swap; src: url('fonts/LilitaOne_400Regular.ttf') format('truetype'); }

:root {
  --sky-top: #d9eafa;
  --sky-bottom: #eef5f0;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-solid: #ffffff;
  --panel-edge: rgba(20, 35, 63, 0.08);
  --ink: #0b1f14;
  --ink-muted: #3f5247;
  --line: rgba(11, 31, 20, 0.14);
  --line-strong: #5d7166;
  --go: #0d8438;
  --go-shade: #085a26;
  --go-deep: #0a6e2e;
  --go-soft: rgba(13, 132, 56, 0.12);
  --go-tint: #e2f0e7;
  --go-top: #2cc06a;
  --go-base: #0d8a3d;
  --stop-deep: #b3161b;
  --stop-soft: rgba(217, 45, 45, 0.11);
  --turf: #0d4a30;
  --turf-top: #1f7a50;
  --on-turf: #f3faf5;
  --on-turf-muted: #b8d6c4;
  --sun: #ffd666;
  --on-sun: #3d2c00;
  --nav: #14233f;
  --grey-tint: #ecefed;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --gloss-panel: 0 1px 0 0 rgba(255, 255, 255, 0.9) inset, 0 10px 24px -6px rgba(20, 35, 63, 0.18), 0 2px 6px 0 rgba(20, 35, 63, 0.06);
  --gloss-hero: 0 1px 0 0 rgba(255, 255, 255, 0.18) inset, 0 14px 28px -10px rgba(20, 35, 63, 0.55);
  --gloss-key: 0 1px 0 0 #fff inset, 0 3px 0 0 rgba(20, 35, 63, 0.1), 0 4px 10px -4px rgba(20, 35, 63, 0.18);
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: linear-gradient(var(--sky-top), var(--sky-bottom) 600px);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--go-deep); }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.center { text-align: center; }

.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 10px 16px; border-radius: var(--radius-sm); z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- Top bar ---------- */
.top {
  position: sticky; top: 0; z-index: 5;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--panel-edge);
}
.top-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 36px; width: auto; }
.top nav { display: flex; gap: 4px; }
.top nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--ink); font-weight: 600; font-size: 16px; text-decoration: none; border-radius: 999px;
}
.top nav a:hover { background: var(--go-tint); }
.top { transition: background 0.3s, box-shadow 0.3s; }
@media (max-width: 760px) { .top nav { display: none; } }

/* ---------- Course scenes (the app's two background pictures) ---------- */
.scene { position: relative; background-size: cover; background-position: center bottom; }
.scene-day { background-image: url('images/course-day.jpg'); }
.scene-sunset { background-image: url('images/course-sunset.jpg'); color: #f6f1fb; }

/* ---------- Phones (real app screenshots) ---------- */
.phone {
  margin: 0 auto; width: min(100%, 300px);
  aspect-ratio: 9 / 19.5;
  border-radius: 42px; padding: 10px;
  background: #101a14;
  box-shadow: 0 0 0 2px #2b3a31 inset, 0 30px 50px -20px rgba(11, 31, 20, 0.55);
  position: relative;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 33px; background: var(--sky-bottom); }
/* A screenshot that hasn't been added yet: an empty phone that names the file it is waiting for. */
.phone.missing img { visibility: hidden; }
.phone.missing::after {
  content: 'Screenshot to add:\A screenshots/' attr(data-name);
  white-space: pre-wrap; position: absolute; inset: 10px; border-radius: 33px;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px;
  background: repeating-linear-gradient(135deg, var(--go-tint) 0 14px, #edf5ef 14px 28px);
  color: var(--ink-muted); font-weight: 600; font-size: 15px;
}

/* ---------- Bands and panels ---------- */
.band { padding: 88px 0; }
.band-scene {
  background:
    linear-gradient(rgba(238, 245, 240, 0.55), rgba(238, 245, 240, 0.55)),
    url('images/course-day.jpg') center / cover;
}
.sub { color: var(--ink-muted); font-size: 1.15rem; margin-bottom: 40px; }

.panel {
  background: var(--surface);
  border: 1px solid var(--panel-edge);
  border-radius: var(--radius-lg);
  box-shadow: var(--gloss-panel);
  padding: clamp(24px, 3vw, 36px);
}
.tile {
  width: 56px; height: 56px; padding: 6px; border-radius: 16px; flex: none;
  background: linear-gradient(#fff, #f1f4f2);
  box-shadow: 0 1px 0 0 #fff inset, 0 4px 10px -4px rgba(20, 35, 63, 0.25);
  border: 1px solid #fff;
}
.tile-map { display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(#2cc06a, #0d8a3d); border-color: rgba(255,255,255,0.4); }
.tile-map img { filter: brightness(0) invert(1); }
.head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.head .tile { width: 48px; height: 48px; padding: 5px; border-radius: 14px; }
.head .kicker { margin: 0; color: var(--go-deep); }

/* ---------- How it works ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; }
.step .tile { margin-bottom: 18px; }
.step p { color: var(--ink-muted); }
.num {
  position: absolute; top: 22px; right: 26px;
  font-family: 'Lilita One', 'Outfit', sans-serif; font-size: 44px; line-height: 1; color: var(--go-tint);
  -webkit-text-stroke: 1.5px var(--go-deep);
}
.scores { display: flex; gap: 10px; margin: 4px 0 10px; }
.score {
  display: inline-flex; align-items: center; justify-content: center; min-width: 52px; height: 44px; padding: 0 10px;
  font-family: 'Lilita One', 'Outfit', sans-serif; font-size: 22px; border-radius: 6px; background: var(--grey-tint);
}
.score.under { background: var(--go-soft); border: 1.5px solid var(--go-deep); color: var(--go-deep); border-radius: 999px; }
.score.over { background: var(--stop-soft); border: 1.5px solid var(--stop-deep); color: var(--stop-deep); }
.note { font-size: 15px; color: var(--ink-muted); margin: 0; }

/* ---------- Features ---------- */
.features { display: grid; gap: 72px; }
.feature { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.feature.flip { grid-template-columns: 0.8fr 1.2fr; }
.feature.flip .copy { order: 2; }
@media (max-width: 860px) {
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .copy { order: 0; }
  .features { gap: 56px; }
}
.copy p { color: var(--ink-muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 34px; font-weight: 500; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}
.ticks.cols { grid-template-columns: 1fr 1fr; gap: 12px 32px; margin-bottom: 28px; }
@media (max-width: 700px) { .ticks.cols { grid-template-columns: 1fr; } }
.chips { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--go-tint); color: var(--go-deep); border: 1px solid rgba(10, 110, 46, 0.18);
}

/* ---------- For golf courses ---------- */
.courses { max-width: 900px; margin: 0 auto; }
.courses > p { color: var(--ink-muted); }


/* ---------- Shared bits ---------- */
.numeral { font-family: 'Lilita One', 'Outfit', sans-serif; font-weight: 400; }
.eyebrow, .kicker { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 10px; }
.kicker { color: var(--go-deep); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 0 32px; border-radius: 999px;
  font: 700 19px/1 'Outfit', sans-serif; text-decoration: none; cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn-go {
  color: #fff; background: linear-gradient(var(--go-top), var(--go-base));
  box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.45) inset, 0 4px 0 0 var(--go-shade), 0 14px 26px -8px rgba(13, 74, 48, 0.7);
}
.btn-go:hover { transform: translateY(-2px); box-shadow: 0 1px 0 0 rgba(255,255,255,.45) inset, 0 6px 0 0 var(--go-shade), 0 18px 30px -8px rgba(13,74,48,.75); }
.btn-go:active { transform: translateY(4px); box-shadow: 0 1px 0 0 rgba(255,255,255,.45) inset, 0 0 0 0 var(--go-shade); }
.btn-go span { transition: transform 0.2s; }
.btn-go:hover span { transform: translateX(4px); }
.btn-quiet { color: var(--ink); background: var(--surface-solid); border: 1.5px solid var(--line-strong); box-shadow: var(--gloss-key); min-height: 48px; font-size: 16px; }
.btn-quiet[aria-disabled='true'] { opacity: 0.6; cursor: default; }
.dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(255, 214, 102, 0.7); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255,214,102,.7); } 70% { box-shadow: 0 0 0 10px rgba(255,214,102,0); } 100% { box-shadow: 0 0 0 0 rgba(255,214,102,0); } }
.pill {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 16px 8px 14px;
  border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: var(--ink); font-weight: 600; font-size: 15px;
  box-shadow: 0 6px 16px -8px rgba(20, 35, 63, 0.4);
}
.pill-dark { background: rgba(20, 16, 40, 0.6); color: #f6f1fb; border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }

/* ---------- Opening ---------- */
.opening {
  position: relative; overflow: hidden; min-height: min(100vh, 980px); padding: 72px 0 0;
  background: url('images/course-day.jpg') 50% 28% / cover;
  isolation: isolate;
}
.opening::after { /* a soft lighter sky behind the headline so it always reads */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 70% 55% at 30% 30%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%);
}
.sky { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cloud { position: absolute; display: block; height: 46px; border-radius: 999px; background: #fff; opacity: .9; filter: drop-shadow(0 6px 8px rgba(20,35,63,.08)); animation: drift linear infinite; }
.cloud::before, .cloud::after { content: ''; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 60px; height: 60px; left: 22px; top: -30px; }
.cloud::after { width: 84px; height: 84px; left: 62px; top: -46px; }
.c1 { width: 190px; top: 14%; animation-duration: 70s; animation-delay: -20s; }
.c2 { width: 150px; top: 6%; animation-duration: 95s; animation-delay: -60s; transform: scale(.7); opacity: .75; }
.c3 { width: 220px; top: 26%; animation-duration: 120s; animation-delay: -5s; opacity: .7; }
@keyframes drift { from { left: -260px; } to { left: 105%; } }

.flight { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.trail { /* a shot tracer, like on TV golf */
  stroke: #ffd666; stroke-width: 4; stroke-dasharray: 1 1; stroke-dashoffset: 1; stroke-linecap: round; vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgba(255, 214, 102, 0.9)); }
.js .trail { animation: fade 1.5s 3.4s forwards; }
@keyframes fade { to { opacity: 0; } }
.ball {
  position: absolute; left: 0; top: 0; z-index: 1; width: 26px; height: 26px; border-radius: 50%; opacity: 0;
  background: radial-gradient(circle at 35% 30%, #fff 0 35%, #e6e3c8 80%); box-shadow: 0 0 0 1.5px rgba(11,31,20,.6), 0 6px 10px rgba(11,31,20,.25);
  pointer-events: none;
}
.ball.gone { transition: opacity .6s; opacity: 0 !important; }
.still .ball, .still .trail { display: none; }

.opening-copy { position: relative; z-index: 2; max-width: 1120px; }
.opening h1 {
  font-size: clamp(2.8rem, 7.4vw, 5.6rem); line-height: 1; letter-spacing: -0.03em; max-width: 11ch; margin-bottom: 22px;
  color: var(--ink); text-shadow: 0 2px 0 rgba(255,255,255,.6);
}
.mark { position: relative; white-space: nowrap; color: var(--go-deep); }
.mark::after { /* a small yellow swash under "friends" */
  content: ''; position: absolute; left: -2%; right: -2%; bottom: 0.02em; height: 0.24em; z-index: -1;
  background: var(--sun); border-radius: 999px; transform: skewX(-12deg) scaleX(0); transform-origin: left;
  animation: swash 0.7s 0.4s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes swash { to { transform: skewX(-12deg) scaleX(1); } }
.opening .lead { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 500; color: var(--ink); max-width: 30em; margin-bottom: 30px; }

.phones { position: relative; height: 560px; max-width: 1120px; margin: 40px auto 0; pointer-events: none; }
.phones .phone { position: absolute; width: 270px; bottom: -110px; }
.p-mid { left: 50%; margin-left: -60px; transform: rotate(4deg); z-index: 2; }
.p-left { left: 50%; margin-left: -330px; transform: rotate(-7deg) translateY(50px); z-index: 1; }
@media (min-width: 1000px) {
  .opening { padding-top: 110px; }
  .phones { position: absolute; right: max(20px, calc(50% - 560px)); bottom: 0; width: 560px; height: 100%; margin: 0; }
  .phones .phone { bottom: -60px; }
  .p-mid { left: auto; right: 10px; margin: 0; }
  .p-left { left: auto; right: 250px; margin: 0; }
  .opening-copy { padding-right: 520px; }
}
.js .phones .phone { animation: rise 1s cubic-bezier(.2,.8,.2,1) both; }
.js .p-left { animation-delay: .25s; }
@keyframes rise { from { opacity: 0; translate: 0 120px; } to { opacity: 1; translate: 0 0; } }

.sticker { position: absolute; z-index: 3; filter: drop-shadow(0 10px 14px rgba(11,31,20,.3)); animation: bob 4s ease-in-out infinite; }
.s1 { right: 20px; top: 16%; rotate: 10deg; }
.s2 { right: 300px; top: 30%; rotate: -12deg; animation-delay: -1s; }
.s3 { right: 230px; bottom: 16%; rotate: 8deg; animation-delay: -2s; z-index: 3; }
.s4 { right: -10px; bottom: 36%; rotate: -6deg; animation-delay: -3s; }
@media (max-width: 999px) { .s1 { right: 4%; top: 2%; } .s2 { left: 4%; right: auto; top: 10%; } .s3 { right: 8%; bottom: 30%; } .s4 { left: 6%; right: auto; bottom: 34%; } }
@keyframes bob { 50% { translate: 0 -12px; } }
.js .sticker { animation: pop-in .6s cubic-bezier(.3,1.6,.5,1) both, bob 4s ease-in-out infinite; }
.js .s1 { animation-delay: .9s, 0s; } .js .s2 { animation-delay: 1.1s, -1s; } .js .s3 { animation-delay: 1.3s, -2s; } .js .s4 { animation-delay: 1.5s, -3s; }
@keyframes pop-in { from { opacity: 0; scale: .3; } to { opacity: 1; scale: 1; } }

/* ---------- Ticker ---------- */
.ticker { background: var(--nav); color: #fff; overflow: hidden; padding: 18px 0; position: relative; z-index: 3; border-top: 4px solid var(--sun); }
.ticker-track { display: flex; width: max-content; animation: tick 45s linear infinite; }
.ticker span { font-weight: 700; font-size: 20px; padding: 0 22px; white-space: nowrap; display: inline-flex; align-items: center; gap: 44px; }
.ticker span::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #cfcbb0); margin-right: -22px; }
@keyframes tick { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- The live round (the page's one dark-green hero panel) ---------- */
.live-band { background: linear-gradient(180deg, #eef5f0, #dcebe1); }
.live-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .live-grid { grid-template-columns: 1fr; } }
.live-copy h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.05; }
.live-copy p { color: var(--ink-muted); font-size: 1.1rem; }
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--turf-top), var(--turf) 60%);
  color: var(--on-turf); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 28px;
  box-shadow: var(--gloss-hero), 0 40px 70px -30px rgba(13, 74, 48, 0.8);
  padding: clamp(22px, 3.4vw, 36px);
}
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(115deg, transparent 0 60px, rgba(255,255,255,.035) 60px 90px); }
.hero > * { position: relative; }
.live-head { display: flex; justify-content: space-between; align-items: flex-start; }
.hero .eyebrow { color: var(--on-turf-muted); margin: 0; }
.course { font-size: 1.5rem; font-weight: 700; color: #fff; margin: 2px 0 0; }
.live-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--sun); color: var(--on-sun); font-weight: 700; font-size: 15px; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #d92d2d; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.holebar { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 8px; font-weight: 600; color: var(--on-turf-muted); }
.holebar b { font-size: 30px; color: #fff; margin: 0 2px; }
.progress { height: 8px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; margin-bottom: 18px; }
.progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--go-top), #7fe3a6); transition: width .6s ease; }
.board { list-style: none; margin: 0; padding: 0; position: relative; }
.row {
  position: absolute; left: 0; right: 0; top: 0; height: 56px; display: grid; grid-template-columns: 34px 44px 1fr auto; align-items: center; gap: 12px;
  padding: 0 12px; border-radius: 16px; background: rgba(255,255,255,.96); color: var(--ink);
  box-shadow: 0 6px 14px -8px rgba(0,0,0,.5);
  transition: transform .7s cubic-bezier(.3,1.3,.5,1);
}
.pos { font-size: 20px; color: var(--ink-muted); text-align: center; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 17px; }
.avatar.a { background: var(--go-tint); color: var(--go-deep); }
.avatar.b { background: #fbe6e6; color: #b3161b; }
.avatar.c { background: #fff5d6; color: #7a5600; }
.avatar.d { background: #e3eeff; color: #1450b8; }
.who b { display: block; font-size: 17px; line-height: 1.2; }
.who small { color: var(--ink-muted); font-size: 14px; }
.row .score { min-width: 54px; height: 40px; font-size: 21px; }
.score.pop { animation: pop .5s cubic-bezier(.3,1.8,.5,1); }
@keyframes pop { 0% { scale: .6; } 100% { scale: 1; } }
.toast {
  position: absolute; left: 50%; bottom: 18px; display: flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px;
  border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; white-space: nowrap;
  box-shadow: 0 16px 30px -10px rgba(0,0,0,.55); opacity: 0; transform: translate(-50%, 20px) scale(.9); pointer-events: none;
}
.toast.show { animation: toast 2.6s cubic-bezier(.3,1.4,.5,1) forwards; }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, 20px) scale(.8); } 12%, 82% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(-50%, -10px) scale(.95); } }
.toast img { width: 48px; height: 48px; }
.live .board { margin-bottom: 70px; }
@media (max-width: 480px) { .toast { font-size: 14px; } }

/* ---------- How it works additions ---------- */
.how-band h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); margin-bottom: 48px; }
.num { font-size: 64px; top: 18px; }
.step { transition: transform .25s ease, box-shadow .25s ease; }
.step:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--gloss-panel), 0 24px 40px -18px rgba(20,35,63,.35); }

/* ---------- Features additions ---------- */
.feature h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.feature .phone { transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.feature:hover .phone { transform: rotate(-2deg) translateY(-8px); }
.feature.flip:hover .phone { transform: rotate(2deg) translateY(-8px); }
.bignum { display: flex; align-items: baseline; gap: 12px; margin: 0 0 12px; }
.bignum .numeral { font-size: clamp(4rem, 9vw, 6.5rem); line-height: .9; color: var(--ink); }
.bignum .unit { font-weight: 600; color: var(--ink-muted); }
.sticker-row { display: flex; gap: 8px; margin-top: 18px; }
.sticker-row img { width: 76px; height: 76px; transition: transform .3s cubic-bezier(.3,1.8,.5,1); filter: drop-shadow(0 6px 8px rgba(11,31,20,.2)); }
.sticker-row img:nth-child(odd) { rotate: -6deg; } .sticker-row img:nth-child(even) { rotate: 7deg; }
.sticker-row img:hover { transform: scale(1.18) rotate(8deg); }
.chips li { transition: transform .2s; }
.chips li:hover { transform: translateY(-3px); background: var(--go); color: #fff; }

/* ---------- Facts ---------- */
.facts { padding: 70px 0; background: #fff; }
.fact-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 760px) { .fact-row { grid-template-columns: 1fr 1fr; } }
.fact .numeral { display: block; font-size: clamp(3.4rem, 7vw, 5rem); line-height: 1; color: var(--go-deep); }
.fact span:last-child { font-weight: 600; color: var(--ink-muted); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .steps .reveal:nth-child(2) { transition-delay: .12s; } .js .steps .reveal:nth-child(3) { transition-delay: .24s; }
.js .fact:nth-child(2) { transition-delay: .1s; } .js .fact:nth-child(3) { transition-delay: .2s; } .js .fact:nth-child(4) { transition-delay: .3s; }

/* ---------- Finale at sunset ---------- */
.finale {
  position: relative; overflow: hidden; min-height: 92vh; display: flex; align-items: center;
  background: url('images/course-sunset.jpg') 50% 31% / cover; color: #f6f1fb;
}
.stars { position: absolute; inset: 0; background-image:
  radial-gradient(2px 2px at 12% 18%, #fff, transparent), radial-gradient(1.5px 1.5px at 34% 8%, #fff, transparent),
  radial-gradient(2px 2px at 58% 22%, #fff, transparent), radial-gradient(1.5px 1.5px at 76% 12%, #fff, transparent),
  radial-gradient(2px 2px at 90% 28%, #fff, transparent), radial-gradient(1.5px 1.5px at 22% 34%, #fff, transparent);
  animation: twinkle 3s ease-in-out infinite alternate; }
@keyframes twinkle { from { opacity: .35; } to { opacity: 1; } }
.finale-copy { position: relative; padding: 80px 0; text-shadow: 0 2px 16px rgba(10,8,24,.6); }
.finale-logo { margin: 0 auto 30px; width: min(460px, 86%); height: auto; filter: drop-shadow(0 6px 18px rgba(10,8,24,.5)); }
.finale h2 { color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); max-width: 16ch; margin: 0 auto 26px; line-height: 1.05; }
.foot { background: #0a0818; color: #bdb5d1; font-size: 15px; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 24px 0; }
.foot p { margin: 0; }

/* ---------- Reduce motion: everything stands still ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .mark::after { transform: skewX(-12deg) scaleX(1); }
}
