/* ─────────────────────────────────────────────
   Bloomify: Findings & Feature Roadmap
   ───────────────────────────────────────────── */

/* Palette derived from the Bloomify app icon:
   purple #824288 → indigo #4D7BA3 → teal #16BBC1 on a cool near-white ground. */
:root {
  --bg:        #f8f8fb;
  --bg-alt:    #f0f0f6;
  --surface:   #ffffff;
  --line:      #e3e3ec;
  --line-soft: #edecf3;
  --text:      #1b1b26;
  --text-soft: #4c4c60;
  --muted:     #68687f;

  --accent:      #0b737c;
  --accent-soft: #e2f4f6;
  --accent-ink:  #0a6d78;

  --brand-purple: #824288;
  --brand-indigo: #4d7ba3;
  --brand-teal:   #16bbc1;

  /* Five stops walked along the brand gradient, teal → purple. All are dark
     enough to pass AA as small label text on --bg. */
  --t1: #0b737c;
  --t2: #1c6a92;
  --t3: #425f9b;
  --t4: #66479a;
  --t5: #824288;

  --shadow-sm: 0 1px 2px rgba(27,27,38,.05), 0 2px 8px rgba(27,27,38,.04);
  --shadow-md: 0 2px 4px rgba(27,27,38,.05), 0 12px 32px rgba(27,27,38,.08);

  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;

  --nav-w: 264px;
  --radius: 14px;
}

[data-theme="dark"] {
  --bg:        #101019;
  --bg-alt:    #161622;
  --surface:   #1a1a28;
  --line:      #2b2b3d;
  --line-soft: #232333;
  --text:      #ececf4;
  --text-soft: #b6b6c8;
  --muted:     #8a8aa0;

  --accent:      #35cfd6;
  --accent-soft: #123138;
  --accent-ink:  #6fe4e9;

  --brand-purple: #b878be;
  --brand-indigo: #7aa8ca;
  --brand-teal:   #35cfd6;

  --t1: #35cfd6;
  --t2: #5bb8e0;
  --t3: #8aa6e8;
  --t4: #b492e0;
  --t5: #cf87cf;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.35);
  --shadow-md: 0 2px 4px rgba(0,0,0,.3), 0 14px 34px rgba(0,0,0,.4);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: .88em;
  background: var(--bg-alt);
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  padding: .1em .38em;
}

em { font-style: italic; }
strong { font-weight: 650; color: var(--text); }

/* ── scroll progress ── */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  background: transparent; pointer-events: none;
}
.progress span {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--brand-purple), var(--brand-indigo) 52%, var(--brand-teal));
  transition: width .1s linear;
}

/* ── sidebar ── */
.sidebar {
  position: fixed; top: 0; left: 0; z-index: 50;
  width: var(--nav-w); height: 100vh;
  display: flex; flex-direction: column;
  padding: 28px 18px 20px;
  background: var(--bg-alt);
  border-right: 1px solid var(--line);
  overflow-y: auto;
}

.brand {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: inherit;
  padding: 0 8px 22px;
}
.brand-mark {
  flex: none; width: 36px; height: 36px;
  display: block;
  border-radius: 9px;
  box-shadow: 0 1px 3px rgba(27,27,38,.14), 0 0 0 1px rgba(27,27,38,.05);
}
[data-theme="dark"] .brand-mark { box-shadow: 0 1px 4px rgba(0,0,0,.5); }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--serif); font-size: 1.16rem; font-weight: 600; letter-spacing: -.01em; }
.brand-text small { font-size: .74rem; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }

