/* Ride Quest website. Night-sky colours from the app icon and store art.
   No web fonts: Apple devices get SF Rounded through ui-rounded, others their system font. */

:root {
  --night-0: #0a0620;
  --night-1: #130c2e;
  --night-2: #1f1347;
  --night-3: #34175c;
  --plum: #57206b;
  --berry: #b8396f;
  --gold: #ffd65a;
  --orange: #f98a2e;
  --pink: #ff7eb3;
  --sky: #7fd6ff;
  --green: #4fd48a;
  --blue: #59a1f2;
  --text: #f5f2ff;
  --muted: #bdb3de;
  --faint: #8d82b5;
  --card: rgba(255, 255, 255, 0.055);
  --card-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.11);
  --radius: 22px;
  --wrap: 1160px;
  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 30px 80px -20px rgba(4, 2, 20, 0.8), 0 10px 30px -10px rgba(4, 2, 20, 0.6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--night-1);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sky); text-underline-offset: 0.2em; }
a:hover { color: #fff; }

h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.25rem; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--gold); color: var(--night-0); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip:focus { left: 8px; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 8, 34, 0.72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }

.brand { white-space: nowrap; display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 2px 10px rgba(0,0,0,.4); }
.brand:hover { color: var(--text); }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 0.97rem; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--card); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 750; font-size: 1rem; line-height: 1;
  padding: 13px 20px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  color: #2a1204;
  background: linear-gradient(180deg, var(--gold), var(--orange));
  box-shadow: 0 8px 24px -8px rgba(249, 138, 46, 0.8), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-primary:hover { color: #2a1204; transform: translateY(-1px); box-shadow: 0 12px 30px -8px rgba(249, 138, 46, 0.95), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-ghost { color: var(--text); background: var(--card-strong); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,.14); }
.site-header .btn { padding: 10px 16px; font-size: 0.95rem; }

.menu-toggle { display: none; }

@media (max-width: 880px) {
  .nav { display: none; }
  .site-header .btn { margin-left: auto; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 12px; border: 0;
    background: var(--card-strong); color: var(--text); cursor: pointer;
  }
  .nav.is-open {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    padding: 12px 20px 20px; background: rgba(13, 8, 34, 0.97); border-bottom: 1px solid var(--line);
  }
  .nav.is-open a { padding: 14px 12px; font-size: 1.1rem; }
}

/* ---------- Night sky, fireworks and gondolas ---------- */

.sky {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(1200px 600px at 80% 10%, rgba(127, 214, 255, 0.08), transparent 60%),
    radial-gradient(900px 600px at 10% 90%, rgba(255, 126, 179, 0.12), transparent 60%),
    linear-gradient(180deg, var(--night-0) 0%, var(--night-2) 55%, var(--night-3) 100%);
  overflow: hidden;
}
.sky::before {
  /* Stars: two tiled layers of dots. */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 20px 30px, rgba(255,255,255,.8), transparent 50%),
    radial-gradient(1px 1px at 140px 80px, rgba(255,255,255,.6), transparent 50%),
    radial-gradient(2px 2px at 260px 160px, rgba(255,255,255,.55), transparent 50%),
    radial-gradient(1px 1px at 90px 220px, rgba(255,255,255,.7), transparent 50%),
    radial-gradient(1.5px 1.5px at 330px 40px, rgba(255,255,255,.5), transparent 50%),
    radial-gradient(1px 1px at 200px 280px, rgba(255,255,255,.5), transparent 50%);
  background-size: 380px 320px;
  opacity: 0.8;
}
.sky.hills::after {
  content: ""; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 120px; z-index: -1;
  background: var(--night-1);
  clip-path: path("M0 60 C 240 10, 480 10, 720 50 S 1200 100, 1600 40 L 1600 120 L 0 120 Z");
  -webkit-clip-path: ellipse(70% 100% at 50% 100%);
  clip-path: ellipse(70% 100% at 50% 100%);
  opacity: 0.9;
}

