/* ============================================================
   ROXLETE — roxlete.com
   Carbon + Signal Orange. Heavy grotesque. Race-briefing energy.
   ============================================================ */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Black";
  src: url("/assets/fonts/archivo-black-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0E0F11;
  --bg-deep: #0A0B0D;
  --panel: #17181B;
  --panel-2: #1B1D22;
  --chip: #23262C;
  --line: #26272B;
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #FAFAFA;
  --muted: #9AA0A8;
  --muted-2: #6D727A;
  --orange: #F4490C;
  --orange-deep: #C93A08;
  --orange-glow: rgba(244, 73, 12, 0.32);
  --display: "Archivo Black", "Archivo", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --radius: 20px;
  --wrap: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* faint dot-grid field */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}

::selection { background: var(--orange); color: #fff; }

a { color: var(--orange); text-decoration: none; }
a:hover { color: #FF6A33; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }

/* ---------- type utilities ---------- */

.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}

.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.98;
}
.display .accent { color: var(--orange); }

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 15, 17, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
}
.brand:hover { color: var(--text); }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav-links a.navlink {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.15s ease;
}
.nav-links a.navlink:hover { color: var(--text); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text);
  color: #0E0F11 !important;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.nav-cta:hover { background: #fff; transform: translateY(-1px); }
.nav-cta svg { width: 13px; height: 13px; }
@media (max-width: 560px) {
  .nav-links a.navlink { display: none; }
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 84px 0 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(52px, 7.6vw, 104px);
  margin: 22px 0 24px;
}
.hero .sub {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.6;
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero .sub strong { color: var(--text); font-weight: 600; }
.cta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-note { font-size: 13px; color: var(--muted-2); letter-spacing: 0.02em; }
.cta-note em { font-style: normal; color: var(--muted); }

/* App Store badge (self-drawn, no external assets) */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  background: #000;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  border-radius: 14px;
  padding: 11px 22px 12px 18px;
  color: #fff !important;
  line-height: 1.15;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}
.appstore:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 14px 40px rgba(244, 73, 12, 0.18);
}
.appstore svg { width: 26px; height: 30px; flex: none; }
.appstore .t1 { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.04em; opacity: 0.85; }
.appstore .t2 { display: block; font-size: 21px; font-weight: 700; letter-spacing: 0.01em; margin-top: 1px; }

/* hero visual */
.hero-visual { position: relative; align-self: end; width: 100%; max-width: 440px; margin-left: auto; }
.hero-glow {
  position: absolute;
  inset: -18% -30% -30%;
  background: radial-gradient(closest-side, var(--orange-glow), transparent 72%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-shot {
  position: relative;
  aspect-ratio: 5 / 8.45;
  border-radius: 30px 30px 0 0;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  border-bottom: none;
  box-shadow: 0 -20px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 0, 0, 0.4);
  background: var(--bg-deep);
}
.hero-shot img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }

@media (max-width: 860px) {
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero h1 { font-size: clamp(46px, 12.5vw, 76px); }
  .hero-visual { max-width: 420px; margin: 24px auto 0; width: 100%; }
}