nav { display: flex; flex-direction: column; gap: 1px; flex: 1; }
nav a {
  display: flex; align-items: baseline; gap: 10px;
  padding: 7px 12px;
  border-radius: 9px;
  color: var(--text-soft);
  text-decoration: none;
  font-size: .875rem;
  line-height: 1.4;
  transition: background .15s, color .15s;
}
nav a .n { font-size: .7rem; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
nav a:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); color: var(--text); }
nav a.active { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
nav a.active .n { color: var(--accent); }

.theme-btn {
  margin-top: 16px;
  display: flex; align-items: center; gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-soft);
  font: inherit; font-size: .84rem;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.theme-btn:hover { border-color: var(--accent); color: var(--text); }
.theme-btn svg { width: 17px; height: 17px; flex: none; }
[data-theme="light"] .ico-moon,
[data-theme="dark"]  .ico-sun { display: none; }

/* ── mobile nav trigger ── */
.menu-btn {
  position: fixed; top: 14px; left: 14px; z-index: 55;
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.menu-btn svg { width: 21px; height: 21px; }

/* When the panel is open the trigger becomes a close button and moves to the
   panel's top-right corner, so it no longer covers the logo underneath it. */
.menu-btn { transition: left .24s ease; }
.menu-btn .ico-close { display: none; }
/* Sits just past the panel edge, on the scrim, so it cannot cover the brand.
   The min() keeps it on-screen if the viewport is narrower than the panel + button. */
body.nav-open .menu-btn { left: min(calc(var(--nav-w) + 14px), calc(100vw - 56px)); }
body.nav-open .menu-btn .ico-menu { display: none; }
body.nav-open .menu-btn .ico-close { display: block; }
.scrim { position: fixed; inset: 0; z-index: 45; background: rgba(10,16,13,.45); backdrop-filter: blur(2px); }

/* ── layout ── */
main { margin-left: var(--nav-w); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 40px; }

/* NOTE: `.wrap` sets padding, so vertical rhythm must be declared at equal-or-higher
   specificity or it is silently overridden. Hence `section.wrap`, not `section`. */
section { border-top: 1px solid var(--line-soft); }
section.wrap { padding-top: 84px; padding-bottom: 84px; }
section:first-of-type { border-top: none; }

/* ── hero ── */
.hero {
  position: relative;
  padding: 96px 0 70px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}
.hero-glow {
  position: absolute; top: -280px; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 660px;
  background:
    radial-gradient(closest-side at 28% 55%, color-mix(in srgb, var(--brand-purple) 30%, transparent), transparent),
    radial-gradient(closest-side at 74% 46%, color-mix(in srgb, var(--brand-teal) 34%, transparent), transparent);
  filter: blur(26px);
  pointer-events: none;
}
.hero .wrap { position: relative; }

/* brand gradient rule across the top of the hero, mirroring the icon */
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-purple), var(--brand-indigo) 52%, var(--brand-teal));
}

