:root {
  --navy: #000000;
  --navy-deep: #070707;
  --blue: #1b7a2f;
  --sky: #101810;
  --cream: #050505;
  --paper: #101810;
  --ink: #f4efe3;
  --fg: #f4efe3;
  --muted: #c9b58a;
  --muted-paper: #c4b89a;
  --line: #c4a35a;
  --gold: #c4a35a;
  --gold-ink: #0a0a0a;
  --pop: #1b7a2f;
  --good: #1b7a2f;
  --good-bg: #16381c;
  --warn-bg: #3a2e14;
  --forest: #1b7a2f;
  --forest-deep: #0f4a1c;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --header-h: 104px;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --display: Fraunces, Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
  color: var(--fg);
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--fg);
  background:
    radial-gradient(42% 38% at 88% -4%, rgba(27, 122, 47, 0.38) 0%, transparent 58%),
    radial-gradient(36% 32% at 8% 6%, rgba(196, 163, 90, 0.22) 0%, transparent 52%),
    radial-gradient(28% 24% at 52% 18%, rgba(27, 122, 47, 0.16) 0%, transparent 60%),
    var(--cream);
  line-height: 1.5;
  padding-bottom: 88px;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img,
svg {
  display: block;
}

a {
  color: var(--gold);
}

.card a,
.source-cite a,
.aside-card a,
.affiliate-note a {
  color: var(--pop);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 0.45em;
}

p {
  margin: 0 0 0.85em;
}

p:last-child {
  margin-bottom: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}

.skip-link:focus {
  top: 12px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  border-bottom: 1px solid rgba(196, 163, 90, 0.42);
  color: var(--fg);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand actions"
    "nav nav";
  align-items: center;
  min-height: var(--header-h);
  gap: 10px 12px;
  padding: 0.35rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  grid-area: brand;
}

.brand-mark {
  flex: none;
  display: block;
  height: 88px;
  max-width: min(360px, 72vw);
}

.brand-mark picture,
.brand-mark img {
  display: block;
  height: 88px;
  width: auto;
  max-width: 100%;
}

.brand-mark img {
  object-fit: contain;
  object-position: left center;
}

.brand:hover .brand-mark {
  opacity: 0.92;
}

.brand-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-text strong {
  display: none;
  font-family: var(--display);
  font-size: 1.12rem;
  color: var(--gold);
}

.brand-text span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.35rem 0.15rem;
  font-size: 0.88rem;
  font-weight: 700;
  grid-area: nav;
}

.site-nav a {
  color: var(--fg);
  text-decoration: none;
  line-height: 1;
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy);
  background: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  grid-area: actions;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--forest);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--navy);
}

.btn-header,
.btn-primary {
  background: var(--gold);
  color: var(--gold-ink);
}

.btn-header {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
}

.btn-ghost {
  background: var(--forest);
  color: var(--fg);
}

.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.didyou-next:focus-visible,
.text-btn:focus-visible,
.quiz-option:focus-visible {
  outline: 3px solid var(--pop);
  outline-offset: 2px;
}

.hero {
  padding: 2.4rem 0 1.6rem;
}

