:root {
  --vellum-day: #faf7f2;
  --vellum-dawn: #efe7d8;
  --surface: #ffffff;
  --vault-950: #0c1914;
  --vault-900: #13261f;
  --ink-900: #11211b;
  --ink-800: #1d352c;
  --ink-700: #2b473c;
  --ink-600: #445a51;
  --ink-500: #51665d;
  --emerald-700: #0c4d39;
  --emerald-600: #0f5c44;
  --emerald-500: #147356;
  --emerald-400: #279472;
  --emerald-100: #ddf2ea;
  --emerald-50: #f0f9f5;
  --copper-100: #fcead9;
  --copper-200: #f8d4b3;
  --copper-300: #f3b582;
  --copper-400: #e38b47;
  --copper-500: #c86420;
  --copper-800: #7a380c;
  --slate-500: #2b5c8f;

  --border: color-mix(in oklab, var(--ink-900) 12%, transparent);
  --plate-border: color-mix(in oklab, var(--emerald-500) 13%, transparent);
  --shadow-plate: 0 1px 0 rgba(255, 255, 255, 0.92) inset, 0 1px 2px rgba(17, 33, 27, 0.05), 0 18px 40px -18px rgba(15, 77, 57, 0.24);
  --shadow-lift: 0 1px 0 rgba(255, 255, 255, 0.92) inset, 0 2px 4px rgba(17, 33, 27, 0.06), 0 30px 60px -24px rgba(15, 77, 57, 0.36);

  --font-display: "Newsreader", Georgia, serif;
  --font-sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "DM Mono", ui-monospace, SFMono-Regular, monospace;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --measure: 80rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--vellum-day); color: var(--ink-900); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  background: var(--vellum-day);
  color: var(--ink-900);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--copper-200); color: var(--ink-900); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--emerald-500); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -9999px; top: 0.75rem; z-index: 100;
  padding: 0.6rem 1rem; background: var(--ink-900); color: #fff; border-radius: 999px;
}
.skip-link:focus { left: 1rem; }

.container-x { width: min(100% - 2 * var(--gutter), var(--measure)); margin-inline: auto; }
.relative-z { position: relative; z-index: 2; }
.tabular { font-variant-numeric: tabular-nums; }
.text-emerald { color: var(--emerald-500); }
.text-white { color: #fff; }
.w-full { width: 100%; }
.text-left { text-align: left; }

/* Typography */
.eyebrow {
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald-600);
}
.eyebrow-copper { color: var(--copper-300); }
.eyebrow-copper-dark { color: var(--copper-800); }

.display-xl, .display-lg, .display-md, .display-sm {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  text-wrap: balance;
}
.display-xl { font-size: clamp(3rem, min(0.9rem + 7.6vw, 13.5svh), 7rem); line-height: 0.97; letter-spacing: -0.035em; }
.display-lg { font-size: clamp(2.25rem, 1.25rem + 3.6vw, 4.5rem); line-height: 1.02; letter-spacing: -0.03em; }
.display-md { font-size: clamp(1.85rem, 1.2rem + 2.2vw, 3.05rem); line-height: 1.06; letter-spacing: -0.025em; }
.display-sm { font-size: clamp(1.4rem, 1.08rem + 1.15vw, 1.95rem); line-height: 1.16; letter-spacing: -0.02em; }
.lede {
  margin: 1.25rem 0 0;
  font-size: clamp(1.04rem, 0.98rem + 0.42vw, 1.32rem);
  line-height: 1.55;
  color: var(--ink-600);
  max-width: 58ch;
}
.lede-dark { color: rgba(255, 255, 255, 0.74); }

