/* Kindee landing page. Colours are the app's own (mobile/src/lib/theme.ts: EMERALD + the score bands). */
:root {
  --deep: #013a23; --rolex: #006039; --light: #2a8a5c; --scan: #0e8649; --wash: #eef4f1; --pale: #dbe9e3;
  --mist: #fafaf9; --ink: #0d0d0c; --gray: #6b6b68; --hair: rgba(13, 13, 12, 0.08);
  --great: #5fbe41; --good: #5fbe41; --neutral: #8a8a86; --caution: #e5a53b; --bad: #d9502f;
  --gutter: clamp(16px, 5vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--mist); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ol, ul { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* glass: frosted white over green - the app's onboarding pills */
.glass {
  background: rgba(255, 255, 255, 0.58);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 24px rgba(1, 58, 35, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* ── nav ─────────────────────────────────────────────────────────────────── */
.nav { position: absolute; inset: 0 0 auto 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 20px var(--gutter); }
.wordmark { font-family: Nunito, Inter, sans-serif; font-weight: 700; font-size: 30px; letter-spacing: -0.5px; color: #fff; text-decoration: none; }
.wordmark.small { font-size: 24px; color: var(--rolex); }
.nav_cta { padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--deep); text-decoration: none; }

/* ── hero ────────────────────────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: clamp(28px, 5vw, 72px);
  min-height: min(100vh, 880px); padding: 120px var(--gutter) 96px;
  background:
    radial-gradient(110% 80% at 82% 30%, rgba(42, 138, 92, 0.55), transparent 60%),
    linear-gradient(180deg, var(--deep) 0%, var(--rolex) 40%, var(--light) 70%, #9cc7b1 88%, var(--mist) 100%);
  color: #fff;
}
.hero h1 { font-size: clamp(46px, 7.4vw, 96px); line-height: 1.0; font-weight: 600; letter-spacing: -0.04em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; animation-delay: calc(var(--i) * 140ms + 150ms); }
.hero_sub { margin-top: 24px; max-width: 32ch; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: rgba(255, 255, 255, 0.9); opacity: 0; animation: fade 0.8s ease forwards 0.7s; }
.store { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 10px 20px 10px 16px; border-radius: 16px; color: var(--deep); text-decoration: none; opacity: 0; animation: fade 0.8s ease forwards 0.9s; }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store span { display: flex; flex-direction: column; font-size: 19px; font-weight: 600; line-height: 1.05; }
.store small { font-size: 11px; font-weight: 500; }
.store.dark { background: var(--ink); color: #fff; opacity: 1; animation: none; margin-top: 28px; }

/* the hero demo (demo/kindee-scan.*): the page is its ground, so its stage is transparent */
.hero_demo { width: 100%; max-width: 460px; margin: 0 auto; }
.hero_demo > img { width: 100%; height: auto; }
.hero_demo .ss-stage { --kd-ground: transparent; }
.hero_visual { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero_photo { position: relative; width: min(380px, 72vw); aspect-ratio: 1; border-radius: 34px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(1, 40, 24, 0.35); opacity: 0; animation: pop 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.25s; }
.hero_photo img { width: 100%; height: 100%; object-fit: contain; padding: 20px; }
/* the scan: one sweep down and back up (the app's onboarding) */
.scanline { position: absolute; left: 8%; right: 8%; top: 6%; height: 2px; background: var(--scan); box-shadow: 0 0 14px 3px rgba(14, 134, 73, 0.55); opacity: 0; animation: sweep 2s ease-in-out 1.1s 1 both; }
.float_pills { position: absolute; inset: 0; pointer-events: none; }
.float_pills .pill { position: absolute; }
.float_pills .pill:nth-child(1) { top: 7%; left: -8%; }
.float_pills .pill:nth-child(2) { top: 22%; right: -14%; }
.float_pills .pill:nth-child(3) { top: 42%; left: -14%; }
.float_pills .pill:nth-child(4) { top: 56%; right: -6%; }
.float_pills .pill:nth-child(5) { top: 70%; left: -4%; }
.hero_card { position: relative; z-index: 2; margin-top: -40px; width: min(330px, 80vw); padding: 16px 18px 18px; border-radius: 22px; color: var(--ink); opacity: 0; animation: fade-up 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 1.5s; }

/* ── shared text ─────────────────────────────────────────────────────────── */
.brand { font-size: 13px; color: var(--gray); font-weight: 500; }
.name { font-size: 15px; font-weight: 500; margin: 2px 0 12px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rolex); }
.kicker.light { color: #a9d8bf; }
h2 { margin-top: 12px; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05; font-weight: 600; letter-spacing: -0.035em; max-width: 18ch; }

/* ── pills ───────────────────────────────────────────────────────────────── */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; opacity: 0; animation: pill 0.6s cubic-bezier(0.3, 1.4, 0.5, 1) forwards; animation-delay: calc(var(--i) * 110ms + 300ms); }
.pill i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.pill em { font-style: normal; font-size: 12px; font-weight: 600; }
.t-great, .t-good { background: var(--good); } .t-neutral { background: var(--neutral); } .t-caution { background: var(--caution); } .t-bad { background: var(--bad); }
.c-great, .c-good { color: #3f9a2a; } .c-neutral { color: #6f6f6b; } .c-caution { color: #c98a1e; } .c-bad { color: var(--bad); }

/* ── score bar ───────────────────────────────────────────────────────────── */
.score { width: 100%; }
.score_head { display: flex; align-items: baseline; gap: 4px; }
.score_head b { font-size: 34px; font-weight: 600; letter-spacing: -0.02em; line-height: 1; }
.score_head span { font-size: 14px; color: var(--gray); }
.score_head em { margin-left: auto; font-style: normal; font-size: 14px; font-weight: 600; }
.score.small .score_head b { font-size: 24px; }
.score_track { margin-top: 10px; height: 10px; border-radius: 999px; background: rgba(13, 13, 12, 0.08); overflow: hidden; }
.score_fill { height: 100%; width: calc(var(--score) * 1%); border-radius: inherit; background: linear-gradient(90deg, color-mix(in srgb, var(--band) 65%, #fff), var(--band)); transform-origin: left; animation: fill 1.3s cubic-bezier(0.2, 0.8, 0.2, 1) both 0.4s; }

/* ── how it works ────────────────────────────────────────────────────────── */
.how { padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(56px, 7vw, 96px); }
.steps { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); counter-reset: none; }
.step { display: flex; flex-direction: column; gap: 10px; padding: 26px; border-radius: 28px; background: #fff; border: 1px solid var(--hair); }
.step_n { font-size: 13px; font-weight: 600; color: var(--rolex); }
.step h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.step p { font-size: 15px; line-height: 1.5; color: #4a4a47; }
.step_visual { margin-top: auto; padding-top: 18px; }
.step_visual.scan { position: relative; align-self: center; width: 170px; aspect-ratio: 1; margin-top: auto; padding: 14px; }
.step_visual.scan img { width: 100%; height: 100%; object-fit: contain; border-radius: 16px; }
/* founder 2026-12-01: no corner brackets on a scan - the sweep is the scan */
.step_visual.scan { overflow: hidden; border-radius: 18px; background: #fff; }
.step_visual.scan .scanline { animation-delay: 0.6s; }
.step_visual.card { padding: 16px; border-radius: 20px; background: var(--wash); margin-top: auto; }
.step_visual.swap { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 20px; background: var(--wash); margin-top: auto; }
.step_visual.swap img { width: 72px; height: 72px; object-fit: contain; border-radius: 14px; background: #fff; flex: none; }
.step_visual.swap > div { flex: 1; min-width: 0; }

/* ── every ingredient, rated ─────────────────────────────────────────────── */
.rated { padding-bottom: clamp(72px, 9vw, 128px); }
.showcase { margin-top: 44px; display: grid; gap: clamp(24px, 3.5vw, 44px); }
.product { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); padding: clamp(22px, 3vw, 40px); border-radius: 34px; background: radial-gradient(90% 130% at 22% 50%, #c9e3d6, var(--wash) 58%, #fff); }
.product.flip { grid-template-columns: 1fr 1.15fr; }
.product.flip .product_stage { order: 2; }
.product_stage { display: flex; align-items: center; }
.product_photo { flex: none; width: min(250px, 56vw); aspect-ratio: 1; border-radius: 28px; background: #fff; overflow: hidden; box-shadow: 0 18px 40px rgba(1, 58, 35, 0.14); }
.product_photo img { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
/* the pills sit ON the photo's edge, so the glass has the product to frost */
.side_pills { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-left: -52px; }
.product_read h3 { margin: 4px 0 18px; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; }
.note { margin-top: 14px; font-size: 15px; line-height: 1.5; color: var(--gray); max-width: 36ch; }

/* below the fold: pills and bars play as they scroll in, where the browser supports it */
@supports (animation-timeline: view()) {
  .how .score_fill, .rated .score_fill { animation-timeline: view(); animation-range: entry 10% cover 40%; animation-delay: 0s; }
  .rated .pill { animation-timeline: view(); animation-range: entry 0% entry 70%; animation-delay: 0s; }
}

/* ── mission ─────────────────────────────────────────────────────────────── */
.mission { padding: clamp(80px, 10vw, 140px) 0; background: linear-gradient(160deg, var(--deep), var(--rolex) 60%, var(--light)); color: #fff; }
.mission_cols { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 64px); }
.mission_cols p { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.65; color: rgba(255, 255, 255, 0.88); }

/* ── get the app ─────────────────────────────────────────────────────────── */
.get { padding: clamp(80px, 10vw, 140px) 0; text-align: center; background: var(--mist); }
.get h2 { margin: 0 auto; }
.get p { margin-top: 16px; font-size: 18px; color: var(--gray); }

/* ── footer ──────────────────────────────────────────────────────────────── */
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-top: 36px; padding-bottom: 48px; border-top: 1px solid var(--hair); }
.foot p { font-size: 13px; color: var(--gray); }
.foot p:last-child { margin-left: auto; }

/* ── motion ──────────────────────────────────────────────────────────────── */
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.94) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes pill { from { opacity: 0; transform: translateY(10px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes sweep { 0% { top: 6%; opacity: 0; } 8% { opacity: 1; } 50% { top: 92%; } 92% { opacity: 1; } 100% { top: 6%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  .hero h1 .line > span { transform: none; }
  .hero_sub, .store, .hero_photo, .hero_card, .pill { opacity: 1; }
  .scanline { display: none; }
  html { scroll-behavior: auto; }
}

/* ── narrower screens ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 104px; }
  .hero_visual { margin-top: 28px; }
  .steps { grid-template-columns: 1fr; }
  .mission_cols { grid-template-columns: 1fr; }
  .product, .product.flip { grid-template-columns: 1fr; }
  .product.flip .product_stage { order: 0; }
}
@media (max-width: 560px) {
  .float_pills .pill { font-size: 12.5px; padding: 7px 11px 7px 10px; }
  .float_pills .pill:nth-child(1) { left: -2%; }
  .float_pills .pill:nth-child(2) { right: -2%; }
  .float_pills .pill:nth-child(3) { left: -3%; }
  .float_pills .pill:nth-child(4) { right: -1%; }
  .product_stage { flex-direction: column; align-items: stretch; }
  .product_photo { width: 100%; max-width: 300px; margin: 0 auto; }
  .side_pills { margin: -30px 0 0; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .foot p:last-child { margin-left: 0; }
}

/* ── THE OPENING: products and glass pills pulled into the phone ─────────── */
/* founder 2026-12-02, after realfood.gov's opening. Timeline (s):
   0.0-0.6 items appear around the phone · 0.9-2.1 they are pulled into it · 2.1-2.9 the phone reads them into a score
   · 3.0-3.6 the opening lifts away and the hero plays its own entrance (paused until then by .intro-playing) */
.intro {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden; cursor: pointer;
  background:
    radial-gradient(70% 55% at 50% 50%, rgba(42, 138, 92, 0.55), transparent 70%),
    linear-gradient(180deg, var(--deep), var(--rolex));
  animation: intro-out 0.6s cubic-bezier(0.6, 0, 0.3, 1) 3s forwards;
}
.intro_items { position: absolute; inset: 0; }
.ii, .ip { position: absolute; left: 50%; top: 50%; opacity: 0; animation: pull-in 2.1s cubic-bezier(0.55, 0, 0.35, 1) forwards; animation-delay: var(--d); }
.ii { width: clamp(84px, 11vw, 140px); aspect-ratio: 1; margin: calc(clamp(84px, 11vw, 140px) / -2); object-fit: contain; padding: 10px; border-radius: 22px; background: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25); }
.ip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink); white-space: nowrap; transform: translate(-50%, -50%); }
.ip i { width: 9px; height: 9px; border-radius: 50%; }
@keyframes pull-in {
  0%   { opacity: 0; transform: translate(calc(var(--x) - 50%), calc(var(--y) - 50%)) rotate(var(--r, 0deg)) scale(0.8); }
  22%  { opacity: 1; transform: translate(calc(var(--x) - 50%), calc(var(--y) - 50%)) rotate(var(--r, 0deg)) scale(1); }
  45%  { opacity: 1; transform: translate(calc(var(--x) * 0.9 - 50%), calc(var(--y) * 0.9 - 50%)) rotate(var(--r, 0deg)) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) rotate(0deg) scale(0.12); }
}
/* .ii centres by margin, so its translate needs no -50% */
.ii { animation-name: pull-in-img; }
@keyframes pull-in-img {
  0%   { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r, 0deg)) scale(0.8); }
  22%  { opacity: 1; transform: translate(var(--x), var(--y)) rotate(var(--r, 0deg)) scale(1); }
  45%  { opacity: 1; transform: translate(calc(var(--x) * 0.9), calc(var(--y) * 0.9)) rotate(var(--r, 0deg)) scale(1); }
  100% { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.12); }
}
.phone {
  position: relative; z-index: 2; width: clamp(190px, 22vw, 240px); aspect-ratio: 9 / 19; border-radius: 40px; padding: 9px;
  background: #0d0d0c; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45), 0 0 0 2px rgba(255, 255, 255, 0.08) inset;
  opacity: 0; animation: phone-in 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s forwards, phone-gulp 0.5s ease-in-out 1.95s 1;
}
.phone_screen { position: relative; height: 100%; border-radius: 32px; overflow: hidden; background: var(--mist); display: flex; flex-direction: column; }
.phone_head { height: 30%; display: grid; place-items: center; background: linear-gradient(180deg, var(--deep), var(--rolex) 55%, var(--light)); }
.phone_head .wordmark { font-size: 24px; }
.phone_card { margin: -18px 10px 0; padding: 10px; border-radius: 18px; background: #fff; box-shadow: 0 8px 22px rgba(1, 58, 35, 0.14); display: flex; flex-direction: column; gap: 8px; opacity: 0; animation: fade-up 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 2.15s forwards; }
.phone_card img { width: 100%; aspect-ratio: 1.3; object-fit: contain; border-radius: 12px; }
.phone_read > b { display: block; font-size: 11px; font-weight: 600; line-height: 1.25; margin-bottom: 6px; color: var(--ink); }
.phone_card .score_head b { font-size: 20px; }
.phone_card .score_head span, .phone_card .score_head em { font-size: 10px; }
.phone_card .score_track { height: 7px; margin-top: 6px; }
.phone_card .score_fill { animation-delay: 2.45s; animation-duration: 0.9s; }
@keyframes phone-in { from { opacity: 0; transform: translateY(24px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes phone-gulp { 0%, 100% { scale: 1; } 50% { scale: 1.05; } }
@keyframes intro-out { to { opacity: 0; transform: translateY(-4%); visibility: hidden; } }

/* the hero waits, paused, until the opening has finished */
.intro-playing .hero *, .intro-playing .nav * { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) { .intro { display: none; } }
@media (max-width: 560px) {
  .ii { width: 74px; margin: -37px; border-radius: 16px; }
  .ip { font-size: 12px; padding: 7px 11px 7px 10px; }
}

/* ── SCOUT-SHAPED SECTIONS (founder 2026-12-03: "we like their structure") ───────────────── */
.nav_links { display: flex; gap: 22px; margin-left: auto; margin-right: 18px; }
.nav_links a { color: rgba(255, 255, 255, 0.92); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav_links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.lead { margin-top: 14px; max-width: 46ch; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; color: var(--gray); }
.lead.light { color: rgba(255, 255, 255, 0.85); }
.chip { display: inline-grid; place-items: center; min-width: 38px; height: 26px; padding: 0 8px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; background: var(--band); box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12); }

/* the moving strip of real products with their scores */
.strip { overflow: hidden; padding: 8px 0 12px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.strip_track { display: flex; gap: 16px; width: max-content; animation: drift 46s linear infinite; }
.strip:hover .strip_track { animation-play-state: paused; }
.st { position: relative; flex: none; width: 128px; aspect-ratio: 1; border-radius: 24px; background: #fff; border: 1px solid var(--hair); box-shadow: 0 10px 24px rgba(1, 58, 35, 0.08); }
.st img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.st .chip { position: absolute; right: -6px; top: -6px; }
@keyframes drift { to { transform: translateX(-50%); } }

/* popular rankings */
.rankings { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(56px, 7vw, 96px); }
.rank_grid { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.rank_card { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--hair); }
.rank_card img { width: 56px; height: 56px; object-fit: contain; border-radius: 14px; background: var(--mist); padding: 4px; flex: none; }
.rank_card div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rank_card b { font-size: 16px; font-weight: 600; }
.rank_card div span { font-size: 13px; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Bangkok map */
.map { padding: clamp(80px, 10vw, 130px) 0; background: linear-gradient(160deg, var(--deep), var(--rolex) 60%, var(--light)); color: #fff; }
.map_wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.map h2 { color: #fff; }
.place_list { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; counter-reset: none; }
.place_list li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.10); border: 1px solid rgba(255, 255, 255, 0.16); }
.place_list .rank { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--deep); font-weight: 700; font-size: 14px; flex: none; }
.place_list div { flex: 1; display: flex; flex-direction: column; }
.place_list b { font-size: 16px; font-weight: 600; }
.place_list div span { font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.place_list em { font-style: normal; font-weight: 600; color: #ffe08a; }
.map_note { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.7); }
.map_card { border-radius: 28px; padding: 10px; background: rgba(255, 255, 255, 0.10); border-color: rgba(255, 255, 255, 0.25); }
.map_card svg { display: block; width: 100%; height: auto; }
.pin circle { fill: rgba(255, 255, 255, 0.55); stroke: rgba(255, 255, 255, 0.9); stroke-width: 1.5; }
.pin.top circle { fill: #fff; stroke: #a9d8bf; stroke-width: 3; }
.pin text { font: 700 11px Inter, sans-serif; fill: var(--deep); text-anchor: middle; }
.pin { transform-box: fill-box; transform-origin: center; animation: pin-drop 0.5s cubic-bezier(0.3, 1.4, 0.5, 1) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes pin-drop { from { opacity: 0; transform: translateY(-10px) scale(0.6); } to { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) { .pin { animation-timeline: view(); animation-range: entry 10% cover 35%; animation-delay: 0s; } }

/* the mission moves to a light band, so the green map and the mission do not run together */
.mission { background: var(--wash); color: var(--ink); }
.mission .kicker.light { color: var(--rolex); }
.mission_cols p { color: #3a3a37; }

@media (prefers-reduced-motion: reduce) { .strip_track, .pin { animation: none !important; } }
@media (max-width: 900px) {
  .nav_links { display: none; }
  .rank_grid { grid-template-columns: 1fr 1fr; }
  .map_wrap { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .rank_grid { grid-template-columns: 1fr; }
  .st { width: 104px; border-radius: 20px; }
}
