/* ==========================================================================
   Aignals — design system
   Dark, signal-themed, premium. One stylesheet for both pages.
   ========================================================================== */

:root {
  /* palette */
  --bg:        #07090c;
  --bg-2:      #0b0e13;
  --surface:   #11151c;
  --surface-2: #161b24;
  --line:      #222a36;
  --line-2:    #2c3645;

  --text:      #eaf0f8;
  --muted:     #97a4b6;
  --faint:     #667284;

  --accent:    #34e6c0;   /* signal mint */
  --accent-2:  #5b8bff;   /* electric blue */
  --accent-ink:#04261f;

  --glow: 0 0 0 1px rgba(52,230,192,.15), 0 12px 48px -12px rgba(52,230,192,.35);
  --shadow: 0 24px 60px -24px rgba(0,0,0,.7);
  --radius: 16px;
  --radius-sm: 10px;

  --maxw: 1140px;
  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --display: "Space Grotesk", var(--font);
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* background field */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(60rem 40rem at 75% -10%, rgba(91,139,255,.10), transparent 60%),
    radial-gradient(50rem 36rem at 10% 0%, rgba(52,230,192,.10), transparent 55%),
    var(--bg);
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; opacity: .35;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--mono);
  font-size: .74rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); opacity: .6; }

h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.18rem; }
p  { margin: 0 0 1rem; color: var(--muted); }
.lead { font-size: clamp(1.05rem, 1.7vw, 1.28rem); color: #c2cdda; max-width: 56ch; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: .96rem; line-height: 1;
  padding: 14px 22px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(52,230,192,.3), 0 18px 50px -10px rgba(52,230,192,.5); }
