/* BlueFern Path: mobile-first styles. The article is one vertical trail with numbered waypoints. */

:root {
  --fern: #1F4D3A;
  --fern-2: #2C6A50;
  --fern-deep: #153829;
  --mist: #DDEFE8;
  --mist-2: #EEF7F3;
  --sky: #2E7FB8;
  --sky-ink: #1D6597;
  --paper: #FBFAF5;
  --card: #FFFFFF;
  --ink: #17251F;
  --muted: #45584F;
  --line: #C9DED5;
  --go: #7EE0A1;
  --go-hover: #62D18A;
  --go-ink: #0F2A1F;
  --sand: #F4ECD9;
  --sand-ink: #6B5626;
  --gutter: 16px;
  --trail-pad: 40px;
  --dock-h: 76px;
  --radius: 18px;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: #E8F4EF;
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  overflow-wrap: break-word;
}

.page { max-width: 480px; margin: 0 auto; background: var(--paper); min-height: 100vh; box-shadow: 0 0 40px rgba(0, 0, 0, .08); overflow-x: clip; }

body.has-dock { padding-bottom: calc(var(--dock-h) + env(safe-area-inset-bottom, 0px)); }

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

a { color: var(--sky-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--fern); }

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

h1, h2, h3, h4 { font-family: var(--serif); color: var(--fern); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1em; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.15em; }

.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--fern); color: var(--paper); padding: 12px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 8px; color: var(--paper); }

.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid transparent;
  font: 800 1.02rem/1.2 var(--sans); text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, color .2s ease, border-color .2s ease;
}
.btn-go { background: var(--go); color: var(--go-ink); box-shadow: 0 6px 18px -8px rgba(31, 77, 58, .55); }
.btn-go:hover { background: var(--go-hover); color: var(--go-ink); }
.btn-go:active { transform: translateY(1px); }
.btn-line { background: transparent; color: var(--fern); border-color: var(--fern); }
.btn-line:hover { background: var(--mist); color: var(--fern); }
.btn-block { display: flex; width: 100%; }
.btn-sm { min-height: 48px; padding: 8px 16px; font-size: .95rem; }

/* ---------- Header ---------- */
.adv {
  margin: 0; padding: 6px var(--gutter);
  background: var(--fern); color: var(--mist);
  font: 700 .8rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: .5em;
}
.adv .ic { color: var(--go); }

.top { background: var(--paper); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1180px; margin: 0 auto; padding: 10px var(--gutter); }

.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; color: var(--fern); }
.brand img { width: 36px; height: 36px; }
.wordmark { font: 700 1.22rem/1 var(--serif); color: var(--fern); letter-spacing: -.01em; white-space: nowrap; }
.wordmark em { font-weight: 400; font-style: italic; color: var(--sky-ink); }

.top-cta { display: none; }

@media (min-width: 420px) {
  .top-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--paper) 0%, var(--mist-2) 100%); }
.hero-in { max-width: 1180px; margin: 0 auto; padding: 22px var(--gutter) 8px; }

.kicker { display: inline-block; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: var(--mist); color: var(--fern); font-weight: 700; font-size: .88rem; }
.hero h1 { font-size: clamp(2rem, 8.4vw, 2.52rem); font-weight: 600; line-height: 1.06; margin-bottom: 14px; font-variation-settings: "opsz" 144; }
.byline { color: var(--muted); font-size: .95rem; margin-bottom: 16px; }
.lead { font-size: 1.1rem; color: var(--ink); }
.hero-act { display: grid; gap: 10px; margin: 20px 0 14px; }
.price-note { font-size: .92rem; line-height: 1.5; color: var(--muted); margin: 0 0 6px; }
.verdict { position: relative; margin: 18px 0 4px; padding: 16px 16px 4px 18px; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--sky); border-radius: 0 var(--radius) var(--radius) 0; }
.verdict-h { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 800 .8rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sky-ink); }
.verdict p:last-child { font-size: 1.02rem; }
.hero-art { margin: 18px auto 0; max-width: 420px; }
.hero-art img { width: 100%; }

