/* ===================================================================
   GSMvibe — Direction A "Paper Ledger"
   Light, warm, editorial premium-finance. One system, written once.
   =================================================================== */

/* ------------------------------------------------------------------
   1. DESIGN TOKENS
   Contrast (computed, WCAG):
     ink    #201D1A on paper #FAF8F3 = 15.80:1
     muted  #5C574E on paper #FAF8F3 =  6.76:1
     green  #1F7A44 on paper #FAF8F3 =  5.04:1
     white  #FFFFFF on green #1F7A44 =  5.35:1
     deep   #17603A on tint  #EAF2EB =  6.64:1
     mist   #BEB7AA on ink   #201D1A =  8.42:1
     sage   #7FC99B on ink   #201D1A =  8.57:1
   ------------------------------------------------------------------ */
:root {
  /* colour */
  --paper:        #FAF8F3;   /* page */
  --paper-raise:  #FFFFFF;   /* cards */
  --paper-tint:   #F2EFE7;   /* recessed panels, image mats */
  --green-tint:   #EAF2EB;   /* accent wash */
  --ink:          #201D1A;   /* headings, body */
  --muted:        #5C574E;   /* secondary text (6.76:1 on paper) */
  --green:        #1F7A44;   /* the one accent */
  --green-deep:   #17603A;   /* hover / small green text on tint */
  --paper-on-ink: #E8E4DC;   /* light text on dark bookend (13.2:1) */
  --mist-on-ink:  #BEB7AA;   /* muted text on dark bookend (8.42:1) */
  --sage-on-ink:  #7FC99B;   /* accent on dark bookend (8.57:1) */
  --line:         #E5E0D4;   /* hairlines */
  --line-strong:  #D8D2C3;   /* card borders */

  /* type — Fraunces display / Inter text, scale ratio 1.25 */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text:    "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs--1: 0.8125rem;                            /* 13 — captions, tags   */
  --fs-0:  0.9375rem;                            /* 15 — small body       */
  --fs-1:  1.0625rem;                            /* 17 — body             */
  --fs-2:  clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);      /* h3        */
  --fs-3:  clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem);    /* h2        */
  --fs-4:  clamp(2.375rem, 1.6rem + 3.2vw, 3.75rem);    /* h1 / cta  */

  /* space — 8pt scale */
  --s-1: 8px;  --s-2: 16px; --s-3: 24px; --s-4: 32px;
  --s-5: 40px; --s-6: 48px; --s-7: 64px; --s-8: 96px;

  /* shape */
  --r-s: 6px;
  --r-m: 10px;
  --shadow: 0 1px 2px rgba(32, 29, 26, 0.05), 0 10px 28px rgba(32, 29, 26, 0.07);

  /* misc */
  --container: 1140px;
  --speed: 180ms;
}

/* ------------------------------------------------------------------
   2. BASE
   ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--fs-1);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 var(--s-2);
  text-wrap: balance;
}
h1 { font-size: var(--fs-4); }
h2 { font-size: var(--fs-3); }
h3 { font-size: var(--fs-2); }

p  { margin: 0 0 var(--s-2); }
p:last-child { margin-bottom: 0; }

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

a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-deep); }

s { color: var(--muted); }

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

::selection { background: var(--green-tint); color: var(--ink); }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-3);
}

section[id], .section[id] { scroll-margin-top: 90px; }

.section { padding-block: var(--s-8); }
@media (max-width: 720px) { .section { padding-block: var(--s-7); } }

.skip-link {
  position: absolute;
  left: var(--s-2); top: -60px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink); color: var(--paper);
  border-radius: var(--r-s);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--s-2); color: var(--paper); }

/* ------------------------------------------------------------------
   3. REVEAL — the one entrance treatment (fail-open)
   ------------------------------------------------------------------ */
.reveal { opacity: 1; }
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}

