/* Roadster Flies — design system.
   Black, white, one accent (thruster blue). Quiet type, big numbers, lots of air.
   Our own brand: no Tesla logo, font or page layout. */
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Mono"; src: url("fonts/mono.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #050607;
  --bg-2: #0b0d10;
  --surface: #101318;
  --line: rgba(255,255,255,.09);
  --line-2: rgba(255,255,255,.16);
  --text: #f3f4f6;
  --muted: #9aa3ad;
  --dim: #6b737c;
  --accent: #5cc8ff;          /* thruster blue */
  --accent-2: #b8e6ff;
  --scan: #ff2d2d;            /* scanner light, used once */
  --ok: #46d39a;
  --warn: #ffb84d;
  --max: 1240px;
  --r: 14px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font);
  font-size: 17px; line-height: 1.6; letter-spacing: -.005em; overflow-x: hidden;
  -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
@media (min-width: 760px) { .wrap { padding: 0 40px; } }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px;
  display: flex; align-items: center; transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent; }
.nav.solid { background: rgba(5,6,7,.82); backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.mark { font-weight: 700; letter-spacing: .32em; font-size: 13px; text-decoration: none; white-space: nowrap; }
.mark span { color: var(--accent); }
.nav ul { display: none; list-style: none; margin: 0; padding: 0; gap: 4px; }
.nav li a { font-size: 13.5px; font-weight: 500; text-decoration: none; color: var(--text);
  padding: 8px 12px; border-radius: 8px; opacity: .86; }
.nav li a:hover { background: rgba(255,255,255,.08); opacity: 1; }
.menu-btn { background: none; border: 1px solid var(--line-2); color: var(--text); font: 500 13px var(--font);
  padding: 8px 14px; border-radius: 8px; cursor: pointer; }
@media (min-width: 1020px) { .nav ul { display: flex; } .menu-btn { display: none; } }
.drawer { position: fixed; inset: 64px 0 auto 0; z-index: 49; background: rgba(5,6,7,.97);
  border-bottom: 1px solid var(--line); display: none; }
.drawer.open { display: block; }
.drawer a { display: block; padding: 14px 20px; text-decoration: none; border-top: 1px solid var(--line); font-weight: 500; }

/* ---------- hero ---------- */
.hero { position: relative; display: flex; align-items: center;
  padding: 112px 0 64px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background:
  radial-gradient(120% 70% at 50% 110%, rgba(92,200,255,.22), transparent 60%),
  radial-gradient(60% 40% at 50% 100%, rgba(92,200,255,.18), transparent 70%),
  linear-gradient(180deg, #050607 0%, #07090c 60%, #0a0e13 100%); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(5,6,7,.55) 0%, rgba(5,6,7,.1) 35%, rgba(5,6,7,.85) 100%); }
.scanner { position: absolute; left: 0; right: 0; top: 64px; height: 2px; overflow: hidden; z-index: 1; opacity: .9; }
.scanner::before { content: ""; position: absolute; top: 0; width: 18%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--scan), transparent);
  box-shadow: 0 0 18px var(--scan); animation: scan 3.2s ease-in-out infinite alternate; }
@keyframes scan { from { left: -18%; } to { left: 100%; } }
@media (prefers-reduced-motion: reduce) { .scanner::before { animation: none; left: 41%; } html { scroll-behavior: auto; } }
.eyebrow { font: 500 12px/1 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(46px, 7.4vw, 104px); line-height: .95; letter-spacing: -.04em;
  font-weight: 650; margin: 18px 0 18px; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--muted); font-weight: 300; }
.hero .lede { font-size: clamp(17px, 2vw, 21px); color: #d6dbe0; max-width: 46ch; margin: 0 0 30px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 24px;
  border-radius: 6px; font-weight: 600; font-size: 14.5px; text-decoration: none; letter-spacing: .01em;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, background .2s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--text); color: #0a0a0a; }