/* Smart Hide/Reveal Frosted Vellum Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40; height: var(--header-h);
  display: flex; align-items: center;
  transition: transform 0.45s var(--ease-expo);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(250, 247, 242, 0); border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.site-header[data-scrolled="true"]::before {
  background: rgba(250, 247, 242, 0.88);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom-color: rgba(17, 33, 27, 0.1);
}
.site-header[data-hidden="true"] { transform: translateY(calc(-100% - 2rem)); }
.site-header:focus-within { transform: translateY(0); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand-link { display: inline-flex; align-items: center; gap: 0.65rem; flex-shrink: 0; white-space: nowrap; }
.brand-word { font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.02em; }
.dd-needle { transform-origin: 18px 18px; transition: transform 0.65s var(--ease-expo); }
@media (prefers-reduced-motion: no-preference) {
  .brand-link:hover .dd-needle { transform: rotate(35deg); }
}

.site-nav { display: none; align-items: center; gap: 1.5rem; color: var(--ink-800); font-weight: 500; font-size: 0.95rem; white-space: nowrap; }
@media (min-width: 960px) { .site-nav { display: flex; } }
@media (min-width: 1120px) { .site-nav { gap: 2rem; } }

.header-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.nav-signin { display: none; font-size: 0.95rem; font-weight: 500; color: var(--ink-800); padding: 0.35rem 0.2rem; white-space: nowrap; }
.btn-primary.header-cta { display: none; white-space: nowrap; }
@media (min-width: 520px) { .btn-primary.header-cta { display: inline-flex; } }
@media (min-width: 960px) { .nav-signin { display: inline-flex; } .header-actions { gap: 0.9rem; } }

.mobile-menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255, 255, 255, 0.85);
}
@media (min-width: 960px) { .mobile-menu-btn { display: none; } }

/* Tactile Hover Primitives (Burnished Copper Flood) */
.link-draw {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1.5px;
  padding-bottom: 2px; transition: background-size 0.4s var(--ease-expo), color 0.25s ease;
}
.link-draw:hover { background-size: 100% 1.5px; color: var(--emerald-600); }

.btn-primary {
  position: relative; overflow: clip;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.75rem 1.5rem; border-radius: 999px;
  background: var(--emerald-500); color: #fff; font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 12px 28px -12px rgba(20, 115, 86, 0.52);
  transition: color 0.4s var(--ease-expo), box-shadow 0.45s var(--ease-expo), transform 0.15s ease;
}
.btn-primary.btn-sm { min-height: 44px; padding: 0.5rem 1.15rem; font-size: 0.88rem; }
.btn-primary::before {
  content: ""; position: absolute; inset: -45% -20%; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, var(--copper-200) 0%, var(--copper-300) 55%, var(--copper-400) 100%);
  transform: translateY(90%);
  transition: transform 0.7s var(--ease-expo);
}
.btn-primary:hover::before { transform: translateY(-22%); }
.btn-primary:hover { color: var(--ink-900); box-shadow: 0 16px 34px -12px rgba(200, 100, 32, 0.58); }
.btn-primary:active { transform: scale(0.97); }
.btn-primary > * { position: relative; z-index: 1; }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.4rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.82); border: 1px solid var(--border);
  color: var(--ink-800); font-weight: 500; font-size: 0.95rem;
  backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}
.btn-ghost.btn-sm { min-height: 44px; padding: 0.45rem 1rem; font-size: 0.86rem; }
.btn-ghost:hover { background: #fff; border-color: var(--emerald-500); color: var(--emerald-600); }
.btn-ghost:active { transform: scale(0.97); }
.arrow { display: inline-block; transition: transform 0.35s var(--ease-expo); }
.btn-primary:hover .arrow, .btn-ghost:hover .arrow { transform: translateX(4px); }

/* Plates */
.plate {
  background: var(--surface);
  border: 1px solid var(--plate-border);
  border-radius: 28px;
  box-shadow: var(--shadow-plate);
}
.plate-lift { transition: transform 0.7s var(--ease-expo), box-shadow 0.7s var(--ease-expo); }
.plate-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

/* Hero */
.hero {
  position: relative; isolation: isolate;
  min-height: min(92svh, 860px);
  padding: calc(var(--header-h) + clamp(3rem, 7vw, 5.5rem)) 0 clamp(4.5rem, 8vw, 7rem);
  background: linear-gradient(180deg, var(--vellum-dawn) 0%, var(--vellum-day) 74%);
  display: flex; align-items: center; overflow: hidden;
}
.transit-layer { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.transit-canvas { width: 100%; height: 100%; display: block; }
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse at 28% 46%, rgba(250, 247, 242, 0.92), rgba(250, 247, 242, 0) 68%);
}
.hero-inner { position: relative; }
.hero > .transit-layer, .hero > .hero-veil { z-index: auto; }
.hero-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.08fr); gap: 1.5rem; } }
.hero-copy { max-width: 44rem; min-width: 0; }
.hero-art { margin: 0; display: grid; place-items: center; min-width: 0; }
@media (min-width: 960px) { .hero-art { margin-top: 0.35rem; } }
.hero-truck-img { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .hero-truck-stage { animation: truck-float 9s ease-in-out infinite; }
}
@keyframes truck-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.underline-wrap { position: relative; display: inline-block; }
.copper-underline { position: absolute; left: 0; bottom: -0.08em; width: 100%; height: 0.2em; pointer-events: none; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; margin-top: 2rem; }
.cta-center { justify-content: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 2.25rem; }
.proof-pill {
  padding: 0.42rem 0.85rem; border-radius: 999px; font-size: 0.84rem; color: var(--ink-700);
  background: rgba(255, 255, 255, 0.78); border: 1px solid var(--plate-border); backdrop-filter: blur(8px);
}

