/* Nova Express — shared stylesheet (source of truth: /foundation/assets/css/styles.css).
 * Mirrored to /sites/home/assets/css/styles.css per the foundation -> sites rule.
 * Edit the foundation copy; the site copy is overwritten on the next propagation.
 * Tokens documented in /foundation/design-systems/novaex-cs.md (v1.0).
 */

:root {
  /* ---- Brand palette ---- */
  --accent:        #5B8EFF;                       /* Electric Blue */
  --accent-2:      #5CE1FF;                       /* Cyan Beam */
  --accent-3:      #A47BFF;                       /* Violet (gradient anchor) */
  --accent-glow:   rgba(91,142,255,0.35);         /* Blue Halo */
  --hero-gradient: linear-gradient(110deg, var(--accent-2), var(--accent) 60%, var(--accent-3));

  /* ---- Surfaces & lines ---- */
  --bg:            #050913;                       /* Deep Navy (page base) */
  --bg-elev:       #0A1024;                       /* Elevated 1 */
  --surface:       #0D1430;                       /* Card / panel */
  --surface-2:     #131C3D;                       /* Hover / active */
  --surface-3:     #1A2450;                       /* Track / skeleton */
  --line:          rgba(255,255,255,0.08);        /* Default hairline */
  --line-strong:   rgba(255,255,255,0.14);        /* Modals / dropdowns */

  /* ---- Text color scale ---- */
  --text:          #E8ECF5;                       /* Primary */
  --text-2:        #B4BDD4;                       /* Body */
  --text-3:        #7782A3;                       /* Meta / mono captions */
  --text-4:        #4F587A;                       /* Whisper / disabled */

  /* ---- Agent palette (fixed slot bindings) ---- */
  --a-competitor:  #FF6B5B;                       /* 01 Competitor Discovery */
  --a-trends:      #FFB547;                       /* 02 Trend Discovery */
  --a-painpoints:  #D4FF5B;                       /* 03 Pain Point Discovery */
  --a-influencer:  #5BFF9E;                       /* 04 Influencer Discovery */
  --a-content:     #5CE1FF;                       /* 05 SEO Insights (slot kept) */
  --a-social:      #A47BFF;                       /* 06 Social Media Insights */
  --a-sentiment:   #FF7AB8;                       /* 07 Sentiment Insights */

  /* ---- Atmosphere helpers ---- */
  --scrim-rgb:     5, 9, 19;                      /* matches --bg, used by text shadows */
  --grain-opacity: 0.4;

  /* ---- Typography ---- */
  --sans:    "Geist", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono:    "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --display: var(--sans);

  /* Type scale — semantic tokens.
     Wires the design-system table (5. Typography) into utility classes used below.
     Display/section sizes are responsive clamps; component sizes are fixed. */
  --fs-display:    clamp(44px, 6.6vw, 80px);      /* H1 */
  --fs-section:    clamp(28px, 3.6vw, 44px);      /* H2 */
  --fs-card:       22px;                          /* H3 */
  --fs-body-l:     17px;                          /* Body L */
  --fs-body-m:     15px;                          /* Body M */
  --fs-eyebrow:    12px;                          /* Mono Eyebrow */
  --fs-caption:    11px;                          /* Mono Caption */

  /* Legacy semantic font-size tokens used by existing landing-page components.
     Mapped onto the new scale so older selectors keep working without a rewrite. */
  --fs-label:      var(--fs-caption);             /* countdown / stat labels */
  --fs-meta:       var(--fs-eyebrow);             /* eyebrow, topbar, footer */
  --fs-body:       var(--fs-body-m);              /* description */
  --fs-input:      var(--fs-body-m);
  --fs-tagline:    clamp(20px, 2.4vw, 28px);      /* italic tagline under the wordmark */
  --fs-stat:       clamp(28px, 4vw, 40px);
  --fs-digit:      clamp(36px, 6.5vw, 68px);

  /* ---- Spacing scale ---- */
  --sp-1:     4px;
  --sp-2:     8px;
  --sp-3:     12px;
  --sp-4:     16px;
  --sp-5:     24px;
  --sp-6:     32px;
  --sp-7:     clamp(20px, 3.4vh, 36px);
  --sp-8:     clamp(40px, 6vh, 80px);
  --sp-shell: clamp(20px, 4vw, 56px);
  --pad:      clamp(20px, 4vw, 56px);

  /* ---- Radii ---- */
  --r-sm:     8px;
  --r-md:     14px;
  --r-lg:     22px;
  --r-xl:     28px;
  --r-pill:   999px;

  /* Legacy radius tokens kept for components that haven't been migrated yet. */
  --r-0:      0;
  --r-1:      var(--r-sm);
  --r-2:      var(--r-md);

  /* ---- Layout ---- */
  --maxw:     1240px;
}