.hero-inner {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.hero-copy,
.section-head {
  max-width: 40rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
}

.eyebrow.light {
  background: var(--gold);
  color: var(--navy);
}

h1 {
  font-size: clamp(2.15rem, 8vw, 4.1rem);
  max-width: 14ch;
  margin-bottom: 0.7rem;
}

.hero-title span {
  display: inline-block;
  animation: word-in 0.72s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero-title span:nth-child(1) { animation-delay: 0.02s; }
.hero-title span:nth-child(2) { animation-delay: 0.07s; }
.hero-title span:nth-child(3) { animation-delay: 0.12s; }
.hero-title span:nth-child(4) { animation-delay: 0.17s; }
.hero-title span:nth-child(5) { animation-delay: 0.22s; }
.hero-title span:nth-child(6) { animation-delay: 0.27s; }
.hero-title span:nth-child(7) { animation-delay: 0.32s; }
.hero-title span:nth-child(8) { animation-delay: 0.37s; }
.hero-title span:nth-child(9) { animation-delay: 0.42s; }

@keyframes word-in {
  from {
    opacity: 0;
    transform: translateY(0.55em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.lede {
  font-size: 1.12rem;
  margin-bottom: 0.85rem;
}

.hero-note {
  color: var(--muted);
  margin-bottom: 1.1rem;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
}

.hero-links a,
.hero-links .btn {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: var(--navy);
  border: 2px solid var(--gold);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  line-height: 1;
  box-shadow: 3px 3px 0 var(--pop);
}

.hero-links .btn-ghost {
  background: var(--pop);
  color: var(--fg);
  border-color: var(--pop);
  box-shadow: 3px 3px 0 var(--gold);
}

.hero-art {
  justify-self: center;
  text-align: center;
}

.hero-art picture {
  display: block;
}

.hero-blob {
  width: min(360px, 78vw);
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(196, 163, 90, 0.28));
  animation: float-mark 5.5s ease-in-out infinite;
}

@keyframes float-mark {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.hero-art-label {
  margin: 0.85rem 0 0;
  font-weight: 800;
  color: var(--gold);
}

.didyou-bar {
  background: var(--navy);
  color: #fffdf8;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--pop);
}

.didyou-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "kicker next"
    "line line";
  align-items: center;
  column-gap: 1rem;
  row-gap: 0.35rem;
  min-height: 72px;
  padding: 0.85rem 0;
}

.didyou-kicker {
  grid-area: kicker;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.didyou-line {
  grid-area: line;
  margin: 0;
  font-weight: 650;
  line-height: 1.35;
}

.didyou-next {
  grid-area: next;
  border: 0;
  background: var(--gold);
  color: var(--navy);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.4rem 0.75rem;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}

.live-strip {
  padding: 0 0 0.4rem;
  position: relative;
  z-index: 2;
}

.bento {
  display: grid;
  gap: 12px;
}

.bento-tile {
  background: var(--paper);
  border: 2px solid rgba(196, 163, 90, 0.45);
  border-radius: 20px;
  padding: 1.05rem 1.1rem;
  min-height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.bento-tile:hover {
  transform: translate(-3px, -3px);
  box-shadow: 6px 6px 0 var(--navy);
}

.bento-hero {
  background: var(--navy);
  color: #fffdf8;
  box-shadow: 8px 8px 0 var(--gold);
}

.tile-kicker {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--pop);
  line-height: 1;
}

.bento-hero .tile-kicker {
  color: var(--gold);
}

.tile-value {
  font-family: var(--display);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 720;
  line-height: 1;
  margin: 0 0 0.4rem;
}

.tile-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.bento-hero .tile-note,
.bento-hero .tile-value {
  color: #fffdf8;
}

.bento-hero .tile-note {
  color: #d7eadc;
}

.bento-savings {
  background: var(--gold);
  box-shadow: 6px 6px 0 var(--pop);
}

.bento-savings .tile-kicker,
.bento-savings .tile-value,
.bento-savings .tile-note {
  color: var(--navy);
}

.calculator-section {
  padding: 1.4rem 0 2.2rem;
}

.calc-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.45em;
}

.calc-title-row h2 {
  margin: 0;
}

.calc-title-hint {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 750;
  color: var(--pop);
}

.calc-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
  margin-top: 0.85rem;
}

.card,
.aside-card,
.quiz-card,
.index-panel.card,
.score-board.card,
.bento-tile:not(.bento-hero),
.fact-card:not(.fact-card-hero),
.path-steps li,
.rank-table,
.product-tile {
  color: var(--ink);
}

.calc-layout,
.quote-layout {
  display: grid;
  gap: 18px;
  align-items: start;
}

.card {
  background: var(--paper);
  border: 2px solid rgba(196, 163, 90, 0.5);
  border-radius: var(--radius);
  box-shadow: 8px 8px 0 var(--gold);
  padding: 1.25rem;
}

.card-intro,
.source-cite {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.source-cite a {
  font-weight: 800;
  color: var(--blue);
  text-underline-offset: 3px;
}

.help,
.hint,
.optional,
.card-intro,
.source-cite {
  color: var(--muted-paper);
}

.footer-fine,
.quote-mail-note,
.result-detail,
.math-line,
.muted {
  color: var(--muted);
}

.card .muted,
.quiz-card .muted {
  color: var(--muted-paper);
}

.help,
.hint,
.math-line,
.footer-fine,
.optional {
  font-size: 0.92rem;
}

.optional {
  font-weight: 500;
  text-transform: lowercase;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1rem;
}

label {
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  border: 2px solid rgba(196, 163, 90, 0.55);
  border-radius: 14px;
  background: #0a0f0a;
  color: var(--fg);
  font: inherit;
  padding: 0.8rem 0.85rem;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

.money-input {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 2px solid rgba(196, 163, 90, 0.55);
  border-radius: 14px;
  background: #0a0f0a;
  padding: 0 0.75rem;
}

.money-input span {
  color: var(--muted);
  font-weight: 800;
}

.money-input input {
  border: 0;
  padding-left: 0;
}

.text-btn {
  align-self: flex-start;
  margin-top: 0.25rem;
  border: 0;
  background: none;
  color: var(--blue);
  font: inherit;
  font-weight: 800;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.results {
  background: var(--navy-deep);
  color: #f4f7fb;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 8px 8px 0 var(--pop);
}

.results h2,
.results h3 {
  color: #fff;
}

.results-head p,
.result-detail,
.math-line,
.empty-state {
  color: #d5e8da;
}

.estimate-label {
  display: inline-block;
  margin: 0 0 0.45rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
}

.estimate-label.light {
  background: var(--navy);
  color: var(--gold);
}

.result-stack {
  display: grid;
  gap: 12px;
}

.result-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 0.95rem 1rem;
}

.result-value {
  font-family: var(--display);
  font-size: clamp(1.6rem, 5vw, 2.15rem);
  margin: 0.15rem 0 0.35rem;
  color: #fff;
}

.result-score-label {
  margin: 0 0 0.4rem;
  font-weight: 800;
  color: var(--gold);
}

.result-card-score {
  background: #101810;
  border-color: var(--gold);
}

.shop-card h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: 1rem;
  margin: 0.15rem 0 0.35rem;
  letter-spacing: 0;
}

.product-grid {
  display: grid;
  gap: 10px;
  margin: 0.85rem 0 0.5rem;
}

.product-tile {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-rows: auto auto auto 1fr auto;
  column-gap: 12px;
  align-items: start;
  background: #0c140e;
  color: var(--fg);
  text-decoration: none;
  border-radius: 14px;
  padding: 0.7rem;
}

.product-tile img {
  grid-row: 1 / span 5;
  width: 72px;
  height: 72px;
  align-self: start;
  border-radius: 8px;
}

.product-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1.2;
}

.product-tile p:not(.product-kicker) {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted-paper);
}

.product-go {
  margin-top: 0.35rem;
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--gold);
}

.shop-section {
  padding: 2.2rem 0 2.6rem;
}

.shop-grid {
  display: grid;
  gap: 14px;
}

.shop-tile {
  grid-template-columns: 88px 1fr;
  padding: 1rem;
  border: 2px solid rgba(196, 163, 90, 0.5);
  box-shadow: 6px 6px 0 var(--gold);
}

.shop-tile img {
  width: 88px;
  height: 88px;
}

.shop-tile h3 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0.1rem 0 0.4rem;
}