/* ---------- Trail ---------- */
.trail-wrap { max-width: 1180px; margin: 0 auto; padding: 8px var(--gutter) 0; }

.trail { position: relative; padding-left: var(--trail-pad); max-width: 800px; }
.trail::before {
  content: ""; position: absolute; left: 15px; top: 30px; bottom: 60px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--fern-2) 0 7px, transparent 7px 14px);
  opacity: .7;
}

.wp { position: relative; padding: 34px 0 10px; scroll-margin-top: 12px; }
.wp-n {
  position: absolute; left: calc(-1 * var(--trail-pad)); top: 34px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); border: 2px solid var(--fern); color: var(--fern);
  font: 700 .95rem/1 var(--serif);
}
.wp-tag { margin: 0 0 4px; font: 800 .8rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sky-ink); min-height: 32px; display: flex; align-items: center; }
.wp h2 { font-size: clamp(1.6rem, 6.4vw, 1.92rem); }

.src, .aside-note, .fine, .cta-note { font-size: .92rem; color: var(--muted); }
.aside-note { border-left: 3px solid var(--line); padding-left: 12px; }

/* Facts: horizontal scroll-snap row */
.swipe-hint { display: flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 700; color: var(--muted); margin: 0 0 8px; }
.facts {
  list-style: none; margin: 0 0 12px; padding: 4px 2px 14px;
  display: flex; gap: 12px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-left: 2px;
  -webkit-overflow-scrolling: touch;
}
.fact {
  flex: 0 0 min(78%, 240px); scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px; box-shadow: 0 8px 20px -18px rgba(23, 37, 31, .5);
}
.fact:nth-child(odd) { border-top: 4px solid var(--go); }
.fact:nth-child(even) { border-top: 4px solid var(--sky); }
.f-k { font: 800 .76rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.f-v { font: 600 1.45rem/1.2 var(--serif); color: var(--fern); }
.f-n { font-size: .95rem; line-height: 1.45; color: var(--ink); }

/* What it does */
.does { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 10px; }
.does li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.d-ic { width: 44px; height: 44px; border-radius: 14px; background: var(--mist); color: var(--fern); display: grid; place-items: center; }
.d-ic svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.does h3 { font-size: 1.1rem; margin: 2px 0 2px; }
.does p { margin: 0; font-size: 1rem; }

/* Segmented control (tabs) */
.seg { display: none; }
.js .seg {
  display: flex; gap: 4px; padding: 4px; margin: 0 0 16px;
  background: var(--mist); border-radius: 999px;
  position: sticky; top: 8px; z-index: 5; box-shadow: 0 6px 16px -12px rgba(23, 37, 31, .45);
}
.seg button {
  flex: 1; min-height: 48px; border: 0; border-radius: 999px;
  background: transparent; color: var(--fern);
  font: 800 1rem/1.2 var(--sans); cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.seg button[aria-selected="true"] { background: var(--fern); color: var(--paper); }
.seg button:hover:not([aria-selected="true"]) { background: rgba(255, 255, 255, .6); }

.panel { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 20px 16px 8px; margin-bottom: 18px; }
.panel[hidden] { display: none; }
.panel-h { font-size: 1.4rem; }

.art { margin: 18px 0; }
.art img { width: 100%; border-radius: 20px; }
.art figcaption { font-size: .92rem; color: var(--muted); margin-top: 8px; }

.steps { list-style: none; counter-reset: st; margin: 16px 0; padding: 0; }
.steps li { counter-increment: st; position: relative; padding: 0 0 16px 46px; }
.steps li::before {
  content: counter(st); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--go); color: var(--go-ink); font: 700 .95rem/1 var(--serif);
}
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px; background: var(--line); }
.steps h4 { margin: 4px 0 4px; }
.steps p { margin: 0; font-size: 1rem; }

