/* ============================================================
   ADRIMA DESIGN SYSTEM
   Premium, calm, institutional dark mode
   ============================================================ */

:root {
  /* Colors */
  --bg: #0a0e18;
  --surface-1: #101522;
  --surface-2: #161c2e;
  --surface-3: #1c2438;
  --border: rgba(200, 215, 255, 0.1);
  --border-strong: rgba(200, 215, 255, 0.18);
  --text: #eaeff8;
  --text-muted: #9ba8c4;
  --text-faint: #6b7a96;
  --primary: #7b93e8;
  --primary-2: #5cc8c4;
  --primary-soft: rgba(123, 147, 232, 0.14);
  --error: #f87171;
  --success: #6ee7b7;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-full: 999px;

  /* Shadows — subtle only */
  --shadow-1: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08);
  --shadow-2: 0 4px 16px rgba(0, 0, 0, 0.18);

  /* Spacing scale (4px base) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;

  /* Type scale */
  --type-hero: clamp(2.2rem, 5vw, 3.6rem);
  --type-h2: clamp(1.65rem, 3vw, 2.5rem);
  --type-h3: clamp(1.1rem, 1.6vw, 1.3rem);
  --type-body: 1rem;
  --type-small: 0.875rem;

  /* Layout */
  --max-w: 1180px;
  --nav-h: 72px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.2s;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--type-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ============================================================
   ACCESSIBILITY UTILITIES
   ============================================================ */

.skip-link {
  position: fixed;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  border-radius: var(--r-md);
  padding: var(--sp-2) var(--sp-5);
  color: #fff;
  background: var(--primary);
  font-weight: 600;
  transition: top var(--duration) var(--ease);
}

.skip-link:focus {
  top: 12px;
}

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

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ============================================================
   LAYOUT COMPONENTS
   ============================================================ */

.container {
  width: min(100% - 2rem, var(--max-w));
  margin: 0 auto;
}

.section {
  padding: var(--sp-8) 0;
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

.section-head {
  max-width: 680px;
  margin: 0 auto var(--sp-6);
  text-align: center;
}

.section-head h2 {
  margin: 0 0 var(--sp-3);
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--type-h2);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--sp-6) 0;
}

/* ============================================================
   CARD
   ============================================================ */

.card {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface-1);
  box-shadow: var(--shadow-1);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.card:hover {
  border-color: var(--border-strong);
}

/* ============================================================
   FORM INPUTS
   ============================================================ */

.input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.04);
  padding: 0 var(--sp-4);
  color: var(--text);
  font-size: var(--type-body);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.input:focus {
  border-color: rgba(123, 147, 232, 0.5);
  box-shadow: 0 0 0 3px rgba(123, 147, 232, 0.12);
  outline: none;
}

.input::placeholder {
  color: var(--text-faint);
}

select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7a96' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

textarea.input {
  padding: var(--sp-3) var(--sp-4);
  min-height: 100px;
  resize: vertical;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  min-height: 46px;
  padding: 0 var(--sp-5);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--duration) var(--ease),
              border-color var(--duration) var(--ease),
              color var(--duration) var(--ease),
              transform 0.1s var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: #fff;
  background: var(--primary);
  border-color: transparent;
}

.btn-primary:hover {
  background: #8da3f0;
}

.btn-secondary {
  color: var(--text);
  border-color: rgba(123, 147, 232, 0.35);
  background: rgba(123, 147, 232, 0.08);
}

.btn-secondary:hover {
  border-color: rgba(123, 147, 232, 0.55);
  background: rgba(123, 147, 232, 0.14);
}

.btn-ghost {
  color: var(--text-muted);
  border-color: var(--border);
  background: transparent;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.03);
}

.btn-spinner {
  display: none;
}

.btn.loading .btn-label {
  display: none;
}

.btn.loading .btn-spinner {
  display: inline;
}

/* ============================================================
   PILL / TAG
   ============================================================ */

.pill,
.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(123, 147, 232, 0.3);
  border-radius: var(--r-full);
  background: rgba(123, 147, 232, 0.08);
  color: var(--primary);
  padding: 5px 14px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1200;
  height: var(--nav-h);
  border-bottom: 1px solid transparent;
  background: rgba(10, 14, 24, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color var(--duration) var(--ease);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  font-weight: 700;
}

.logo-mark {
  width: 30px;
  height: 30px;
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-5);
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 500;
  transition: color var(--duration) var(--ease);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.is-active {
  color: var(--text);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
}