.btn-primary:hover { background: #fff; }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--text); border-color: var(--line-2);
  backdrop-filter: blur(8px); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.updated { margin-top: 28px; font: 500 12px var(--mono); color: var(--dim); letter-spacing: .06em; }
.updated b { color: var(--ok); font-weight: 500; }

/* ---------- stats band ---------- */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.stats .wrap { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .stats .wrap { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 30px 8px 28px; border-left: 1px solid var(--line); }
.stat:nth-child(odd) { border-left: 0; }
@media (min-width: 900px) { .stat:nth-child(odd) { border-left: 1px solid var(--line); } .stat:first-child { border-left: 0; } }
.stat .n { font-size: clamp(32px, 4.6vw, 54px); font-weight: 600; letter-spacing: -.035em; line-height: 1; }
.stat .n small { font-size: .42em; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.stat .l { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.tag { display: inline-block; font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 7px; border-radius: 4px; border: 1px solid var(--line-2); color: var(--muted); vertical-align: middle; white-space: nowrap; }
.tag.claim { color: var(--warn); border-color: rgba(255,184,77,.35); }
.tag.shown { color: var(--ok); border-color: rgba(70,211,154,.35); }
.tag.unknown { color: var(--dim); }

/* ---------- sections ---------- */
section { padding: 96px 0; }
@media (min-width: 900px) { section { padding: 128px 0; } }
section + section { border-top: 1px solid var(--line); }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(32px, 4.8vw, 58px); line-height: 1.02; letter-spacing: -.035em; font-weight: 620; margin: 14px 0 16px; }
.sec-head p { color: var(--muted); font-size: 18px; margin: 0; }
.prose { max-width: 70ch; }
.prose p { color: #cfd5db; }

/* answer box (the first thing Google and people see) */
.answer { display: grid; gap: 28px; }
@media (min-width: 900px) { .answer { grid-template-columns: 1.1fr .9fr; align-items: start; gap: 56px; } }
.answer-text p { font-size: 19px; color: #d9dee3; margin: 0 0 18px; }
.answer-text p:first-child { font-size: clamp(22px, 2.6vw, 30px); color: var(--text); letter-spacing: -.02em; line-height: 1.3; font-weight: 500; }
.checklist { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.checklist li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.checklist li span:first-child { color: #d9dee3; }

/* video facade */
.video { position: relative; aspect-ratio: 16/9; border-radius: var(--r); overflow: hidden; background: #000;
  border: 1px solid var(--line); cursor: pointer; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s; }
.video:hover img { opacity: 1; transform: scale(1.02); }
.video .play { position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.video .play::before { content: ""; margin-left: 5px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #0a0a0a; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-meta { margin-top: 12px; }
.video-meta b { display: block; font-weight: 600; font-size: 15.5px; }
.video-meta span { color: var(--muted); font-size: 13.5px; }

/* versions */
.cards { display: grid; gap: 16px; }
@media (min-width: 900px) { .cards.three { grid-template-columns: repeat(3, 1fr); } .cards.two { grid-template-columns: repeat(2, 1fr); } }
.card { background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line);
  border-radius: var(--r); padding: 30px 26px; position: relative; overflow: hidden; }
.card h3 { font-size: 26px; letter-spacing: -.025em; font-weight: 620; margin: 12px 0 6px; }
.card .sub { color: var(--muted); margin: 0 0 22px; font-size: 15px; }
.spec { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.spec li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.spec li span:first-child { color: var(--muted); }
.spec li span:last-child { text-align: right; font-weight: 500; }
.card.hot { border-color: rgba(92,200,255,.35); }
.card.hot::before { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 70%;
  background: radial-gradient(closest-side, rgba(92,200,255,.18), transparent); pointer-events: none; }

/* diagram */
.diagram { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.diagram svg { width: 100%; height: auto; }
.steps { counter-reset: s; display: grid; gap: 14px; margin-top: 28px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); }
.step::before { counter-increment: s; content: "0" counter(s); font: 500 12px var(--mono); color: var(--accent); letter-spacing: .1em; }
.step h4 { margin: 10px 0 6px; font-size: 17px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); }
table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 15px; }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font: 500 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); background: var(--bg-2); }
tr:last-child td { border-bottom: 0; }
td.src a { color: var(--muted); font-size: 13px; }

/* tracker */
.tracker { display: grid; gap: 16px; }
@media (min-width: 900px) { .tracker { grid-template-columns: repeat(3, 1fr); } }
.track { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.track .k { font: 500 11.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.track .v { font-size: 30px; font-weight: 600; letter-spacing: -.03em; margin: 10px 0 8px; }
.track p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 1px; background: var(--line-2); }
.timeline li { position: relative; padding: 0 0 34px 40px; }
.timeline li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--muted); }
.timeline li.big::before { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 14px rgba(92,200,255,.7); }
.timeline .d { font: 500 12.5px var(--mono); color: var(--accent); letter-spacing: .06em; }
.timeline h4 { margin: 4px 0 4px; font-size: 18px; letter-spacing: -.015em; }
.timeline p { margin: 0; color: var(--muted); font-size: 15px; max-width: 70ch; }
.timeline a { color: var(--dim); font-size: 13px; }

/* video wall */
.vgrid { display: grid; gap: 28px 20px; }
@media (min-width: 700px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .vgrid { grid-template-columns: repeat(3, 1fr); } }

/* news */
.news { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.news li { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
@media (min-width: 900px) { .news li { grid-template-columns: 150px 1fr; gap: 28px; } }
.news .d { font: 500 12.5px var(--mono); color: var(--dim); padding-top: 3px; }
.news h4 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.015em; font-weight: 600; }
.news p { margin: 0 0 6px; color: #c9cfd6; font-size: 15.5px; }
.news a.src { color: var(--muted); font-size: 13px; }

/* gallery */
.gallery { display: grid; gap: 14px; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.gallery figcaption { font-size: 12.5px; color: var(--dim); margin-top: 8px; }
.gallery figcaption a { color: var(--dim); }

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 18.5px; font-weight: 550;
  letter-spacing: -.015em; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-size: 26px; font-weight: 300; color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 24px; color: #cfd5db; max-width: 72ch; }
.faq .a p { margin: 0 0 10px; }
.faq .a .src { font-size: 13px; color: var(--dim); }

/* makers */
.makers { background: radial-gradient(80% 60% at 50% 0%, rgba(92,200,255,.08), transparent 70%), var(--bg); }
.app { display: grid; gap: 20px; align-content: start; }
.app .icon { width: 64px; height: 64px; border-radius: 15px; border: 1px solid var(--line-2); background: #fff; object-fit: cover; }
.app h3 { margin: 0; }
.app .pitch { font-size: 21px; letter-spacing: -.02em; line-height: 1.35; margin: 0; color: var(--text); }
.app ul { margin: 0; padding-left: 18px; color: #cfd5db; }
.app ul li { margin-bottom: 6px; }
.app .fine { font-size: 12.5px; color: var(--dim); margin: 0; }
.stores { display: flex; gap: 10px; flex-wrap: wrap; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 56px 0 72px; color: var(--muted); font-size: 14px; background: var(--bg-2); }
footer .cols { display: grid; gap: 32px; }
@media (min-width: 900px) { footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
footer h5 { font: 500 11.5px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin: 0 0 14px; }
footer a { color: var(--text); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.disclaimer { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); max-width: 90ch; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } }

.hero-grid { display: grid; gap: 36px; }
@media (min-width: 1020px) { .hero { min-height: 92svh; } .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; } }
.hero-video .video { box-shadow: 0 30px 120px rgba(92,200,255,.18), 0 0 0 1px rgba(255,255,255,.08); }
.hero-video .video img { opacity: 1; }
.hero .eyebrow { line-height: 1.5; }

/* app promo bands */
.band-promo { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 72px 0;
  background: radial-gradient(70% 120% at 100% 50%, rgba(92,200,255,.10), transparent 60%), var(--bg-2); }
.band-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .band-grid { grid-template-columns: 1.4fr .8fr; gap: 64px; } }
.band-promo h2 { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.03em; font-weight: 620; margin: 12px 0 14px; }
.band-promo p { color: #cfd5db; font-size: 17.5px; margin: 0; max-width: 60ch; }
.band-side { display: grid; gap: 16px; justify-items: start; padding: 28px; border: 1px solid var(--line-2); border-radius: var(--r); background: rgba(255,255,255,.03); }
.band-side .icon { width: 72px; height: 72px; border-radius: 17px; }
.band-name { font-weight: 650; font-size: 20px; letter-spacing: -.01em; }
.band-name span { display: block; font-weight: 400; font-size: 13px; color: var(--dim); }
section + .band-promo, .band-promo + section { border-top: 0; }

/* moments wall */
.moments { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .moments { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .moments { grid-template-columns: repeat(4, 1fr); } }
.moment { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 8px; align-content: start; min-height: 168px;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--r); position: relative; overflow: hidden;
  background: linear-gradient(160deg, var(--surface), var(--bg-2)); transition: border-color .2s, transform .2s; }
.moment:hover, .moment:focus-visible { border-color: rgba(92,200,255,.55); transform: translateY(-2px); }
.moment:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.moment.big { border-color: rgba(92,200,255,.35); }
@media (min-width: 1020px) { .moment.big { grid-column: span 2; } }
.moment .tc { font: 500 30px/1 var(--mono); color: var(--accent); letter-spacing: -.02em; }
.moment .mt { font-weight: 650; font-size: 18px; letter-spacing: -.015em; }
.moment .mp { color: var(--muted); font-size: 14px; }
.moment .go { margin-top: auto; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text); opacity: .7; }
.credit { color: var(--dim); font-size: 13px; margin-top: 16px; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.88); display: grid; place-items: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lb-inner { width: min(1100px, 100%); position: relative; }
.lb-frame { aspect-ratio: 16/9; background: #000; border-radius: 10px; overflow: hidden; }
.lb-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lb-close { position: absolute; top: -48px; right: 0; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 8px; font-size: 18px; width: 40px; height: 40px; cursor: pointer; }
.xgrid { display: grid; gap: 16px; }
@media (min-width: 900px) { .xgrid { grid-template-columns: repeat(2, 1fr); align-items: start; } }
.xgrid blockquote.twitter-tweet { margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--r); color: var(--muted); }
.xgrid blockquote.twitter-tweet a { color: var(--accent); }

/* real shots */
.stills { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .stills { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .stills { grid-template-columns: repeat(4, 1fr); } .still.big { grid-column: span 2; grid-row: span 2; } }
.still { all: unset; box-sizing: border-box; cursor: pointer; position: relative; display: block; border-radius: var(--r); overflow: hidden;
  border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; max-width: 100%; }
.still img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; opacity: .92; }
.still:hover img, .still:focus-visible img { transform: scale(1.04); opacity: 1; }
.still:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.still-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; display: grid; gap: 2px;
  background: linear-gradient(transparent, rgba(0,0,0,.82)); }
.still-cap b { font-weight: 600; font-size: 15px; letter-spacing: -.01em; color: #fff; }
.still-cap span { font-size: 12px; color: rgba(255,255,255,.7); }
.still.big .still-cap b { font-size: 20px; }
.still-play { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.9); }
.still-play::before { content: ""; position: absolute; left: 15px; top: 12px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #0a0a0a; }

/* official store badges: both visible pills 40px tall (Google's PNG carries its own clear space) */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.badge-link { display: inline-flex; align-items: center; border-radius: 8px; }
.badge-apple { height: 40px; width: auto; margin: 10px; }
.badge-google { height: 59.5px; width: auto; }
.badge-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* article pages */
.article-page { padding-top: 104px; }
.crumbs { font: 500 12.5px var(--mono); color: var(--dim); letter-spacing: .04em; margin-bottom: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.ahead { max-width: 820px; margin-bottom: 36px; }
.ahead h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.04; letter-spacing: -.035em; font-weight: 640; margin: 0 0 16px; text-wrap: balance; }
.ameta { color: var(--dim); font: 500 13px var(--mono); letter-spacing: .03em; margin: 0; }
.prose-article { max-width: 72ch; font-size: 18px; line-height: 1.7; color: #d6dbe0; padding-bottom: 32px; }
.prose-article > p:first-child { font-size: 21px; line-height: 1.55; color: var(--text); }
.prose-article h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.025em; line-height: 1.2; color: var(--text); margin: 48px 0 14px; font-weight: 620; text-wrap: balance; }
.prose-article h3 { font-size: 20px; color: var(--text); margin: 32px 0 10px; }
.prose-article a { color: var(--accent-2); text-underline-offset: 3px; text-decoration-color: rgba(184,230,255,.4); }
.prose-article a:hover { text-decoration-color: currentColor; }
.prose-article ul, .prose-article ol { padding-left: 22px; }
.prose-article li { margin-bottom: 8px; }
.prose-article strong { color: var(--text); }
.prose-article blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--accent); color: var(--text); }
.prose-article table { width: 100%; min-width: 0; border-collapse: collapse; font-size: 15px; margin: 24px 0; display: block; overflow-x: auto; }
.prose-article th, .prose-article td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose-article th { font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); background: var(--bg-2); }
.prose-article code { font-family: var(--mono); font-size: .9em; background: var(--surface); padding: 2px 6px; border-radius: 4px; }
.adisc { max-width: 72ch; color: var(--dim); font-size: 14px; border-top: 1px solid var(--line); padding: 20px 0 64px; margin: 0; }
.adisc a { color: var(--muted); }
.acards { display: grid; gap: 14px; }
@media (min-width: 760px) { .acards { grid-template-columns: repeat(3, 1fr); } }
.acard { display: grid; gap: 8px; align-content: start; padding: 24px; border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; background: linear-gradient(160deg, var(--surface), var(--bg-2)); transition: border-color .2s, transform .2s; min-width: 0; }
.acard:hover, .acard:focus-visible { border-color: rgba(92,200,255,.5); transform: translateY(-2px); }
.adate { font: 500 12px var(--mono); color: var(--dim); }
.atitle { font-weight: 640; font-size: 19px; line-height: 1.3; letter-spacing: -.015em; color: var(--text); }
.adesc { color: var(--muted); font-size: 14.5px; }
.amore { margin-top: 6px; font: 500 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.more { padding: 72px 0 96px; border-top: 0; }
.more-h { font-size: 26px; letter-spacing: -.02em; margin: 0 0 24px; }

/* "Keep reading" under app bands, so nobody mistakes the band for the end of the page */
.band-promo { position: relative; }
.keep-reading { display: flex; width: max-content; margin: 36px auto 0; align-items: center; gap: 10px; padding: 12px 22px;
  border: 1px solid var(--line-2); border-radius: 999px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 15px;
  background: rgba(255,255,255,.04); }
.keep-reading:hover { background: rgba(255,255,255,.1); }
.keep-reading span { color: var(--accent); animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .keep-reading span { animation: none; } }

/* both apps side by side, used mid-page and at the end of every page */
.apps-band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 64px 0;
  background: radial-gradient(70% 120% at 100% 0%, rgba(92,200,255,.10), transparent 60%), var(--bg-2); }
.apps-band + section, section + .apps-band { border-top: 0; }
.apps-grid { display: grid; gap: 16px; margin-top: 18px; }
@media (min-width: 900px) { .apps-grid { grid-template-columns: 1fr 1fr; } }
.app-tile { display: grid; gap: 12px; align-content: start; padding: 26px; border: 1px solid var(--line-2); border-radius: var(--r);
  background: rgba(255,255,255,.03); min-width: 0; }
.app-head { display: flex; align-items: center; gap: 14px; }
.app-head .icon { width: 64px; height: 64px; border-radius: 15px; }
.app-tile h2 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -.025em; font-weight: 620; margin: 6px 0 0; text-wrap: balance; }
.app-tile p { color: #cfd5db; font-size: 16px; margin: 0; }

/* photos inside articles */
.afig { margin: 32px 0; }
.afig img { width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); display: block; }
.afig figcaption { margin-top: 10px; font-size: 13px; color: var(--dim); line-height: 1.5; }
.afig figcaption a { color: var(--muted); }
.prose-article .afig + .afig { margin-top: 12px; }

/* Knight Rider-style banner (our own design: black panel, sweeping red scanner, bold type) */
.kr-banner { position: relative; overflow: hidden; margin: 32px 0; padding: 56px 24px 44px; border-radius: 14px; text-align: center;
  background: radial-gradient(80% 120% at 50% 120%, rgba(255,45,45,.18), transparent 60%), #030303; border: 1px solid #1d1d1d; }
.kr-scan { position: absolute; left: 10%; right: 10%; top: 26px; height: 10px; border-radius: 5px; background: #200; overflow: hidden; }
.kr-scan::before { content: ""; position: absolute; top: 0; bottom: 0; width: 22%; border-radius: 5px;
  background: linear-gradient(90deg, transparent, #ff1a1a 40%, #ff6b6b 50%, #ff1a1a 60%, transparent); box-shadow: 0 0 22px #ff1a1a;
  animation: krscan 1.6s ease-in-out infinite alternate; }
@keyframes krscan { from { left: -2%; } to { left: 80%; } }
@media (prefers-reduced-motion: reduce) { .kr-scan::before { animation: none; left: 39%; } }
.kr-title { font-weight: 800; font-size: clamp(34px, 7vw, 72px); letter-spacing: .06em; line-height: 1; color: #f5f5f5; font-style: italic; }
.kr-title span { color: #ff2d2d; font-style: normal; font-weight: 300; letter-spacing: 0; margin: 0 .2em; }
.kr-sub { margin-top: 14px; font: 500 13px var(--mono); letter-spacing: .4em; color: #9a9a9a; }
.prose-article .video { margin: 28px 0 8px; }
.prose-article .vcap { font-size: 13px; color: var(--dim); margin: 0 0 28px; }
.prose-article td strong { color: var(--accent-2); }

/* fun scoreboard cards (playful articles) */
.fun-grid { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 24px 0 10px; }
@media (min-width: 560px) { .fun-grid { grid-template-columns: 1fr 1fr; } }
.fun-card { border: 1px solid var(--line); border-radius: 16px; padding: 20px 20px 18px; background: linear-gradient(160deg, var(--surface), var(--bg-2)); min-width: 0; }
.fun-card.hot { border-color: rgba(92,200,255,.45); background: radial-gradient(90% 80% at 100% 0%, rgba(92,200,255,.14), transparent 60%), var(--surface); }
.fun-emoji { font-size: 34px; line-height: 1; }
.fun-big { font-size: 52px; font-weight: 750; letter-spacing: -.04em; line-height: 1; margin-top: 12px; color: var(--text); font-variant-numeric: tabular-nums; }
.fun-label { font-weight: 650; font-size: 17px; color: var(--accent-2); margin-top: 6px; }
.fun-note { font-size: 14.5px; line-height: 1.5; color: var(--muted); margin-top: 8px; }
.fun-fine { font-size: 12.5px; color: var(--dim); line-height: 1.55; }
.fun-fine a { color: var(--muted); }
details.math { margin: 32px 0; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-2); padding: 0 20px; }
details.math summary { cursor: pointer; padding: 16px 0; font-weight: 650; color: var(--text); list-style: none; }
details.math summary::-webkit-details-marker { display: none; }
details.math summary::after { content: " +"; color: var(--accent); }
details.math[open] summary::after { content: " –"; }
details.math p, details.math li { font-size: 15.5px; }
details.math[open] { padding-bottom: 12px; }

/* pull quote */
blockquote.pull { margin: 8px 0 32px; padding: 22px 24px; border: 0; border-left: 3px solid var(--accent); background: var(--bg-2); border-radius: 0 14px 14px 0; }
blockquote.pull p { font-size: 22px; line-height: 1.4; letter-spacing: -.015em; color: var(--text); margin: 0 0 12px; font-weight: 500; }
blockquote.pull cite { font-style: normal; font-size: 13.5px; color: var(--dim); }
blockquote.pull cite a { color: var(--muted); }

.app-site { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; color: var(--accent-2); text-decoration: none; margin-top: 2px; }
.app-site:hover { text-decoration: underline; text-underline-offset: 3px; }

/* app ads: bright cards that read as ads on the dark site (each in its own app's colors) */
.ad-ribbon { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-weight: 600; font-size: 15px; color: var(--muted); }
.ad-tag { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #ffd23f; color: #1a1400; font-weight: 800;
  font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; }
.apps-band .app-tile { padding: 28px 26px 26px; border: 0; border-radius: 22px; gap: 14px; box-shadow: 0 18px 50px rgba(0,0,0,.45); }
.app-chip { margin-left: auto; align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; border: 1.5px solid currentColor; opacity: .75; }
.apps-band .app-tile h2 { font-size: clamp(25px, 2.8vw, 32px); font-weight: 760; margin: 4px 0 0; }
.apps-band .app-tile p { font-size: 16.5px; }
.apps-band .band-name { font-size: 22px; font-weight: 760; }
.apps-band .band-name span { font-size: 13.5px; font-weight: 600; }
.cta-line { font-weight: 700; font-size: 15px; margin-top: 4px; }
.apps-band .stores { margin-left: -10px; }
/* Cool Cue: its own sky, blue for evening/opening, amber for morning/closing */
.tile-cc { background: linear-gradient(180deg, #CFE6F5 0%, #E9F1F7 50%, #FBEFE0 100%); color: #14212E; }
.tile-cc .band-name span, .tile-cc p { color: #55697C; }
.tile-cc .app-chip, .tile-cc .app-site { color: #15618F; }
.cc-steps { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 10px; }
.cc-step { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.94); }
.cc-step > div { display: grid; gap: 2px; min-width: 0; }
.cc-ico { font-size: 26px; line-height: 1.1; }
.cc-when { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cc-step.open .cc-when { color: #15618F; } .cc-step.close .cc-when { color: #B85C10; } .cc-step.win .cc-when { color: #1C5A96; }
.cc-step strong { font-size: 18px; color: #14212E; line-height: 1.25; }
.cc-text { font-size: 15px; color: #55697C; line-height: 1.45; }
/* Support-O: white, its own blue and its "thank you" green */
.tile-so { background: #FFFFFF; color: #111417; border-top: 6px solid #0B5FAE !important; }
.tile-so .band-name span { color: #4A5560; }
.tile-so .app-chip, .tile-so .app-site { color: #0B5FAE; }
.so-qa { list-style: none; margin: 2px 0 0; padding: 0; display: grid; gap: 10px; }
.so-qa li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: #F4F7FB; border: 1px solid #D5DDE5; }
.so-qa li > div { display: grid; gap: 4px; min-width: 0; }
.so-ico { font-size: 26px; line-height: 1.1; }
.so-q { font-size: 18px; line-height: 1.3; color: #111417; }
.so-a { font-size: 15px; line-height: 1.45; color: #4A5560; }
.so-a b { color: #1B7A3D; font-weight: 800; }
.apps-band .app-site:hover { text-decoration: underline; }
.apps-band .badge-link:focus-visible { outline-color: #0B5FAE; }
.apps-band .ad-sub { font-size: clamp(19px, 2vw, 22px); line-height: 1.25; font-weight: 700; letter-spacing: -.015em; margin-top: -4px; text-wrap: balance; }
.tile-cc .ad-sub { color: #15618F; }
.tile-so .ad-sub { color: #0B5FAE; }
/* top of a mid-page ad block: tells readers the article goes on after the ads */
.continues-note { display: flex; justify-content: center; align-items: center; gap: 8px; margin: -28px 0 26px; padding: 10px 14px;
  font-weight: 600; font-size: 15px; color: var(--muted); text-decoration: none; text-align: center;
  border-bottom: 1px dashed var(--line-2); }
.continues-note span { color: var(--accent); }
.continues-note:hover { color: var(--text); }