.burst { position: absolute; z-index: -1; pointer-events: none; width: var(--size, 140px); height: var(--size, 140px); color: var(--c, var(--gold)); opacity: 0.85; }
.burst svg { width: 100%; height: 100%; overflow: visible; }
@media (prefers-reduced-motion: reduce) { .burst { opacity: 0.4; } }
@media (max-width: 880px) { .burst.wide-only, .hero .cable, .page-hero .burst { display: none; } .burst { --size: 90px !important; } }

@media (prefers-reduced-motion: no-preference) {
  .burst { animation: pop var(--dur, 5.5s) var(--delay, 0s) infinite cubic-bezier(.2,.7,.3,1); opacity: 0; }
  @keyframes pop {
    0% { transform: scale(0.2); opacity: 0; }
    8% { opacity: 1; }
    30% { transform: scale(1); opacity: 0.9; }
    55%, 100% { transform: scale(1.12); opacity: 0; }
  }
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2,.7,.3,1); }
  .reveal.is-visible { opacity: 1; transform: none; }
}

.cable { position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 150px; pointer-events: none; opacity: 0.9; }

/* ---------- Hero ---------- */

.hero { padding: 56px 0 120px; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero-copy { padding-top: 40px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.9rem; letter-spacing: 0.01em; color: var(--gold);
  background: rgba(255, 214, 90, 0.1); border: 1px solid rgba(255, 214, 90, 0.25);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

.hero h1 .glow {
  background: linear-gradient(90deg, var(--gold), var(--orange) 45%, var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: clamp(1.12rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 36em; margin-bottom: 30px; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 22px; }
.store-badge { display: inline-block; border-radius: 12px; transition: transform 0.15s ease, filter 0.2s; }
.store-badge img { height: 56px; width: auto; }
.store-badge:hover { transform: translateY(-2px); filter: drop-shadow(0 8px 20px rgba(127, 214, 255, 0.35)); }
.store-badge.small img { height: 44px; }

.qr-card {
  display: flex; align-items: center; gap: 14px; padding: 8px 16px 8px 8px; border-radius: 16px;
  background: var(--card); border: 1px solid var(--line);
}
.qr-card img { width: 64px; height: 64px; border-radius: 8px; background: #fff; padding: 4px; }
.qr-card span { font-size: 0.88rem; line-height: 1.35; color: var(--muted); }
.qr-card strong { color: var(--text); display: block; }
@media (hover: none), (max-width: 880px) { .qr-card { display: none; } }

.fine-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 22px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.95rem; }
.fine-points li { display: flex; align-items: center; gap: 7px; }
.fine-points svg { width: 16px; height: 16px; color: var(--green); flex: none; }

.hero-phones { position: relative; display: flex; justify-content: center; min-height: 560px; }
.hero-phones .phone { width: min(320px, 72vw); }
.hero-phones .phone.back {
  position: absolute; width: min(270px, 60vw); right: -6%; top: 70px; z-index: -1;
  transform: rotate(8deg); opacity: 0.85; filter: saturate(0.9) brightness(0.85);
}
.hero-phones .phone.front { transform: rotate(-3deg); }

@media (max-width: 880px) {
  .hero { padding: 24px 0 90px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { padding-top: 24px; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .cta-row, .fine-points { justify-content: center; }
  .hero-phones { min-height: 0; }
  .hero-phones .phone.back { right: 2%; top: 50px; width: min(220px, 46vw); }
  .hero-phones .phone.front { margin-right: 18%; }
}

/* ---------- Phone frame ---------- */

.phone {
  /* The frame wraps the screen: the screen keeps the screenshot's own shape, so nothing is cropped. */
  position: relative; padding: 3.2%;
  border-radius: 15% / 7%;
  background: linear-gradient(145deg, #2a2440, #0c0918 40%, #1b1530);
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255,255,255,.14);
}
.phone img, .phone video {
  display: block; width: 100%; height: auto; aspect-ratio: 1320 / 2868;
  object-fit: contain; border-radius: 11% / 5.1%; background: #f2f2f7;
}

/* ---------- Trust strip ---------- */

.trust { border-block: 1px solid var(--line); background: rgba(255,255,255,.02); }
.trust ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; list-style: none; margin: 0; padding: 22px 0; }
.trust li { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--muted); }
.trust svg { width: 22px; height: 22px; color: var(--gold); }

/* ---------- Sections ---------- */

section { position: relative; }
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 64px; }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.kicker { display: inline-block; font-weight: 750; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c, var(--sky)); margin-bottom: 14px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 16px 0; }
.feature + .feature { margin-top: 56px; }
.feature.flip .feature-media { order: -1; }
.feature-media { position: relative; display: flex; justify-content: center; }
.feature-media .phone { width: min(320px, 70vw); }
.feature-media::before {
  content: ""; position: absolute; width: 420px; height: 420px; max-width: 100%; border-radius: 50%; top: 50%; left: 50%;
  transform: translate(-50%, -50%); z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c, var(--sky)) 35%, transparent), transparent);
  filter: blur(10px);
}
.feature-copy p { color: var(--muted); font-size: 1.12rem; }