.nav-cta {
  min-height: 40px;
  padding: 0 18px;
  font-size: 0.9rem;
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 auto 0;
  padding: var(--sp-5);
  border-bottom: 1px solid var(--border);
  background: rgba(10, 14, 24, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  flex-direction: column;
  gap: var(--sp-4);
  z-index: 1100;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 500;
  padding: var(--sp-2) 0;
}

.mobile-menu.open {
  display: flex;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(6rem, 12vh, 8.5rem);
  min-height: calc(100svh - var(--nav-h));
  position: relative;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  align-items: start;
  max-width: 760px;
  margin-inline: auto;
}

.hero-copy {
  max-width: 700px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: clamp(180px, 26vh, 250px);
  pointer-events: none;
  background:
    radial-gradient(90% 125% at 18% 0%, rgba(123, 147, 232, 0.14) 0%, rgba(123, 147, 232, 0.08) 42%, rgba(123, 147, 232, 0) 86%),
    linear-gradient(180deg, rgba(123, 147, 232, 0.08) 0%, rgba(123, 147, 232, 0) 100%);
}

.hero-copy h1 {
  margin: var(--sp-4) 0 var(--sp-4);
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--type-hero);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.hero-copy h1 .hero-second-line {
  display: block;
  margin-top: 0.2em;
  font-size: 0.74em;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: #9eb2e8;
}

.hero-copy > p {
  margin: 0 0 var(--sp-5);
  color: var(--text-faint);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 48ch;
}

.hero-form-wrap {
  max-width: 520px;
}

.waitlist-form {
  display: grid;
  gap: 10px;
}

.waitlist-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-2);
}

.field-error {
  min-height: 0;
  font-size: 0.82rem;
  color: var(--error);
}

.form-error {
  min-height: 0;
  color: var(--error);
  font-size: 0.9rem;
}

.field-error:empty,
.form-error:empty,
.form-error-inline:empty {
  display: none;
}

.form-micro {
  margin: var(--sp-3) 0 0;
  color: var(--text-faint);
  font-size: var(--type-small);
}

.hero-trust-row {
  margin-top: var(--sp-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  color: var(--text-faint);
  font-size: 0.84rem;
}

.hero-trust-row strong {
  color: var(--text-muted);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
}

.hero-trust-row span {
  white-space: nowrap;
}

.hero-secondary-cta {
  display: flex;
  justify-content: flex-start;
  margin-top: 2px;
}

.inline-toggle {
  padding: 0;
  border: 0;
  width: fit-content;
  color: var(--text-faint);
  background: transparent;
  font-size: 0.86rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration) var(--ease);
}

.inline-toggle:hover {
  color: var(--text-muted);
}

.optional-fields {
  display: grid;
  gap: var(--sp-2);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s var(--ease), opacity 0.3s var(--ease);
}

.optional-fields.open {
  opacity: 1;
  max-height: 260px;
}

.optional-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}

.hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

/* Hero visual card */
.hero-visual {
  padding: var(--sp-5);
}

.visual-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.visual-status {
  color: var(--primary-2);
  font-size: 0.82rem;
  border: 1px solid rgba(92, 200, 196, 0.3);
  border-radius: var(--r-full);
  padding: 4px 10px;
  background: rgba(92, 200, 196, 0.08);
}

.reasoning-list {
  display: grid;
  gap: var(--sp-3);
}

.reasoning-item {
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.02);
}

.reasoning-item strong {
  display: block;
  margin-bottom: 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
}

.reasoning-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.visual-foot {
  margin-top: var(--sp-4);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.visual-foot > div {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-3);
}

.visual-foot span {
  display: block;
  color: var(--text-faint);
  font-size: 0.8rem;
  margin-bottom: 2px;
}

.visual-foot strong {
  font-size: 1rem;
  font-family: 'Space Grotesk', sans-serif;
}

/* ============================================================
   SUCCESS STATE
   ============================================================ */

.success-state {
  margin-top: var(--sp-4);
  border: 1px solid rgba(92, 200, 196, 0.25);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  background: rgba(92, 200, 196, 0.06);
}

.success-icon {
  width: 56px;
  margin-bottom: var(--sp-3);
}

.success-state h3 {
  margin: 0 0 var(--sp-2);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
}

.success-sub {
  margin: 0 0 var(--sp-4);
  color: var(--text-muted);
}

/* Warning state — email delivery delayed */
.success-warn {
  color: #fbbf24;
}