/* Light theme — derived for the project's required dark/light toggle.
   The design system targets dark by default; light keeps the palette spirit
   (electric blue accent, navy ink) but inverts surfaces so it stays legible. */
:root[data-theme="light"] {
  --bg:            #F4F6FB;
  --bg-elev:       #FFFFFF;
  --surface:       #FFFFFF;
  --surface-2:     #EDF0F8;
  --surface-3:     #DDE3F0;
  --line:          rgba(13, 20, 48, 0.10);
  --line-strong:   rgba(13, 20, 48, 0.16);

  --text:          #0D1430;
  --text-2:        #3A466B;
  --text-3:        #6B7793;
  --text-4:        #A7ADC1;

  --accent:        #3A6DFF;
  --accent-glow:   rgba(58, 109, 255, 0.25);

  --scrim-rgb:     244, 246, 251;
  --grain-opacity: 0.18;
}

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

html, body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s ease, color 0.4s ease;
}

/* ---------- Atmosphere ---------- */
.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(1200px 800px at 20% 30%, rgba(91,142,255,0.14), transparent 60%),
    radial-gradient(900px 700px at 85% 75%, rgba(164,123,255,0.18), transparent 65%),
    radial-gradient(1400px 900px at 50% 110%, rgba(92,225,255,0.08), transparent 70%),
    linear-gradient(180deg, #050913 0%, #070C1F 50%, #03060F 100%);
}

:root[data-theme="light"] .atmosphere {
  background:
    radial-gradient(1200px 800px at 20% 30%, rgba(58,109,255,0.10), transparent 60%),
    radial-gradient(900px 700px at 85% 75%, rgba(164,123,255,0.08), transparent 65%),
    radial-gradient(1400px 900px at 50% 110%, rgba(92,225,255,0.06), transparent 70%),
    linear-gradient(180deg, #FAFBFE 0%, #EEF1F8 50%, #E4E9F4 100%);
}
:root[data-theme="light"] .mesh {
  background:
    radial-gradient(400px 400px at 30% 40%, rgba(58,109,255,0.14), transparent 60%),
    radial-gradient(500px 500px at 70% 60%, rgba(164,123,255,0.10), transparent 60%),
    radial-gradient(380px 380px at 50% 80%, rgba(92,225,255,0.08), transparent 60%);
}
:root[data-theme="light"] .grain { opacity: 0.06; mix-blend-mode: multiply; }
:root[data-theme="light"] #particles { opacity: 0.55; mix-blend-mode: multiply; }

/* Slow drifting gradient mesh */
.mesh {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(400px 400px at 30% 40%, rgba(91,142,255,0.16), transparent 60%),
    radial-gradient(500px 500px at 70% 60%, rgba(164,123,255,0.14), transparent 60%),
    radial-gradient(380px 380px at 50% 80%, rgba(92,225,255,0.10), transparent 60%);
  filter: blur(40px);
  animation: meshDrift 32s ease-in-out infinite alternate;
}
@keyframes meshDrift {
  0%   { transform: translate3d(0,0,0) rotate(0deg) scale(1); }
  50%  { transform: translate3d(3%, -2%, 0) rotate(8deg) scale(1.05); }
  100% { transform: translate3d(-2%, 3%, 0) rotate(-6deg) scale(1.1); }
}

/* Particle canvas */
#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Grain */
.grain {
  position: fixed;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  animation: grainShift 1.2s steps(4) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-2%, 1%); }
  50%  { transform: translate(1%, -2%); }
  75%  { transform: translate(-1%, 2%); }
  100% { transform: translate(2%, -1%); }
}

/* Subtle vignette */
.vignette {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(var(--scrim-rgb),0.6) 100%);
}

/* ---------- Layout ---------- */
.shell {
  position: relative;
  z-index: 3;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(20px, 3vw, 40px) var(--sp-shell);
}

/* Header */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.topbar .mark {
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent-glow);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.25); }
}
.topbar .right { display: flex; gap: var(--sp-5); align-items: center; }
.topbar .right span:nth-child(2) { color: var(--text); }

/* Theme toggle */
.theme-toggle {
  appearance: none;
  border: 1px solid var(--line);
  background: rgba(var(--scrim-rgb), 0.35);
  color: var(--text-3);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--r-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--text); }
.theme-toggle .tt-label { transition: color 0.25s ease, opacity 0.25s ease; }
.theme-toggle .tt-knob {
  position: relative;
  width: 30px;
  height: 14px;
  border-radius: var(--r-pill);
  background: rgba(var(--scrim-rgb), 0.5);
  border: 1px solid var(--line);
}
.theme-toggle .tt-knob::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  transform: translateY(-50%);
  transition: left 0.25s ease;
}
:root[data-theme="light"] .theme-toggle .tt-knob::after { left: 18px; }
:root[data-theme="light"] .theme-toggle .tt-day { color: var(--text); opacity: 1; }
:root[data-theme="light"] .theme-toggle .tt-night { color: var(--text-3); opacity: 0.55; }
:root:not([data-theme="light"]) .theme-toggle .tt-day { color: var(--text-3); opacity: 0.55; }
:root:not([data-theme="light"]) .theme-toggle .tt-night { color: var(--text); opacity: 1; }

