:root {
  --navy: #0b1f3a;
  --navy-dark: #071528;
  --blue: #2f6fed;
  --blue-light: #eaf1ff;
  --ink: #1a2233;
  --muted: #5b6472;
  --border: #e3e7ee;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --good: #1a7f4e;
  --max-width: 960px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--navy);
  color: #fff;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
  position: relative;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  letter-spacing: 0.2px;
}

.brand span { color: #8fb4ff; }

.site-header nav a {
  color: #dbe6ff;
  margin-left: 24px;
  font-size: 0.95rem;
}

.site-header nav a:hover { color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 64px 0 72px;
}

.hero h1 {
  font-size: 2.4rem;
  line-height: 1.25;
  margin: 0 0 18px;
  max-width: 720px;
}

.hero p.lead {
  font-size: 1.15rem;
  color: #cdd8ee;
  max-width: 620px;
  margin: 0 0 32px;
}

.stat-line {
  display: inline-block;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #e7edfb;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: #2158c4;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  text-decoration: none;
}

.btn-block { display: block; width: 100%; text-align: center; }

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

section.soft { background: var(--bg-soft); }

h2 {
  font-size: 1.7rem;
  margin: 0 0 12px;
}

.section-lead {
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 36px;
  font-size: 1.05rem;
}

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* Teaser list vs paywall list */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.list-check {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-check li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: var(--ink);
}

.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--good);
  font-weight: 700;
}

.list-lock li::before { content: "🔒"; }

/* Pricing card */
.pricing-card {
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  margin: 8px 0 4px;
}

.pricing-card .price small {
  font-size: 1rem;
  font-weight: 500;
  color: #b9c8ec;
}

.pricing-card .btn-primary {
  width: 100%;
  margin-top: 20px;
}

.pricing-note {
  font-size: 0.85rem;
  color: #a9b8dd;
  margin-top: 14px;
}

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

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

/* Footer */
footer {
  background: var(--navy-dark);
  color: #9fb0d6;
  padding: 32px 0;
  font-size: 0.9rem;
}

footer a { color: #cddcff; }

.error-banner {
  background: #fdecea;
  border: 1px solid #f5c2c0;
  color: #9c2a26;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* Guide page (protected content) */
.guide-page {
  background: var(--bg-soft);
}

.guide-toolbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.guide-toolbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.guide-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  background: #fff;
}

.guide-content h1 { font-size: 2rem; }
.guide-content h2 { font-size: 1.4rem; margin-top: 40px; }
.guide-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.92rem;
}
.guide-content th, .guide-content td {
  border: 1px solid var(--border);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.guide-content th { background: var(--bg-soft); }

@media (max-width: 760px) {
  .grid-3 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }

  .site-header .wrap {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .site-header nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 20px;
    margin-top: 10px;
  }

  .site-header nav a {
    margin-left: 0;
  }
}