/* Section: The Shift */
.section-turn { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.thesis-heading { max-width: 20ch; }
.thesis-lede { margin-bottom: 2.75rem; }
.cards-3 { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cards-3 .plate { padding: 1.75rem; }
.seal-badge { margin-bottom: 1.15rem; }
.cards-3 h3 { margin: 0 0 0.55rem; font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; }
.cards-3 p { margin: 0; color: var(--ink-600); font-size: 0.96rem; }

/* Section: 5-Retailer Rule Engine */
.section-rules { position: relative; padding: clamp(4.5rem, 8vw, 7rem) 0; overflow: hidden; }
.transit-soft { opacity: 0.6; }
.rules-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.pill-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem; }
.pill-tab {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 44px;
  padding: 0.55rem 1.1rem; border-radius: 999px; font-weight: 500; font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.84); border: 1px solid var(--border); color: var(--ink-800);
  backdrop-filter: blur(8px); transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.pill-tab:hover { border-color: var(--emerald-400); }
.pill-tab.is-active { background: var(--emerald-500); border-color: var(--emerald-500); color: #fff; }
.mono-idx { font-family: var(--font-mono); font-size: 0.78rem; opacity: 0.82; }

.portal-panel {
  display: grid; gap: 2rem; padding: clamp(1.5rem, 3.5vw, 2.75rem);
  grid-template-columns: 1fr; align-items: center;
}
@media (min-width: 900px) { .portal-panel { grid-template-columns: 1.15fr 1fr; } }
.portal-desc { margin: 0.9rem 0 1.25rem; color: var(--ink-600); }
.portal-bullets { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.55rem; color: var(--ink-700); font-size: 0.95rem; }
.portal-visual {
  background: var(--emerald-50); border: 1px solid var(--plate-border);
  border-radius: 20px; padding: 1.35rem; display: grid; gap: 0.75rem;
}
.vis-row {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 0.75rem;
  padding: 0.8rem 1rem; border-radius: 14px; background: #fff; border: 1px solid rgba(20, 115, 86, 0.1);
}
.vis-row > div { min-width: 0; flex: 1 1 12rem; }
.vis-row strong { display: block; font-size: 0.94rem; color: var(--ink-900); }
.vis-row small { color: var(--ink-500); font-size: 0.8rem; }
.vis-badge {
  flex-shrink: 0; white-space: nowrap; font-family: var(--font-mono); font-size: 0.75rem;
  padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--copper-100); color: var(--copper-800);
}
.vis-badge.is-emerald { background: var(--emerald-100); color: var(--emerald-700); }

/* Section: Dark Vault */
.section-vault { position: relative; }
.arch-divider { display: block; width: 100%; height: 58px; margin-bottom: -1px; }
.vault-body {
  position: relative; background: var(--vault-950); color: #fff;
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4.5rem, 8vw, 7rem);
  border-bottom-left-radius: 2.25rem; border-bottom-right-radius: 2.25rem;
  overflow: hidden;
}
.vault-grid-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.vault-grid { display: grid; gap: 1.25rem; margin-top: 2.75rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .vault-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .vault-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vault-card {
  background: var(--vault-900); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px; padding: 1.6rem;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.75);
}
.vault-tag {
  display: inline-block; margin-bottom: 0.9rem; font-family: var(--font-mono);
  font-size: 0.7rem; letter-spacing: 0.14em; color: var(--copper-300);
}
.vault-card h3 { margin: 0 0 0.55rem; font-family: var(--font-display); font-size: 1.32rem; font-weight: 500; }
.vault-card p { margin: 0; color: rgba(255, 255, 255, 0.72); font-size: 0.93rem; }

