/* speed.cam — shared styles (design tokens from the app design system) */
:root {
  --bg: #0B0E11;
  --surface: #14181D;
  --surface-2: #1B222C;
  --text: #F2F4F5;
  --text-2: #D4D1CA;
  --text-3: #6B6862;
  --accent: #FFB020;
  --accent-deep: #C9892E;
  --danger: #FF453A;
  --success: #32D74B;
  --hairline: rgba(255, 255, 255, 0.07);
  --radius: 18px;
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Hanken Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .display { font-family: 'Space Grotesk', sans-serif; letter-spacing: -0.02em; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(11, 14, 17, 0.7);
  border-bottom: 1px solid var(--hairline);
}
header.site .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font-family: 'Space Grotesk'; font-weight: 700; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.wordmark .dot { color: var(--accent); }
nav.links a { color: var(--text-2); margin-left: 28px; font-size: 15px; font-weight: 500; }
nav.links a:hover { color: var(--text); }

/* Brand mark */
.mark {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(160deg, #1B222C, #0E1318);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06), 0 16px 40px -12px rgba(0,0,0,0.6);
  display: grid; place-items: center;
}
.mark .ring {
  width: 26px; height: 26px; border-radius: 50%;
  border: 3px solid var(--accent); display: grid; place-items: center;
  box-shadow: 0 0 18px rgba(255,176,32,0.45);
}
.mark .ring .core { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }

/* Hero */
.hero { padding: 96px 0 72px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% 0 auto 0; height: 600px;
  background: radial-gradient(closest-side, rgba(255,176,32,0.12), transparent 70%);
  pointer-events: none;
}
.hero .mark { width: 92px; height: 92px; border-radius: 26px; margin: 0 auto 28px; }
.hero .mark .ring { width: 46px; height: 46px; border-width: 5px; }
.hero .mark .ring .core { width: 15px; height: 15px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 700; line-height: 1.04; }
.hero p.sub { color: var(--text-2); font-size: clamp(17px, 2.2vw, 21px); max-width: 620px; margin: 22px auto 0; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--accent); background: rgba(255,176,32,0.12); border: 1px solid rgba(255,176,32,0.35);
}
.cta { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px;
  padding: 14px 26px; border-radius: 14px; border: 1px solid transparent;
}
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); color: #0B0E11; }
.btn.ghost { background: var(--surface); color: var(--text); border-color: var(--hairline); }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: default; }

.hero .meta { margin-top: 18px; color: var(--text-3); font-size: 14px; font-weight: 500; letter-spacing: 0.01em; }

/* Features */
.section { padding: 72px 0; }
.section.alt { background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.section h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 700; text-align: center; }
.section .lead { text-align: center; color: var(--text-2); font-size: 17px; max-width: 620px; margin: 16px auto 0; }
.card .num {
  width: 40px; height: 40px; border-radius: 11px; margin-bottom: 16px;
  display: grid; place-items: center; font-family: 'Space Grotesk'; font-weight: 700; font-size: 18px;
  color: #0B0E11; background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.card {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 28px;
}
.card .icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,176,32,0.14); color: var(--accent); display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; }
.card h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 15px; }
.stat { color: var(--accent); font-weight: 700; }

/* Legal note */
.note { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 24px 28px; color: var(--text-2); font-size: 14px; }
.note strong { color: var(--text); }

/* Footer */
footer.site { border-top: 1px solid var(--hairline); padding: 40px 0; color: var(--text-3); font-size: 14px; }
footer.site .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer.site a { color: var(--text-3); margin-left: 20px; }
footer.site a:hover { color: var(--text); }

/* Legal pages */
.legal { padding: 56px 0 80px; max-width: 760px; }
.legal h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 8px; }
.legal .updated { color: var(--text-3); margin-bottom: 36px; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; color: var(--text); }
.legal p, .legal li { color: var(--text-2); margin-bottom: 12px; }
.legal ul { padding-left: 22px; }
.legal .todo { color: var(--danger); font-weight: 600; }
.legal .back { display: inline-block; margin-bottom: 28px; color: var(--text-2); }

@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  nav.links a { margin-left: 16px; font-size: 14px; }
}
