/* ============================================================
   SmartAI — pre-launch landing page
   Neon-glass dark theme · green → teal → blue (from the logo)
   ============================================================ */

/* ---------- 1. Tokens & reset ---------- */
:root {
  --bg-0: #04100B;
  --bg-1: #071811;
  --bg-2: #0B241A;

  --green: #2BE879;
  --green-deep: #00C853;
  --teal: #19E3C2;
  --cyan: #2CC8FF;
  --blue: #2E7CFF;
  --gold: #FFD166;

  --ink: #F1FBF5;
  --muted: #9FBFAF;
  --muted-2: #6E9483;

  --grad-brand: linear-gradient(100deg, #2BE879, #19E3C2 35%, #2CC8FF 68%, #2E7CFF);
  --grad-btn: linear-gradient(115deg, #35F287, #14D9C0 48%, #27B9FF);

  --font-d: "Outfit", "Trebuchet MS", sans-serif;
  --font-b: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --r-lg: 34px;
  --r-md: 18px;
  --r-sm: 16px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

img, svg { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-d);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0;
}

p { margin: 0; }

a { color: inherit; }

::selection { background: var(--teal); color: #052015; }

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb {
  background: #123527;
  border-radius: 8px;
  border: 3px solid var(--bg-0);
}

.wrap {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

section { scroll-margin-top: 90px; }

.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;
}

/* ---------- 2. Atmosphere (aurora + grid + grain) ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg-0);
  overflow: hidden;
}
.bg::before {
  content: "";
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(900px 620px at 12% -4%, rgba(43, 232, 121, .16), transparent 62%),
    radial-gradient(820px 620px at 90% 10%, rgba(44, 200, 255, .13), transparent 62%),
    radial-gradient(1100px 820px at 50% 112%, rgba(46, 124, 255, .14), transparent 62%);
  animation: aurora 20s ease-in-out infinite alternate;
}
.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: .055;
}
@keyframes aurora {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(0, -2.5%, 0) scale(1.06); }
}

/* ---------- 3. Buttons, chips, links ---------- */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 30px;
  border: none;
  border-radius: 999px;
  font-family: var(--font-d);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
}
.btn svg { flex: none; }

.btn-primary {
  background: var(--grad-btn);
  color: #04170D;
  box-shadow:
    0 14px 34px -10px rgba(26, 220, 152, .55),
    0 4px 14px -4px rgba(39, 185, 255, .35),
    inset 0 1px 0 rgba(255, 255, 255, .55),
    inset 0 -10px 20px -12px rgba(4, 40, 24, .6);
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -70%;
  width: 46%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: skewX(-18deg);
  transition: left .6s var(--ease);
}
.btn-primary:hover { transform: translateY(-2px); filter: saturate(1.12) brightness(1.04); box-shadow: 0 20px 44px -12px rgba(26, 220, 152, .7), 0 6px 18px -4px rgba(39, 185, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .55); }
.btn-primary:hover::after { left: 130%; }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background:
    linear-gradient(var(--bg-1), var(--bg-1)) padding-box,
    var(--grad-brand) border-box;
  border: 1.5px solid transparent;
  color: var(--ink);
}
.btn-ghost:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -14px rgba(25, 227, 194, .5); }

.btn-lg { height: 62px; padding: 0 36px; font-size: 1.1rem; }
.btn-sm { height: 44px; padding: 0 22px; font-size: .95rem; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(140, 245, 200, .28);
  background: rgba(43, 232, 121, .08);
  color: #A9F5CC;
  font-family: var(--font-d);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.chip .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 12px 2px rgba(43, 232, 121, .7);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(.72); opacity: .65; }
}

.btn:focus-visible, a:focus-visible {
  outline: 2px solid #7FEBDD;
  outline-offset: 3px;
}

