:root {
  color-scheme: light;

  --navy: #0f2a47;
  --navy-dark: #0a1e34;
  --navy-tint: #eef2f7;
  --gold: #d9a441;
  --gold-dark: #b9862f;
  --bg: #f7f9fb;
  --surface: #ffffff;
  --text: #1a1f26;
  --muted: #5b6b7c;
  --border: #e3e8ee;
  --success: #1f7a4d;

  --font-serif: "Lora", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 12px;
  --shadow: 0 4px 18px rgba(15, 42, 71, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 42, 71, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

a {
  color: var(--navy);
  text-decoration-color: var(--gold);
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover { background: var(--gold-dark); box-shadow: var(--shadow); }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--navy); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover { border-color: #fff; }

.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-mark { width: 32px; height: 32px; flex-shrink: 0; }
.brand-word {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy);
}
.brand-word.small { font-size: 1.1rem; }
.accent { color: var(--gold); }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: inline-flex; }

.site-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 12px 24px 20px;
}
.site-nav.is-open { display: flex; }
.site-nav a {
  padding: 10px 4px;
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  border-radius: 6px;
}
.site-nav a[aria-current="page"] { color: var(--navy); font-weight: 700; }
.nav-cta {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: static;
    background: none;
    border: none;
    padding: 0;
    gap: 28px;
  }
  .site-nav a { padding: 4px 0; }
  .nav-cta { margin-top: 0; margin-left: 8px; }
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 72px 0 88px;
}
.hero-inner {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
}
.hero h1 { color: #fff; }
.hero .eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 14px;
}
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 46ch;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-note { margin-top: 14px; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 26px;
}
.hero-card h3 { color: #fff; margin-bottom: 14px; font-family: var(--font-sans); font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255,255,255,0.7);}
.hero-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
}
.hero-stat-row:last-child { border-bottom: none; }
.hero-stat-row strong { color: var(--gold); }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Feature grid */
.feature-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.card .icon-badge {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--navy-tint);
  color: var(--navy);
  margin-bottom: 16px;
}
.card .icon-badge svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; }

/* Steps */
.steps {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-left: 54px; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); margin-bottom: 0; }

/* Checklist */
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
}
.checklist svg { width: 20px; height: 20px; color: var(--success); flex-shrink: 0; margin-top: 2px; }
.checklist.muted svg { color: var(--muted); }

/* Pricing */
.pricing-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 760px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }

.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.price-card.featured::before {
  content: "Paid";
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.03em;
}
.price-amount { font-family: var(--font-serif); font-size: 2.4rem; color: var(--navy); margin: 10px 0 4px; }
.price-amount span { font-size: 1rem; color: var(--muted); font-family: var(--font-sans); font-weight: 400; }
.price-alt { font-size: 0.95rem; color: var(--muted); margin: 0 0 14px; }
.price-alt strong { color: var(--navy); }
.price-save {
  display: inline-block;
  background: var(--navy-tint);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  margin-left: 6px;
}
.price-card .btn { margin-top: 20px; }
.price-card .checklist { margin: 20px 0; flex-grow: 1; }

/* Comparison table */
.compare-table-wrap { overflow-x: auto; margin-top: 48px; }
table.compare {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
table.compare th, table.compare td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
table.compare th { background: var(--navy-tint); font-family: var(--font-serif); color: var(--navy); }
table.compare td:not(:first-child), table.compare th:not(:first-child) { text-align: center; }
table.compare tr:last-child td { border-bottom: none; }
table.compare .yes, table.compare .no { display: inline-flex; }
table.compare .yes svg, table.compare .no svg { width: 20px; height: 20px; }
table.compare .yes svg { color: var(--success); }
table.compare .no svg { color: var(--muted); opacity: 0.5; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 22px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 600;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.2s ease; color: var(--muted); }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item .faq-answer { padding: 0 0 20px; color: var(--muted); }

/* CTA band */
.cta-band {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  text-align: center;
  border-radius: var(--radius);
  padding: 56px 32px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.8); max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-band .hero-cta { justify-content: center; }

/* Simple content pages (about/privacy/terms) */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose ul { color: var(--muted); }
.prose li { margin-bottom: 6px; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.contact-card svg { width: 24px; height: 24px; color: var(--navy); }
.disclaimer-box {
  background: var(--navy-tint);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 18px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 24px 0;
}

/* Footer */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 56px;
}
.footer-inner {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  padding-bottom: 40px;
}
@media (min-width: 760px) {
  .footer-inner { grid-template-columns: 1.6fr repeat(3, 1fr); }
}
.footer-brand .brand-word { color: #fff; }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.9rem; max-width: 32ch; }
.footer-col h3 {
  color: rgba(255,255,255,0.9);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 18px 0 24px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