.tip { display: flex; gap: 10px; align-items: flex-start; background: var(--mist-2); border-radius: 14px; padding: 12px 14px; font-size: 1rem; }
.tip .ic { color: var(--fern-2); margin-top: 4px; }

.btn-mid { margin-top: 8px; }
.cta-note { margin-top: 10px; }

/* Cost */
.pack { background: var(--mist); border-radius: 22px; padding: 18px 16px; margin: 18px 0; }
.pack-h { font: 600 1.25rem/1.2 var(--serif); color: var(--fern); margin-bottom: 10px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks .ic { color: var(--fern); margin-top: 5px; stroke-width: 2.6; }

/* Limits */
.limits { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.limits li { padding: 12px 14px 12px 16px; border-left: 4px solid var(--sand-ink); background: var(--sand); border-radius: 0 14px 14px 0; }
.limits strong { color: var(--fern-deep); }

/* Cost math */
.math { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 16px 0 18px; }
.m-card { background: var(--mist); border-radius: var(--radius); padding: 16px 18px; border-top: 4px solid var(--go); }
.m-card-b { background: #E4EEF6; border-top-color: var(--sky); }
.m-k { margin: 0 0 4px; font: 800 .8rem/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.m-v { margin: 0; font: 600 2.4rem/1.1 var(--serif); color: var(--fern); }
.m-v span { font-size: 1.05rem; color: var(--muted); margin-left: 3px; }

/* Fit */
.fit { display: grid; gap: 12px; margin: 16px 0; }
.fit-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.fit-col h3 { font-size: 1.15rem; }
.fit-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fit-col li { display: flex; gap: 10px; align-items: flex-start; font-size: 1rem; }
.fit-col .ic { margin-top: 5px; color: var(--fern-2); stroke-width: 2.6; }
.fit-col-b { background: var(--sand); border-color: #E6D9B8; }
.fit-col-b h3 { color: var(--sand-ink); }
.fit-col-b .ic { color: var(--sand-ink); }

/* Voices */
.voices { display: grid; gap: 12px; margin: 0 0 14px; }
.voice { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.voice blockquote { margin: 0 0 10px; padding-left: 14px; border-left: 3px solid var(--go); font: 400 1.08rem/1.5 var(--serif); color: var(--ink); }
.voice-crit blockquote { border-left-color: var(--sand-ink); }
.voice blockquote p { margin: 0; }
.voice figcaption { font-size: .92rem; color: var(--muted); }
.voice figcaption strong { color: var(--fern); }

/* FAQ accordion */
.faq { border-top: 1px solid var(--line); margin-top: 12px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 12px 0;
  font: 700 1.05rem/1.4 var(--sans); color: var(--fern);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--mist); transition: transform .2s ease; }
.faq details[open] summary .ic { transform: rotate(45deg); background: var(--go); }
.faq details p { margin: 0 0 16px; }

/* Trailhead / final CTA */
.wp-end { padding-bottom: 28px; }
.wp-n-end { background: var(--go); border-color: var(--fern); color: var(--fern); }
.trailhead { background: var(--fern); color: var(--mist); border-radius: 24px; padding: 22px 18px; }
.trailhead h2 { color: var(--paper); font-size: clamp(1.45rem, 5.6vw, 1.68rem); }
.trailhead p { color: var(--mist); }
.th-badge { display: inline-flex; background: var(--card); border-radius: 14px; padding: 12px 16px; margin-bottom: 18px; min-height: 48px; align-items: center; }
.th-badge img { width: 190px; }
.trailhead .btn-go { margin: 6px 0 10px; }
.trailhead .price-note { color: var(--mist); margin-bottom: 18px; }
.footnote { font-size: .92rem; font-weight: 700; margin: 0 0 10px; }
.disclaimer { font-size: .9rem; line-height: 1.55; opacity: .95; margin: 0 0 10px; }
.trailhead .src { color: var(--mist); opacity: .85; margin: 0; }
.trailhead a:not(.btn):not(.th-badge) { color: var(--go); }

/* ---------- Footer ---------- */
.foot { background: var(--fern-deep); color: var(--mist); margin-top: 24px; }
.foot-in { max-width: 1180px; margin: 0 auto; padding: 32px var(--gutter) 24px; display: grid; gap: 18px; }
.brand-foot .wordmark { color: var(--paper); }
.brand-foot .wordmark em { color: #9CCBEA; }
.foot-brand p { margin: 6px 0 0; font-size: .98rem; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 48px; color: var(--paper); font-weight: 600; text-decoration: none; }
.foot-nav a:hover { color: var(--go); text-decoration: underline; }
.foot address { font-style: normal; font-size: .98rem; line-height: 1.7; }
.foot address a { color: var(--go); display: inline-block; padding: 6px 0; }
.tm, .copy { font-size: .9rem; margin: 0; opacity: .9; }

/* ---------- Sticky dock (mobile) ---------- */
.dock {
  position: fixed; left: 50%; bottom: 0; z-index: 40; width: 100%; max-width: 480px; box-sizing: border-box;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(251, 250, 245, .97); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 24px -18px rgba(23, 37, 31, .6);
  transition: transform .25s ease;
}
.dock { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dock-txt { margin: 0; display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.dock-txt strong { font: 700 1.05rem/1.2 var(--serif); color: var(--fern); }
.dock-txt span { font-size: .9rem; color: var(--muted); }
.dock .btn { min-height: 52px; flex: none; padding: 10px 20px; }
.dock { transform: translateX(-50%); }
.js .dock { transform: translateX(-50%) translateY(110%); }
.js .dock.is-on { transform: translateX(-50%); }

/* ---------- Cookie bar ---------- */
.cookie {
  position: fixed; z-index: 50; left: 50%; bottom: 10px; transform: translateX(-50%); width: calc(100% - 20px); max-width: 460px; box-sizing: border-box;
  background: var(--ink); color: var(--paper);
  border-radius: 18px; padding: 14px 16px;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55);
  font-size: .98rem;
}
.has-dock .cookie { bottom: calc(var(--dock-h) + 8px + env(safe-area-inset-bottom, 0px)); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 10px; }
.cookie a { color: var(--go); }
.cookie-btns { display: flex; gap: 10px; }
.cookie-btns button { flex: 1; min-height: 48px; border-radius: 999px; font: 800 1rem/1 var(--sans); cursor: pointer; }
.cookie-no { background: transparent; color: var(--paper); border: 2px solid rgba(251, 250, 245, .6); }
.cookie-yes { background: var(--go); color: var(--go-ink); border: 2px solid var(--go); }

/* ---------- Legal and info pages ---------- */
.page-head { background: linear-gradient(180deg, var(--paper), var(--mist-2)); border-bottom: 1px solid var(--line); }
.page-head-in { max-width: 820px; margin: 0 auto; padding: 26px var(--gutter) 22px; }
.crumb { font-size: .95rem; color: var(--muted); margin-bottom: 8px; }
.crumb a { display: inline-block; padding: 12px 0; }
.page-head h1 { font-size: clamp(2rem, 8vw, 2.4rem); margin-bottom: 6px; }
.updated { color: var(--muted); font-size: .95rem; margin: 0; }
.legal { max-width: 820px; margin: 0 auto; padding: 8px var(--gutter) 24px; }
.legal-in { position: relative; padding-left: 28px; }
.legal-in::before { content: ""; position: absolute; left: 6px; top: 18px; bottom: 8px; width: 2px; background: repeating-linear-gradient(to bottom, var(--fern-2) 0 7px, transparent 7px 14px); opacity: .55; }
.legal h2 { position: relative; font-size: 1.45rem; margin-top: 1.6em; }
.legal h2::before { content: ""; position: absolute; left: -28px; top: .28em; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--fern); }
.legal ul { padding-left: 1.2em; }
.legal li { margin-bottom: .5em; }
.legal address { font-style: normal; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; line-height: 1.7; }


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