:root {
  --bg: #111827;
  --bg-alt: #1C2333;
  --bg-card: #1E293B;
  --fg: #F9FAFB;
  --fg-muted: #9CA3AF;
  --accent: #F59E0B;
  --accent-dark: #B45309;
  --border: #374151;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Nav */
.nav {
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.nav-tag {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}

/* Hero */
.hero {
  position: relative;
  padding: 7rem 2rem 6rem;
  overflow: hidden;
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.25); }
  50% { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 10vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--fg);
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 3rem;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  width: fit-content;
}
.stat {
  padding: 1.25rem 2rem;
}
.stat-num {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--accent);
  letter-spacing: 0.06em;
}
.stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-top: 0.2rem;
  max-width: 160px;
}
.stat-sep {
  width: 1px;
  height: 60px;
  background: var(--border);
}

/* Hero bg graphic */
.hero-bg-graphic {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}
.hex-ring {
  position: absolute;
  border: 1px solid rgba(245, 158, 11, 0.12);
  border-radius: 50%;
}
.hex-ring-1 { width: 300px; height: 300px; top: -150px; right: 40px; }
.hex-ring-2 { width: 440px; height: 440px; top: -220px; right: -20px; }
.hex-ring-3 { width: 580px; height: 580px; top: -290px; right: -80px; }
.wrench-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  opacity: 0.6;
}
.wrench-icon svg { width: 100%; height: auto; }

/* Shared section styles */
.section-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--fg);
  margin-bottom: 1rem;
}

/* How it works */
.how { padding: 6rem 2rem; background: var(--bg-alt); }
.how-inner { max-width: 1120px; margin: 0 auto; }
.how .section-title { margin-bottom: 3.5rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.step { padding: 2.5rem 2.5rem 2.5rem 0; border-right: 1px solid var(--border); }
.step:last-child { border-right: none; padding-right: 0; }
.step-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  color: rgba(245, 158, 11, 0.2);
  letter-spacing: 0.06em;
  line-height: 1;
  margin-bottom: 1rem;
}
.step-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.step-body { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.7; }

/* Plans */
.plans { padding: 6rem 2rem; }
.plans-inner { max-width: 1120px; margin: 0 auto; }
.plans-intro { font-size: 1rem; color: var(--fg-muted); margin-bottom: 3rem; }
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.plan {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
  position: relative;
}
.plan-premium { border-color: var(--accent); }
.plan-premium::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(245,158,11,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 2rem;
  background: var(--accent);
  color: #111;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
}
.plan-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  color: var(--fg);
  display: block;
  margin-bottom: 0.5rem;
}
.plan-price { display: flex; align-items: baseline; gap: 0.25rem; margin-bottom: 0.5rem; }
.price-dollars {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.price-per { font-size: 0.9rem; color: var(--fg-muted); }
.plan-tagline { font-size: 0.85rem; color: var(--fg-muted); margin-bottom: 1.5rem; }
.plan-features { list-style: none; }
.plan-features li {
  font-size: 0.9rem;
  color: var(--fg-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(55, 65, 81, 0.5);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.plan-features li::before {
  content: '›';
  color: var(--accent);
  font-weight: bold;
  flex-shrink: 0;
}

/* Who it's for */
.whoforit { padding: 6rem 2rem; background: var(--bg-alt); }
.whoforit-inner { max-width: 1120px; margin: 0 auto; }
.whoforit .section-title { margin-bottom: 3rem; }
.persona-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.persona-icon { margin-bottom: 1rem; }
.persona-icon svg { width: 36px; height: 36px; }
.persona h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.persona p { font-size: 0.88rem; color: var(--fg-muted); line-height: 1.6; }

/* Closing */
.closing { padding: 8rem 2rem; position: relative; overflow: hidden; }
.closing-inner { max-width: 700px; margin: 0 auto; text-align: center; position: relative; z-index: 2; }
.closing-graphic { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1; }
.closing-ring {
  width: 500px;
  height: 500px;
  border: 1px solid rgba(245, 158, 11, 0.08);
  border-radius: 50%;
}
.closing-ring-2 { width: 700px; height: 700px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(245, 158, 11, 0.04); }
.closing-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 8vw, 5rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--fg);
  margin-bottom: 2rem;
}
.closing-body { font-size: 1.05rem; color: var(--fg-muted); line-height: 1.8; margin-bottom: 1.25rem; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 4rem 2rem 2rem; }
.footer-inner { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.footer-logo { font-family: 'Bebas Neue', sans-serif; font-size: 1.4rem; letter-spacing: 0.12em; color: var(--accent); }
.footer-desc { font-size: 0.85rem; color: var(--fg-muted); margin-top: 0.5rem; }
.footer-links { display: flex; gap: 4rem; }
.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col-head { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 0.5rem; }
.footer-col span:not(.footer-col-head) { font-size: 0.9rem; color: var(--fg-muted); }
.footer-bottom { max-width: 1120px; margin: 3rem auto 0; border-top: 1px solid var(--border); padding-top: 1.5rem; font-size: 0.8rem; color: var(--fg-muted); }

/* Responsive */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--border); padding: 2rem 0; }
  .plan-grid { grid-template-columns: 1fr; }
  .persona-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { gap: 2rem; }
}
@media (max-width: 600px) {
  .hero { padding: 5rem 1.5rem 4rem; }
  .hero-title { font-size: 3.5rem; }
  .hero-stats { flex-direction: column; width: 100%; }
  .stat { padding: 1rem 1.5rem; border-right: none; border-bottom: 1px solid var(--border); }
  .stat-sep { display: none; }
  .persona-grid { grid-template-columns: 1fr; }
  .how, .plans, .whoforit { padding: 4rem 1.5rem; }
  .closing { padding: 6rem 1.5rem; }
}

