/* ==========================================================================
   WPCrafter design system: the ONE place tokens and spacing live.
   Every page links this file last. Pages may not invent their own section
   spacing; they pick a role (.sec, .band) and the system spaces it.
   Reference: design-proofs/system/DESIGN-SYSTEM.md
   ========================================================================== */

:root{
  /* Color */
  --paper:#FAFAF5; --white:#FFFFFF; --ink:#0E0F0C; --body:#2A2924; --muted:#6F6E66; --line:#DEDDD3;
  --lime:#C2F542; --lime-text:#4D6B00; --lime-deep:#7FA800;
  --sky:#8EC5F5; --coral:#F59A78; --sun:#F7D35C;        /* illustrations and category marks only */

  /* Spacing scale (8px base). Use these steps, never one-off numbers. */
  --s-1:4px; --s-2:8px; --s-3:12px; --s-4:16px; --s-5:24px; --s-6:32px; --s-7:48px; --s-8:64px; --s-9:96px; --s-10:128px;

  /* Section rhythm */
  --section-y:112px;          /* full section padding (bands, and paper sections that touch a band) */
  --section-half:56px;        /* paper sections between paper sections: two halves make one full gap */
  --head-gap:var(--s-7);      /* section title row -> section content */
  --gutter:40px;              /* page side padding */

  /* Shape */
  --r-sm:4px; --r-md:6px; --r-pill:99px;
  --stroke:2px; --stroke-thin:1.5px;
  --shadow-hard:6px 6px 0 var(--ink); --shadow-hard-lg:8px 8px 0 var(--ink);

  /* Motion */
  --t-fast:.2s; --t-med:.35s; --ease:cubic-bezier(.2,.8,.3,1);
}
@media (max-width:1060px){:root{--section-y:88px;--section-half:44px;--head-gap:var(--s-6)}}
@media (max-width:600px){:root{--section-y:64px;--section-half:32px;--head-gap:var(--s-5);--gutter:20px}}

/* ---------- Section roles ---------- */
/* .sec  = content on the paper background.
   .band = a full-width colored stripe (lime, ink, white with rules). Always full padding.
   Header/hero areas and the stats strip size themselves and are not touched here. */
section.sec.sec{padding-top:var(--section-half);padding-bottom:var(--section-half)}
section.band.band{padding-top:var(--section-y);padding-bottom:var(--section-y)}
/* A paper section touching a band, a header or the stats strip gets the full gap on that side. */
section.sec.sec:first-of-type,
header + section.sec.sec,
.strip + section.sec.sec,
.band + section.sec.sec{padding-top:var(--section-y)}
section.sec.sec:has(+ .band),
section.sec.sec:has(+ footer){padding-bottom:var(--section-y)}
/* .lead = a paper section that belongs to the header right above it (the comparison's two buy buttons).
   It sits close under the header instead of a full gap away. */
header + section.lead.lead{padding-top:var(--s-6);padding-bottom:var(--section-half)}

/* Section title row -> content: always the same gap */
.shead{margin-bottom:var(--head-gap) !important}
.wrap{padding-left:var(--gutter);padding-right:var(--gutter)}