/* ------------------------------------------------------------------
   4. BUTTONS
   ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-s);
  font-family: var(--font-text);
  font-size: var(--fs-0);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--speed) ease-out, border-color var(--speed) ease-out,
              color var(--speed) ease-out, box-shadow var(--speed) ease-out;
}
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: var(--fs-1); }

.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-deep); color: #fff; box-shadow: var(--shadow); }

.btn--secondary { background: var(--paper-raise); color: var(--green-deep); border-color: var(--green); }
.btn--secondary:hover { background: var(--green-tint); color: var(--green-deep); }

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

/* ------------------------------------------------------------------
   5. NAV — one background everywhere; readable in every state
   ------------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav__links { display: flex; align-items: center; gap: var(--s-1); }
.nav__links a {
  padding: 12px 14px;
  color: var(--ink);
  font-size: var(--fs-0);
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--r-s);
  transition: background-color var(--speed) ease-out;
}
.nav__links a:hover { background: var(--paper-tint); color: var(--ink); }
.nav__links-etsy { display: none; }

.nav__cta { display: flex; align-items: center; gap: var(--s-2); }
.nav__cta .btn { white-space: nowrap; }
.nav__etsy {
  padding: 12px 6px;
  color: var(--muted);
  font-size: var(--fs-0);
  font-weight: 500;
  text-decoration: none;
}
.nav__etsy:hover { color: var(--ink); text-decoration: underline; }

.nav__toggle {
  display: none;
  flex: none;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 6px;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-s);
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--ink);            /* ink on paper — always visible */
  border-radius: 2px;
  transition: transform var(--speed) ease-out;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav__cta .nav__etsy { display: none; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s-1) var(--s-3) var(--s-2);
    background: var(--paper);
    border-bottom: 1px solid var(--line-strong);
    box-shadow: var(--shadow);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 8px; border-radius: var(--r-s); }
  .nav__links-etsy { display: block; }
}
@media (max-width: 560px) {
  .nav__cta .btn { min-height: 44px; padding: 10px 16px; }
}

/* ------------------------------------------------------------------
   6. EYEBROWS — numbered like a table of contents
   ------------------------------------------------------------------ */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 var(--s-2);
  font-size: var(--fs--1);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow__n {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
}
.eyebrow__n::after {
  content: "";
  display: inline-block;
  width: 36px; height: 1px;
  margin: 0 0 4px 14px;
  background: var(--line-strong);
  vertical-align: middle;
}

.section-head { max-width: 62ch; margin-bottom: var(--s-6); }
.section-head h2 { margin-bottom: var(--s-2); }
.section-head__lede { color: var(--muted); }

/* ------------------------------------------------------------------
   7. HERO — editorial split
   ------------------------------------------------------------------ */
.hero { padding-block: var(--s-7) var(--s-8); }
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-7);
  align-items: center;
}
.hero .eyebrow { color: var(--green); }
.hero h1 { margin-bottom: var(--s-3); }
.hero h1 em {
  font-style: italic;
  color: var(--green);              /* 5.04:1 — display size needs 3:1 */
}
.lede {
  max-width: 56ch;
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.1875rem);
  color: var(--muted);
  margin-bottom: var(--s-4);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-3);
}
.hero__anchor {
  font-size: var(--fs-0);
  color: var(--muted);
  margin-bottom: var(--s-3);
}
.hero__anchor strong { color: var(--ink); font-weight: 600; }
.hero__anchor .hero__save { color: var(--green-deep); }
.hero__assure {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1) var(--s-3);
  margin: 0; padding: 0;
  list-style: none;
  font-size: var(--fs-0);
  color: var(--ink);
}
.hero__assure li { display: inline-flex; align-items: center; gap: 8px; }
.hero__assure svg {
  width: 16px; height: 16px;
  stroke: var(--green); stroke-width: 2.5;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}