.hero-mark {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 26px;
}
.hero-mark img {
  width: 60px; height: 60px;
  border-radius: 14px;
  box-shadow: 0 2px 6px rgba(27,27,38,.14), 0 0 0 1px rgba(27,27,38,.05);
}
[data-theme="dark"] .hero-mark img { box-shadow: 0 3px 12px rgba(0,0,0,.55); }
.hero-mark span {
  font-family: var(--serif);
  font-size: 1.62rem; font-weight: 600;
  letter-spacing: -.02em;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: .74rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: clamp(2.15rem, 5.2vw, 3.5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.022em;
}
h1 em { font-style: italic; color: var(--accent); }

.lede {
  margin: 0 0 38px;
  max-width: 62ch;
  font-size: 1.1rem;
  color: var(--text-soft);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 0 34px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats > div { background: var(--surface); padding: 16px 18px; }
.stats dt { font-size: .72rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.stats dd {
  margin: 4px 0 0;
  font-family: var(--serif);
  font-size: 1.6rem; font-weight: 600; line-height: 1.15;
  letter-spacing: -.02em;
}
.stats dd span {
  display: block;
  font-family: var(--sans);
  font-size: .74rem; font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
/* Word values need a smaller size than numerals to stay on one line in the column.
   The value is non-breaking, so leave slack for the fallback serif before Fraunces loads. */
.stats .compact dd { font-size: 1.06rem; }

.prepared {
  margin: 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .84rem;
  color: var(--muted);
}
.prepared strong { color: var(--text-soft); font-weight: 600; }
.prepared .dot { padding: 0 8px; }

/* ── section heads ── */
.sec-head {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-bottom: 26px;
}
.sec-num {
  font-size: .74rem; font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 10px;
  font-variant-numeric: tabular-nums;
}
h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.05rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.018em;
}
h3 {
  margin: 0 0 8px;
  font-size: 1.06rem;
  font-weight: 650;
  letter-spacing: -.008em;
  line-height: 1.35;
}
.minor {
  margin: 34px 0 14px;
  font-size: .76rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}

.tag {
  font-size: .73rem; font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  line-height: 1.6;
}
.tag-1 { color: var(--t1); }
.tag-2 { color: var(--t2); }
.tag-3 { color: var(--t3); }
.tag-4 { color: var(--t4); }
.tag-5 { color: var(--t5); }

.sec-lede { margin: 0 0 8px; max-width: 68ch; color: var(--text-soft); }
section p { max-width: 68ch; }

/* ── store cards ── */
.stores { margin-top: 28px; }
.store { display: flex; flex-direction: column; }
.store header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.store-mark {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
}
.store-mark svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.store header h3 { margin: 0; }
.store-sub { margin: 1px 0 0 !important; font-size: .82rem !important; color: var(--muted) !important; }

.store-rating {
  margin: 0 0 16px !important;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--line-soft);
  font-size: .88rem !important;
  color: var(--muted) !important;
}
.store-rating strong {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--accent);
  margin-right: 6px;
}
.store-rating strong::after { content: " ★"; font-size: .68em; }

.store-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px 16px;
  margin: 0 0 18px;
}
.store-meta dt { font-size: .7rem; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.store-meta dd { margin: 1px 0 0; font-size: .9rem; font-weight: 550; }

.store-link {
  margin-top: auto;
  align-self: flex-start;
  font-size: .87rem; font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.store-link:hover { border-bottom-color: currentColor; }

.store-note { margin-top: 30px !important; }

/* ── findings pulled from store metadata ── */
.findings { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.findings li {
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--t2);
  border-radius: var(--radius);
  background: var(--surface);
}
.findings li.hot { border-left-color: var(--t4); background: color-mix(in srgb, var(--t4) 6%, var(--surface)); }
.findings h3 { margin-bottom: 5px; }
.findings p { margin: 0; font-size: .93rem; color: var(--text-soft); }
/* All in-body links. Scoped to p/li so component links that carry their own
   treatment (.store-link) are not caught by it. */
main p a, main li a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
main p a:hover, main li a:hover { color: var(--accent-ink); }

/* ── chips ── */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li {
  font-size: .84rem;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-soft);
}

/* ── pull quote ── */
.pull {
  margin: 30px 0;
  padding: 22px 26px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.48;
  letter-spacing: -.01em;
  color: var(--text);
}
.pull strong { font-weight: 700; }
.pull.accent { margin-bottom: 0; }

/* ── grids & cards ── */
.grid { display: grid; gap: 16px; margin-top: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 34%, var(--line)); }
.card p { margin: 0; font-size: .945rem; color: var(--text-soft); max-width: none; }
.card p + p { margin-top: 10px; }

.gap-card { position: relative; padding-top: 26px; }
.gap-n {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em;
  color: var(--t3);
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.feature { border-top: 3px solid var(--line); }
.feature.t1 { border-top-color: var(--t1); }
.feature.t2 { border-top-color: var(--t2); }
.feature.t3 { border-top-color: var(--t3); }
.feature.t4 { border-top-color: var(--t4); }
.feature.t5 { border-top-color: var(--t5); }

.flag-note {
  margin: -2px 0 10px !important;
  font-size: .76rem !important;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--accent) !important;
}
.flag { background: linear-gradient(180deg, var(--accent-soft) 0%, var(--surface) 78px); }

/* ── prerequisite callout (Tier 5) ── */
.prereq {
  display: flex; gap: 16px;
  margin-top: 26px;
  padding: 22px 26px;
  border: 1px solid color-mix(in srgb, var(--t5) 40%, var(--line));
  border-left: 4px solid var(--t5);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--t5) 7%, var(--surface));
}
.prereq-icon {
  flex: none; width: 26px; height: 26px;
  color: var(--t5);
}
.prereq-icon svg { width: 26px; height: 26px; }
.prereq h3 { margin: 0 0 6px; color: var(--t5); }
.prereq p { margin: 0; font-size: .95rem; color: var(--text-soft); }
.prereq p + p { margin-top: 9px; }

