:root {
  color-scheme: dark;
  --black: #09090b;
  --surface: #131318;
  --surface-glass: rgba(255, 255, 255, 0.03);
  --surface-deep: #0d0d11;
  --silver: #9ca3af;
  --white: #fff;
  --purple: #8b5cf6;
  --blue: #38bdf8;
  --valid: #22c55e;
  --error: #f87171;
  --line: rgba(255, 255, 255, 0.09);
  --shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  --gradient-brand: linear-gradient(90deg, var(--purple), var(--blue));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--black);
  color: var(--white);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 64% -140px, rgba(139, 92, 246, 0.16), transparent 330px),
    radial-gradient(circle at -120px 100%, rgba(56, 189, 248, 0.1), transparent 310px),
    var(--black);
  color: var(--white);
}

button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

.card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.accent {
  background: var(--gradient-brand);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page {
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 72px) clamp(16px, 4vw, 24px) 128px;
}

/* Hero */

.hero {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.max-w-2xl { max-width: 46rem; }

.text-3xl { font-size: 1.5rem; line-height: 1.25; }

.badge {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  color: var(--silver);
  font-size: clamp(11px, 1.5vw, 12px);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.badge::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 32px;
  height: 2px;
  background: var(--gradient-brand);
  content: "";
  transform: translateX(-50%);
}

.badge-accent {
  background: var(--gradient-brand);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 {
  margin: 16px auto 0;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  text-wrap: balance;
}

.hero p {
  max-width: 680px;
  margin: 24px auto 0;
  color: var(--silver);
  font-size: clamp(18px, 2.4vw, 20px);
  font-weight: 500;
  line-height: 1.5;
  text-wrap: balance;
}

/* Video */

.video-section { margin-top: clamp(40px, 6vw, 56px); }

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }

.corner {
  position: absolute;
  z-index: 1;
  width: 14px;
  height: 14px;
  opacity: 0.5;
  pointer-events: none;
}

.corner.tl { top: -1px; left: -1px; border-top: 1.5px solid var(--purple); border-left: 1.5px solid var(--purple); border-top-left-radius: 6px; }
.corner.tr { top: -1px; right: -1px; border-top: 1.5px solid var(--purple); border-right: 1.5px solid var(--purple); border-top-right-radius: 6px; }
.corner.bl { bottom: -1px; left: -1px; border-bottom: 1.5px solid var(--purple); border-left: 1.5px solid var(--purple); border-bottom-left-radius: 6px; }
.corner.br { bottom: -1px; right: -1px; border-bottom: 1.5px solid var(--purple); border-right: 1.5px solid var(--purple); border-bottom-right-radius: 6px; }

/* Benefits strip */

.benefits-strip { margin-top: clamp(40px, 6vw, 56px); }

.benefits {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .benefits { grid-template-columns: repeat(3, 1fr); }
}

.benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-glass);
}

.benefit-icon {
  display: grid;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--purple);
}

.benefit-icon svg { width: 18px; height: 18px; }

.benefits strong { display: block; font-size: 14px; font-weight: 600; }
.benefits p { margin: 2px 0 0; color: var(--silver); font-size: 13px; line-height: 1.45; }

/* Gauge + access grid */

.starter-grid {
  display: grid;
  gap: clamp(28px, 4vw, 40px);
  margin-top: clamp(40px, 6vw, 56px);
}

@media (min-width: 860px) {
  .starter-grid { grid-template-columns: 1.05fr 0.95fr; align-items: start; }
}