.shop-tile .product-go {
  font-size: 0.95rem;
}

.affiliate-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--muted);
}

@media (min-width: 860px) {
  .shop-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .shop-tile {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 100%;
  }

  .shop-tile img {
    grid-row: auto;
    width: 140px;
    height: 140px;
    justify-self: start;
  }
}

.result-card-savings {
  background: #101810;
  border-color: var(--gold);
}

#savings {
  margin: 0;
  padding: 1.25rem 1.2rem 1.35rem;
  background:
    radial-gradient(120% 90% at 100% 0%, #2a8f3f 0%, #1b7a2f 48%, #0f4a1c 100%);
  color: var(--fg);
  border: 3px solid var(--gold);
  border-radius: 22px;
  box-shadow:
    0 0 0 4px rgba(196, 163, 90, 0.35),
    10px 10px 0 var(--gold);
}

#savings .estimate-label {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.8rem;
  padding: 0.28rem 0.7rem;
}

#savings h3,
#savings .result-value,
#savings .result-detail {
  color: var(--fg);
}

#savings .result-value {
  font-size: clamp(2.5rem, 8vw, 3.7rem);
  line-height: 0.92;
  margin: 0.2rem 0 0.4rem;
}

#savings .result-detail {
  color: #e8d9b0;
  font-weight: 650;
}

