:root {
  --bg: #0f1116;
  --bg-2: #161922;
  --card: #1c202b;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef1f6;
  --muted: #a7aebd;
  --brand: #14b8a6;
  --brand-2: #5eead4;
  --radius: 18px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--brand-2); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 24px; }
section { padding: 96px 24px; }
section > h2, section > .lead { max-width: var(--max); margin-left: auto; margin-right: auto; }
.lead { color: var(--muted); font-size: 19px; margin-top: -4px; margin-bottom: 36px; }
.small { font-size: 14px; color: var(--muted); }

/* header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  background: rgba(15, 17, 22, 0.72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--brand); font-weight: 800; letter-spacing: 0.22em; font-size: 18px; }
.top nav { display: flex; gap: 26px; align-items: center; }
.top nav a { color: var(--text); text-decoration: none; font-size: 15px; opacity: 0.85; }
.top nav a:hover { opacity: 1; }
.top nav .nav-cta { background: var(--brand); color: #04201d; padding: 8px 16px; border-radius: 999px; font-weight: 700; opacity: 1; }

/* hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; padding: 0 24px 9vh; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 12, 16, 0.92) 0%, rgba(10, 12, 16, 0.65) 45%, rgba(10, 12, 16, 0.05) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(15, 17, 22, 0) 30%); }
.hero-text { position: relative; max-width: var(--max); width: 100%; margin: 0 auto; }
.hero h1 { font-size: clamp(42px, 7vw, 84px); font-weight: 850; margin: 18px 0 18px; }
.hero p { max-width: 560px; font-size: 19px; color: #d7dbe4; }
.pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(20, 184, 166, 0.16); color: var(--brand-2); font-weight: 700; font-size: 14px; border: 1px solid rgba(20, 184, 166, 0.4); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 17px; transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.primary { background: var(--brand); color: #04201d; }
.btn.primary:hover { background: var(--brand-2); }
.btn.ghost { color: var(--text); border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.04); }
.btn.big { padding: 16px 30px; font-size: 18px; margin-top: 8px; }
.btn[aria-disabled="true"] { background: #3a3f4c; color: #c9ced9; cursor: default; transform: none; }

/* video */
.video-section { text-align: center; background: var(--bg); }
.video-section .lead { margin-bottom: 30px; }
.video-frame { max-width: 1040px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.video-frame video { width: 100%; aspect-ratio: 16 / 9; background: #000; }

/* features */
.features { background: var(--bg-2); }
.feature { max-width: var(--max); margin: 0 auto 72px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.feature.flip { grid-template-columns: 1fr 1.25fr; }
.feature.flip img { order: 2; }
.feature img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.feature p { color: #d3d8e2; }
.feature ul { padding-left: 0; list-style: none; color: var(--muted); }
.feature li { padding-left: 26px; position: relative; margin: 6px 0; }
.feature li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 10px; height: 10px; border-radius: 3px; background: var(--brand); transform: rotate(45deg); }
.gallery { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery img { border-radius: 12px; border: 1px solid var(--line); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }

/* download */
.download { background: radial-gradient(900px 400px at 50% 0%, rgba(20, 184, 166, 0.16), transparent 70%), var(--bg); }
.download-card { max-width: 860px; margin: 0 auto; display: flex; gap: 32px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 40px; }
.download-card .version { color: var(--brand-2); font-weight: 600; margin-top: -6px; }
.download-card p { color: #d3d8e2; }

/* roadmap */
.roadmap { background: var(--bg-2); }
.cards { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.card h3 { font-size: 20px; color: var(--brand-2); }
.card p { margin: 0; color: var(--muted); }

/* pricing */
.pricing { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.price-card { border-radius: 24px; padding: 34px; border: 1px solid var(--line); background: var(--card); }
.price-card.now { background: linear-gradient(160deg, rgba(20, 184, 166, 0.22), rgba(20, 184, 166, 0.05)); border-color: rgba(20, 184, 166, 0.45); }
.price-card h3 { font-size: 34px; margin-top: 10px; }
.price-card p { color: #d3d8e2; margin: 0; }
.tag { font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-2); }

/* strava */
.strava > div { max-width: 820px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-left: 6px solid #fc4c02; border-radius: 20px; padding: 36px 40px; }
.strava p { color: #d3d8e2; }

/* faq */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 19px; }
.faq details p { color: var(--muted); margin: 10px 0 0; }

footer { text-align: center; padding: 56px 24px 70px; color: var(--muted); border-top: 1px solid var(--line); }
footer .brand { justify-content: center; margin-bottom: 14px; }

@media (max-width: 880px) {
  section { padding: 72px 18px; }
  .top { padding: 12px 16px; }
  .top nav a:not(.nav-cta) { display: none; }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 22px; margin-bottom: 56px; }
  .feature.flip img { order: 0; }
  .gallery, .cards, .pricing { grid-template-columns: 1fr; }
  .download-card { flex-direction: column; padding: 28px; }
  .hero { min-height: 86vh; }
  .hero-shade { background: linear-gradient(0deg, rgba(10, 12, 16, 0.96) 25%, rgba(10, 12, 16, 0.35) 100%); }
}
.strava-mark { display: block; height: 19px; width: auto; margin-bottom: 18px; opacity: 0.95; }

/* ---- M19 "Briefing" look (2026-10-17): same fonts and hard edges as the in-game menus. Barlow (OFL) is self-hosted. ---- */
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/BarlowCondensed-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("assets/fonts/BarlowCondensed-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/Barlow-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("assets/fonts/Barlow-Medium.ttf") format("truetype"); font-weight: 500 800; font-display: swap; }
:root { --radius: 2px; }
body { font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
h1, h2, h3, .brand, .btn, .pill, .tag, .kicker, .top nav a, .faq summary, .price-card h3 {
  font-family: "Barlow Condensed", "Barlow", sans-serif; text-transform: uppercase; letter-spacing: 0.02em; }
h1, h2 { font-weight: 700; line-height: 0.98; }
.hero h1 { font-weight: 700; font-size: clamp(54px, 9vw, 120px); letter-spacing: -0.01em; }
h2 { font-size: clamp(38px, 5vw, 64px); }
h3 { font-size: 28px; font-weight: 700; }
.top nav a { letter-spacing: 0.12em; font-weight: 600; }
.kicker { display: block; color: var(--brand-2); font-weight: 600; letter-spacing: 0.32em; font-size: 15px; margin-bottom: 10px; }
.btn, .top nav .nav-cta, .pill { border-radius: 2px; letter-spacing: 0.12em; }
.btn { font-size: 19px; padding: 14px 28px; }
.btn.primary { box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.4), 0 10px 40px rgba(20, 184, 166, 0.35); }
.btn:hover { transform: translateY(-2px); }
.video-frame, .feature img, .gallery img, .download-card, .card, .price-card, .strava > div { border-radius: 2px; }
.card, .price-card, .download-card { border-top: 3px solid var(--brand); }
.feature li::before { border-radius: 0; }
.gallery img { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.gallery img:hover { transform: scale(1.02); box-shadow: 0 0 0 2px var(--brand), 0 20px 50px rgba(0, 0, 0, 0.5); }
.video-section .video-frame { box-shadow: 0 0 0 1px rgba(94, 234, 212, 0.25), 0 30px 90px rgba(0, 0, 0, 0.6); }