.gauge-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(24px, 4vw, 32px) clamp(16px, 3vw, 24px);
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.gauge-label {
  color: var(--silver);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.gauge {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 200 / 110;
  margin-top: 22px;
}

.gauge-arc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.gauge-track {
  fill: none;
  stroke: url(#gaugeGrad);
  stroke-width: 7;
  stroke-linecap: round;
  filter: drop-shadow(0 0 7px rgba(139, 92, 246, 0.55)) drop-shadow(0 0 10px rgba(56, 189, 248, 0.3));
}

.gauge-tick { stroke: rgba(255, 255, 255, 0.28); stroke-width: 1.4; }

.needle-pivot { position: absolute; top: 90.9%; left: 50%; width: 0; height: 0; }

.needle {
  position: absolute;
  bottom: 0;
  left: -1.5px;
  width: 3px;
  height: 62%;
  transform-origin: bottom center;
  transform: rotate(-90deg);
  border-radius: 3px;
  background: linear-gradient(180deg, var(--white), rgba(255, 255, 255, 0.2));
  transition: transform 1.7s cubic-bezier(0.45, 0, 0.2, 1);
}

.needle::after {
  position: absolute;
  bottom: -5px;
  left: -4.5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  content: "";
}

.gauge-scale {
  position: absolute;
  bottom: 6%;
  color: var(--silver);
  font-family: ui-monospace, "SF Mono", "Roboto Mono", monospace;
  font-size: 11px;
  font-weight: 600;
}

.gauge-scale-min { left: 2%; }
.gauge-scale-max { right: 2%; }

.gauge-readout {
  position: absolute;
  bottom: 14%;
  left: 50%;
  display: flex;
  align-items: baseline;
  gap: 2px;
  transform: translateX(-50%);
}

.gauge-readout strong {
  font-variant-numeric: tabular-nums;
  font-family: ui-monospace, "SF Mono", "Roboto Mono", monospace;
  font-size: clamp(30px, 5vw, 40px);
  font-weight: 700;
}

.gauge-readout span { color: var(--silver); font-size: 18px; font-weight: 600; }

.gauge-caption {
  margin-top: 4px;
  color: var(--silver);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.release-card {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  margin-top: 28px;
  padding: 16px 18px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-glass);
}

.release-icon {
  display: grid;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface);
  color: var(--purple);
}

.release-icon svg { width: 17px; height: 17px; }
.release-card p { margin: 0; font-size: 13.5px; line-height: 1.5; }

.waveform { width: min(100%, 280px); height: 32px; margin-top: 24px; opacity: 0.8; }
.waveform svg { width: 100%; height: 100%; }

.waveform path {
  stroke: url(#gaugeGrad);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-dasharray: 3 7;
  animation: wave-scan 1.1s linear infinite;
}

@keyframes wave-scan { to { stroke-dashoffset: -20; } }

.scan-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--silver);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.scan-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 6px rgba(56, 189, 248, 0.8);
  animation: dot-pulse 1.6s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* Access column */

.access-col { display: grid; gap: 16px; align-content: start; }

.panel-card { padding: clamp(22px, 3.5vw, 28px); }

.panel-eyebrow {
  background: var(--gradient-brand);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-card h2 {
  margin: 10px 0 26px;
  font-size: clamp(19px, 2.6vw, 22px);
  font-weight: 700;
  line-height: 1.35;
}

.field { margin-top: 22px; }
.field:first-of-type { margin-top: 0; }

.underline-input { position: relative; padding: 4px 0 10px 26px; }

.field-icon {
  position: absolute;
  bottom: 12px;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: var(--silver);
  pointer-events: none;
  transition: color 180ms ease;
}

.field-icon svg { width: 17px; height: 17px; }

.underline-input input {
  width: 100%;
  min-width: 0;
  height: 34px;
  padding: 0 22px 6px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: none;
  background: transparent;
  color: var(--white);
  font-size: 15px;
  transition: border-color 180ms ease;
}

.underline-input input::placeholder { color: transparent; }

.underline-input label {
  position: absolute;
  top: 4px;
  left: 26px;
  color: var(--silver);
  font-size: 15px;
  font-weight: 400;
  pointer-events: none;
  transition: all 180ms ease;
}

.underline-input input:focus + label,
.underline-input input:not(:placeholder-shown) + label {
  top: -13px;
  left: 26px;
  color: var(--silver);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.underline-input:has(input:focus) .field-icon { color: var(--blue); }

.field-check {
  position: absolute;
  right: 0;
  bottom: 8px;
  width: 16px;
  height: 16px;
  color: var(--valid);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 220ms ease, transform 220ms ease;
}

.field-check svg { width: 100%; height: 100%; }

.underline-input input.valid ~ .field-check { opacity: 1; transform: scale(1); }
.underline-input input.valid:not(:focus) + label { color: var(--valid); }
.underline-input:has(input.valid:not(:focus)) .field-icon { color: var(--valid); }

.underline-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-brand);
  box-shadow: 0 0 8px rgba(139, 92, 246, 0.5);
  transition: width 260ms ease;
}

.underline-input input:focus ~ .underline-bar { width: 100%; }
.underline-input input.valid:not(:focus) ~ .underline-bar { width: 100%; background: var(--valid); box-shadow: none; }

.underline-input input.invalid { border-bottom-color: var(--error); }
.underline-input input.invalid + label,
.underline-input:has(input.invalid) .field-icon { color: var(--error); }
.underline-input input.invalid ~ .underline-bar { width: 100%; background: var(--error); box-shadow: none; }

.field-error {
  margin: 4px 0 0 26px;
  color: var(--error);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.35;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 48px;
  margin-top: 26px;
  padding: 12px 20px;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  background: var(--gradient-brand);
  color: var(--white);
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: filter 150ms ease, transform 150ms ease;
}

.cta::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  content: "";
  transform: translateX(-150%) skewX(-20deg);
  animation: cta-sheen 3.2s ease-in-out infinite;
}