#savings.result-card-more {
  background:
    radial-gradient(120% 90% at 100% 0%, #e6c77a 0%, #c4a35a 55%, #7a5f28 100%);
  box-shadow:
    0 0 0 4px rgba(196, 163, 90, 0.4),
    10px 10px 0 var(--navy);
}

#savings.result-card-more .estimate-label {
  background: var(--navy);
  color: var(--gold);
}

#savings.result-card-more h3,
#savings.result-card-more .result-value,
#savings.result-card-more .result-detail {
  color: var(--navy);
}

#savings.result-card-more .result-detail {
  color: #2a1c0c;
}

.savings-home {
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  border-top: 2px solid rgba(11, 16, 32, 0.18);
}

.savings-home h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

#savings .savings-home .result-value {
  font-size: clamp(1.7rem, 5vw, 2.3rem);
}

.result-card-more {
  background: #2a1c0c;
  border-color: var(--gold);
}

.result-card-visit {
  background: #101610;
  border-color: var(--gold);
}

.results-quote-cta {
  margin-top: 0.15rem;
  padding: 1.1rem 1rem 1.15rem;
  background: #101810;
  border: 2px solid var(--gold);
  border-radius: 16px;
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.results-quote-cta p {
  margin: 0;
  color: #fffdf8;
  font-weight: 700;
}

.results-quote-cta .btn {
  min-width: 10.5rem;
}

.cta-band {
  padding: 0.5rem 0 2.8rem;
}

.quote-copy h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  max-width: 16ch;
}

.form-error {
  color: #e8b4ad;
  font-weight: 750;
  margin: 0.8rem 0 0;
}

.thanks h3 {
  font-size: 1.7rem;
}

.section-head {
  margin-bottom: 1.4rem;
}

.section-head h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.8rem, 5vw, 2.7rem);
}

.section-lede {
  margin: 0;
  max-width: 40rem;
}

.section-lede.light {
  color: #d7eadc;
}

.brand-section {
  padding: 2.8rem 0;
}

.brand-section-navy {
  background:
    radial-gradient(700px 280px at 90% 0%, rgba(27, 122, 47, 0.45) 0%, transparent 60%),
    radial-gradient(420px 220px at 8% 100%, rgba(196, 163, 90, 0.28) 0%, transparent 55%),
    var(--navy-deep);
  color: #f4f7fb;
}

.brand-section-navy .bento-tile:not(.bento-hero) {
  background: rgba(255, 253, 248, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: rgba(255, 253, 248, 0.2);
  color: #fffdf8;
}

.brand-section-navy .bento-hero {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 8px 8px 0 var(--pop);
}

.brand-section-navy .bento-hero .tile-kicker,
.brand-section-navy .bento-hero .tile-value,
.brand-section-navy .bento-hero .tile-note,
.brand-section-navy .bento-hero .stat-value,
.brand-section-navy .bento-hero .stat-label,
.brand-section-navy .bento-hero p {
  color: var(--navy);
}

.brand-section-navy h2,
.brand-section-score h2 {
  color: inherit;
}

.brand-section-score {
  background: #0c140e;
  color: var(--fg);
}

.brand-section-score .section-lede,
.brand-section-score .score-breakdown span {
  color: var(--muted);
}


.brand-section-report {
  background:
    radial-gradient(800px 300px at 0% 100%, rgba(27, 122, 47, 0.38) 0%, transparent 55%),
    var(--cream);
  color: var(--fg);
}

.index-panel,
.score-board {
  display: grid;
  gap: 1rem;
}

.index-value,
.score-big p:first-child,
#quiz-score {
  font-family: var(--display);
  font-size: clamp(2.6rem, 8vw, 4.3rem);
  line-height: 0.92;
  margin: 0.15rem 0 0.3rem;
}

.index-unit {
  font-weight: 800;
  margin: 0 0 0.55rem;
}

.stat-grid,
.fact-grid,
.stat-bento {
  display: grid;
  gap: 12px;
}