/* Inline link-style button (used in "Resend confirmation" link) */
.link-btn {
  background: none;
  border: none;
  padding: 0;
  color: #818cf8;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration, 0.15s) ease;
}
.link-btn:hover { color: #a5b4fc; }
.link-btn:disabled { color: var(--text-muted); cursor: default; text-decoration: none; }
.link-btn.resend-sent { color: var(--success, #22c55e); text-decoration: none; cursor: default; }

.ref-box {
  padding: var(--sp-4);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
}

.ref-label {
  margin: 0 0 var(--sp-2);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.ref-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-2);
}

.copy-btn {
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 0 var(--sp-4);
  transition: background var(--duration) var(--ease);
}

.copy-btn:hover {
  background: #8da3f0;
}

.copy-btn.copied {
  background: var(--success);
  color: #0a0e18;
}

.share-row {
  margin-top: var(--sp-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.share-btn {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  padding: 0 var(--sp-3);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: border-color var(--duration) var(--ease), color var(--duration) var(--ease);
}

.share-btn:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

/* ============================================================
   PROBLEM SECTION ("Why you need this")
   ============================================================ */

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
  align-items: stretch;
}

.problem-card {
  padding: var(--sp-5);
  height: 100%;
}

.problem-card h3 {
  margin: 0 0 var(--sp-2);
  font-family: 'Space Grotesk', sans-serif;
  font-size: var(--type-h3);
}

.problem-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
}

.before-after-mini {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5);
}

.before-after-mini p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.mini-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--text-faint);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.mini-arrow {
  color: var(--text-faint);
  font-size: 1.2rem;
}

/* ============================================================
   QUIZ SECTION
   ============================================================ */

.quiz-section {
  padding-top: var(--sp-7);
}

.quiz-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--sp-5);
  align-items: stretch;
}

.quiz-card {
  padding: var(--sp-5);
}

.quiz-progress {
  height: 4px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: var(--sp-4);
}

.quiz-progress-fill {
  height: 100%;
  background: var(--primary);
  transition: width 0.4s var(--ease);
  border-radius: var(--r-full);
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
}

.quiz-q {
  margin: 0 0 var(--sp-3);
  font-size: 1.07rem;
  font-weight: 600;
}

.quiz-options {
  display: grid;
  gap: var(--sp-2);
}

.quiz-opt {
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.025);
  color: var(--text-muted);
  min-height: 46px;
  padding: 0 var(--sp-4);
  transition: border-color var(--duration) var(--ease),
              color var(--duration) var(--ease),
              background var(--duration) var(--ease);
}

.quiz-opt:hover,
.quiz-opt.selected {
  border-color: rgba(123, 147, 232, 0.45);
  color: var(--text);
  background: rgba(123, 147, 232, 0.1);
}

.quiz-actions {
  margin-top: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.quiz-result {
  padding: var(--sp-5);
}

.quiz-result-icon {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(123, 147, 232, 0.3);
  border-radius: var(--r-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: var(--sp-3);
}

.quiz-result h3 {
  margin: 0 0 var(--sp-2);
  font-family: 'Space Grotesk', sans-serif;
}

.quiz-result p {
  margin: 0 0 var(--sp-3);
  color: var(--text-muted);
}

.quiz-result-action {
  color: var(--text);
  font-weight: 600;
}

.quiz-result-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
  align-items: stretch;
}

.how-card {
  padding: var(--sp-5);
  height: 100%;
}

.how-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  border: 1px solid var(--border-strong);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: var(--sp-3);
}

.how-card h3 {
  margin: 0 0 var(--sp-2);
  font-family: 'Space Grotesk', sans-serif;
}

.how-card p {
  margin: 0 0 var(--sp-4);
  color: var(--text-muted);
  line-height: 1.55;
}

.mini-artifact {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-3);
  font-size: 0.88rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  line-height: 1.5;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */

.trust-strip {
  padding: var(--sp-5);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-5);
}

.trust-principle h3 {
  margin: 0 0 var(--sp-2);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
}

.trust-principle p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* ============================================================
   DEMO PREVIEW
   ============================================================ */

.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-4);
  align-items: stretch;
}

.preview-card {
  padding: var(--sp-5);
  height: 100%;
}

.preview-card h3 {
  margin: var(--sp-3) 0 var(--sp-2);
  font-family: 'Space Grotesk', sans-serif;
}

.preview-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.5;
}

.preview-cta {
  margin-top: var(--sp-5);
  text-align: center;
}

/* ============================================================
   DEEP DIVE / ACCORDION
   ============================================================ */

.accordion-group {
  display: grid;
  gap: var(--sp-3);
}

