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

:root {
  --navy: #1E3A8A;
  --navy-light: #EEF2FF;
  --gold: #F5C842;
  --gold-light: #FFFBEB;
  --white: #FFFFFF;
  --off-white: #F9FAFB;
  --border: #E5E7EB;
  --text-dark: #111827;
  --text-mid: #444444;
  --text-muted: #6B7280;
  --footer-bg: #111827;
  --red-bg: #FEF2F2;
  --red-border: #FECACA;
  --red: #DC2626;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--white);
  color: var(--text-dark);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-shield {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

.nav-wordmark {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--text-mid);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.nav-link:hover {
  color: var(--navy);
}

.nav-cta {
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 5px;
  text-decoration: none;
  transition: opacity 0.15s;
}

.nav-cta:hover {
  opacity: 0.85;
}

.hero {
  padding: 96px 48px 88px;
  text-align: center;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-light);
  border: 1px solid #FDE68A;
  color: #92400E;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 28px;
  letter-spacing: 0.2px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-headline {
  color: var(--text-dark);
  font-size: 52px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  max-width: 760px;
  margin: 0 auto 22px;
}

.hero-headline .accent {
  color: var(--navy);
  position: relative;
  display: inline-block;
}

.hero-headline .accent::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
  max-width: 590px;
  margin: 0 auto 36px;
}

.hero-sub strong {
  color: var(--text-dark);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.btn-navy,
.btn-outline,
.btn-gold {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 5px;
  text-decoration: none;
  transition: opacity 0.15s, border-color 0.15s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  opacity: 0.85;
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: #9CA3AF;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
}

.btn-gold:hover {
  opacity: 0.88;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.hero-stat {
  padding: 0 32px;
  border-right: 1px solid var(--border);
  text-align: center;
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat-number {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  display: block;
  letter-spacing: -0.5px;
}

.hero-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.section {
  padding: 88px 48px;
}

.section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.section-alt {
  background: var(--off-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 14px;
}

.section-heading {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 620px;
}

.problem-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 52px;
}

.problem-card {
  border-radius: 8px;
  padding: 32px;
  border: 1.5px solid var(--border);
}

.problem-card-before {
  background: var(--red-bg);
  border-color: var(--red-border);
}

.problem-card-after {
  background: var(--navy-light);
  border-color: #C7D2FE;
}

.problem-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.label-before {
  color: var(--red);
}

.label-after {
  color: var(--navy);
}

.problem-card-heading {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.problem-card-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mid);
}

.problem-list,
.solution-list {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.problem-list li,
.solution-list li {
  font-size: 14px;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.problem-list li::before {
  content: "x";
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.solution-list li::before {
  content: "✓";
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(16.66% + 12px);
  right: calc(16.66% + 12px);
  height: 1px;
  background: var(--border);
}

.steps.steps-4 {
  grid-template-columns: repeat(4, 1fr);
}

.steps.steps-4::before {
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
}

.step {
  padding: 0 28px 0 0;
  position: relative;
}

.step:last-child {
  padding-right: 0;
}

.step-num {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.step-heading {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.step-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
}

.step-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 600;
  color: var(--navy);
  background: var(--navy-light);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.3px;
}

.apps-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 52px;
}

.pricing-grid {
  grid-template-columns: repeat(3, 1fr);
}

.app-card,
.price-card {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 36px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.app-card-extract::before,
.price-card-token::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--navy);
}

.app-card-verify::before,
.price-card-free::before,
.price-card-support::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
}

.app-label,
.price-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.app-name,
.price-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}

.app-for {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 18px;
}

.app-body,
.price-body {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-mid);
  margin-bottom: 22px;
}

.app-details,
.price-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.app-detail-item,
.price-detail-item {
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.app-detail-item::before,
.price-detail-item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 7px;
}

.free-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  vertical-align: middle;
}

.price-amount {
  color: var(--navy);
  font-size: 30px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}

.price-note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.gold-callout {
  background: var(--gold);
  padding: 56px 48px;
}

.gold-callout-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.gold-callout-text .heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.gold-callout-text .body {
  font-size: 15px;
  color: rgba(30, 58, 138, 0.75);
  line-height: 1.6;
  max-width: 540px;
}

.gold-callout .btn-navy {
  flex-shrink: 0;
}

.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-question-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: -0.2px;
}

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.faq-icon svg {
  transition: transform 0.25s;
}

.faq-item.open .faq-icon {
  background: var(--navy);
}

.faq-item.open .faq-icon svg {
  transform: rotate(45deg);
}

.faq-item.open .faq-icon svg path {
  stroke: white;
}

.faq-answer {
  display: none;
  padding: 0 0 22px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 720px;
}

.faq-item.open .faq-answer {
  display: block;
}

.beta-section {
  padding: 96px 48px;
  text-align: center;
  background: var(--navy);
}

.beta-inner {
  max-width: 560px;
  margin: 0 auto;
}

.beta-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.beta-heading {
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.beta-body {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 32px;
}

.beta-note {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer {
  background: var(--footer-bg);
  padding: 36px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-wordmark {
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  text-decoration: none;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.75);
}

.footer-disclaimer {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  max-width: 560px;
  line-height: 1.6;
  text-align: right;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.open {
  display: flex;
}

.modal-panel {
  background: white;
  border-radius: 10px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 20px;
  line-height: 1;
}

.modal-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
}

.modal-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.4px;
  margin-bottom: 6px;
}

.modal-body {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.form-field {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 5px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--navy);
}

.form-textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
  background: var(--navy);
  color: white;
  font-size: 14px;
  font-weight: 600;
  padding: 13px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: inherit;
}

.form-success {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.form-success-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.form-success-heading {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-success-body {
  font-size: 14px;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .steps.steps-4 {
    grid-template-columns: 1fr;
  }

  .steps.steps-4::before {
    display: none;
  }

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

@media (max-width: 768px) {
  .nav {
    padding: 0 20px;
  }

  .nav-link {
    display: none;
  }

  .hero {
    padding: 64px 20px 56px;
  }

  .hero-headline {
    font-size: 36px;
    letter-spacing: -0.8px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-stats {
    gap: 16px;
  }

  .hero-stat {
    padding: 0 16px;
  }

  .section {
    padding: 64px 20px;
  }

  .problem-cols,
  .steps,
  .apps-grid {
    grid-template-columns: 1fr;
  }

  .steps::before {
    display: none;
  }

  .step {
    padding: 0 0 32px;
  }

  .gold-callout {
    padding: 40px 20px;
  }

  .gold-callout-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .beta-section {
    padding: 72px 20px;
  }

  .beta-heading {
    font-size: 28px;
  }

  .footer {
    padding: 28px 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-disclaimer {
    text-align: left;
  }
}