.brand-section,
.cta-band,
.aside-section {
  animation: rise-in linear both;
  animation-timeline: view();
  animation-range: entry 0% cover 16%;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.fact-card,
.path-steps li,
.quiz-option,
.product-tile {
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.fact-card:hover,
.path-steps li:hover,
.quiz-option:hover,
.product-tile:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0 var(--navy);
}

.fact-card-hero {
  background: var(--navy);
  color: #fffdf8;
  border-color: var(--navy);
}

.fact-card-hero .didyou-kicker {
  color: var(--gold);
}

.stat-card,
.fact-card {
  background: var(--paper);
  border: 2px solid rgba(196, 163, 90, 0.45);
  border-radius: 16px;
  padding: 1rem 1.05rem;
  min-height: 100%;
}

.brand-section-navy .stat-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: #f4f7fb;
}

.stat-value {
  font-family: var(--display);
  font-size: 1.85rem;
  margin: 0 0 0.15rem;
}

.stat-label {
  font-weight: 800;
  margin: 0 0 0.45rem;
}

.path-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  counter-reset: step;
}

.path-steps li {
  display: grid;
  gap: 0.35rem;
  background: var(--paper);
  border: 2px solid rgba(196, 163, 90, 0.45);
  border-radius: 16px;
  padding: 1rem 1.05rem 1rem 3.4rem;
  position: relative;
  counter-increment: step;
}

.path-steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 999px;
  background: var(--pop);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.path-steps strong,
.path-steps span {
  display: block;
}

.score-breakdown {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.score-breakdown li {
  display: grid;
  gap: 0.15rem;
}

.score-breakdown span {
  color: var(--muted);
  font-size: 0.92rem;
}

.score-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.form-ok {
  color: var(--good);
  font-weight: 750;
  margin: 0;
}

.quiz-progress {
  margin: 0 0 0.6rem;
  font-weight: 800;
  color: var(--pop);
}

.quiz-q {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 720;
  margin: 0;
}

.quiz-options {
  display: grid;
  gap: 8px;
  margin: 1rem 0 0;
}

.quiz-option {
  text-align: left;
  border: 2px solid rgba(196, 163, 90, 0.5);
  background: #0c140e;
  color: var(--fg);
  border-radius: 14px;
  padding: 0.8rem 0.95rem;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.quiz-option.is-right {
  border-color: var(--good);
  background: var(--good-bg);
}

.quiz-option.is-wrong {
  border-color: #c45a4a;
  background: #2a1210;
}

.quiz-feedback {
  margin: 0.85rem 0 0;
  font-weight: 650;
}

.quiz-result {
  display: grid;
  gap: 0.75rem;
  justify-items: start;
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 1.2rem;
}

.rank-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border: 2px solid rgba(196, 163, 90, 0.5);
  border-radius: 16px;
  overflow: hidden;
}

.rank-table caption {
  text-align: left;
  font-weight: 800;
  padding: 0 0 0.65rem;
  color: var(--fg);
}

.rank-table th,
.rank-table td {
  text-align: left;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  vertical-align: top;
}

.rank-table th {
  background: var(--navy);
  color: #fff;
}

.brand-section-report .btn {
  margin-top: 0.35rem;
}

.aside-section {
  padding: 0 0 2.6rem;
}

.aside-card {
  background: var(--paper);
  border: 2px solid rgba(196, 163, 90, 0.5);
  border-radius: var(--radius);
  padding: 1.3rem 1.25rem;
  box-shadow: 8px 8px 0 var(--gold);
}

.site-footer {
  padding: 0 0 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  border-top: 2px solid rgba(196, 163, 90, 0.4);
  padding-top: 1.4rem;
  display: grid;
  gap: 0.6rem;
}

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.96);
  border-top: 2px solid var(--gold);
}

main {
  display: flex;
  flex-direction: column;
}

.calculator-section {
  order: 1;
}

.shop-section {
  order: 2;
}

.cta-band {
  order: 3;
}

.live-strip {
  order: 4;
}

.hero {
  order: 5;
}

.didyou-bar {
  order: 6;
}

.brand-section {
  order: 7;
}

.aside-section {
  order: 8;
}