/* Section: Recovery Desk Workbench */
.section-workbench { padding: clamp(4.5rem, 8vw, 7.5rem) 0; }
.workbench-lede { margin-bottom: 2.5rem; }
.workbench-plate { padding: clamp(1.35rem, 3.5vw, 2.5rem); }
.wb-top-controls {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem;
  padding-bottom: 1.75rem; border-bottom: 1px solid var(--border); margin-bottom: 2rem;
}
.wb-label {
  display: block; margin-bottom: 0.65rem; font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.14em; color: var(--ink-500); text-transform: uppercase;
}
.wb-pills, .wb-lengths { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.wb-pill, .wb-len {
  min-height: 44px; padding: 0.5rem 1rem; border-radius: 999px; font-size: 0.88rem; font-weight: 500;
  border: 1px solid var(--border); background: #fff; color: var(--ink-800);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.wb-len { min-width: 44px; padding: 0.5rem 0.75rem; font-family: var(--font-mono); }
.wb-pill.is-active, .wb-len.is-active { background: var(--emerald-500); border-color: var(--emerald-500); color: #fff; }
.wb-unit { font-size: 0.86rem; color: var(--ink-500); margin-left: 0.2rem; }

.wb-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.wb-left, .wb-right { min-width: 0; }
@media (min-width: 960px) { .wb-grid { grid-template-columns: 1fr 1.05fr; align-items: start; } }

.stage-list { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 0.85rem; }
.stage-item { display: flex; align-items: flex-start; gap: 0.9rem; color: var(--ink-500); transition: color 0.25s ease; }
.stage-item.is-active { color: var(--ink-900); }
.stage-stamp {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.76rem;
  background: var(--copper-100); color: var(--copper-800);
}
.stage-item.is-active .stage-stamp { background: var(--emerald-500); color: #fff; }
.stage-item strong { font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: inherit; }
.stage-tag { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--ink-500); margin-left: 0.4rem; }
.stage-item p { margin: 0.2rem 0 0; font-size: 0.9rem; color: var(--ink-600); }

.scrubber-box {
  background: var(--emerald-50); border: 1px solid var(--plate-border);
  border-radius: 22px; padding: 1.25rem;
}
.scrubber-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.scrubber-head .wb-label { margin-bottom: 0; }
.replay-btn {
  min-height: 44px; padding: 0.45rem 0.95rem; border-radius: 999px; background: #fff;
  border: 1px solid var(--border); font-family: var(--font-mono); font-size: 0.76rem; color: var(--ink-800);
}
.replay-btn:hover { border-color: var(--emerald-500); color: var(--emerald-600); }

.range-brass {
  width: 100%; height: 8px; border-radius: 999px; appearance: none;
  background: linear-gradient(90deg, var(--copper-300), var(--emerald-100));
  margin: 0.8rem 0 1rem; cursor: pointer;
}
.range-brass::-webkit-slider-thumb {
  appearance: none; width: 22px; height: 22px; background: var(--emerald-500);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  transition: transform 0.2s var(--ease-expo);
}
.range-brass:hover::-webkit-slider-thumb { transform: scale(1.14); }
.range-brass::-moz-range-thumb {
  width: 22px; height: 22px; border: 0; background: var(--emerald-500);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  transition: transform 0.2s var(--ease-expo);
}
.range-brass:hover::-moz-range-thumb { transform: scale(1.14); }
.scrubber-caption { margin: 0 0 1rem; font-size: 0.95rem; color: var(--ink-800); }
.mono-cycle { font-family: var(--font-mono); font-size: 0.78rem; color: var(--emerald-600); margin-right: 0.45rem; }

.bar-chart { display: flex; gap: 0.45rem; height: 80px; padding: 6px; margin: -6px -6px 0.65rem; align-items: stretch; overflow-x: auto; }
.bar-col {
  flex: 1 0 44px; display: flex; flex-direction: column; border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; opacity: 0.58; cursor: pointer; transition: opacity 0.2s ease, border-color 0.2s ease;
}
.bar-col.is-active { opacity: 1; border-color: var(--emerald-500); }
.bar-seg-slate { background: #6b96c4; }
.bar-seg-copper { background: var(--copper-300); }
.bar-seg-emerald { background: var(--emerald-400); }

.chart-legend { display: flex; flex-wrap: wrap; gap: 0.85rem; font-size: 0.8rem; color: var(--ink-600); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 999px; margin-right: 0.35rem; }
.dot-emerald { background: var(--emerald-500); }
.dot-copper { background: var(--copper-400); }
.dot-slate { background: var(--slate-500); }

.compass-stage { display: grid; place-items: center; padding: 0.25rem 0 0.75rem; }
.compass-svg { width: min(100%, 285px); height: auto; overflow: visible; }
.compass-top { font-family: var(--font-mono); font-size: 10px; fill: var(--ink-900); letter-spacing: 0.14em; }
.compass-num { font-family: var(--font-mono); font-size: 15px; font-weight: 500; fill: var(--ink-900); }
@media (prefers-reduced-motion: no-preference) {
  #compass-orbit { animation: compass-sweep 14s linear infinite; }
}
@keyframes compass-sweep { from { transform: translate(160px, 160px) rotate(0deg); } to { transform: translate(160px, 160px) rotate(360deg); } }

.savings-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.9rem 1.1rem; margin-bottom: 1.15rem; border-radius: 16px;
  background: var(--vellum-day); border: 1px solid var(--border);
}
.savings-banner .wb-label { margin-bottom: 0.2rem; }
.savings-amount { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; color: var(--emerald-700); }
.plan-chip {
  white-space: nowrap; font-family: var(--font-mono); font-size: 0.75rem;
  padding: 0.35rem 0.75rem; border-radius: 999px; background: var(--emerald-100); color: var(--emerald-700);
}

.meters-grid { display: grid; gap: 0.85rem 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .meters-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.meter-head { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.84rem; margin-bottom: 0.3rem; }
.meter-head span { color: var(--ink-800); }
.meter-head strong { font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink-500); }
.meter-track { height: 5px; border-radius: 999px; background: var(--emerald-100); overflow: hidden; }
.meter-fill { height: 100%; border-radius: 999px; background: var(--emerald-500); transition: width 0.45s var(--ease-expo); }
.wb-footnote {
  margin: 1.75rem 0 0; padding-top: 1.15rem; border-top: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--ink-500);
}
.wb-bottom-cta { margin-top: 1.5rem; }

/* Section: Begin */
.section-begin {
  position: relative; overflow: hidden; text-align: center;
  padding: clamp(5rem, 10vw, 8.5rem) 0 clamp(6rem, 11vw, 9.5rem);
  background: radial-gradient(ellipse at 50% 25%, rgba(252, 234, 217, 0.82), var(--vellum-day) 72%);
}
.begin-inner { max-width: 48rem; }
.begin-lede { margin-inline: auto; }

/* Footer */
.site-footer { position: relative; background: var(--vellum-day); }
.footer-body { background: var(--vault-950); color: #fff; padding: 2.5rem 0 3rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }
.footer-tagline { margin: 0.8rem 0 0; color: rgba(255, 255, 255, 0.7); max-width: 30ch; }
.footer-col { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-col h4 { margin: 0 0 0.4rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--copper-300); }
.footer-col a, .footer-link-btn { color: rgba(255, 255, 255, 0.8); font-size: 0.92rem; text-align: left; }
.footer-col a:hover, .footer-link-btn:hover { color: #fff; }
.site-footer :focus-visible { outline-color: var(--copper-300); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
  padding-top: 1.5rem; font-family: var(--font-mono); font-size: 0.76rem; color: rgba(255, 255, 255, 0.6);
}

/* Native Top-Layer Dialogs with @starting-style */
dialog.mobile-menu, dialog.action-modal {
  border: 1px solid var(--plate-border); border-radius: 24px; padding: 1.5rem;
  background: #fff; color: var(--ink-900); box-shadow: var(--shadow-lift);
  opacity: 0; transform: translateY(10px) scale(0.98);
  transition: opacity 0.25s ease-out, transform 0.25s var(--ease-expo), display 0.25s, overlay 0.25s;
  transition-behavior: allow-discrete;
}
dialog.mobile-menu[open], dialog.action-modal[open] { opacity: 1; transform: translateY(0) scale(1); }
@starting-style {
  dialog.mobile-menu[open], dialog.action-modal[open] { opacity: 0; transform: translateY(10px) scale(0.98); }
}
dialog::backdrop { background: rgba(12, 25, 20, 0.48); backdrop-filter: blur(6px); }
dialog.mobile-menu { width: min(calc(100% - 2rem), 24rem); margin: 1rem auto auto; }
dialog.action-modal { width: min(calc(100% - 2rem), 28rem); }
.mobile-menu-head, .modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.dialog-close {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--ink-700);
}
.mobile-menu-links { display: grid; gap: 0.35rem; margin-bottom: 1.25rem; }
.mobile-nav-link { padding: 0.75rem 0.5rem; border-bottom: 1px solid var(--border); font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.modal-form { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.35rem; font-size: 0.88rem; color: var(--ink-700); }
.field input {
  width: 100%; min-height: 44px; padding: 0.65rem 0.9rem; border-radius: 12px;
  border: 1px solid var(--border); font: inherit; color: var(--ink-900); background: var(--emerald-50);
}
.modal-status { margin: 0; font-size: 0.88rem; color: var(--emerald-700); min-height: 1.2em; }
@media (prefers-reduced-motion: reduce) {
  .site-header, .plate-lift, .btn-primary::before, .meter-fill, dialog.mobile-menu, dialog.action-modal {
    transition-duration: 0.01s;
  }
}