.accordion {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.accordion summary {
  cursor: pointer;
  list-style: none;
  padding: var(--sp-4);
  font-weight: 600;
  transition: background var(--duration) var(--ease);
}

.accordion summary:hover {
  background: rgba(255, 255, 255, 0.02);
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion-body {
  border-top: 1px solid var(--border);
  padding: var(--sp-4);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
}

.benefits-grid .card {
  padding: var(--sp-4);
}

.benefits-grid h3 {
  margin: 0 0 var(--sp-2);
  font-family: 'Space Grotesk', sans-serif;
}

.benefits-grid p {
  margin: 0;
  color: var(--text-muted);
}

.table-wrap {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid rgba(141, 163, 240, 0.2);
  background: linear-gradient(180deg, rgba(19, 27, 46, 0.86) 0%, rgba(13, 20, 36, 0.9) 100%);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
  min-width: 820px;
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid var(--border);
  text-align: left;
  padding: 16px var(--sp-4);
  font-size: 0.95rem;
  vertical-align: middle;
}

.compare-table thead th {
  color: #a9b7d4;
  font-weight: 650;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-bottom-color: rgba(141, 163, 240, 0.18);
}

.compare-table tbody th {
  width: 29%;
  color: #dfe7f8;
  font-weight: 560;
}

.compare-table .compare-ours,
.compare-table .compare-ours-head {
  background: linear-gradient(180deg, rgba(123, 147, 232, 0.17) 0%, rgba(123, 147, 232, 0.12) 100%);
  box-shadow: inset 1px 0 0 rgba(123, 147, 232, 0.28), inset -1px 0 0 rgba(123, 147, 232, 0.28);
}

.compare-table .compare-ours-head {
  color: #edf2ff;
  position: relative;
  font-size: 0.8rem;
}

.compare-best-badge {
  display: inline-flex;
  align-items: center;
  margin-left: var(--sp-2);
  border: 1px solid rgba(123, 147, 232, 0.45);
  border-radius: var(--r-full);
  padding: 2px 7px;
  background: rgba(123, 147, 232, 0.2);
  color: #d4e0ff;
  font-size: 0.6rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 650;
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.compare-table tbody tr:hover td,
.compare-table tbody tr:hover th {
  background-color: rgba(255, 255, 255, 0.035);
}

.table-pill {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #c3d0e8;
  font-size: 0.89rem;
  font-weight: 600;
  line-height: 1.15;
}

.table-pill::before {
  content: "";
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(133, 168, 255, 0.32);
  background: rgba(133, 168, 255, 0.1);
  color: #d4e2ff;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 1;
}

.table-pill-yes {
  color: #dee9ff;
}

.compare-table .compare-ours .table-pill-yes {
  color: #edf3ff;
}

.table-pill-partial {
  color: #c9d5ec;
}

.table-pill-no {
  color: #adb9d2;
}

.table-pill-negative {
  color: #adb9d2;
}

.table-pill-yes::before {
  content: "✓";
  border-color: rgba(133, 168, 255, 0.42);
  background: rgba(133, 168, 255, 0.18);
  color: #ebf2ff;
}

.table-pill-partial::before {
  content: "~";
  border-style: dashed;
  border-color: rgba(133, 168, 255, 0.3);
  background: rgba(133, 168, 255, 0.09);
  color: #ccdaf8;
}

.table-pill-no::before {
  content: "−";
  border-color: rgba(133, 168, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
  color: #a8b8d7;
}

.table-pill-negative::before {
  content: "−";
  border-color: rgba(133, 168, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
  color: #a8b8d7;
}

.compare-note {
  margin-top: var(--sp-3);
  color: var(--text-faint);
  font-size: 0.85rem;
  text-align: right;
}

.contact-form {
  display: grid;
  gap: var(--sp-3);
}

.contact-card {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--sp-6);
  background: linear-gradient(180deg, rgba(18, 25, 43, 0.92) 0%, rgba(13, 20, 36, 0.94) 100%);
  border-color: rgba(141, 163, 240, 0.2);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-3);
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-top: var(--sp-2);
}

.contact-actions .form-micro {
  margin: 0;
}

.contact-ok {
  color: var(--success);
  font-size: 0.9rem;
  margin-top: var(--sp-2);
}

.contact-err {
  color: var(--error);
  font-size: 0.9rem;
  margin-top: var(--sp-2);
}

.contact-ok:empty,
.contact-err:empty {
  display: none;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq-list {
  display: grid;
  gap: var(--sp-2);
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: var(--sp-3);
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: var(--sp-4) var(--sp-5);
  font-weight: 600;
  font-size: 1rem;
  transition: background var(--duration) var(--ease);
}

.faq-q:hover {
  background: rgba(255, 255, 255, 0.02);
}

.faq-q [aria-hidden="true"] {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-faint);
  transition: transform 0.3s var(--ease);
}

.faq-q[aria-expanded="true"] [aria-hidden="true"] {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  border-top: 1px solid transparent;
  transition: max-height 0.35s var(--ease), border-color 0.2s var(--ease);
}

.faq-a.open {
  border-top-color: var(--border);
  max-height: 300px;
}

.faq-a p {
  margin: 0;
  color: var(--text-muted);
  padding: var(--sp-4) var(--sp-5);
  line-height: 1.6;
}

.faq-disclaimer {
  margin-top: var(--sp-5);
  color: var(--text-faint);
  font-size: var(--type-small);
  text-align: center;
}

/* ============================================================
   FINAL CTA
   ============================================================ */

.final-cta {
  padding-top: var(--sp-7);
}

.final-cta-card {
  max-width: 680px;
  margin: 0 auto;
  padding: var(--sp-7) var(--sp-6);
  text-align: center;
}

.final-cta-card h2 {
  margin: 0 0 var(--sp-5);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.final-cta-card .waitlist-row {
  max-width: 420px;
  margin: 0 auto;
}

.form-error-inline {
  margin-top: var(--sp-2);
  min-height: 18px;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  border-top: 1px solid var(--border);
  padding: var(--sp-6) 0;
  margin-top: var(--sp-7);
}

.footer-inner {
  display: grid;
  gap: var(--sp-4);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--duration) var(--ease);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  color: var(--text-faint);
  font-size: 0.84rem;
}

.footer-meta p {
  margin: 0;
}

.footer-disc {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* ============================================================
   MOBILE STICKY CTA
   ============================================================ */

.mobile-sticky-cta {
  position: fixed;
  left: var(--sp-3);
  right: var(--sp-3);
  bottom: max(var(--sp-3), env(safe-area-inset-bottom));
  z-index: 1300;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  background: rgba(10, 14, 24, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  padding: var(--sp-2) var(--sp-3);
  box-shadow: var(--shadow-2);
}

.mobile-sticky-cta.show {
  display: flex;
}

.mobile-sticky-close {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  background: transparent;
  color: var(--text-muted);
  font-size: 1.2rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

@media (max-width: 1024px) {
  .hero-layout,
  .quiz-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .problem-grid,
  .how-grid,
  .preview-grid,
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
  }
}

@media (min-width: 1025px) {
  .hero {
    display: flex;
    align-items: center;
    padding-block: clamp(2rem, 4vh, 3rem);
  }

  .hero-layout {
    transform: translateY(-1rem);
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .section {
    padding: var(--sp-7) 0;
  }

  .hero {
    padding-top: var(--sp-6);
    padding-bottom: clamp(5rem, 10vh, 6.5rem);
  }

  .hero-copy h1 {
    margin-top: var(--sp-3);
  }

  .waitlist-row,
  .ref-row,
  .optional-grid {
    grid-template-columns: 1fr;
  }

  .hero-trust-row {
    flex-direction: row;
    gap: 6px var(--sp-3);
  }

  .hero-form-wrap,
  .waitlist-form {
    max-width: 100%;
  }

  .before-after-mini {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }

  .mini-arrow {
    transform: rotate(90deg);
    text-align: center;
  }

  .problem-grid,
  .how-grid,
  .preview-grid,
  .benefits-grid,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .final-cta-card {
    padding: var(--sp-5);
  }

  .faq-q {
    padding: var(--sp-4);
  }

  .faq-a p {
    padding: var(--sp-3) var(--sp-4);
  }

  .contact-card {
    padding: var(--sp-5);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-actions .btn {
    width: 100%;
  }

  .compare-table {
    min-width: 700px;
  }

  .compare-table th,
  .compare-table td {
    padding: var(--sp-3);
    font-size: 0.88rem;
  }

  .compare-note {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 1.25rem, var(--max-w));
  }

  .btn {
    min-height: 44px;
    padding: 0 var(--sp-4);
    font-size: 0.9rem;
  }

  .hero-copy > p,
  .section-head p {
    font-size: 0.95rem;
  }

  .mobile-sticky-cta .btn {
    width: 100%;
  }

  .input,
  select.input,
  textarea.input {
    font-size: 16px;
  }

  .hero-trust-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .hero-copy h1 {
    line-height: 1.08;
  }
}

/* ============================================================
   MOTION & CONTRAST PREFERENCES
   ============================================================ */

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

@media (prefers-contrast: high) {
  :root {
    --border: rgba(255, 255, 255, 0.3);
    --border-strong: rgba(255, 255, 255, 0.45);
    --text-muted: #ccd5e8;
    --text-faint: #a8b4cc;
  }
}