/* Main */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  gap: clamp(18px, 2.6vh, 30px);
  padding: var(--sp-8) 0 clamp(28px, 5vh, 60px);
  width: 100%;
  min-height: 100%;
}
/* Content blocks */
main > .eyebrow,
main > .wordmark,
main > .tagline,
main > .description {
  max-width: min(720px, 86vw);
}
/* Countdown centered horizontally */
main > .countdown {
  align-self: center;
  width: min(720px, 86vw);
}

/* Mono eyebrow — design-system "Tag Pills / Mono Eyebrow" pattern.
   Uses --text-3 per the text scale; accent glow comes from the hairlines. */
.eyebrow {
  font-family: var(--mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before, .eyebrow::after {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.wordmark {
  width: min(620px, 78vw);
  max-width: 100%;
  height: auto;
  display: block;
  position: relative;
  color: var(--text);
  /* Replaces old orange drop-shadow with the new Blue Halo. */
  filter: drop-shadow(0 0 60px rgba(91,142,255,0.22));
}
.wordmark::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -22px;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

/* Tagline — italic emphasis under the wordmark.
   Per design system, the hero gradient lives on H1 em; the tagline isn't an h1
   so we apply the gradient to .tagline em as the closest equivalent. */
.tagline {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: var(--fs-tagline);
  color: var(--text-2);
  max-width: 640px;
  letter-spacing: -0.005em;
  line-height: 1.3;
  text-shadow: 0 0 14px rgba(var(--scrim-rgb), 0.95);
}
.tagline em {
  font-style: italic;
  font-weight: 500;
  color: var(--text);
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Description */
.description {
  max-width: 680px;
  font-family: var(--sans);
  font-size: var(--fs-body-l);
  line-height: 1.55;
  color: var(--text-2);
  letter-spacing: 0;
  text-shadow: 0 0 12px rgba(var(--scrim-rgb), 0.95), 0 0 24px rgba(var(--scrim-rgb), 0.6);
}
.description strong {
  color: var(--text);
  font-weight: 600;
}
.description em {
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}

/* Roster: agents + tools (legacy; uses agent-palette hues when present) */
.roster {
  width: min(540px, 92vw);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  margin-top: 4px;
  text-align: left;
}
.roster .group {
  border-top: 1px solid var(--line);
  padding-top: var(--sp-4);
  position: relative;
}
.roster .group::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.roster .group-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
  font-size: var(--fs-caption);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 14px;
}
.roster .group-label .count {
  color: var(--accent);
  font-weight: 700;
}
.roster ul {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
}
.roster li {
  font-family: var(--mono);
  font-size: var(--fs-caption);
  letter-spacing: 0.04em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.roster li::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent-glow);
  opacity: 0.4;
  flex-shrink: 0;
}
.roster .agents-group li::before {
  animation: agentBlink 5.6s ease-in-out infinite;
}
/* Agent rows pick up their fixed slot color when wrapped with a class. */
.roster .agents-group li:nth-child(1)::before { background: var(--a-competitor); animation-delay: 0.0s; }
.roster .agents-group li:nth-child(2)::before { background: var(--a-trends);     animation-delay: 0.5s; }
.roster .agents-group li:nth-child(3)::before { background: var(--a-painpoints); animation-delay: 1.0s; }
.roster .agents-group li:nth-child(4)::before { background: var(--a-influencer); animation-delay: 1.5s; }
.roster .agents-group li:nth-child(5)::before { background: var(--a-content);    animation-delay: 2.0s; }
.roster .agents-group li:nth-child(6)::before { background: var(--a-social);     animation-delay: 2.5s; }
.roster .agents-group li:nth-child(7)::before { background: var(--a-sentiment);  animation-delay: 3.0s; }
@keyframes agentBlink {
  0%, 100% { opacity: 0.3;  transform: scale(1); }
  8%       { opacity: 1;    transform: scale(1.5); }
  22%      { opacity: 0.35; transform: scale(1); }
}

/* Stat strip */
.stats {
  width: min(820px, 92vw);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.stats .stat {
  text-align: center;
  padding: 4px 12px;
  border-right: 1px solid var(--line);
}
.stats .stat:last-child { border-right: none; }
.stats .num {
  font-family: var(--sans);
  font-size: var(--fs-stat);
  font-weight: 600;
  background: var(--hero-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  line-height: 1;
  letter-spacing: -0.025em;
}
.stats .num .plus { font-size: 0.65em; vertical-align: top; }
.stats .stat-label {
  margin-top: 8px;
  font-family: var(--mono);
  font-size: var(--fs-caption);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-3);
}

@media (max-width: 720px) {
  .roster { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats .stat { border-right: none; border-bottom: 1px solid var(--line); padding: 14px 0; }
  .stats .stat:last-child { border-bottom: none; }
}

/* Wave animation stage */
.wave-stage {
  position: fixed;
  left: -5%;
  right: -5%;
  top: 38%;
  transform: translateY(-50%);
  width: auto;
  height: clamp(420px, 78vh, 880px);
  margin: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
/* Soft dark gradient under wave that hides waves behind text */
.wave-scrim {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      transparent 0%,
      transparent 45%,
      rgba(var(--scrim-rgb),0.55) 60%,
      rgba(var(--scrim-rgb),0.94) 75%,
      var(--bg) 92%);
}
@media (max-width: 900px) {
  .wave-stage { left: 0; right: 0; height: 50vh; opacity: 0.5; }
}
.wave-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 28px);
  width: min(720px, 90vw);
}
.unit {
  position: relative;
  padding: 18px 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.unit::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 8px; height: 8px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
}
.unit::after {
  content: "";
  position: absolute;
  bottom: 0; right: 0;
  width: 8px; height: 8px;
  border-bottom: 1px solid var(--accent);
  border-right: 1px solid var(--accent);
}
.digits {
  font-family: var(--mono);
  font-weight: 500;
  font-size: var(--fs-digit);
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  display: flex;
  justify-content: center;
  gap: 2px;
}
.digit {
  display: inline-block;
  position: relative;
  width: 0.62em;
  text-align: center;
  overflow: hidden;
  height: 1em;
}
.digit > span {
  display: block;
  transition: transform 0.45s cubic-bezier(.7,.1,.2,1), opacity 0.4s ease;
}
.digit.flip > span {
  transform: translateY(-1em);
  opacity: 0;
}
.label {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: var(--fs-caption);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
}

/* Form (capture) — design-system .btn-primary lives in this same component slot. */
.capture {
  width: min(520px, 90vw);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.capture-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-3);
}
form {
  display: flex;
  align-items: stretch;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 0 30px var(--accent-glow);
}
input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 18px 20px;
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-body-m);
  letter-spacing: 0;
}
input::placeholder {
  color: var(--text-4);
  font-family: var(--sans);
  letter-spacing: 0;
}
button {
  border: none;
  background: var(--accent);
  color: #050913;
  padding: 0 28px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--fs-body-m);
  letter-spacing: 0.02em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.3s ease;
}
button:hover {
  background: #7AA4FF;
  box-shadow: 0 0 40px var(--accent-glow), inset 0 0 0 1px rgba(255,255,255,0.18);
  transform: translateY(-1px);
}
button:active { transform: translateY(0); }
button .arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.25s ease;
}
button:hover .arrow { transform: translateX(4px); }

