*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

/* ── Tokens ── */

:root {
  --court: #1c2a3a;
  --court-deep: #121b26;
  --accent: #d9f24a;
  --accent-deep: #b4c91f;
  --accent-on-bg: #d9f24a;
  --ink: #15171a;
  --paper: #ffffff;
  --muted: #6b7280;
  --text: #e5e7eb;
  --text-dim: #9ca3af;
  --card-bg: linear-gradient(135deg, #1c2a3a 0%, #1f3045 100%);
  --card-border: rgba(217,242,74,0.08);
  --input-bg: rgba(255,255,255,0.07);
  --input-border: rgba(255,255,255,0.15);
  --input-text: #ffffff;
  --banner-bg: rgba(217,242,74,0.08);
  --banner-border: rgba(217,242,74,0.2);
  --outline-border: rgba(217,242,74,0.4);
  --outline-hover: rgba(217,242,74,0.08);
  --error-bg: rgba(239,68,68,0.12);
  --error-text: #fca5a5;
  --error-border: rgba(239,68,68,0.25);
}

/* ── Light theme overrides ── */

body.light {
  background: #ffffff !important;
  --court: #f5f5f7;
  --court-deep: #ffffff;
  --accent-on-bg: #4d7a00;
  --paper: #15171a;
  --muted: #9ca3af;
  --text: #374151;
  --text-dim: #6b7280;
  --card-bg: #f5f5f7;
  --card-border: #e5e7eb;
  --input-bg: #ffffff;
  --input-border: #d1d5db;
  --input-text: #15171a;
  --banner-bg: #f0fdf4;
  --banner-border: #bbf7d0;
  --outline-border: #d1d5db;
  --outline-hover: #f5f5f7;
  --error-bg: #fef2f2;
  --error-text: #b91c1c;
  --error-border: #fecaca;
}
body.light .browser-hint { color: #9ca3af; }
body.light .browser-hint strong { color: #6b7280; }
body.light .success-check { color: #15171a; }
body.light .success-text strong { color: #15171a; }
body.light .form-msg.error { background: var(--error-bg); color: var(--error-text); border-color: var(--error-border); }

/* ── Base ── */

html {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: var(--court-deep);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(180deg, var(--court) 0%, var(--court-deep) 40%);
}

.page {
  max-width: 460px;
  margin: 0 auto;
  padding: 20px 22px;
  width: 100%;
}

/* ── Landing layout ── */

.landing {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ── Browser hint ── */

.browser-hint {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  line-height: 1.4;
  margin-bottom: 16px;
}
.browser-hint strong { color: var(--text-dim); }

/* ── Typography ── */

.kicker {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-on-bg);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

h1 {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1.08;
  color: var(--paper);
  text-transform: uppercase;
  margin-bottom: 12px;
}

h2 {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.12;
  color: var(--paper);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.accent { color: var(--accent); }
body.light .accent { color: var(--accent-deep); }

.subhead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
  margin-bottom: 16px;
}

/* ── Form ── */

.opt-in-form { display: flex; flex-direction: column; gap: 10px; }

input[type="email"] {
  width: 100%;
  padding: 15px 16px;
  background: var(--input-bg);
  border: 1.5px solid var(--input-border);
  border-radius: 8px;
  color: var(--input-text);
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input[type="email"]::placeholder { color: var(--muted); }
input[type="email"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217,242,74,0.15);
}
body.light input[type="email"]:focus {
  box-shadow: 0 0 0 3px rgba(217,242,74,0.25);
}

/* ── Buttons ── */

.btn {
  display: inline-block;
  padding: 15px 24px;
  border: none;
  border-radius: 8px;
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s, transform 0.1s;
  -webkit-appearance: none;
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-deep); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.btn-outline {
  background: transparent;
  color: var(--accent-on-bg);
  border: 1.5px solid var(--outline-border);
}
.btn-outline:hover { background: var(--outline-hover); }

.btn-block { width: 100%; }

/* ── Microcopy ── */

.microcopy { font-size: 13px; color: var(--muted); text-align: center; }

/* ── Form message ── */

.form-msg {
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}
.form-msg.error {
  background: var(--error-bg);
  color: var(--error-text);
  border: 1px solid var(--error-border);
}

/* ── Thank-you: success banner ── */

.success-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--banner-bg);
  border: 1px solid var(--banner-border);
  border-radius: 10px;
  margin-bottom: 16px;
}

.success-check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.success-text { font-size: 15px; line-height: 1.5; color: var(--text); }
.success-text strong { color: var(--paper); }

/* ── Thank-you: download ── */

.download-section { margin-bottom: 20px; }

/* ── Thank-you: offer card ── */

.offer {
  padding: 24px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
}

.offer .kicker { margin-bottom: 8px; }

.offer-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.offer-bullets {
  list-style: none;
  margin-bottom: 20px;
}
.offer-bullets li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}
.offer-bullets li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 1px;
  width: 20px;
  height: 20px;
  background: rgba(217,242,74,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  line-height: 20px;
}
body.light .offer-bullets li::before {
  background: rgba(217,242,74,0.2);
  color: var(--accent-deep);
}

.price {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: var(--paper);
  margin-bottom: 2px;
}

.price-note {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 16px;
}

.reassurance {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  margin-top: 12px;
}

/* ── Mockup images ── */

.hero-mockup {
  display: block;
  width: 85%;
  max-width: 300px;
  max-height: 220px;
  object-fit: contain;
  margin: 4px auto 12px;
}

.offer-mockup {
  display: block;
  width: 100%;
  max-width: 380px;
  margin: 0 auto 16px;
  border-radius: 8px;
}

/* ── Social proof ── */

.social-proof {
  font-family: 'Barlow Condensed', system-ui, sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: var(--accent-on-bg);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

/* ── Responsive ── */

@media (min-width: 600px) {
  .page { padding: 40px 24px; }
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .subhead { font-size: 17px; }
  .offer { padding: 28px 24px; }
  .hero-mockup { max-height: 300px; max-width: 360px; }
  .offer-mockup { max-width: 440px; }
  .offer-body { font-size: 16px; }
  .offer-bullets li { font-size: 16px; }
}
