/* ============================================================
   Verbena — "Verbena Leaf" design system (v2)
   Derived from the leaf/check brand mark: deep pine + teal ink,
   living leaf-green accent, warm paper neutrals.

   Type: two families only, self-hosted (CSP: font-src 'self').
     Fraunces  — display serif: headings, wordmark, stats, quotes
     Inter     — text/UI: everything else
   ============================================================ */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/fraunces-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/fraunces-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  /* Core palette (from the mark) */
  --ink:        #14302B;  /* deep pine ink — dark sections */
  --ink-2:      #1F4D5C;  /* teal depth (the dark blade tip) */
  --green-800:  #1E4F3D;
  --green-700:  #28654D;  /* primary action / links (AA on white) */
  --leaf:       #7FB347;  /* the living accent — use on dark, or decoratively */
  --leaf-deep:  #5C8F3A;
  --sage:       #A9C29A;

  /* Neutrals */
  --paper:      #FCFDFB;
  --mist:       #F2F6EF;
  --pale:       #E4EDE3;
  --line:       #DCE7DC;

  --text:       #1C332E;
  --text-soft:  #47605A;  /* ≥5:1 on paper for long reading */

  /* Legacy token aliases (inline styles in HTML reference these) */
  --deep-lavender: var(--green-700);
  --soft-lavender: #7FA98C;
  --pale-lavender: var(--pale);
  --deep-sage:     var(--green-700);
  --cream:         var(--mist);
  --warm-gold:     var(--leaf);
  --deep-gold:     var(--leaf-deep);
  --dark-ink:      var(--ink);
  --mid-ink:       var(--text-soft);
  --bg-cream:      var(--mist);
  --bg-pale:       var(--pale);

  --bg: var(--paper);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1120px;
  --radius: 16px;
  --shadow: 0 20px 48px -30px rgba(20, 48, 43, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--text); margin: 0 0 .5em; letter-spacing: -0.015em; line-height: 1.12; }