.btn-ghost { background: rgba(255,255,255,.03); border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 17px 30px; font-size: 1.02rem; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(7,9,12,.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: -.02em; color: #fff; }
.brand .mark { width: 32px; height: 32px; flex: 0 0 auto; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a.link { color: var(--muted); font-size: .94rem; font-weight: 500; transition: color .15s; }
.nav-links a.link:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 9vw, 110px) 0 clamp(40px, 6vw, 72px); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.badge {
  font-family: var(--mono); font-size: .76rem; color: var(--muted);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 13px;
  display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.02);
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* signup card */
.signup {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.signup::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40rem 12rem at 100% 0%, rgba(52,230,192,.12), transparent 60%);
}
.signup h3 { font-size: 1.25rem; margin-bottom: 6px; }
.signup .sub { color: var(--muted); font-size: .94rem; margin-bottom: 18px; }
.field { position: relative; }
.field input[type=email] {
  width: 100%; padding: 15px 16px; border-radius: var(--radius-sm);
  background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text);
  font-size: 1rem; font-family: var(--font); transition: border .15s, box-shadow .15s;
}
.field input::placeholder { color: #5d6877; }
.field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(52,230,192,.16); }
.signup .btn { width: 100%; margin-top: 12px; }
.microcopy { font-size: .82rem; color: #6c7888; margin: 14px 0 0; text-align: center; }
.form-msg { font-size: .9rem; margin-top: 12px; text-align: center; display: none; }
.form-msg.ok { display: block; color: var(--accent); }
.form-msg.err { display: block; color: #ff8a8a; }

.proof { display: flex; align-items: center; gap: 14px; margin-top: 22px; color: var(--muted); font-size: .9rem; }
.avatars { display: flex; }
.avatars span {
  width: 28px; height: 28px; border-radius: 50%; margin-left: -8px;
  border: 2px solid var(--surface); background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.avatars span:first-child { margin-left: 0; }

/* signal waveform under hero copy */
.wave { width: 100%; height: 46px; margin-top: 30px; opacity: .9; }
.wave path { stroke: var(--accent); stroke-width: 2; fill: none; filter: drop-shadow(0 0 6px rgba(52,230,192,.5)); }

/* ---------- sections ---------- */
section { padding: clamp(54px, 8vw, 96px) 0; }
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-2); }
.card .ic {
  width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center;
  background: rgba(52,230,192,.1); border: 1px solid rgba(52,230,192,.25); color: var(--accent);
  margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; font-size: .95rem; }

/* inside-the-issue split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.issue-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.issue-list li { display: flex; gap: 14px; align-items: flex-start; color: #c2cdda; }
.issue-list .k {
  flex: 0 0 auto; font-family: var(--mono); font-size: .72rem; color: var(--accent);
  border: 1px solid rgba(52,230,192,.3); border-radius: 7px; padding: 4px 8px; margin-top: 2px;
}
.mock {
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.mock .bar { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.mock .bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); display: block; }
.mock .body { padding: 22px; }
.mock .from { font-size: .8rem; color: var(--muted); font-family: var(--mono); margin-bottom: 14px; }
.mock h4 { font-family: var(--display); font-size: 1.15rem; margin: 0 0 10px; }
.mock p { font-size: .9rem; margin: 0 0 10px; }
.mock .tag { display: inline-block; font-family: var(--mono); font-size: .7rem; color: var(--accent-2); border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 8px; }

/* ---------- stats (sponsor) ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; text-align: center;
}
.stat .n { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 600; color: #fff; letter-spacing: -.02em; }
.stat .n span { color: var(--accent); }
.stat .l { font-size: .82rem; color: var(--muted); margin-top: 6px; text-transform: uppercase; letter-spacing: .08em; }

/* audience chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 16px; font-size: .9rem; color: #c2cdda; background: rgba(255,255,255,.02); }

/* rate card */
.rates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.rate {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
}
.rate.featured { border-color: rgba(52,230,192,.5); box-shadow: var(--glow); background: linear-gradient(180deg, rgba(52,230,192,.05), var(--surface)); }
.rate .tier { font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.rate .featured-tag { float: right; font-family: var(--mono); font-size: .68rem; color: var(--accent-ink); background: var(--accent); padding: 3px 9px; border-radius: 999px; }
.rate .price { font-family: var(--display); font-size: 2.1rem; color: #fff; margin: 16px 0 2px; }
.rate .price small { font-size: .9rem; color: var(--muted); font-family: var(--font); font-weight: 400; }
.rate ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 11px; }
.rate li { display: flex; gap: 10px; font-size: .92rem; color: #c2cdda; }
.rate li svg { flex: 0 0 auto; color: var(--accent); margin-top: 3px; }
.rate .btn { margin-top: auto; }

/* generic two-col reasons */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.reason { display: flex; gap: 16px; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.reason .ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(91,139,255,.12); border: 1px solid rgba(91,139,255,.28); color: var(--accent-2); }
.reason h3 { font-size: 1.05rem; margin-bottom: 6px; }
.reason p { margin: 0; font-size: .92rem; }

/* quote */
.quote { max-width: 70ch; margin: 0 auto; text-align: center; }
.quote blockquote { font-family: var(--display); font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.3; color: #fff; margin: 0 0 20px; letter-spacing: -.01em; }
.quote .who { color: var(--muted); font-size: .95rem; }

/* CTA band */
.band {
  background: linear-gradient(120deg, rgba(52,230,192,.1), rgba(91,139,255,.1));
  border: 1px solid var(--line-2); border-radius: 22px; padding: clamp(36px, 6vw, 64px);
  text-align: center; position: relative; overflow: hidden;
}
.band h2 { margin-bottom: 14px; }
.band .lead { margin: 0 auto 26px; }
.band-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.inline-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.inline-form input { flex: 1; padding: 15px 16px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--text); font-size: 1rem; }
.inline-form input:focus { outline: none; border-color: var(--accent); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer p { font-size: .9rem; }
.footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin: 0 0 14px; font-family: var(--mono); font-weight: 500; }
.footer a.link { display: block; color: var(--muted); font-size: .92rem; margin-bottom: 9px; transition: color .15s; }
.footer a.link:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: #5d6877; font-size: .82rem; }
.sender-id { font-family: var(--mono); font-size: .78rem; color: #5d6877; margin-top: 10px; }

/* ==========================================================================
   Polish layer — accessibility, micro-interactions, scroll reveal
   ========================================================================== */

/* visible keyboard focus on everything interactive */
a:focus-visible, button:focus-visible, input:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}
/* the email inputs already draw their own focus ring */
.field input:focus-visible, .inline-form input:focus-visible { outline: none; }

/* screen-reader-only labels */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* nav: condense + lift once the page scrolls */
.nav { transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.nav.scrolled {
  background: rgba(7,9,12,.9);
  border-bottom-color: var(--line-2);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.9);
}
.nav-toggle svg { transition: transform .25s ease; }
.nav.open .nav-toggle svg { transform: rotate(90deg); }

/* brand mark gets a soft signal glow */
.brand .mark { transition: filter .25s ease; }
.brand:hover .mark { filter: drop-shadow(0 0 8px rgba(52,230,192,.55)); }

/* primary buttons: sweep of light on hover */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg); transition: left .6s ease;
}
.btn-primary:hover::after { left: 140%; }

/* gradient ink for the accent words in headings */
h1 .grad, h2 .grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* feature / reason / rate / stat cards: accent-tinted hover */
.card:hover { border-color: rgba(52,230,192,.4); box-shadow: 0 18px 50px -28px rgba(52,230,192,.45); }
.card .ic, .reason .ic { transition: transform .2s ease, box-shadow .2s ease; }
.card:hover .ic { transform: translateY(-2px); box-shadow: 0 8px 22px -10px rgba(52,230,192,.6); }
.reason { transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.reason:hover { transform: translateY(-3px); border-color: rgba(91,139,255,.42); box-shadow: 0 18px 50px -28px rgba(91,139,255,.4); }
.stat { transition: transform .18s ease, border-color .18s ease; }
.stat:hover { transform: translateY(-3px); border-color: var(--line-2); }
.chip { transition: border-color .15s ease, color .15s ease, background .15s ease; }
.chip:hover { border-color: var(--accent); color: #fff; }
.rate { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.rate:not(.featured):hover { transform: translateY(-4px); border-color: var(--line-2); }
.rate.featured { position: relative; }

/* signal waveform: draw itself in, then sit */
.wave path {
  stroke-dasharray: 1200; stroke-dashoffset: 1200;
  animation: wave-draw 2.4s ease forwards .3s;
}
@keyframes wave-draw { to { stroke-dashoffset: 0; } }

/* hero live "broadcasting" dot in the eyebrow pulse */
.badge .dot { animation: pulse-dot 2.4s ease-in-out infinite; }
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,230,192,.55); }
  50%      { box-shadow: 0 0 0 5px rgba(52,230,192,0); }
}

/* scroll reveal — staggered via --d (seconds) */
[data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
  transition-delay: calc(var(--d, 0) * 1s);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- reduced motion: reveal everything, kill flourishes ---------- */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .wave path { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }
  .badge .dot { animation: none; }
  .btn-primary::after { display: none; }
}

/* ==========================================================================
   Content pages — issue reader, archive, about, legal
   ========================================================================== */

/* compact inner-page hero */
.page-hero { padding: clamp(40px, 7vw, 76px) 0 clamp(24px, 4vw, 40px); }
.page-hero .lead { max-width: 64ch; }

/* breadcrumb / back link */
.crumb { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .8rem; color: var(--muted); margin-bottom: 18px; transition: color .15s; }
.crumb:hover { color: var(--accent); }
.crumb svg { width: 14px; height: 14px; }

/* issue masthead */
.issue-head { border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 36px; }
.issue-meta { display: flex; flex-wrap: wrap; gap: 16px; font-family: var(--mono); font-size: .78rem; color: var(--muted); margin-top: 14px; }
.issue-meta .pill { color: var(--accent); border: 1px solid rgba(52,230,192,.3); border-radius: 999px; padding: 3px 11px; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.byline .av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)); flex: 0 0 auto; }
.byline .who { font-size: .9rem; color: var(--text); }
.byline .who span { display: block; color: var(--muted); font-size: .82rem; }