@media (max-width: 759px) {
  .calculator-section {
    padding-top: 0.85rem;
  }

  .live-strip {
    padding: 0.4rem 0 1.2rem;
  }

  .brand-mark {
    height: 64px;
    max-width: min(260px, 68vw);
  }

  .brand-mark img {
    height: 64px;
  }

  .header-inner {
    min-height: 64px;
  }

  .btn-header {
    padding: 0.45rem 0.75rem;
    font-size: 0.82rem;
  }
}

@media (min-width: 760px) {
  body {
    padding-bottom: 0;
  }

  .mobile-bar {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
  }

  .didyou-inner {
    grid-template-columns: 8.6rem 1fr auto;
    grid-template-areas: "kicker line next";
    column-gap: 1.25rem;
    min-height: 64px;
  }

  .didyou-kicker,
  .didyou-line,
  .didyou-next {
    align-self: center;
  }

  .calc-layout,
  .quote-layout,
  .index-panel,
  .score-board {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .stat-grid,
  .fact-grid,
  .path-steps,
  .live-bento,
  .stat-bento {
    grid-template-columns: 1.15fr 1fr 1fr;
  }

  .live-bento {
    grid-template-columns: 1fr 1fr;
  }

  .live-bento .bento-hero {
    grid-column: 1 / -1;
  }

  .stat-bento {
    grid-template-columns: 1.25fr 1fr;
    grid-template-rows: auto auto;
  }

  .stat-bento .bento-hero {
    grid-row: 1 / span 2;
  }

  .fact-card-hero {
    grid-column: 1 / -1;
  }

  .path-steps {
    grid-template-columns: 1fr 1fr;
  }

  .card,
  .results {
    padding: 1.5rem;
  }

  .hero {
    padding-top: 3.2rem;
  }
}

@media (min-width: 980px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand nav actions";
    padding: 0;
  }

  .site-nav {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 1.1rem;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .live-bento {
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
  }

  .live-bento .bento-hero {
    grid-column: auto;
  }
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
}

.footer-nav a {
  color: var(--gold);
  font-weight: 750;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.page-main {
  padding: 1.4rem 0 3rem;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.45rem;
  margin: 0 0 1rem;
  font-size: 0.88rem;
  font-weight: 750;
}

.crumbs a {
  color: var(--gold);
  text-decoration: none;
}

.crumbs span {
  color: var(--muted);
}

.page-lede {
  font-size: 1.12rem;
  max-width: 44rem;
  margin-bottom: 1.1rem;
}

.prose {
  max-width: 44rem;
}

.prose h2 {
  margin-top: 1.85rem;
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.prose h3 {
  margin-top: 1.2rem;
  font-size: 1.2rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.prose li {
  margin-bottom: 0.4rem;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
}

.example-card,
.faq-item,
.related-card {
  background: var(--paper);
  border: 2px solid rgba(196, 163, 90, 0.45);
  border-radius: 16px;
  padding: 1rem 1.05rem;
  box-shadow: 6px 6px 0 var(--gold);
}

.example-card {
  margin: 1.2rem 0 1.4rem;
}

.example-card p:last-child,
.faq-item p:last-child,
.related-card p:last-child {
  margin-bottom: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
  margin: 1.1rem 0 1.5rem;
}

.faq-item h2 {
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 1.15rem 0 0.4rem;
}

.related-grid,
.guide-grid {
  display: grid;
  gap: 12px;
}

.related-card {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 0.35rem;
}

.related-card h3 {
  margin: 0;
  color: var(--gold);
  font-size: 1.2rem;
}

.related-card p {
  color: var(--muted-paper);
  font-size: 0.95rem;
}

.related-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--navy);
}

.local-stat {
  display: grid;
  gap: 12px;
  margin: 1.1rem 0 1.4rem;
}

.local-stat .bento-tile {
  min-height: 0;
}

.math-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.math-table caption {
  caption-side: bottom;
  text-align: left;
  padding-top: 0.55rem;
  color: var(--muted-paper);
  font-size: 0.88rem;
}

.math-table th,
.math-table td {
  text-align: left;
  padding: 0.5rem 0.55rem;
  border-bottom: 1px solid rgba(196, 163, 90, 0.35);
}

.math-table th {
  color: var(--gold);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-faq {
  margin-top: 0.4rem;
}

@media (min-width: 760px) {
  .related-grid,
  .guide-grid,
  .local-stat {
    grid-template-columns: 1fr 1fr;
  }

  .guide-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

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