.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.ticks li::before {
  content: ""; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: color-mix(in srgb, var(--c, var(--sky)) 22%, transparent)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
}

@media (max-width: 880px) {
  .section { padding: 80px 0; }
  .feature { grid-template-columns: 1fr; gap: 40px; text-align: left; }
  .feature.flip .feature-media { order: 0; }
  .feature-media { order: 1; }
}

/* ---------- Together ---------- */

.together { background: linear-gradient(180deg, var(--night-1), #1a0f3d 50%, var(--night-1)); }
.avatars { display: flex; justify-content: center; gap: 14px; margin: 0 0 36px; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 1.5rem; color: #fff; box-shadow: 0 0 0 4px var(--night-1), 0 10px 30px -10px rgba(0,0,0,.8);
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.card p { color: var(--muted); margin: 0; }
.card .icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: color-mix(in srgb, var(--c, var(--sky)) 18%, transparent); color: var(--c, var(--sky));
}
.card .icon svg { width: 24px; height: 24px; }
@media (max-width: 880px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Bento ---------- */

.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento .card.wide { grid-column: span 2; }
@media (max-width: 980px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .bento { grid-template-columns: 1fr; } .bento .card.wide { grid-column: auto; } }

/* ---------- Tour video ---------- */

.tour .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.tour .phone { width: min(300px, 70vw); margin-inline: auto; }
.tour-toggle { margin-top: 8px; }
@media (max-width: 880px) { .tour .wrap { grid-template-columns: 1fr; gap: 40px; text-align: center; } }

/* ---------- Pricing ---------- */

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 920px; margin-inline: auto; }
.plan { padding: 34px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); }
.plan.plus {
  background:
    linear-gradient(var(--night-2), var(--night-2)) padding-box,
    linear-gradient(140deg, var(--gold), var(--orange), var(--pink)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 30px 80px -30px rgba(249, 138, 46, 0.45);
}
.plan h3 { font-size: 1.5rem; margin-bottom: 4px; }
.plan .price { color: var(--muted); font-weight: 650; margin-bottom: 18px; }
.plan .ticks { margin-top: 0; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Privacy ---------- */

.privacy-panel {
  display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center;
  padding: 44px; border-radius: 30px; background: linear-gradient(135deg, rgba(79, 212, 138, 0.1), rgba(127, 214, 255, 0.06)); border: 1px solid var(--line);
}
.privacy-panel .shield { width: 96px; height: 96px; color: var(--green); }
.privacy-panel h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.privacy-panel p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .privacy-panel { grid-template-columns: 1fr; padding: 30px; text-align: center; } .privacy-panel .shield { margin-inline: auto; } }

/* ---------- FAQ ---------- */

.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 24px; }
.faq details[open] { background: var(--card-strong); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-weight: 750; font-size: 1.1rem;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(225deg); }
.faq details p { color: var(--muted); margin: 0 0 20px; }

/* ---------- Final call ---------- */

.finale { padding: 0; }
.finale .scene {
  /* The store's night scene sits under the words at its own shape (3840 × 1646). */
  position: relative; text-align: center; padding: 40px 20px calc(min(100vw, 2400px) * 0.4287 + 10px);
  background: url("/img/scene-1920.webp") center bottom / 100% auto no-repeat, var(--night-1);
}
@media (max-width: 960px) { .finale .scene { background-image: url("/img/scene-960.webp"); } }
.finale .inner { position: relative; max-width: 700px; margin-inline: auto; }
.finale .app-icon { width: 104px; height: 104px; border-radius: 24px; margin: 0 auto 26px; box-shadow: 0 20px 50px -10px rgba(249, 138, 46, 0.55); }
.finale p { color: var(--muted); font-size: 1.15rem; margin-bottom: 28px; }
.finale .cta-row { justify-content: center; }

/* ---------- Footer ---------- */

.site-footer { background: var(--night-0); border-top: 1px solid var(--line); padding: 56px 0 120px; color: var(--faint); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.disclaimer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.85rem; line-height: 1.55; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Sticky download bar (phones) ---------- */

.get-bar {
  position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: none; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 20px;
  background: rgba(24, 15, 56, 0.92); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line); box-shadow: 0 20px 50px -10px rgba(0,0,0,.7);
  transform: translateY(140%); transition: transform 0.35s cubic-bezier(.2,.7,.3,1);
}
.get-bar img { width: 44px; height: 44px; border-radius: 11px; }
.get-bar .text { line-height: 1.25; font-size: 0.9rem; color: var(--muted); }
.get-bar .text strong { display: block; color: var(--text); font-size: 1rem; }
.get-bar .btn { margin-left: auto; padding: 11px 18px; }
.get-bar.is-shown { transform: none; }
@media (max-width: 880px) { .get-bar { display: flex; } }

/* ---------- Guide pages ---------- */

.page-hero { padding: 64px 0 100px; }
.page-hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.page-hero .phone { width: min(290px, 68vw); margin-inline: auto; transform: rotate(2deg); }
@media (max-width: 880px) { .page-hero .wrap { grid-template-columns: 1fr; } .page-hero { padding: 32px 0 80px; } }

.breadcrumbs { font-size: 0.9rem; color: var(--faint); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }

.checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin: 28px 0; }
.prose .checklist .card h3 { margin: 0 0 12px; }
.checklist ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.checklist li { display: flex; gap: 10px; color: var(--muted); margin: 0; }
.checklist li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 5px; border-radius: 5px; border: 2px solid var(--faint); }
@media (max-width: 700px) { .checklist { grid-template-columns: 1fr; } }
@media print {
  .site-header, .get-bar, .finale, .page-hero .phone, .site-footer .footer-grid { display: none !important; }
  body, .sky { background: #fff !important; color: #000; }
  .card { border-color: #999; }
  .prose p, .prose li, .checklist li { color: #000; }
}

.inline-cta {
  display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between;
  margin: 48px 0; padding: 26px 28px; border-radius: 22px;
  background: linear-gradient(120deg, rgba(255,214,90,.12), rgba(255,126,179,.1)); border: 1px solid rgba(255,214,90,.25);
}
.inline-cta p { margin: 0; color: var(--text); font-weight: 700; font-size: 1.15rem; max-width: 30em; }
.inline-cta .sub { display: block; font-weight: 500; font-size: 0.98rem; color: var(--muted); }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related a.card { text-decoration: none; color: var(--text); transition: transform .15s, background .2s; }
.related a.card:hover { transform: translateY(-3px); background: var(--card-strong); }
.related a.card span { color: var(--sky); font-weight: 700; }
@media (max-width: 880px) { .related { grid-template-columns: 1fr; } }

.not-found { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 20px; }