/* Subscribe modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.modal--open {
  opacity: 1;
  pointer-events: all;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.modal-panel {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  margin: 1rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}
.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--fg-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}
.modal-close:hover { color: var(--fg); }
.modal-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.modal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem;
  letter-spacing: 0.04em;
  color: var(--fg);
  margin-bottom: 0.5rem;
}
.modal-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1.75rem;
}
#modal-price-display {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.75rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.modal-price-per { font-size: 0.9rem; color: var(--fg-muted); }
#subscribe-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row--split { flex-direction: row; gap: 0.75rem; }
.form-row--split > * { flex: 1; }
label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
}
input[type="text"],
input[type="email"] {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  padding: 0.65rem 0.85rem;
  width: 100%;
  transition: border-color 0.15s ease;
}
input[type="text"]:focus,
input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
}
input::placeholder { color: #4B5563; }
.form-error {
  font-size: 0.85rem;
  color: #EF4444;
  padding: 0.5rem 0.75rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 4px;
}
.btn-primary {
  background: var(--accent);
  color: #111;
  border: none;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.85rem 1.5rem;
  cursor: pointer;
  transition: background 0.15s ease;
  margin-top: 0.5rem;
}
.btn-primary:hover:not(:disabled) { background: #D97706; }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.modal-disclaimer {
  font-size: 0.78rem;
  color: var(--fg-muted);
  margin-top: 1rem;
  text-align: center;
}

/* Plan CTA buttons */
.plan-cta { margin-top: 1.5rem; }
.subscribe-btn {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.7rem 1rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  letter-spacing: 0.01em;
}
.subscribe-btn:hover {
  border-color: var(--accent);
  background: rgba(245, 158, 11, 0.07);
}
.plan-premium .subscribe-btn {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
}
.plan-premium .subscribe-btn:hover {
  background: #D97706;
  border-color: #D97706;
}

/* Confirmation page */
.confirm-page {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}
.confirm-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3rem;
  max-width: 560px;
  width: 100%;
  text-align: center;
}
.confirm-check {
  width: 64px;
  height: 64px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
}
.confirm-check svg { width: 32px; height: 32px; color: var(--accent); }
.confirm-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 0.04em;
  color: var(--fg);
  margin-bottom: 0.75rem;
}
.confirm-sub {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}
.confirm-details {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  text-align: left;
  display: grid;
  gap: 0.75rem;
}
.confirm-row { display: flex; justify-content: space-between; font-size: 0.9rem; }
.confirm-row-label { color: var(--fg-muted); }
.confirm-row-value { color: var(--fg); font-weight: 500; }
.confirm-cta {
  display: inline-block;
  background: var(--accent);
  color: #111;
  border-radius: 4px;
  font-weight: 500;
  padding: 0.85rem 2rem;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.15s ease;
}
.confirm-cta:hover { background: #D97706; }
@media (max-width: 600px) {
  .confirm-card { padding: 2rem; }
  .form-row--split { flex-direction: column; }
}