/* ── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  --paper:       #faf8f4;   /* warm cream page background */
  --surface:     #ffffff;
  --surface-2:   #f3f0e9;   /* alternating section band */
  --ink:         #14181a;   /* near-black headings */
  --text:        #2a3230;
  --text-dim:    #626d69;
  --accent:      #0d7a5f;   /* deep emerald */
  --accent-2:    #10a37f;   /* brighter emerald, hover */
  --accent-deep: #095a45;
  --accent-soft: #e4f2ec;   /* mint tint */
  --border:      rgba(20, 24, 26, .11);
  --border-2:    rgba(20, 24, 26, .18);
  --shadow:      0 1px 2px rgba(20, 24, 26, .04), 0 8px 24px rgba(20, 24, 26, .05);
  --shadow-lg:   0 2px 4px rgba(20, 24, 26, .05), 0 18px 44px rgba(13, 122, 95, .13);
  --max-w:       1080px;
  --nav-h:       70px;
  --radius:      16px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
  /* must live on html, not body — on body it makes body the scroll container,
     which zeroes window.scrollY and kills the sticky nav */
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

.inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 26px;
  width: 100%;
}
.narrow { max-width: 730px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.14;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(32px, 5.4vw, 58px); font-weight: 500; }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: clamp(18px, 2vw, 21px); }

p { margin: 0 0 1em; }
a { color: inherit; }

.eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.section__title { max-width: 780px; margin-bottom: 40px; }
.lede      { font-size: clamp(17px, 1.9vw, 19.5px); color: var(--text-dim); max-width: 640px; }
.body      { color: var(--text-dim); }
.fineprint { font-size: 14.5px; color: var(--text-dim); max-width: 760px; margin-top: 32px; }

/* ── PILL ───────────────────────────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border: 1px solid rgba(13, 122, 95, .16);
  border-radius: 100px;
  padding: 7px 16px 7px 13px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 26px;
}
.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(16, 163, 127, .18);
}

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  padding: 14px 26px;
  border: 1px solid var(--accent);
  border-radius: 10px;
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover {
  background: var(--accent-2);
  border-color: var(--accent-2);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(13, 122, 95, .22);
}
.btn--ghost {
  background: transparent;
  color: var(--accent-deep);
  border-color: var(--border-2);
}
.btn--ghost:hover {
  background: var(--accent-soft);
  border-color: rgba(13, 122, 95, .35);
  color: var(--accent-deep);
  box-shadow: none;
}
.btn--small { padding: 9px 17px;  font-size: 14.5px; border-radius: 8px; }
.btn--large { padding: 16px 30px; font-size: 17px; }
.btn--block { display: block; width: 100%; margin-top: auto; }

/* ── NAV ────────────────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--nav-h);
  background: rgba(250, 248, 244, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav__brand {
  font-family: var(--font-display);
  font-size: 20.5px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a {
  font-size: 15px;
  color: var(--text-dim);
  text-decoration: none;
  white-space: nowrap;
  transition: color .16s ease;
}
.nav__links a:hover { color: var(--accent-deep); }

/* ── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 8vw, 96px) 0 clamp(56px, 8vw, 92px);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  align-items: center;
  gap: clamp(28px, 5vw, 60px);
}
.hero__copy { min-width: 0; }
/* smaller than the global h1 scale — the two-column hero gives it half the width */
.hero h1 { font-size: clamp(30px, 3.7vw, 45px); margin-bottom: 24px; }
.hero .lede { max-width: 560px; font-size: clamp(16px, 1.5vw, 17.5px); }

.hero__art {
  display: flex;
  justify-content: center;
  min-width: 0;
}
.hero__art img {
  width: 100%;
  max-width: 520px;
  height: auto;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}
.hero__note { margin-top: 18px; font-size: 14.5px; color: var(--text-dim); }

/* ── STRIP ──────────────────────────────────────────────────────────────── */
.strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 38px 0;
}
.strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.strip__grid div { display: flex; flex-direction: column; gap: 3px; }
.strip__grid strong {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
}
.strip__grid span { font-size: 14.5px; color: var(--text-dim); line-height: 1.45; }

/* ── SECTIONS ───────────────────────────────────────────────────────────── */
.section { padding: clamp(60px, 8.5vw, 100px) 0; }
.section--alt { background: var(--surface-2); }

/* ── STEPS ──────────────────────────────────────────────────────────────── */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  background: var(--accent-soft);
  border-radius: 11px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--accent-deep);
}
.steps p { color: var(--text-dim); margin: 0; font-size: 16px; }

/* ── CHECKS ─────────────────────────────────────────────────────────────── */
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 44px;
}
.checks li {
  position: relative;
  padding-left: 32px;
  color: var(--text-dim);
  font-size: 16px;
}
.checks li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .52em;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}
.checks strong { color: var(--ink); font-weight: 600; }

/* ── PRICING ────────────────────────────────────────────────────────────── */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.plan--featured {
  border: 1.5px solid var(--accent);
  box-shadow: var(--shadow-lg);
}
.plan--trial { background: var(--accent-soft); border-color: rgba(13, 122, 95, .20); box-shadow: none; }

