:root {
  --bg: #FAF8F5;
  --surface: #FFFFFF;
  --surface-warm: #F3EFE8;
  --ink: #121619;
  --ink-soft: #4F585F;
  --muted: #7C848B;
  --border: #E6E1D8;
  --accent: #243E36;
  --accent-hover: #1A2F28;
  --accent-tint: #EAF0ED;
  --highlight: #B85D3B;
  --highlight-tint: #FAF0EB;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 10px rgba(18, 22, 25, 0.04);
  --shadow-md: 0 12px 32px rgba(18, 22, 25, 0.08);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font-family: inherit; }

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Announcement Bar */
.top-bar {
  background: var(--accent);
  color: #F4F7F5;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 9px 16px;
  text-align: center;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}

.brand-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
}

.wordmark {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.16em;
}

.wordmark-sub {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  background: none;
  border: none;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.nav-link:hover, .nav-link.active {
  background: var(--surface-warm);
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.country-select {
  appearance: none;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-cta {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  cursor: pointer;
  transition: transform 0.12s, background 0.15s, box-shadow 0.15s;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 18px rgba(36, 62, 54, 0.22);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-secondary:hover { background: var(--surface-warm); }

.btn-sm { font-size: 13.5px; padding: 9px 16px; }
.btn-lg { font-size: 16px; padding: 15px 28px; }
.btn-full { width: 100%; }

/* Hero */
.hero {
  padding: 68px 0 52px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-lead {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13.5px;
  color: var(--ink-soft);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-check {
  color: var(--accent);
  font-weight: 700;
}

/* Hero Visual Card */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}

.hero-card-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.quick-spoke-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-spoke-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 15px 18px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.12s;
}

.quick-spoke-btn:hover {
  border-color: var(--accent);
  background: var(--surface);
  transform: translateX(2px);
}

.quick-spoke-title {
  font-weight: 600;
  font-size: 15.5px;
  color: var(--ink);
  display: block;
}

.quick-spoke-sub {
  font-size: 13px;
  color: var(--ink-soft);
}

.quick-spoke-arrow {
  font-size: 18px;
  color: var(--accent);
  font-weight: 600;
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-warm {
  background: var(--surface-warm);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 640px;
  margin-bottom: 36px;
}

.section-header h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  margin-bottom: 10px;
}

.section-header p {
  color: var(--ink-soft);
  font-size: 16px;
}

/* Spoke Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.spoke-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, border-color 0.15s;
}

.spoke-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
}

.spoke-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-tint);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.spoke-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  margin-bottom: 8px;
}

.spoke-card p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

.spoke-card-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  margin-top: 6px;
}

.price-from {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

/* Comparison Table (Anti-Dark-Pattern Moat) */
.compare-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
}

.compare-table th, .compare-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
}

.compare-table thead th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: var(--bg);
}

.compare-table thead th.col-tovra {
  background: var(--accent);
  color: #FFFFFF;
}

.compare-table td.col-tovra {
  background: #F4F8F6;
  font-weight: 600;
  color: var(--accent);
}

.compare-table tr:last-child td { border-bottom: none; }

/* 3-Step Strip */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.step-num {
  font-family: var(--serif);
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.step-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.step-card p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* Spoke Dedicated Landing & Quiz Shell */
.spoke-shell {
  padding: 40px 0 80px;
}

.back-bar {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-btn {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.back-btn:hover { color: var(--ink); }

.quiz-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.progress-track {
  height: 5px;
  background: var(--surface-warm);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 28px;
}

.progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.25s ease;
}

.quiz-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.12;
  margin-bottom: 10px;
}

.quiz-sub {
  color: var(--ink-soft);
  font-size: 15px;
  margin-bottom: 24px;
}

.option-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.option-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}

.option-btn:hover {
  border-color: var(--accent);
  background: var(--surface);
  transform: translateY(-1px);
}

.option-sub {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-soft);
  margin-top: 2px;
}

.edu-card {
  background: var(--accent-tint);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 24px;
}

.edu-card h3 {
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 10px;
}

.edu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
  color: var(--ink);
}

/* Spinner Interstitial */
.spinner-box {
  text-align: center;
  padding: 40px 10px;
}

.spinner {
  width: 44px;
  height: 44px;
  border: 3px solid var(--surface-warm);
  border-top-color: var(--accent);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Recommendation & Plan Pricing Page */
.plan-page {
  max-width: 960px;
  margin: 0 auto;
}

.plan-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.plan-card {
  position: relative;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.plan-card.selected {
  border-color: var(--accent);
  background: #F4F8F6;
}

.plan-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--highlight);
  color: #FFFFFF;
  margin-bottom: 10px;
}

.plan-badge.muted-badge {
  background: var(--surface-warm);
  color: var(--ink-soft);
}

.plan-name {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 10px 0 4px;
}

.plan-monthly {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1;
  color: var(--ink);
}

.plan-per {
  font-size: 14px;
  color: var(--ink-soft);
}

.plan-billed {
  font-size: 13px;
  color: var(--ink-soft);
}

.plan-savings {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-top: 8px;
}

.bump-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--highlight-tint);
  border: 1px dashed var(--highlight);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin: 18px 0 22px;
  cursor: pointer;
}

.bump-box input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.all-in-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 18px;
  background: var(--surface-warm);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 22px;
}

.checkout-cta-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-fine {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(18, 22, 25, 0.56);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden] { display: none; }

.modal-card {
  position: relative;
  width: 100%;
  max-width: 500px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
}

.modal-wide { max-width: 780px; }

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: var(--surface-warm);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  color: var(--ink);
}

.capacity-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--highlight);
  background: var(--highlight-tint);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--highlight);
}

.modal-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 34px;
  line-height: 1.1;
  margin-bottom: 10px;
}

.modal-subtitle {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.selected-plan-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 14px;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
}

.field input {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: var(--surface);
}

.field input:focus {
  outline: none;
  border-color: var(--accent);
}

.muted { font-weight: 400; color: var(--muted); }

.form-footnote {
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

.success-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* Stats Modal */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stat-tile {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
}

.stat-val {
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1.1;
  color: var(--accent);
}

.stat-lbl {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 4px;
}

.stats-table-wrap {
  max-height: 240px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.stats-actions {
  display: flex;
  gap: 10px;
}

/* Footer */
.site-footer {
  background: #121619;
  color: #D7DCE0;
  padding: 56px 0 36px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo { color: #FFFFFF; margin-bottom: 12px; }
.footer-brand { max-width: 380px; }
.footer-note { font-size: 14px; color: #9BA5AD; }

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

.footer-links h4 {
  color: #FFFFFF;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: #9BA5AD;
}

.text-link {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  color: #D7DCE0;
  font-size: 14px;
  cursor: pointer;
}

.text-link:hover { color: #FFFFFF; text-decoration: underline; }
.muted-link { color: #7C848B; font-size: 12.5px; margin-top: 6px; }

.footer-legal {
  padding-top: 22px;
  font-size: 12px;
  color: #7C848B;
}

/* Responsive */
@media (max-width: 920px) {
  .main-nav { display: none; }
  .hero-grid, .cards-grid, .steps-grid, .plan-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; }
  .quiz-wrap, .plan-hero { padding: 24px; }
}

@media (max-width: 540px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 8px; height: 62px; }
  .wordmark { font-size: 17px; letter-spacing: 0.13em; }
  .wordmark-sub { display: none; }
  .country-select { font-size: 12px; padding: 7px 10px; }
  .header-cta { font-size: 12.5px; padding: 8px 12px; }
  .hero { padding: 40px 0 36px; }
}