/* the real screenshot, framed in refined browser chrome */
.hero__visual { position: relative; }
.frame {
  margin: 0;
  background: var(--paper-raise);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-m);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.frame__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: var(--paper-tint);
  border-bottom: 1px solid var(--line);
}
.frame__bar i {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
}
.frame__bar i:first-child { background: var(--green); }
.frame__cap {
  padding: 10px 16px 12px;
  font-family: var(--font-display);
  font-size: var(--fs--1);
  font-style: italic;
  color: var(--muted);
  text-align: center;
  border-top: 1px solid var(--line);
}
.hero__frame { transform: rotate(0.8deg); }

@media (max-width: 960px) {
  .hero { padding-block: var(--s-6) var(--s-7); }
  .hero__inner { grid-template-columns: 1fr; gap: var(--s-6); }
  .hero__visual { max-width: 520px; }
}

/* ------------------------------------------------------------------
   8. TRUST BAR
   ------------------------------------------------------------------ */
.trustbar { border-block: 1px solid var(--line); background: var(--paper-raise); }
.trustbar__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-2) var(--s-4);
  padding-block: var(--s-3);
}
.trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-0);
  font-weight: 500;
  color: var(--ink);
}
.trust svg {
  width: 20px; height: 20px;
  stroke: var(--green); stroke-width: 1.8;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}
@media (max-width: 720px) {
  .trustbar__inner { display: grid; grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------------------------
   9. BUNDLE CARD
   ------------------------------------------------------------------ */
.bundle__card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--paper-raise);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-m);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.bundle__media {
  background: var(--paper-tint);
  border-right: 1px solid var(--line);
  padding: var(--s-4);
  display: grid;
  place-items: center;
}
.bundle__media img { border-radius: var(--r-s); box-shadow: var(--shadow); }
.bundle__body { padding: var(--s-5) var(--s-5) var(--s-4); }

.tag {
  display: inline-block;
  margin: 0 0 var(--s-2);
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-deep);          /* 6.64:1 on tint */
  font-size: var(--fs--1);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tag--new { background: var(--green); color: #fff; }  /* 5.35:1 */

.bundle__lede { color: var(--muted); }

.checklist {
  margin: var(--s-3) 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-weight: 500;
}
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317603A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat;
}

.bundle__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
  margin: var(--s-3) 0 var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.price { display: inline-flex; align-items: baseline; gap: 10px; margin: 0; }
.price__now {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--ink);
}
.price s { font-size: var(--fs-1); }
.price em {
  font-style: normal;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-deep);
  font-size: var(--fs--1);
  font-weight: 600;
}
.price__note { font-size: var(--fs-0); color: var(--muted); }

.guarantee, .secure {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: var(--fs-0);
  color: var(--muted);
  margin-bottom: 6px;
}
.guarantee svg, .secure svg {
  width: 18px; height: 18px;
  margin-top: 3px;
  stroke: var(--green); stroke-width: 1.8;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}
.guarantee { color: var(--ink); font-weight: 500; }

@media (max-width: 880px) {
  .bundle__card { grid-template-columns: 1fr; }
  .bundle__media { border-right: 0; border-bottom: 1px solid var(--line); }
  .bundle__body { padding: var(--s-4) var(--s-3); }
}

/* ------------------------------------------------------------------
   10. ALSO FROM GSMVIBE — compact second product
   ------------------------------------------------------------------ */
.also { padding-top: 0; }
.also__card {
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
  gap: var(--s-5);
  background: var(--paper-raise);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-m);
  padding: var(--s-4);
}
.also__media img {
  border-radius: var(--r-s);
  border: 1px solid var(--line);
}
.also__body h2 { font-size: var(--fs-2); }
.also__lede { color: var(--muted); max-width: 62ch; }
.also__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-3);
  margin-top: var(--s-3);
}
.also__buy .price__now { font-size: 1.6rem; }
@media (max-width: 760px) {
  .also__card { grid-template-columns: 1fr; gap: var(--s-3); }
  .also__media { max-width: 260px; }
}