/* ---------- 4. Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(4, 16, 11, .78);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(255, 255, 255, .07);
}
.nav-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-d);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.wm-smart { color: var(--green); }
.wm-ai {
  background: linear-gradient(120deg, #8CF5C8, #2CC8FF 55%, #2E7CFF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.wm-by {
  font-family: var(--font-b);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--muted-2);
  margin-left: 9px;
  text-transform: uppercase;
}
.wm-nmblr {
  height: 15px;
  width: auto;
  margin-left: 7px;
  transform: translateY(1px); /* optical baseline alignment */
}
.nav-links { display: flex; align-items: center; gap: 26px; }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 108px 0 84px;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* official photo, with the SVG stand-in as fallback */
  background-image: url("../assets/hero.png"), url("../assets/hero-placeholder.svg");
  background-size: cover, cover;
  /* right-anchored so the photo's AI speech bubble stays in frame */
  background-position: right center, right center;
  background-repeat: no-repeat;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  /* the radial scrim recedes the photo's baked-in chat bubble
     (upper-middle) so it doesn't collide with the logo */
  background:
    radial-gradient(ellipse 60% 54% at 33% 24%, rgba(4, 16, 11, .93), rgba(4, 16, 11, .55) 55%, transparent 76%),
    linear-gradient(90deg, var(--bg-0) 6%, rgba(4, 16, 11, .92) 26%, rgba(4, 16, 11, .5) 52%, rgba(4, 16, 11, .08) 78%, rgba(4, 16, 11, .28) 100%),
    linear-gradient(180deg, rgba(4, 16, 11, .6) 0%, rgba(4, 16, 11, 0) 24%, rgba(4, 16, 11, 0) 60%, var(--bg-0) 97%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 680px) 1fr;
  width: 100%;
}
.hero-content { max-width: 680px; }