/* ── guardrail rules ── */
.rules { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.rules li {
  position: relative;
  padding: 13px 18px 13px 46px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
  font-size: .93rem;
  color: var(--text-soft);
}
.rules li::before {
  content: ""; position: absolute; left: 18px; top: 1.15em;
  width: 10px; height: 6px;
  border-left: 2px solid var(--t1);
  border-bottom: 2px solid var(--t1);
  transform: rotate(-45deg);
}
.rules li.no::before {
  top: 1.25em;
  width: 11px; height: 11px;
  border: none;
  background:
    linear-gradient(to bottom, transparent 45%, var(--t5) 45%, var(--t5) 55%, transparent 55%),
    linear-gradient(to right, transparent 45%, var(--t5) 45%, var(--t5) 55%, transparent 55%);
  transform: rotate(45deg);
}
.rules strong { color: var(--text); }

/* ── phased build table ── */
.phase-n {
  display: inline-grid; place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: .82rem; font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ── table ── */
.table-scroll {
  margin-top: 26px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 620px; }
thead th {
  text-align: left;
  padding: 13px 18px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
tbody th, tbody td {
  padding: 15px 18px;
  border-top: 1px solid var(--line-soft);
  vertical-align: top;
  color: var(--text-soft);
}
tbody tr:first-child th, tbody tr:first-child td { border-top: none; }
tbody th { text-align: left; font-weight: 650; color: var(--text); white-space: nowrap; }
tbody th small { display: block; font-weight: 400; font-size: .78rem; color: var(--muted); white-space: normal; }
tbody td:last-child { color: var(--text); font-weight: 500; }
tbody tr:hover th, tbody tr:hover td { background: color-mix(in srgb, var(--accent) 4%, transparent); }

/* ── monetization ── */
.money .price { display: flex; flex-direction: column; }
.price-kicker {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .11em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.price-tag {
  margin: 0 0 14px !important;
  font-family: var(--serif);
  font-size: 1.42rem; font-weight: 600;
  letter-spacing: -.02em;
  color: var(--accent) !important;
}
.price-tag span {
  display: block;
  font-family: var(--sans);
  font-size: .76rem; font-weight: 500;
  letter-spacing: 0;
  color: var(--muted);
}
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 7px; }
.ticks li {
  position: relative;
  padding-left: 22px;
  font-size: .9rem;
  color: var(--text-soft);
}
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .52em;
  width: 9px; height: 5px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.warn {
  margin-top: 12px !important;
  padding: 10px 12px;
  border-radius: 9px;
  background: color-mix(in srgb, var(--t4) 12%, transparent);
  border-left: 2px solid var(--t4);
  font-size: .855rem !important;
  color: var(--text) !important;
}

/* ── first quarter ── */
.quarter { list-style: none; margin: 26px 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: q; }
.quarter li {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.q-n {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-family: var(--serif);
  font-size: 1.25rem; font-weight: 600;
}
.quarter h3 { margin: 0 0 2px; }
.quarter p { margin: 0; font-size: .9rem; color: var(--muted); }

/* ── caution ── */
.caution-box {
  margin-top: 26px;
  padding: 26px 28px;
  border: 1px solid color-mix(in srgb, var(--t4) 45%, var(--line));
  border-left: 4px solid var(--t4);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--t4) 7%, var(--surface));
}
.caution-box p { margin: 0; color: var(--text-soft); }
.caution-box p + p { margin-top: 14px; }

/* ── sources ── */
.sources { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.sources li {
  padding-left: 18px; position: relative;
  font-size: .9rem; color: var(--text-soft);
}
.sources li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 6px; height: 1px; background: var(--muted);
}

/* ── footer ── */
footer.wrap {
  padding-top: 44px;
  padding-bottom: 72px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: .86rem;
}
footer p { margin: 0; }

/* ── responsive ── */
@media (max-width: 1080px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  main { margin-left: 0; }
  .menu-btn { display: flex; }
  .sidebar {
    transform: translateX(-100%);
    transition: transform .24s ease;
    box-shadow: var(--shadow-md);
  }
  body.nav-open .sidebar { transform: none; }
  .wrap { padding: 0 22px; }
  section.wrap { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding: 80px 0 54px; }
  .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  section.wrap { padding-top: 52px; padding-bottom: 52px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-3 > :last-child:nth-child(odd) { grid-column: auto; }
  .quarter li { align-items: flex-start; gap: 14px; padding: 16px 18px; }
  .pull { padding: 18px 20px; font-size: 1.1rem; }
  .card { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media print {
  .sidebar, .menu-btn, .progress, .scrim { display: none !important; }
  main { margin-left: 0; }
  body { background: #fff; font-size: 11pt; }
  section.wrap { padding-top: 26px; padding-bottom: 26px; }
  section { page-break-inside: avoid; border-top: 1px solid #ddd; }
  .store-link { display: none; }
  .card { break-inside: avoid; box-shadow: none; }
}