/* proof bar */
.proof {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(23, 24, 27, 0.55);
  position: relative;
  z-index: 2;
}
.proof-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.proof-item {
  padding: 18px 10px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.proof-item + .proof-item { border-left: 1px solid var(--line); }
.proof-item .oct { color: var(--orange); flex: none; }
@media (max-width: 720px) {
  .proof-inner { grid-template-columns: 1fr; }
  .proof-item + .proof-item { border-left: none; border-top: 1px solid var(--line); }
  .proof-item { justify-content: flex-start; text-align: left; padding: 14px 4px; }
}

/* ---------- sections ---------- */

.section { padding: 104px 0 0; }
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head h2 {
  font-size: clamp(34px, 4.6vw, 58px);
  margin-top: 18px;
}
.section-head .lead { color: var(--muted); margin-top: 16px; font-size: 16.5px; max-width: 52ch; }

/* ---------- screenshot showcase ---------- */

.screens {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 10px 24px 34px;
  max-width: calc(var(--wrap) + 48px);
  margin: 0 auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.screens::-webkit-scrollbar { display: none; }
.screen {
  flex: 0 0 auto;
  width: min(72vw, 288px);
  scroll-snap-align: center;
}
.screen-frame {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
  background: var(--bg-deep);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.screen:hover .screen-frame {
  transform: translateY(-6px);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.6), 0 0 60px rgba(244, 73, 12, 0.09);
}
.screen figcaption {
  margin-top: 16px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.screen figcaption .num { color: var(--orange); font-family: var(--display); font-size: 12px; }
@media (min-width: 1100px) {
  .screens { justify-content: center; overflow-x: visible; }
  .screen:nth-child(even) { transform: translateY(36px); }
}

/* ---------- features ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(244, 73, 12, 0.35); }
.feature::after {
  content: "";
  position: absolute;
  top: 0; left: 28px; right: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.feature:hover::after { opacity: 1; }
.feature-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.oct-badge {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: rgba(244, 73, 12, 0.11);
  clip-path: polygon(30% 0, 70% 0, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0 70%, 0 30%);
  color: var(--orange);
}
.oct-badge svg { width: 24px; height: 24px; }
.tag {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--orange);
  border: 1px solid rgba(244, 73, 12, 0.5);
  border-radius: 999px;
  padding: 4px 11px;
  text-transform: uppercase;
}
.feature h3 {
  font-family: var(--display);
  font-size: 19px;
  text-transform: uppercase;
  letter-spacing: 0.015em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.feature p { color: var(--muted); font-size: 14.5px; line-height: 1.7; }
@media (max-width: 860px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ---------- stations ticker ---------- */

.stations {
  margin-top: 104px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-deep);
  position: relative;
  z-index: 1;
  padding: 30px 0 34px;
  overflow: hidden;
}
.ticker { overflow: hidden; position: relative; }
.ticker::before, .ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg-deep), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg-deep), transparent); }
.ticker-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: ticker 46s linear infinite;
  padding: 6px 0;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker-track > *:nth-child(n+17) { display: none; }
}
.ticker-item {
  font-family: var(--display);
  font-size: clamp(19px, 2.6vw, 27px);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--text);
}
.ticker-item .qty { color: var(--muted-2); font-family: var(--body); font-weight: 700; font-size: 0.72em; letter-spacing: 0.08em; margin-left: 8px; }
.ticker-sep { color: var(--orange); flex: none; display: flex; }
.stations-note {
  text-align: center;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 24px;
}
.stations-note .check { color: var(--orange); margin-right: 8px; }

/* ---------- closing CTA ---------- */

.closer {
  position: relative;
  text-align: center;
  padding: 128px 24px 120px;
  overflow: hidden;
}
.closer::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 58%;
  width: 720px;
  height: 720px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(244, 73, 12, 0.22), transparent 70%);
  pointer-events: none;
}
.closer h2 { font-size: clamp(38px, 6vw, 78px); position: relative; }
.closer .cta-row { justify-content: center; margin-top: 40px; position: relative; }
.closer .cta-note { width: 100%; text-align: center; margin-top: 4px; }

/* ---------- footer ---------- */

footer.site {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
  position: relative;
  z-index: 1;
  padding: 48px 0 44px;
}
.footer-inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-top {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.footer-links { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-links a:hover { color: var(--text); }
.footer-meta { padding-top: 24px; color: var(--muted-2); font-size: 13px; }
.footer-meta a { color: var(--muted); }
.footer-meta a:hover { color: var(--text); }
.legal-note { margin-top: 14px; font-size: 12px; color: var(--muted-2); max-width: 640px; line-height: 1.6; }

/* ---------- reveal animation ---------- */

html.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Subpages (privacy / terms / support)
   ============================================================ */

.page { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; position: relative; z-index: 1; }
.page-head { margin-bottom: 44px; }
.page-head h1 {
  font-family: var(--display);
  font-size: clamp(36px, 6vw, 56px);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-top: 16px;
}
.page-head h1 .accent { color: var(--orange); }
.page-head .updated { color: var(--muted-2); font-size: 13px; margin-top: 14px; letter-spacing: 0.04em; }
.page h2 {
  font-family: var(--display);
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 44px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--text);
}
.page h2:first-of-type { border-top: none; padding-top: 0; }
.page p, .page li { color: #C7CBD1; font-size: 15.5px; margin-bottom: 14px; }
.page ul { padding-left: 20px; }
.page li { margin-bottom: 10px; }
.page strong { color: var(--text); }
.page .intro { font-size: 17px; color: var(--muted); }

/* support FAQ */
.faq { border-top: 1px solid var(--line); margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 19px 4px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text);
  transition: color 0.15s ease;
}
.faq summary:hover { color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+";
  font-family: var(--display);
  color: var(--orange);
  font-size: 18px;
  line-height: 1;
  flex: none;
  width: 18px;
  transition: transform 0.2s ease;
}
.faq details[open] summary::before { content: "–"; }
.faq details p { padding: 0 4px 20px 32px; margin: 0; }

.mail-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text) !important;
  margin: 6px 0 10px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.mail-cta:hover { border-color: rgba(244, 73, 12, 0.55); transform: translateY(-1px); }
.mail-cta .oct { color: var(--orange); }