.hero-logo {
  position: relative;
  width: min(100%, 600px);
  animation: floaty 7s ease-in-out infinite;
}
.hero-logo::before {
  content: "";
  position: absolute;
  inset: -14% -10%;
  background:
    radial-gradient(52% 46% at 46% 40%, rgba(43, 232, 121, .22), transparent 70%),
    radial-gradient(46% 42% at 60% 62%, rgba(44, 200, 255, .2), transparent 70%);
  filter: blur(6px);
  animation: glowpulse 5s ease-in-out infinite alternate;
  pointer-events: none;
}
.hero-logo .logo-png {
  position: relative;
  display: block;
  /* brand.png has transparent padding around the art —
     oversize + negative margins render the lockup large */
  width: 112%;
  max-width: none;
  margin: -17% 0 -27% -18%;
}
.hero-logo .logo-svg {
  display: none;
  position: relative;
  width: 96%;
  height: auto;
  filter:
    drop-shadow(0 0 44px rgba(44, 200, 255, .32))
    drop-shadow(0 0 90px rgba(43, 232, 121, .18));
}
.hero-logo.fallback .logo-png { display: none; }
.hero-logo.fallback .logo-svg { display: block; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@keyframes glowpulse {
  from { opacity: .75; }
  to   { opacity: 1; }
}

.hero-title {
  font-size: clamp(2.7rem, 5.6vw, 4.3rem);
  font-style: italic;
  font-weight: 800;
  margin-top: 6px;
  text-shadow: 0 0 40px rgba(43, 232, 121, .35);
}
.hero-title .bang {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  margin-top: 14px;
  max-width: 580px;
  font-size: 1.13rem;
  line-height: 1.68;
  color: var(--muted);
}
.hl-grad {
  font-weight: 700;
  background: linear-gradient(96deg, #8CF5C8, #2CC8FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}
.hl-gold { color: var(--gold); font-weight: 700; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
}

.countdown {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  max-width: 470px;
}
.cd-cell {
  flex: 1 1 0;
  min-width: 0;
  max-width: 108px;
  padding: 13px 10px 11px;
  text-align: center;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: var(--r-md);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.cd-num {
  display: block;
  font-family: var(--font-d);
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  background: linear-gradient(180deg, #FFFFFF, #B4F1D4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cd-lab {
  display: block;
  margin-top: 6px;
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.cd-sep {
  font-family: var(--font-d);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .32);
  margin-top: -18px;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--muted-2);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- 6. Sections ---------- */
.section-head { text-align: center; max-width: 760px; margin-inline: auto; }
.section-title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 700;
  margin-top: 20px;
}
.section-sub { margin-top: 14px; color: var(--muted); font-size: 1.08rem; }

/* ---------- 7. Features ---------- */
.features { padding: 140px 0 60px; }

.feature {
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(40px, 6vw, 92px);
  align-items: center;
  padding: 64px 0;
}
.feature[data-accent="green"] { --acc1: #2BE879; --acc2: #19E3C2; --accA: rgba(43, 232, 121, .55); --accB: rgba(25, 227, 194, .35); }
.feature[data-accent="cyan"]  { --acc1: #19E3C2; --acc2: #2CC8FF; --accA: rgba(25, 227, 194, .55); --accB: rgba(44, 200, 255, .4); }
.feature[data-accent="blue"]  { --acc1: #2CC8FF; --acc2: #2E7CFF; --accA: rgba(44, 200, 255, .5); --accB: rgba(46, 124, 255, .55); }

.feature.alt .feature-media { order: 2; }

.feature-media { position: relative; }
.kv-frame {
  position: relative;
  border-radius: var(--r-lg);
  box-shadow:
    0 36px 90px -34px rgba(0, 0, 0, .75),
    0 0 100px -34px var(--accA);
}
.kv-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(140deg, var(--accA), rgba(255, 255, 255, .06) 38%, var(--accB));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}
.kv-frame img {
  display: block;
  width: 100%;
  border-radius: inherit;
}

.feature-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-d);
  font-weight: 800;
  font-size: 1rem;
}
.feature-eyebrow .num {
  background: linear-gradient(120deg, var(--acc1), var(--acc2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.feature-eyebrow .rule {
  width: 46px; height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--acc1), var(--acc2));
  box-shadow: 0 0 12px var(--accA);
}
.feature-title {
  margin-top: 18px;
  font-size: clamp(2.1rem, 3.7vw, 3.2rem);
  font-weight: 700;
}
.feature-title em {
  font-style: normal;
  background: linear-gradient(96deg, var(--acc1), var(--acc2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.feature-desc {
  margin-top: 16px;
  max-width: 460px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ---------- 8. Gradient band ---------- */
.band {
  position: relative;
  overflow: hidden;
  margin-top: 60px;
  padding: clamp(84px, 10vw, 132px) 0;
  background: linear-gradient(100deg, #00D563, #12CFC0 34%, #1FA9F0 66%, #2E7CFF);
}
.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: .16;
  mix-blend-mode: overlay;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .3) 50%, transparent 58%);
  background-size: 260% 100%;
  animation: bandshine 7s linear infinite;
  pointer-events: none;
}
@keyframes bandshine {
  from { background-position: 130% 0; }
  to   { background-position: -130% 0; }
}
.band-marquee {
  position: absolute;
  left: 0; right: 0;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
}
.band-marquee.top { top: 24px; }
.band-marquee.bottom { bottom: 24px; }
.band-track {
  display: inline-flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
  font-family: var(--font-d);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .3em;
  color: rgba(3, 34, 20, .5);
  animation: marquee 30s linear infinite;
}
.band-marquee.bottom .band-track { animation-direction: reverse; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.band-title {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: clamp(2.6rem, 7vw, 5.9rem);
  font-style: italic;
  font-weight: 800;
  color: #04301C;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .22);
}
.band-title .spark-l, .band-title .spark-r {
  display: inline-block;
  vertical-align: super;
  color: #FFFFFF;
  animation: twinkle 2.6s ease-in-out infinite;
}
.band-title .spark-r { animation-delay: 1.2s; }
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50% { transform: scale(.6) rotate(20deg); opacity: .6; }
}

/* ---------- 9. Signup ---------- */
.signup { position: relative; padding: 120px 0 140px; }
.signup::before, .signup::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 560px; height: 560px;
  border-radius: 50%;
  filter: blur(10px);
  pointer-events: none;
}
.signup::before {
  left: -220px; top: 60px;
  background: radial-gradient(circle, rgba(43, 232, 121, .13), transparent 65%);
}
.signup::after {
  right: -220px; bottom: 0;
  background: radial-gradient(circle, rgba(46, 124, 255, .14), transparent 65%);
}
.signup-title {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.28;
}
.signup-sub { margin-top: 14px; color: var(--muted); font-size: 1.05rem; }

.form-card {
  position: relative;
  max-width: 830px;
  margin: 48px auto 0;
  padding: clamp(28px, 4.6vw, 54px);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow:
    0 44px 100px -44px rgba(0, 0, 0, .75),
    0 0 120px -50px rgba(25, 227, 194, .5);
}
.form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(150deg, rgba(43, 232, 121, .5), rgba(255, 255, 255, .07) 36%, rgba(44, 200, 255, .18) 64%, rgba(46, 124, 255, .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 18px;
}
.span-2 { grid-column: 1 / -1; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-weight: 600;
  font-size: .92rem;
  color: #CFE9DC;
}
.input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  background: rgba(5, 22, 15, .65);
  border: 1.5px solid rgba(255, 255, 255, .13);
  border-radius: var(--r-sm);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 1rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.input::placeholder { color: #5F8272; }
.input:hover { border-color: rgba(255, 255, 255, .24); }
.input:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(5, 26, 18, .82);
  box-shadow: 0 0 0 4px rgba(25, 227, 194, .16), 0 0 30px -8px rgba(25, 227, 194, .55);
}

select.input, .input-join select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none'%3E%3Cpath d='M1 1.5 7 7.5 13 1.5' stroke='%237FEBDD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
select.input option, .input-join select option { background: #0A241A; color: var(--ink); }

.input-join {
  display: flex;
  align-items: stretch;
  background: rgba(5, 22, 15, .65);
  border: 1.5px solid rgba(255, 255, 255, .13);
  border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
}
.input-join:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(25, 227, 194, .16), 0 0 30px -8px rgba(25, 227, 194, .55);
}
.input-join select {
  width: 122px;
  flex: none;
  border: none;
  border-right: 1.5px solid rgba(255, 255, 255, .13);
  background-color: transparent;
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 1rem;
  padding-left: 16px;
  height: 51px;
}
.input-join input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 1rem;
  padding: 0 16px;
  height: 51px;
}
.input-join select:focus, .input-join input:focus { outline: none; }

.check-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.cbx {
  appearance: none;
  -webkit-appearance: none;
  width: 24px; height: 24px;
  flex: none;
  margin: 2px 0 0;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, .28);
  background: rgba(5, 22, 15, .6);
  cursor: pointer;
  position: relative;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.cbx:hover { border-color: rgba(127, 235, 221, .6); }
.cbx:checked {
  background: var(--grad-brand);
  border-color: transparent;
  box-shadow: 0 0 18px -4px rgba(25, 227, 194, .65);
}
.cbx:checked::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' fill='none'%3E%3Cpath d='M1.5 5.5 5 9 12.5 1.5' stroke='%23052015' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.cbx:focus-visible { outline: 2px solid #7FEBDD; outline-offset: 2px; }
.check-row label {
  font-size: .93rem;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}
.check-row label a { color: #7FEBDD; }

.captcha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 1.5px dashed rgba(140, 245, 200, .35);
  border-radius: var(--r-md);
  background: rgba(6, 24, 17, .5);
}
.captcha .check-row { align-items: center; }
.captcha .check-row label {
  font-family: var(--font-d);
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.cap-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: none;
}
.cap-brand svg { color: #7FEBDD; }
.cap-name {
  font-family: var(--font-d);
  font-weight: 700;
  font-size: .74rem;
  color: #9FD8FF;
  letter-spacing: .04em;
}
.cap-sub { font-size: .62rem; color: var(--muted-2); }

.err-msg { display: none; font-size: .82rem; color: #FFA1AD; }
.field.invalid .err-msg, .check-row.invalid .err-msg, .captcha-wrap.invalid .err-msg { display: block; }
.field.invalid .input, .field.invalid .input-join { border-color: #FF7A8A; box-shadow: 0 0 0 4px rgba(255, 122, 138, .13); }
.check-row.invalid label { color: #FFA1AD; }
.check-row.invalid .cbx { border-color: #FF7A8A; }
.captcha-wrap.invalid .captcha { border-color: rgba(255, 122, 138, .75); }

.form-note {
  text-align: center;
  font-size: .8rem;
  line-height: 1.65;
  color: var(--muted-2);
  margin-top: 4px;
}

/* success state */
.success { display: none; text-align: center; padding: 26px 8px; position: relative; }
.form-card.done form { display: none; }
.form-card.done .success { display: block; }
.success-icon {
  width: 92px; height: 92px;
  margin: 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-brand);
  box-shadow: 0 0 70px -10px rgba(25, 227, 194, .75);
  animation: pop .65s var(--ease);
}
@keyframes pop {
  0% { transform: scale(.2); opacity: 0; }
  70% { transform: scale(1.12); opacity: 1; }
  100% { transform: scale(1); }
}
.success h3 { font-size: 2rem; margin-top: 24px; }
.success p { margin-top: 12px; color: var(--muted); max-width: 460px; margin-inline: auto; }
.success .spark {
  position: absolute;
  color: var(--teal);
  animation: twinkle 2.2s ease-in-out infinite;
}
.success .spark:nth-child(1) { top: 6px; left: 22%; color: var(--green); }
.success .spark:nth-child(2) { top: 40px; right: 20%; color: var(--cyan); animation-delay: .7s; }
.success .spark:nth-child(3) { bottom: 30px; left: 30%; color: var(--gold); animation-delay: 1.3s; }

/* ---------- 10. Footer ---------- */
.footer {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 46px 0 42px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a {
  font-size: .9rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.footer-links a:hover { color: var(--ink); }
.fineprint {
  margin-top: 20px;
  font-size: .78rem;
  line-height: 1.65;
  color: var(--muted-2);
  max-width: 700px;
}

/* ---------- 11. Reveal on scroll ---------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(30px);
}
html.js .reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity .95s var(--ease), transform .95s var(--ease);
  transition-delay: var(--d, 0s);
}

/* ---------- 12. Responsive ---------- */
@media (max-width: 1060px) {
  .hero { padding: 120px 0 90px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo { background-position: 70% center, 70% center; }
  .hero-photo::after {
    background:
      linear-gradient(180deg, rgba(4, 16, 11, .88) 0%, rgba(4, 16, 11, .78) 45%, var(--bg-0) 96%);
  }
  .hero-logo { width: min(100%, 540px); }

  .feature { grid-template-columns: 1fr; gap: 48px; padding: 44px 0; }
  .feature.alt .feature-media { order: 0; }
  .feature-desc { max-width: 620px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .hero { padding: 104px 0 80px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .countdown { gap: 7px; }
  .cd-cell { min-width: 0; flex: 1; padding: 10px 4px 9px; }
  .cd-sep { display: none; }
  .scroll-cue { display: none; }

  .features { padding: 96px 0 30px; }

  .form-grid { grid-template-columns: 1fr; }
  .captcha { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cap-brand { flex-direction: row; align-items: center; gap: 8px; }

  .signup { padding: 96px 0 110px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

/* ---------- 13. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html.js .reveal { opacity: 1; transform: none; }
}