.thanks {
  display: none;
  padding: 18px 20px;
  border: 1px solid var(--accent);
  border-radius: var(--r-md);
  background: rgba(91, 142, 255, 0.08);
  color: var(--text);
  font-family: var(--sans);
  font-size: var(--fs-body-m);
  letter-spacing: 0;
  text-align: left;
  align-items: center;
  gap: 12px;
}
.thanks .check {
  color: var(--accent);
  font-size: 16px;
}
.capture.submitted form { display: none; }
.capture.submitted .thanks { display: flex; }

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-3);
}
.socials {
  display: flex;
  gap: 18px;
  align-items: center;
}
.socials a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text-3);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(91, 142, 255, 0.08);
  transform: translateY(-2px);
}
.socials svg { width: 14px; height: 14px; }

.copyright span { color: var(--text); }

/* ---------- Entrance ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  animation: rise 1.1s cubic-bezier(.2,.7,.2,1) forwards;
}
.reveal.d1 { animation-delay: 0.05s; }
.reveal.d2 { animation-delay: 0.20s; }
.reveal.d3 { animation-delay: 0.35s; }
.reveal.d4 { animation-delay: 0.50s; }
.reveal.d5 { animation-delay: 0.65s; }
.reveal.d6 { animation-delay: 0.80s; }
.reveal.d7 { animation-delay: 0.95s; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .shell { padding: 24px; }
  main { gap: 28px; padding: 32px 0; }
  .topbar .right span:first-child { display: none; }
  footer { flex-direction: column; gap: 18px; }
  form { flex-direction: column; }
  button { padding: 16px; }
  .unit { padding: 14px 4px 10px; }
  .eyebrow::before, .eyebrow::after { width: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .mesh, .grain, .topbar .dot { animation: none !important; }
  .reveal { animation: none; opacity: 1; transform: none; filter: none; }
}
