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

:root {
  --orange: #FF5722;
  --orange-hi: #FF6D3A;
  --cyan: #00D4FF;
  --bg: #0D0D1A;
  --surface: #16162A;
  --surface-lift: #1C1C32;
  --border: #262640;
  --text: #F0F0F0;
  --text-dim: #D0D0DE;
  --muted: #7A7A8E;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

.orb { position: fixed; border-radius: 50%; filter: blur(120px); pointer-events: none; z-index: 0; }
.orb-1 { width: 600px; height: 600px; background: rgba(255, 87, 34, 0.12); top: -200px; right: -100px; }
.orb-2 { width: 500px; height: 500px; background: rgba(0, 212, 255, 0.08); bottom: -100px; left: -100px; }

a { color: inherit; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  padding: 16px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(13, 13, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { height: 40px; width: auto; filter: saturate(1.5) drop-shadow(0 0 10px rgba(255, 87, 34, 0.55)); transition: filter 0.3s; }
.logo:hover .logo-img { filter: saturate(1.5) drop-shadow(0 0 18px rgba(255, 87, 34, 0.85)); }
.logo-text { font-size: 18px; font-weight: 700; letter-spacing: -0.02em; }
.logo-text .accent { color: var(--orange); }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-link { font-size: 14px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-link:hover { color: var(--text); }
.nav-cta {
  padding: 9px 22px; border: 1px solid var(--orange); color: var(--orange);
  font-size: 13px; font-weight: 600; border-radius: 100px; text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { background: rgba(255, 87, 34, 0.1); box-shadow: 0 0 20px rgba(255, 87, 34, 0.3); }

/* HERO */
.hero {
  position: relative; z-index: 1;
  min-height: calc(100vh - 73px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 72px 24px 80px;
}
.logo-hero-img {
  height: 120px; width: auto; margin-bottom: 32px;
  filter: saturate(1.5) drop-shadow(0 0 30px rgba(255, 87, 34, 0.6)) drop-shadow(0 0 60px rgba(255, 87, 34, 0.25));
  animation: fadeIn 0.8s ease both;
}
.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 10px; margin-bottom: 36px;
  border: 1px solid rgba(0, 212, 255, 0.3); border-radius: 100px;
  background: rgba(0, 212, 255, 0.06);
  font-size: 12px; font-weight: 500; color: var(--cyan);
  animation: fadeIn 0.8s ease both;
}
.live-dot { width: 8px; height: 8px; background: var(--cyan); border-radius: 50%; box-shadow: 0 0 8px var(--cyan); animation: blink 1.5s ease-in-out infinite; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

h1 {
  font-size: clamp(38px, 7vw, 80px); font-weight: 700; line-height: 1.05;
  letter-spacing: -0.04em; max-width: 900px; margin-bottom: 24px;
  animation: fadeIn 0.8s 0.15s ease both;
}
h1 .orange { color: var(--orange); text-shadow: 0 0 40px rgba(255,87,34,0.4); }
h1 .cyan { color: var(--cyan); text-shadow: 0 0 40px rgba(0,212,255,0.3); }

.typewriter-wrap { font-size: clamp(16px, 2vw, 22px); color: var(--muted); margin-bottom: 48px; min-height: 32px; animation: fadeIn 0.8s 0.3s ease both; }
.typewriter { color: var(--text); font-weight: 500; }
.cursor { display: inline-block; width: 2px; height: 1.1em; background: var(--orange); vertical-align: text-bottom; margin-left: 2px; animation: blink 0.8s ease-in-out infinite; }

/* FORMS */
.form-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px; padding: 44px; max-width: 520px; width: 100%;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 32px 80px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
  animation: fadeIn 0.8s 0.45s ease both; scroll-margin-top: 100px;
}
.form-card h2 { font-size: 20px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.02em; }
.form-card > p { font-size: 14px; color: var(--muted); margin-bottom: 24px; line-height: 1.5; }

input[type="email"] {
  width: 100%; padding: 15px 20px; font: inherit; font-size: 15px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; color: var(--text); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
input[type="email"]::placeholder { color: rgba(240,240,240,0.3); }
input[type="email"]:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,87,34,0.15); background: rgba(255,255,255,0.07); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

.btn {
  display: inline-block; text-decoration: none; text-align: center;
  padding: 15px 24px; background: var(--orange); color: #fff;
  font: inherit; font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  border: none; border-radius: 12px; cursor: pointer; white-space: nowrap;
  box-shadow: 0 4px 24px rgba(255, 87, 34, 0.45);
  transition: box-shadow 0.2s, transform 0.15s, background 0.2s, opacity 0.2s;
}
.btn:hover { background: var(--orange-hi); box-shadow: 0 8px 32px rgba(255, 87, 34, 0.6); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.btn-ghost {
  display: inline-block; text-decoration: none; padding: 13px 22px; border-radius: 12px;
  border: 1px solid var(--border); color: var(--text-dim); font-size: 14px; font-weight: 600;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.signup-form { display: flex; flex-direction: column; gap: 12px; position: relative; }
.signup-form.inline { flex-direction: row; max-width: 460px; margin: 0 auto; }
.signup-form.inline input[type="email"] { flex: 1; }
.form-card .btn { width: 100%; }

.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 4px; }
.form-note a { color: var(--muted); }
.form-msg { font-size: 14px; text-align: center; }
.form-msg.ok { color: var(--cyan); }
.form-msg.err { color: #FF8A65; }
.form-msg:not(:empty) { margin-top: 12px; }

/* STATS */
.stats { display: flex; gap: 20px; justify-content: center; margin-top: 56px; flex-wrap: wrap; animation: fadeIn 0.8s 0.6s ease both; }
.stat { text-align: center; padding: 22px 28px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 16px; min-width: 130px; }
.stat-num {
  font-size: 30px; font-weight: 700; letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--orange), #FF8A50);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 12px; color: var(--muted); margin-top: 4px; font-weight: 500; }

/* TICKER */
.ticker-section { position: relative; z-index: 1; overflow: hidden; padding: 52px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ticker-label { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 32px; }
.ticker-track { display: flex; gap: 16px; animation: ticker 40s linear infinite; width: max-content; }
.ticker-section:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-item { display: flex; align-items: center; gap: 12px; padding: 14px 24px; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 12px; white-space: nowrap; font-size: 14px; font-weight: 500; color: var(--text-dim); }
.ticker-tag { font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); padding: 3px 8px; background: rgba(255,87,34,0.1); border-radius: 4px; }

/* SECTIONS */
.section { position: relative; z-index: 1; padding: 96px 24px; max-width: 1100px; margin: 0 auto; scroll-margin-top: 60px; }
.section-tight { padding-top: 24px; }
.section-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cyan); text-align: center; margin-bottom: 16px; }
.section-title { font-size: clamp(28px, 4vw, 44px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.1; text-align: center; max-width: 760px; margin: 0 auto 56px; }
.section-sub { text-align: center; color: var(--muted); font-size: 15px; margin: -40px auto 40px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 20px; padding: 32px;
  position: relative; overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s;
}
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--orange), transparent); opacity: 0; transition: opacity 0.3s; }
.card:hover { border-color: rgba(255,87,34,0.3); box-shadow: 0 0 40px rgba(255,87,34,0.08); }
.card:hover::before { opacity: 1; }
.card-emoji { font-size: 30px; margin-bottom: 16px; display: block; }
.card h3 { font-size: 17px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.02em; }
.card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* TODAY'S EDITION */
.today-frame {
  display: block; width: 100%; max-width: 640px; margin: 0 auto; height: 1400px;
  border: 0; border-radius: 20px; background: var(--bg);
  box-shadow: 0 32px 80px rgba(0,0,0,0.35);
}
.today-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.recent { max-width: 640px; margin: 48px auto 0; }
.recent h3 { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

/* ARCHIVE LIST */
.edition-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.edition-link {
  display: block; text-decoration: none; padding: 20px 22px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.edition-link:hover { border-color: rgba(255,87,34,0.35); box-shadow: 0 0 30px rgba(255,87,34,0.08); }
.edition-date { font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.edition-heads { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.edition-heads li { font-size: 15px; color: var(--text-dim); line-height: 1.45; }
.edition-heads li::before { content: '▸ '; color: var(--orange); }
.archive-wrap { max-width: 720px; }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 28px; border-top: 1px solid var(--border); }
.step-num { font-size: 13px; font-weight: 600; color: var(--orange); margin-bottom: 12px; letter-spacing: 0.04em; }
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.02em; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* BOTTOM CTA */
.bottom-cta { position: relative; z-index: 1; text-align: center; padding: 100px 24px; background: linear-gradient(180deg, transparent, rgba(255,87,34,0.05)); }
.bottom-cta h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 700; letter-spacing: -0.04em; margin-bottom: 16px; }
.bottom-cta > p { font-size: 16px; color: var(--muted); margin-bottom: 36px; }

/* SIMPLE PAGES (privacy, confirm, unsubscribe) */
.page { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; padding: 72px 16px 96px; }
.page .eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cyan); margin-bottom: 12px; }
.page h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 24px; animation: none; }
.page h2 { font-size: 18px; margin: 32px 0 10px; }
.page p, .page li { color: var(--text-dim); line-height: 1.7; font-size: 15px; }
.page ul { padding-left: 20px; }
.page a:not(.btn):not(.btn-ghost) { color: var(--orange); }
.page .muted { color: var(--muted); font-size: 13px; margin-top: 40px; }
.page .actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* FOOTER */
footer { position: relative; z-index: 1; border-top: 1px solid var(--border); padding: 32px 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); }
footer a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: var(--orange); }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@media (max-width: 860px) {
  .grid-3, .steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  nav { padding: 12px 16px; }
  .logo-text { display: none; }
  .nav-link { display: none; }
  .hero { padding: 48px 16px 64px; }
  .logo-hero-img { height: 96px; }
  .form-card { padding: 28px 20px; }
  .stats { gap: 12px; }
  .stat { padding: 16px 18px; min-width: calc(50% - 6px); flex: 1; }
  .section { padding: 72px 16px; }
  .section-tight { padding-top: 16px; }
  .today-frame { border-radius: 0; margin: 0 -16px; width: calc(100% + 32px); max-width: none; }
  .signup-form.inline { flex-direction: column; }
  footer { flex-direction: column; text-align: center; padding: 24px 16px; }
  .footer-links { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker-section { overflow-x: auto; }
}
