:root {
  --navy: #2B4560;
  --sand: #E8DFD1;
  --petrol: #4A7C74;
  --burnt: #C97D3F;
  --text: #2A2A28;
  --white: #ffffff;
  --max-width: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: inherit; }

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

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Header ---------- */

.site-header {
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--navy);
}

.brand svg { width: 32px; height: 32px; }

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

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.95rem;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--navy);
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: #1f3449; }

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

.btn-small { padding: 9px 16px; font-size: 0.85rem; }

/* ---------- Hero ---------- */

.hero {
  background: var(--sand);
  padding: 64px 0 56px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
}

.hero .lead {
  font-size: 1.15rem;
  max-width: 48ch;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual img { width: 100%; max-width: 420px; height: auto; }

/* ---------- Intro ribbon (reused pattern from app) ---------- */

.badge-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.82rem;
  color: var(--navy);
  border: 1px solid rgba(43,69,96,0.18);
}

/* ---------- Generic section ---------- */

section { padding: 64px 0; }

.section-title {
  text-align: center;
  color: var(--navy);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto 40px;
  color: #555;
}

/* ---------- Steps ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 14px;
}

.step h3 { font-size: 1.1rem; color: var(--navy); }

/* ---------- Feature grid (differentiators) ---------- */

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

.features .section-title,
.features .section-subtitle { color: var(--white); }
.features .section-subtitle { opacity: 0.85; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 22px;
}

.feature-card h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 8px;
}

.feature-card p { margin: 0; font-size: 0.92rem; opacity: 0.85; }

/* ---------- Comparison table ---------- */

.compare-wrap { overflow-x: auto; }

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

table.compare th, table.compare td {
  padding: 12px 16px;
  border-bottom: 1px solid #e2e2e2;
  text-align: left;
  font-size: 0.95rem;
}

table.compare th { color: var(--navy); }

table.compare td.yes { color: var(--petrol); font-weight: 600; }
table.compare td.no { color: #aaa; }

table.compare thead th:nth-child(2),
table.compare thead th:nth-child(3) { text-align: center; }
table.compare td:nth-child(2),
table.compare td:nth-child(3) { text-align: center; }

/* ---------- Pricing ---------- */

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 760px;
  margin: 0 auto;
}

.price-card {
  border: 2px solid var(--sand);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

.price-card.highlight {
  border-color: var(--burnt);
  position: relative;
}

.price-card .price-tag {
  font-family: Georgia, serif;
  font-size: 2.1rem;
  color: var(--navy);
  margin: 12px 0;
}

.price-card .price-tag span { font-size: 1rem; color: #777; }

.price-note {
  text-align: center;
  margin-top: 24px;
  color: #555;
}

.price-callout {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin-top: 28px;
  text-align: center;
  color: var(--navy);
  font-weight: 600;
}

/* ---------- Lead magnet / signup ---------- */

.signup {
  background: var(--sand);
}

.signup-box {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}

.signup form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
  text-align: left;
}

.signup input[type="email"] {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
}

.signup .consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #444;
}

.signup .consent-row input { margin-top: 3px; }

.signup .form-status {
  min-height: 1.2em;
  font-size: 0.9rem;
}

.signup .form-status.ok { color: var(--petrol); }
.signup .form-status.err { color: #b3432b; }

/* ---------- Article page ---------- */

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.article h1 { color: var(--navy); font-size: 2rem; }
.article h2 { color: var(--navy); font-size: 1.3rem; margin-top: 1.6em; }
.article p, .article li { font-size: 1.02rem; }
.article .meta { color: #777; font-size: 0.9rem; margin-bottom: 2em; }
.article .disclaimer {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.9rem;
  color: #444;
}

/* ---------- Legal pages ---------- */

.legal { max-width: 760px; margin: 0 auto; padding: 48px 24px 72px; }
.legal h1 { color: var(--navy); }
.legal h2 { color: var(--navy); margin-top: 1.5em; font-size: 1.15rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 40px 0;
  margin-top: 0;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.85;
}
.site-footer a:hover { opacity: 1; text-decoration: underline; }

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-note {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 18px;
}

/* ---------- Responsive ---------- */

@media (max-width: 880px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 280px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-bottom: 1px solid #eee;
    gap: 16px;
    z-index: 20;
  }
  .site-header { position: relative; }
}