/* ------------------------------------------------------------------
   11. TEMPLATES GRID
   ------------------------------------------------------------------ */
.templates { background: var(--paper-tint); border-block: 1px solid var(--line); }
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--paper-raise);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-m);
  overflow: hidden;
  transition: box-shadow var(--speed) ease-out, transform var(--speed) ease-out;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card__shot {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper-tint);
}
.card__shot img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
}
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--s-3);
}
.card__title { font-size: 1.25rem; margin-bottom: 8px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--green-deep); text-decoration: underline; }
.card__text { font-size: var(--fs-0); color: var(--muted); flex: 1; }
.card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2);
  margin-top: var(--s-2);
  padding-top: var(--s-2);
  border-top: 1px solid var(--line);
}
.card__price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}
.card__price--bundle {
  font-family: var(--font-text);
  font-size: var(--fs--1);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--green-tint);
  color: var(--green-deep);
}
.card__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 4px;
  font-size: var(--fs-0);
  font-weight: 600;
  color: var(--green-deep);
  text-decoration: none;
}
.card__link:hover { text-decoration: underline; }

.grid__note {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-2) var(--s-3);
  margin-top: var(--s-1);
  padding: var(--s-3) var(--s-4);
  background: var(--paper-raise);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-m);
}
.grid__note p { margin: 0; font-weight: 500; }

@media (max-width: 960px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------
   12. WHY — quiet 2×2 ledger grid
   ------------------------------------------------------------------ */
.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-5) var(--s-7);
}
.benefit { border-top: 1px solid var(--line-strong); padding-top: var(--s-3); }
.benefit__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: var(--s-2);
  border-radius: var(--r-s);
  background: var(--green-tint);
}
.benefit__icon svg {
  width: 22px; height: 22px;
  stroke: var(--green-deep); stroke-width: 1.8;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}
.benefit h3 { margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: var(--fs-0); max-width: 48ch; }
@media (max-width: 720px) { .why__grid { grid-template-columns: 1fr; gap: var(--s-4); } }

/* ------------------------------------------------------------------
   13. HOW IT WORKS
   ------------------------------------------------------------------ */
.how { padding-top: 0; }
.how__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin: 0; padding: 0;
  list-style: none;
  counter-reset: step;
}
.how__step { border-top: 1px solid var(--line-strong); padding-top: var(--s-3); }
.how__n {
  display: block;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1;
  color: var(--green);
  margin-bottom: var(--s-2);
}
.how__step h3 { margin-bottom: 8px; }
.how__step p { color: var(--muted); font-size: var(--fs-0); }
@media (max-width: 720px) { .how__grid { grid-template-columns: 1fr; gap: var(--s-4); } }

/* ------------------------------------------------------------------
   14. PROOF / FOUNDER NOTE
   ------------------------------------------------------------------ */
.proof { background: var(--paper-tint); border-block: 1px solid var(--line); }
.proof__inner {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr;
  gap: var(--s-7);
  align-items: start;
}
.proof__stats { display: grid; gap: 0; }
.stat {
  padding-block: var(--s-3);
  border-bottom: 1px solid var(--line-strong);
}
.stat:first-child { padding-top: 0; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
}
.stat span { font-size: var(--fs-0); color: var(--muted); }
.proof__note {
  background: var(--paper-raise);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-m);
  padding: var(--s-4) var(--s-5);
  box-shadow: var(--shadow);
}
.proof__note p { color: var(--ink); }
.proof__sign {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted);
}
@media (max-width: 880px) {
  .proof__inner { grid-template-columns: 1fr; gap: var(--s-5); }
  .proof__stats { grid-template-columns: repeat(3, 1fr); }
  .stat { border-bottom: 0; border-top: 1px solid var(--line-strong); padding-top: var(--s-2); }
  .proof__note { padding: var(--s-4) var(--s-3); }
}

/* ------------------------------------------------------------------
   15. COMPARISON TABLE
   ------------------------------------------------------------------ */