@keyframes cta-sheen {
  0% { transform: translateX(-150%) skewX(-20deg); }
  35%, 100% { transform: translateX(325%) skewX(-20deg); }
}

.cta-arrow { flex-shrink: 0; width: 18px; height: 18px; transition: transform 200ms ease; }
.cta:hover { filter: brightness(1.1); transform: translateY(-1px); }
.cta:hover .cta-arrow { transform: translateX(3px); }
.cta:active { transform: scale(0.98) translateY(0); }
.cta:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.cta:disabled { cursor: wait; opacity: 0.55; transform: none; }
.cta:disabled .cta-arrow, .cta:disabled::before { display: none; }

.microcopy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 18px;
  margin: 14px 0 0;
  color: var(--silver);
  font-size: 12.5px;
  line-height: 1.4;
  text-align: center;
}

.microcopy svg { width: 14px; height: 14px; flex-shrink: 0; }

.form-status {
  min-height: 18px;
  margin: 8px 0 0;
  color: var(--silver);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.success { padding: 12px 0 4px; text-align: center; }
.success p { max-width: 320px; margin: 0 auto; line-height: 1.5; }
.success-title { font-size: 18px; font-weight: 700; }
.success-sub { margin-top: 6px !important; color: var(--silver); font-size: 13.5px; font-weight: 500; }

.check {
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  margin: 0 auto 14px;
  place-items: center;
  border: 1.5px solid var(--valid);
  border-radius: 50%;
  color: var(--valid);
}

.check svg { width: 20px; height: 20px; }

.social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.avatar-stack { display: flex; flex-shrink: 0; }

.avatar {
  display: grid;
  width: 26px;
  height: 26px;
  margin-left: -8px;
  place-items: center;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: linear-gradient(135deg, #4b4b57, #2a2a32);
}

.avatar:first-child { margin-left: 0; }

.avatar-more {
  background: var(--gradient-brand);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
}

.social-proof p { margin: 0; color: var(--silver); font-size: 13px; line-height: 1.4; }

.privacy-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
}

.privacy-icon {
  display: grid;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--surface-glass);
  color: var(--blue);
}

.privacy-icon svg { width: 16px; height: 16px; }
.privacy-card strong { display: block; font-size: 13.5px; font-weight: 600; }
.privacy-card p { margin: 2px 0 0; color: var(--silver); font-size: 12.5px; }

.toast {
  position: fixed;
  z-index: 5;
  bottom: 16px;
  left: 16px;
  max-width: min(250px, calc(100vw - 32px));
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  opacity: 0;
  background: rgba(19, 19, 24, 0.97);
  box-shadow: var(--shadow);
  font-size: 12px;
  line-height: 1.3;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 300ms ease, transform 300ms ease;
}

.toast.show { opacity: 1; transform: translateY(0); }
.toast strong { display: block; margin-bottom: 2px; color: var(--white); font-weight: 700; }
.toast span { color: var(--silver); }

.mobile-cta { display: none; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (min-width: 640px) {
  .sm\:text-4xl { font-size: 1.875rem; line-height: 1.18; }
}

@media (min-width: 768px) {
  .md\:text-5xl { font-size: 2.5rem; line-height: 1.14; }
}

@media (max-width: 560px) {
  .page { padding-top: 32px; padding-bottom: 112px; }
  .hero h1 { letter-spacing: -0.04em; }

  .mobile-cta {
    position: fixed;
    z-index: 4;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: block;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 250ms ease, transform 250ms ease;
  }

  .mobile-cta.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .toast {
    bottom: 12px;
    left: 10px;
    max-width: min(210px, calc(100vw - 20px));
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