/* long-form prose */
.prose { max-width: 70ch; margin: 0 auto; font-family: var(--serif); font-size: 1.14rem; line-height: 1.75; color: #d6dee9; }
.prose > p { color: inherit; margin: 0 0 1.25em; }
.prose .sec { font-family: var(--mono); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; margin: 2.2em 0 .5em; }
.prose .sec::before { content: ""; width: 22px; height: 1px; background: var(--accent); opacity: .6; }
.prose h2 { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: #fff; margin: .2em 0 .5em; letter-spacing: -.02em; }
.prose h3 { font-family: var(--display); font-size: 1.18rem; color: #fff; margin: 1.6em 0 .4em; }
.prose strong { color: #fff; font-weight: 600; }
.prose em { color: #eaf0f8; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: #fff; }
.prose ul, .prose ol { margin: 0 0 1.25em; padding-left: 1.2em; }
.prose li { margin: 0 0 .5em; }
.prose blockquote { margin: 1.4em 0; padding: 2px 0 2px 20px; border-left: 2px solid var(--accent); color: var(--text); font-style: italic; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose .rundown { font-family: var(--font); font-size: 1rem; line-height: 1.6; display: grid; gap: 12px; margin: 0 0 1.25em; padding: 0; list-style: none; }
.prose .rundown li { display: flex; gap: 12px; color: #c2cdda; }
.prose .rundown b { color: #fff; }
.prose .rundown .mk { flex: 0 0 auto; color: var(--accent); font-family: var(--mono); font-size: .8rem; margin-top: 3px; }

/* sponsor slot inside an issue */
.issue-sponsor { font-family: var(--font); border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 20px 22px; margin: 1.6em 0; background: rgba(91,139,255,.05); }
.issue-sponsor .lab { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.issue-sponsor p { margin: 8px 0 0; font-size: .98rem; color: #c2cdda; }

/* end-of-issue subscribe rail */
.issue-foot { max-width: 70ch; margin: 40px auto 0; padding-top: 28px; border-top: 1px solid var(--line); text-align: center; }

/* archive grid */
.archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.issue-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.issue-card:hover { transform: translateY(-4px); border-color: rgba(52,230,192,.4); box-shadow: 0 18px 50px -28px rgba(52,230,192,.45); }
.issue-card .num { font-family: var(--mono); font-size: .76rem; color: var(--accent); letter-spacing: .08em; }
.issue-card h3 { font-family: var(--display); font-size: 1.28rem; color: #fff; margin: 10px 0; }
.issue-card p { font-size: .95rem; margin: 0 0 18px; }
.issue-card .read { margin-top: auto; font-weight: 600; font-size: .92rem; color: var(--accent); display: inline-flex; align-items: center; gap: 7px; }
.issue-card.soon { border-style: dashed; opacity: .8; }
.issue-card.soon .num { color: var(--muted); }

/* legal / about prose */
.legal { max-width: 75ch; margin: 0 auto; }
.legal h2 { font-family: var(--display); font-size: 1.4rem; color: #fff; margin: 2em 0 .5em; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.legal ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal .updated { font-family: var(--mono); font-size: .8rem; color: var(--faint); margin-bottom: 30px; }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .archive-grid { grid-template-columns: 1fr; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 36px; }
  .cards, .rates, .reasons { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 16px;
  }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .inline-form { flex-direction: column; }
  .inline-form .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto; animation: none !important; transition: none !important; } }

/* ==========================================================================
   PREMIUM LAYER — aurora depth, glass surfaces, elevated type & motion
   Modeled on flagship dark-tech sites (Linear / Stripe / Vercel tier).
   ========================================================================== */

/* ---- richer, drifting aurora field + film grain ---- */
body::before {
  background:
    radial-gradient(46rem 34rem at 80% -8%, rgba(91,139,255,.20), transparent 60%),
    radial-gradient(44rem 32rem at 8% 2%, rgba(52,230,192,.18), transparent 58%),
    radial-gradient(40rem 34rem at 50% 116%, rgba(91,139,255,.12), transparent 60%),
    var(--bg);
  animation: aurora-drift 26s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(-3%, 2%, 0) scale(1.06); }
}
/* fine film grain over everything (premium texture) */
html::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- elevated type scale & rhythm ---- */
h1 { font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); letter-spacing: -.03em; }
.lead { font-size: clamp(1.12rem, 1.75vw, 1.4rem); line-height: 1.55; color: #cdd7e4; }
.hero { padding-top: clamp(72px, 11vw, 150px); }
section { padding: clamp(64px, 9vw, 122px) 0; }
.section-head { margin-bottom: 56px; }

/* premium pill eyebrow */
.eyebrow {
  background: rgba(52,230,192,.07); border: 1px solid rgba(52,230,192,.22);
  padding: 6px 13px 6px 11px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow::before { width: 16px; }

/* ---- gradient-hairline glass on every surface ---- */
.card, .stat, .reason, .rate, .mock, .signup, .issue-card, .band, .issue-sponsor { position: relative; }
.card, .stat, .reason, .rate, .signup, .issue-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0) 42%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 26px 60px -30px rgba(0,0,0,.85);
}
.card::after, .stat::after, .reason::after, .rate::after, .mock::after,
.signup::after, .issue-card::after, .band::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(160deg, rgba(255,255,255,.20), rgba(255,255,255,.04) 38%, transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover::after, .reason:hover::after, .issue-card:hover::after {
  background: linear-gradient(160deg, rgba(52,230,192,.55), rgba(91,139,255,.28) 45%, transparent 75%);
}
.rate.featured::after { background: linear-gradient(160deg, rgba(52,230,192,.6), rgba(52,230,192,.12) 45%, transparent 75%); }

/* ---- buttons: dimensional, glowy ---- */
.btn-primary {
  background: linear-gradient(180deg, #50f0d0, #20c9a6);
  color: var(--accent-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.45) inset, 0 10px 28px -10px rgba(52,230,192,.6), 0 2px 6px rgba(0,0,0,.3);
}
.btn-primary:hover { box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 18px 48px -10px rgba(52,230,192,.75), 0 2px 6px rgba(0,0,0,.3); }
.btn-ghost { background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn-lg { padding: 18px 34px; font-size: 1.04rem; }

/* nav: a touch more presence */
.brand { font-size: 1.2rem; }
.nav-inner { height: 72px; }

/* ---- animated signal canvas in the hero ---- */
.hero { overflow: hidden; }
.signal-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: .85;
  -webkit-mask: radial-gradient(125% 100% at 50% 28%, #000 52%, transparent 100%);
          mask: radial-gradient(125% 100% at 50% 28%, #000 52%, transparent 100%);
}
.hero > .wrap { position: relative; z-index: 1; }

/* ---- flowing topic marquee ---- */
.marquee {
  overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.015);
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); padding: 15px 0; white-space: nowrap; display: inline-flex; align-items: center;
}
.marquee-track span::after { content: "›"; margin: 0 30px; color: var(--accent); opacity: .55; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* stat numbers get the gradient ink + scale */
.stat .n { font-size: clamp(2rem, 4.4vw, 2.9rem); }
.stats { gap: 18px; }

/* ---- reveal: add a cinematic blur-in ---- */
[data-reveal] { transform: translateY(22px); filter: blur(8px); transition: opacity .7s ease, transform .75s cubic-bezier(.2,.7,.2,1), filter .7s ease; }
[data-reveal].in { filter: blur(0); }

@media (prefers-reduced-motion: reduce) {
  body::before { animation: none; }
  .marquee-track { animation: none; }
  [data-reveal] { filter: none !important; }
}