.compare__wrap {
  overflow-x: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-m);
  background: var(--paper-raise);
}
.compare__wrap:focus-visible { outline-offset: 0; }
.compare__table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: var(--fs-0);
}
.compare__table th, .compare__table td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare__table tbody tr:last-child th,
.compare__table tbody tr:last-child td { border-bottom: 0; }
.compare__table thead th {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  padding-block: var(--s-2);
  border-bottom: 1px solid var(--line-strong);
}
.compare__table tbody th { font-weight: 600; color: var(--ink); }
.compare__table td { color: var(--muted); }
.compare__table .is-best {
  background: var(--green-tint);
  color: var(--ink);
  border-inline: 1px solid var(--line);
  font-weight: 500;
}
.compare__tag {
  display: block;
  width: max-content;
  margin-top: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;                       /* 5.35:1 */
  font-family: var(--font-text);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.compare__cta { text-align: center; margin-top: var(--s-5); }

/* ------------------------------------------------------------------
   16. FAQ
   ------------------------------------------------------------------ */
.faq .section-head { margin-bottom: var(--s-4); }
.faq__list { max-width: 760px; border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: 44px;
  padding: 18px 4px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--green-deep); }
.faq__item summary svg {
  width: 18px; height: 18px;
  stroke: var(--green); stroke-width: 2.2;
  fill: none; stroke-linecap: round;
  flex: none;
  transition: transform var(--speed) ease-out;
}
.faq__item[open] summary svg { transform: rotate(45deg); }
.faq__item p {
  padding: 0 4px 18px;
  max-width: 66ch;
  color: var(--muted);
}

/* ------------------------------------------------------------------
   17. NEWSLETTER
   ------------------------------------------------------------------ */
.news { padding-top: 0; }
.news__card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--s-5);
  align-items: center;
  background: var(--paper-raise);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-m);
  padding: var(--s-5);
}
.news__copy h2 { font-size: var(--fs-2); margin-bottom: 8px; }
.news__copy p { color: var(--muted); font-size: var(--fs-0); margin: 0; }
@media (max-width: 800px) {
  .news__card { grid-template-columns: 1fr; gap: var(--s-3); padding: var(--s-4) var(--s-3); }
}

/* ------------------------------------------------------------------
   18. DARK BOOKEND — final CTA + footer (the page's one tonal shift)
   ------------------------------------------------------------------ */
.finalcta {
  background: var(--ink);
  color: var(--paper-on-ink);
  padding-block: var(--s-8);
}
.finalcta__inner { text-align: center; max-width: 720px; }
.finalcta h2 {
  font-size: var(--fs-4);
  color: var(--paper-on-ink);
  margin-bottom: var(--s-2);
}
.finalcta h2 em { font-style: italic; color: var(--sage-on-ink); }
.finalcta p { color: var(--mist-on-ink); }
.finalcta .btn { margin-block: var(--s-2); }
.finalcta__sub { font-size: var(--fs-0); color: var(--mist-on-ink); margin-top: var(--s-2); }
.finalcta__sub a { color: var(--sage-on-ink); }   /* 8.57:1 on ink */
.finalcta__sub a:hover { color: var(--paper-on-ink); }
.finalcta :focus-visible { outline-color: var(--paper-on-ink); }