h1 { font-size: clamp(2.4rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1.1em; }
a  { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.eyebrow {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green-700);
  margin: 0 0 1rem;
}

.lead { font-size: 1.18rem; color: var(--text-soft); max-width: 62ch; }

.accent { color: var(--green-700); font-style: italic; }
.italic { font-style: italic; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  padding: .85rem 1.6rem; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--green-700); color: #fff; box-shadow: 0 10px 24px -12px rgba(40,101,77,.7); }
.btn-primary:hover { background: var(--green-800); }
.btn-gold { background: var(--leaf); color: var(--ink); }
.btn-gold:hover { background: var(--leaf-deep); color: #fff; }
.btn-ghost { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn-ghost:hover { background: var(--pale); }
.btn-on-dark { background: var(--leaf); color: var(--ink); }
.btn-on-dark:hover { background: #93c25f; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.1); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(252,253,251,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand .wordmark { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--ink); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a { font-family: var(--sans); font-weight: 600; font-size: .95rem; color: var(--text); }
.nav-links a:hover { color: var(--green-700); text-decoration: none; }
.nav-links a.active { color: var(--green-700); }
/* Nav CTA is a filled button — force white text (plain nav-link color otherwise wins). */
.nav-links a.nav-cta { color: #fff; }
.nav-links a.nav-cta:hover { color: #fff; }
.nav-cta { padding: .55rem 1.1rem !important; font-size: .9rem !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-cream { background: var(--mist); }
.section-pale { background: var(--pale); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink h1, .section-ink h2, .section-ink h3 { color: #fff; }
.section-ink .lead { color: rgba(255,255,255,.8); }
.section-ink .eyebrow { color: var(--leaf); }
.section-tight { padding: 60px 0; }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(148deg, var(--ink) 0%, #17423f 55%, var(--ink-2) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 118px 0 108px;
}
/* soft leaf-light blooms, echoing the mark's gradient */
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%;
}
.hero::before { width: 560px; height: 560px; top: -200px; right: -140px; background: radial-gradient(closest-side, rgba(127,179,71,.22), transparent); }
.hero::after  { width: 420px; height: 420px; bottom: -220px; left: -160px; background: radial-gradient(closest-side, rgba(31,77,92,.5), transparent); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero .eyebrow { color: var(--leaf); }
.hero .tagline-sub { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--sage); margin: 0 0 1.5rem; }
.hero .lead { color: rgba(255,255,255,.84); margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.card-cream { background: var(--mist); border-color: #dfe8da; }
.card-pale { background: var(--pale); border-color: #d3e2d3; }
.card .num { font-family: var(--serif); font-size: 1.6rem; color: var(--leaf-deep); display: block; margin-bottom: .4rem; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--text-soft); margin-bottom: 0; font-size: .98rem; }

/* stat */
.stat { font-family: var(--serif); font-weight: 600; font-size: 2.5rem; color: var(--green-700); line-height: 1; margin-bottom: .3rem; }
.section-ink .stat { color: var(--leaf); }

/* belief / numbered list */
.belief { display: flex; gap: 18px; align-items: flex-start; }
.belief .n { font-family: var(--serif); font-size: 1.5rem; color: var(--leaf-deep); flex: 0 0 auto; line-height: 1.2; }
.belief p { margin: 0; }

/* dot bullet (voice) */
.dot::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--leaf); margin-right: .6rem; vertical-align: middle; }

/* week timeline */
.weeks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.week .tag { font-family: var(--sans); font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); }
.week h3 { font-size: 1.25rem; margin: .3rem 0 .4rem; }

/* checklist — the check echoes the brand mark */
.check { list-style: none; padding: 0; margin: 0; }
.check li { position: relative; padding-left: 30px; margin-bottom: .8rem; color: var(--text-soft); }
.check li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--leaf-deep); font-weight: 700; }
.section-ink .check li::before { color: var(--leaf); }

/* quote */
.quote { border-left: 4px solid var(--leaf); padding-left: 24px; font-family: var(--serif); font-size: 1.3rem; font-style: italic; color: var(--text); }
.quote cite { display: block; font-family: var(--sans); font-style: normal; font-size: .9rem; color: var(--text-soft); margin-top: 1rem; }

/* split */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }

/* form */
.form-grid { display: grid; gap: 18px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem 1rem; font-family: var(--sans); font-size: 1rem;
  border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-700); }
.field textarea { min-height: 130px; resize: vertical; }

/* CTA band */
.cta-band { background: linear-gradient(148deg, var(--ink) 0%, var(--ink-2) 100%); color: #fff; border-radius: 20px; padding: 56px; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(closest-side, rgba(127,179,71,.2), transparent); top: -130px; right: -90px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,.82); margin: 0 auto 1.8rem; }

/* footer */
.footer { background: var(--ink); color: rgba(255,255,255,.82); padding: 56px 0 40px; }
.footer .wordmark { font-family: var(--serif); font-weight: 600; color: #fff; font-size: 1.4rem; }
.footer a { color: rgba(255,255,255,.92); }
.footer a:hover { color: #fff; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; align-items: flex-start; }
.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer-fine { border-top: 1px solid rgba(255,255,255,.14); margin-top: 36px; padding-top: 24px; font-size: .85rem; color: rgba(255,255,255,.55); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

.tag-pill { display: inline-block; background: var(--pale); color: var(--green-800); font-weight: 600; font-size: .8rem; padding: .3rem .8rem; border-radius: 999px; margin: 0 .4rem .4rem 0; }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ---------- Footnotes / citations ---------- */
sup.fn { font-size: .68em; line-height: 0; }
sup.fn a { color: var(--green-700); font-weight: 700; text-decoration: none; }
sup.fn a:hover { text-decoration: underline; }
.footnotes {
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .85rem; color: var(--text-soft);
}
.footnotes ol { margin: .4rem 0 0; padding-left: 1.3rem; }
.footnotes li { margin-bottom: .45rem; }
.footnotes a { word-break: break-word; }
.fn-label { font-family: var(--sans); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); margin: 0 0 .2rem; }

/* ---------- Gripes → answers ---------- */
.gripe-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; background: #fff; }
.gripe-row .gripe { padding: 24px 28px; background: var(--mist); }
.gripe-row .answer { padding: 24px 28px; }
.gripe-row .stat-inline { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; color: var(--green-700); line-height: 1.15; display: block; margin-bottom: .35rem; }
.gripe-row .k { font-family: var(--sans); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); display: block; margin-bottom: .5rem; }
.gripe-row p { margin: 0; color: var(--text-soft); font-size: .98rem; }
@media (max-width: 760px) { .gripe-row { grid-template-columns: 1fr; } }

/* ---------- Integrations ---------- */
.integrations { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.int-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
  padding: .5rem 1.05rem; font-family: var(--sans); font-weight: 600; font-size: .92rem; color: var(--text);
}
.int-pill .dot-int { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); flex: 0 0 auto; }

/* ---------- Card icons ---------- */
.card-icon { display: block; margin-bottom: 14px; }

/* ---------- Case study ---------- */
.case-label {
  display: inline-block; background: var(--leaf); color: var(--ink);
  font-family: var(--sans); font-weight: 700; font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; border-radius: 999px; padding: .35rem .9rem; margin-bottom: 1rem;
}
.case-step { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.case-step:last-child { border-bottom: 0; }
.case-step .when { font-family: var(--sans); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); padding-top: .25rem; }
.case-step h3 { font-size: 1.2rem; margin-bottom: .35rem; }
.case-step p { margin: 0; color: var(--text-soft); }
@media (max-width: 560px) { .case-step { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .weeks  { grid-template-columns: repeat(2, 1fr); }
  .split  { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px 28px 18px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .7rem 0; width: 100%; }
  .nav-toggle { display: block; }
  .cta-band { padding: 36px 24px; }
  .hero { padding: 84px 0 72px; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .weeks  { grid-template-columns: 1fr; }
}

/* ============================================================
   Accessibility
   ============================================================ */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--green-700); color: #fff; padding: .7rem 1.1rem;
  border-radius: 0 0 8px 0; font-family: var(--sans); font-weight: 600;
}
.skip-link:focus { left: 0; text-decoration: none; }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #5F9E7F;
  outline-offset: 2px;
  border-radius: 4px;
}

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

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ============================================================
   Trust strip
   ============================================================ */
.trust-strip {
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.trust-strip .wrap {
  display: flex; align-items: center; justify-content: center;
  gap: 14px 30px; flex-wrap: wrap;
  font-family: var(--sans); font-size: .92rem; color: var(--text-soft);
}
.trust-strip strong { color: var(--green-700); font-weight: 700; }
.trust-strip .sep { color: var(--sage); }
.trust-strip i, .trust-strip .dotmark { color: var(--green-700); }

/* ============================================================
   Comparison ("why nothing has worked")
   ============================================================ */
.compare { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 42px; }
.compare .col {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px;
}
.compare .col h3 { font-size: 1.15rem; margin-bottom: .15rem; }
.compare .col .verdict {
  font-family: var(--sans); font-weight: 700; font-size: .8rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft);
  margin-bottom: .7rem; display: block;
}
.compare .col p { color: var(--text-soft); font-size: .98rem; margin: 0; }
.compare .col.us { background: var(--ink); border-color: var(--ink); }
.compare .col.us h3 { color: #fff; }
.compare .col.us .verdict { color: var(--leaf); }
.compare .col.us p { color: rgba(255,255,255,.82); }

/* ============================================================
   FAQ (native disclosure)
   ============================================================ */
.faq { max-width: 800px; margin-top: 36px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 36px 16px 0;
  font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--text);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-size: 1.6rem; color: var(--green-700); line-height: 1;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--text-soft); padding: 0 36px 16px 0; margin: 0; }

/* ============================================================
   Form states + honeypot
   ============================================================ */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req { color: var(--leaf-deep); }
.form-note { font-size: .85rem; color: var(--text-soft); margin: 0; }
.form-status {
  display: none; margin-top: 16px; padding: 14px 18px; border-radius: 10px;
  font-family: var(--sans);
}
.form-status.show { display: block; }
.form-status.ok { background: #ecf3e6; color: var(--green-800); border: 1px solid var(--sage); }

/* ============================================================
   Prose pages (privacy, security, articles)
   ============================================================ */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin-top: 2.4rem; }
.prose h3 { font-size: 1.25rem; margin-top: 1.6rem; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.1em; }
.prose li { margin-bottom: .5rem; }
.prose .meta { color: var(--text-soft); font-size: .92rem; margin-bottom: 2rem; }
.prose .callout {
  background: var(--mist); border-left: 4px solid var(--leaf);
  border-radius: 0 10px 10px 0; padding: 18px 22px; margin: 1.6rem 0;
}
.prose .callout p { margin: 0; color: var(--text-soft); }

/* article list */
.post-list { display: grid; gap: 20px; margin-top: 36px; }
.post-card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; transition: border-color .15s ease, transform .15s ease;
}
.post-card:hover { text-decoration: none; border-color: var(--green-700); transform: translateY(-2px); }
.post-card .kicker { font-family: var(--sans); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--green-700); }
.post-card h3 { margin: .5rem 0 .4rem; color: var(--text); }
.post-card p { color: var(--text-soft); margin: 0; }
.post-card .more { color: var(--green-700); font-weight: 600; font-size: .95rem; display: inline-block; margin-top: .8rem; }

@media (max-width: 920px) {
  .compare { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .compare { grid-template-columns: 1fr; }
}
.form-status.err { background: #f8ecea; color: #8a3a2e; border: 1px solid #d9a79b; }
