/* Calburnt website: Midnight & Mint (matches the app). No red anywhere. */
@font-face { font-family: 'Sora'; src: url('/fonts/Sora_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('/fonts/Sora_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('/fonts/Sora_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Sora'; src: url('/fonts/Sora_800ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  --bg: #0A1220;
  --surface: #111C30;
  --well: #0C1527;
  --line: rgba(234, 242, 255, 0.08);
  --text: #EAF2FF;
  --text2: #A3B2CB;
  --muted: #6E7E99;
  --mint: #3DDC97;
  --mint-deep: #16A872;
  --on-mint: #04150D;
  --gold: #FFC861;
  --sky: #5AB8FF;
  --lilac: #B79BFF;
  --radius: 24px;
  --max: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Sora', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(10, 18, 32, 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font-weight: 500; letter-spacing: 0.32em; font-size: 15px; color: var(--text); }
.wordmark:hover { text-decoration: none; }
.nav { display: flex; gap: 22px; align-items: center; font-size: 14px; }
.nav a { color: var(--text2); }
.nav a:hover { color: var(--text); text-decoration: none; }

/* Buttons */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px; }
.btn:hover { text-decoration: none; }
.btn-mint { background: linear-gradient(135deg, var(--mint), var(--mint-deep)); color: var(--on-mint); box-shadow: 0 10px 30px rgba(61, 220, 151, 0.25); }
.btn-ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.btn-small { height: 40px; padding: 0 18px; font-size: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 88px 0 72px; }
.hero::before { content: ''; position: absolute; inset: -20% -10% auto auto; width: 720px; height: 720px; background: radial-gradient(circle, rgba(61, 220, 151, 0.16), transparent 62%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--mint); font-weight: 600; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; }
h1 { font-weight: 800; font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.035em; margin: 14px 0 20px; }
.lead { color: var(--text2); font-size: 18px; max-width: 540px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.note { color: var(--muted); font-size: 13px; margin-top: 14px; }

/* Phone mock */
.phone { justify-self: center; width: min(300px, 100%); border-radius: 44px; padding: 14px; background: #060B15; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.06); }
.screen { border-radius: 32px; background: var(--bg); padding: 26px 18px 20px; }
.screen .day { color: var(--muted); font-size: 11px; }
.screen .hello { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 14px; }
.plate { position: relative; width: 196px; height: 196px; margin: 4px auto 16px; border-radius: 50%; background: radial-gradient(circle at 40% 36%, #22314F, #172440 70%, #0E182C); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 60px rgba(61, 220, 151, 0.1); }
.plate svg { position: absolute; inset: 0; }
.plate .num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.plate .num b { font-weight: 800; font-size: 34px; letter-spacing: -0.03em; line-height: 1; }
.plate .num span { color: var(--text2); font-size: 11px; }
.wells { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.well { background: var(--well); border-radius: 16px; padding: 10px 6px; text-align: center; box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.45); }
.well b { display: block; font-size: 14px; }
.well span { color: var(--muted); font-size: 10px; }
.scan { margin-top: 12px; text-align: center; padding: 12px; border-radius: 999px; background: linear-gradient(135deg, var(--mint), var(--mint-deep)); color: var(--on-mint); font-weight: 700; font-size: 14px; }

/* Sections */
section { padding: 72px 0; }
.kicker { color: var(--muted); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }
h2 { font-weight: 800; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; line-height: 1.12; margin: 10px 0 14px; }
.sub { color: var(--text2); max-width: 640px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.card h3 { margin: 14px 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--text2); font-size: 15px; }
.dot { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--well); box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.45); font-size: 18px; }
.promise { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 30px; }
.promise div { background: var(--well); border-radius: 18px; padding: 16px 18px; color: var(--text2); font-size: 15px; }
.promise b { color: var(--text); }

.band { background: linear-gradient(135deg, rgba(61, 220, 151, 0.12), rgba(90, 184, 255, 0.06)); border-radius: 32px; padding: 48px; text-align: center; }

/* Legal and plain pages */
.page { padding: 56px 0 80px; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(34px, 5vw, 48px); }
.page h2 { font-size: 22px; margin-top: 36px; }
.page p, .page li { color: var(--text2); }
.page strong { color: var(--text); }
.draft { background: rgba(255, 199, 102, 0.1); border: 1px solid rgba(255, 199, 102, 0.35); color: #FFC766; border-radius: 16px; padding: 14px 18px; font-size: 14px; }
.updated { color: var(--muted); font-size: 14px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--text2); }

@media (max-width: 860px) {
  .hero { padding: 56px 0 48px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .grid { grid-template-columns: 1fr; }
  .promise { grid-template-columns: 1fr; }
  .nav .hide-sm { display: none; }
  .band { padding: 32px 20px; }
}

@media (max-width: 340px) {
  .eyebrow { letter-spacing: 0.08em; font-size: 12px; }
  .plate { width: 168px; height: 168px; }
  .plate .num b { font-size: 28px; }
}