.plan__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 100px;
  margin: 0;
}
.plan__tag {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}
.plan__desc { font-size: 14.5px; color: var(--text-dim); margin-bottom: 22px; }
.plan__price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.plan__amount {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 38px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.plan__per { font-size: 15px; color: var(--text-dim); }
.plan__setup {
  margin: 10px 0 0;
  font-size: 14.5px;
  color: var(--text-dim);
}
.plan__compare {
  margin: 14px 0 0;
  padding: 10px 13px;
  background: var(--accent-soft);
  border-radius: 9px;
  font-size: 14px;
  color: var(--accent-deep);
}
.plan--trial .plan__compare { background: rgba(255, 255, 255, .7); }
.plan__compare s { color: var(--text-dim); }
.plan__compare strong { font-weight: 600; }

.plan__list {
  list-style: none;
  margin: 24px 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.plan__list li {
  position: relative;
  padding-left: 27px;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.5;
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .48em;
  width: 10px;
  height: 5.5px;
  border-left: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(-45deg);
}

/* ── NEEDS ──────────────────────────────────────────────────────────────── */
.needs {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.needs li {
  position: relative;
  padding-left: 23px;
  color: var(--text-dim);
  font-size: 16px;
}
.needs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .66em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2);
}
.needs span {
  display: block;
  margin-top: 5px;
  font-size: 14.5px;
  line-height: 1.55;
  opacity: .82;
}

/* ── CTA ────────────────────────────────────────────────────────────────── */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(66px, 9vw, 104px) 0;
  text-align: center;
  background: var(--ink);
}
.cta::before {
  content: "";
  position: absolute;
  inset: auto 0 -60% 0;
  height: 460px;
  background: radial-gradient(closest-side, rgba(16, 163, 127, .30), transparent 72%);
  pointer-events: none;
}
.cta .inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta h2 { color: #fff; }
.cta p  { color: rgba(255, 255, 255, .72); }
.cta .btn { background: #fff; color: var(--accent-deep); border-color: #fff; }
.cta .btn:hover { background: var(--accent-soft); border-color: var(--accent-soft); }
.cta__alt { margin-top: 22px; font-size: 15px; }
.cta__alt a { color: var(--accent-2); }

/* ── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--paper);
  border-top: 1px solid var(--border);
  padding: 54px 0 0;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 42px;
}
.footer__brand {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}
.footer__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 13px;
}
.footer__col p       { margin: 0 0 9px; font-size: 15px; }
.footer__line        { color: var(--text-dim); line-height: 1.55; max-width: 390px; }
.footer__col a       { color: var(--text); text-decoration: none; }
.footer__col a:hover { color: var(--accent); }
.footer__bar {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  padding-bottom: 26px;
}
.footer__bar p { margin: 0; font-size: 14px; color: var(--text-dim); }
.footer__bar a { color: var(--accent); }

/* ── LEGAL PAGES ────────────────────────────────────────────────────────── */
.legal { padding: clamp(48px, 7vw, 84px) 0 clamp(58px, 8vw, 92px); }
.legal .updated { font-size: 14.5px; color: var(--text-dim); margin-bottom: 36px; }
.legal h2 {
  font-size: clamp(21px, 2.4vw, 26px);
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal p, .legal li { color: var(--text-dim); font-size: 16px; }
.legal ul { padding-left: 20px; margin: 0 0 1em; }
.legal li { margin-bottom: 8px; }
.legal a  { color: var(--accent); }
.legal strong { color: var(--ink); font-weight: 600; }
.back-link {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 15px;
  color: var(--text-dim);
  text-decoration: none;
}
.back-link:hover { color: var(--accent); }

/* ── RESPONSIVE ─────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  /* stack the hero: copy first, illustration under it */
  .hero__inner   { grid-template-columns: 1fr; gap: 40px; }
  .hero .lede    { max-width: none; }
  .hero__art img { max-width: 380px; }

  .strip__grid   { grid-template-columns: repeat(2, 1fr); gap: 26px 30px; }
  .steps         { grid-template-columns: 1fr; gap: 30px; }
  /* three plans never fit two across cleanly — go straight to a single column */
  .plans         { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; gap: 26px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  /* single-pager: everything is reachable by scrolling, so the links stand down */
  .nav__links { display: none; }
}

@media (max-width: 640px) {
  body   { font-size: 16px; }
  .inner { padding: 0 20px; }

  .strip__grid { grid-template-columns: 1fr; gap: 20px; }
  .checks      { grid-template-columns: 1fr; gap: 13px; }

  .hero__cta       { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__cta .btn  { width: 100%; }
  .cta .btn        { width: 100%; }
  .nav .btn--small { width: auto; }

  .plan { padding: 26px 22px; }
  .hero__art img { max-width: 300px; }

  .footer__inner { grid-template-columns: 1fr; gap: 30px; }
  .footer__line  { max-width: none; }
}