.footer {
  background: var(--ink);
  color: var(--mist-on-ink);
  border-top: 1px solid rgba(232, 228, 220, 0.14);
  padding-top: var(--s-7);
}
.footer :focus-visible { outline-color: var(--paper-on-ink); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s-6);
  padding-bottom: var(--s-6);
}
.brand--footer { color: var(--paper-on-ink); }
.footer__brand p { max-width: 44ch; font-size: var(--fs-0); margin-top: var(--s-2); }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.footer__col h3 {
  font-family: var(--font-text);
  font-size: var(--fs--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mist-on-ink);
  margin-bottom: var(--s-1);
}
.footer__col a {
  display: block;
  padding: 10px 0;
  color: var(--paper-on-ink);
  font-size: var(--fs-0);
  text-decoration: none;
}
.footer__col a:hover { color: #fff; text-decoration: underline; }
.footer__bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-1) var(--s-3);
  padding-block: var(--s-3);
  border-top: 1px solid rgba(232, 228, 220, 0.14);
  font-size: var(--fs--1);
}
.footer__bar a { color: var(--paper-on-ink); }
.footer__bar a:hover { color: #fff; }
@media (max-width: 720px) {
  .footer__inner { grid-template-columns: 1fr; gap: var(--s-4); }
}

/* ------------------------------------------------------------------
   19. PRODUCT PAGES — breadcrumb, split hero, tab cards, benefits
   (same tokens, same voice — nothing new invented)
   ------------------------------------------------------------------ */
.crumbs {
  padding-top: var(--s-4);
  font-size: var(--fs--1);
  color: var(--muted);
}
.crumbs a {
  display: inline-block;
  padding: 14px 4px;
  margin: -14px -4px;          /* 44px tap target, zero layout shift */
  color: var(--muted);
  text-decoration: none;
}
.crumbs a:hover { color: var(--green-deep); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 500; }
.crumbs .crumbs__sep { margin-inline: 6px; color: var(--line-strong); }

.phero { padding-block: var(--s-5) var(--s-8); }
.phero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-7);
  align-items: center;
}
.phero__copy h1 { margin-bottom: var(--s-3); }
.phero__copy h1 em { font-style: italic; color: var(--green); }
.phero__price { margin-bottom: var(--s-2); }
.phero__note {
  font-size: var(--fs-0);
  color: var(--muted);
  max-width: 50ch;
  margin-bottom: var(--s-4);
}
.phero__note strong { color: var(--ink); }
.phero__cover img {
  border-radius: var(--r-m);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

/* very wide dashboards (cash flow, budget, P&L) get a full-width plate */
.phero__inner--stack { grid-template-columns: 1fr; gap: var(--s-6); }
.phero__inner--stack .phero__copy { max-width: 62ch; }

@media (max-width: 960px) {
  .phero { padding-block: var(--s-4) var(--s-7); }
  .phero__inner { grid-template-columns: 1fr; gap: var(--s-6); }
  .phero__visual { max-width: 560px; }
  .phero__inner--stack .phero__visual { max-width: none; }
}

/* what's-inside tab cards */
.tabs { background: var(--paper-tint); border-block: 1px solid var(--line); }
.tabs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.tabcard {
  background: var(--paper-raise);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-m);
  padding: var(--s-3) var(--s-3) var(--s-4);
}
.tabcard__n {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1;
  color: var(--green);
  margin-bottom: 12px;
}
.tabcard h3 { font-size: 1.2rem; margin-bottom: 6px; }
.tabcard h3 a { color: inherit; text-decoration: none; }
.tabcard h3 a:hover { color: var(--green-deep); text-decoration: underline; }
.tabcard p { font-size: var(--fs-0); color: var(--muted); margin: 0; }
.tabcard--accent { background: var(--green-tint); border-color: var(--green); }
@media (max-width: 880px) { .tabs__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tabs__grid { grid-template-columns: 1fr; } }

/* benefits list */
.plist {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--s-2);
  max-width: 720px;
}
.plist li { position: relative; padding-left: 34px; color: var(--muted); }
.plist li strong { color: var(--ink); }
.plist li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317603A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* who it's for */
.who {
  max-width: 720px;
  margin-top: var(--s-5);
  padding: var(--s-3) var(--s-4);
  background: var(--paper-raise);
  border: 1px solid var(--line-strong);
  border-left: 3px solid var(--green);
  border-radius: var(--r-s);
  color: var(--muted);
}
.who strong { color: var(--ink); }

/* related templates reuse .grid/.card; centre the single-note case */
.related .grid__note { margin-top: var(--s-3); }
