:root {
  color-scheme: light;
  --paper: #f4f1e9;
  --paper-deep: #e9e4d8;
  --ink: #17221e;
  --muted: #66736b;
  --line: #d8d3c7;
  --lime: #d6f36b;
  --lime-deep: #b8d84f;
  --orange: #f27a47;
  --white: #fffdf8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
body::selection { color: var(--ink); background: var(--lime); }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1240px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .76rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 800; }
.brand em { color: var(--orange); font-style: normal; padding: 0 .25rem; }
.brand-mark { display: grid; place-items: center; width: 1.85rem; height: 1.85rem; border-radius: 50%; color: var(--ink); background: var(--lime); font-size: 1rem; letter-spacing: -.08em; }
.header-note { color: var(--muted); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(2rem, 8vw, 9rem);
  align-items: end;
  width: min(1240px, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 11vw, 9.5rem) 0 clamp(4rem, 8vw, 7rem);
}
.hero-copy { max-width: 850px; }
.eyebrow, .section-kicker, .rail-label { margin: 0 0 1.25rem; color: #76836d; font-size: .72rem; font-weight: 850; letter-spacing: .16em; line-height: 1.4; text-transform: uppercase; }
.eyebrow span { display: inline-block; margin-left: .4rem; color: var(--orange); font-size: 1rem; }
h1 { max-width: 900px; margin: 0; font-size: clamp(3.25rem, 7.5vw, 7.6rem); font-weight: 780; letter-spacing: -.085em; line-height: .91; }
.hero-intro { max-width: 620px; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .7rem 1.7rem; margin-top: 2.5rem; color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-meta strong { margin-right: .35rem; color: var(--orange); font-weight: 850; }
.hero-card { position: relative; min-height: 275px; padding: 1.5rem; border-radius: 1.7rem; color: var(--ink); background: var(--lime); box-shadow: 14px 16px 0 #d8d0c0; transform: rotate(2deg); }
.card-topline { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1.25rem; border-bottom: 1px solid rgb(23 34 30 / 25%); font-size: .68rem; font-weight: 850; letter-spacing: .13em; }
.pulse { width: .55rem; height: .55rem; border-radius: 50%; background: var(--orange); }
.hero-card > p:not(.card-small) { max-width: 250px; margin: 3.6rem 0 0; font-size: 1.35rem; font-weight: 720; letter-spacing: -.035em; line-height: 1.13; }
.card-rule { width: 58%; height: 1px; margin: 2.1rem 0 0; background: rgb(23 34 30 / 25%); }
.hero-card .card-small { margin: .8rem 0 0; color: #586647; font-size: .75rem; line-height: 1.4; }

.content-layout { display: grid; grid-template-columns: 235px minmax(0, 780px); gap: clamp(2rem, 8vw, 8rem); width: min(1240px, calc(100% - 3rem)); margin: 0 auto; padding-bottom: 7rem; }
.side-rail { align-self: start; position: sticky; top: 2rem; }
.rail-label { margin-bottom: 1rem; color: var(--ink); }
.section-nav { display: grid; gap: .15rem; }
.section-nav a { display: grid; grid-template-columns: 2.25rem 1fr; padding: .62rem .7rem; border-radius: .6rem; color: var(--muted); font-size: .78rem; text-decoration: none; transition: color 160ms ease, background 160ms ease; }
.section-nav a span { color: var(--ink); }
.section-nav a:hover, .section-nav a.active { color: var(--orange); background: var(--white); }
.section-nav a.active span { color: var(--ink); }
.rail-stamp { margin-top: 5rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .74rem; line-height: 1.5; }

.article { min-width: 0; }
.article-lede { padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.article p, .article li { font-size: 1.03rem; line-height: 1.78; }
.article p { margin: 0 0 1.35rem; }
.article-lede p:first-child { color: var(--ink); font-size: clamp(1.28rem, 2.4vw, 1.65rem); font-weight: 520; letter-spacing: -.02em; line-height: 1.45; }
.article-lede p:last-child { margin-bottom: 0; }
.product-link { color: var(--ink); font-weight: 800; text-decoration-color: var(--orange); text-decoration-thickness: .16em; text-underline-offset: .18em; }
.product-link:hover { color: var(--orange); }
.article-section { display: grid; grid-template-columns: 3.1rem minmax(0, 1fr); gap: 1.4rem; padding: 4.3rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 2rem; }
.section-number { padding-top: .55rem; color: var(--orange); font-size: .75rem; font-weight: 850; letter-spacing: .08em; }
h2 { margin: 0 0 1.5rem; font-size: clamp(1.85rem, 3.3vw, 3rem); font-weight: 760; letter-spacing: -.065em; line-height: 1.02; }
.section-body > p:last-child { margin-bottom: 0; }
ul, ol { padding-left: 1.35rem; margin: .7rem 0 1.55rem; }
li { padding-left: .35rem; margin: .25rem 0; }
li::marker { color: var(--orange); font-weight: 800; }
.sequence-list { display: grid; gap: .1rem; padding-left: 2.25rem; }
.sequence-list li { padding: .45rem .7rem; border-radius: .55rem; background: rgb(255 253 248 / 65%); }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem .8rem; padding-left: 0; list-style: none; }
.checklist li { position: relative; padding: .7rem .75rem .7rem 2.2rem; border: 1px solid var(--line); border-radius: .55rem; background: rgb(255 253 248 / 55%); font-size: .9rem; line-height: 1.35; }
.checklist li::before { position: absolute; left: .75rem; top: .75rem; content: ""; width: .85rem; height: .85rem; border: 1.5px solid var(--orange); border-radius: .2rem; }

.faq-section { padding: 5rem 0 0; scroll-margin-top: 2rem; }
.faq-section h2 { margin-bottom: 2.3rem; }
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.faq-item { min-height: 220px; padding: 1.7rem; background: var(--paper); }
.faq-item h3 { margin: 0 0 1rem; font-size: 1.1rem; letter-spacing: -.025em; line-height: 1.25; }
.faq-item p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.65; }

.site-footer { display: flex; justify-content: space-between; width: min(1240px, calc(100% - 3rem)); margin: 0 auto; padding: 1.35rem 0 2.5rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 3.5rem; }
  .hero-card { width: min(100%, 420px); justify-self: end; }
  .content-layout { grid-template-columns: 1fr; gap: 2rem; }
  .side-rail { position: static; }
  .section-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .3rem; }
  .section-nav a { grid-template-columns: 1fr; gap: .2rem; padding: .7rem .55rem; font-size: .7rem; }
  .rail-stamp { display: none; }
}
@media (max-width: 600px) {
  .site-header, .hero, .content-layout, .site-footer { width: min(100% - 2rem, 1240px); }
  .site-header { align-items: flex-start; gap: 1rem; }
  .header-note { display: none; }
  .hero { padding-top: 4rem; }
  h1 { font-size: clamp(3.05rem, 15vw, 5.2rem); }
  .hero-card { min-height: 245px; transform: none; box-shadow: 8px 9px 0 #d8d0c0; }
  .section-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-section { grid-template-columns: 2rem minmax(0, 1fr); gap: .85rem; padding: 3.2rem 0; }
  .article p, .article li { font-size: .98rem; line-height: 1.7; }
  .article-lede p:first-child { font-size: 1.25rem; }
  .checklist, .faq-grid { grid-template-columns: 1fr; }
  .faq-item { min-height: 0; }
  .site-footer { display: grid; gap: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
