@font-face {
  font-family: "Nunito";
  src: url("/fonts/Nunito.woff2") format("woff2");
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #FFF8F0;
  --surface: #FFFFFF;
  --soft: #FFF1E4;
  --ink: #2A211C;
  --muted: #6A5D53;
  --primary: #B93E22;
  --primary-hover: #9A321B;
  --on-primary: #FFFFFF;
  --sage: #3F6B55;
  --sun: #FFD369;
  --sun-soft: #FFEDB8;
  --peach: #FFE2CF;
  --mint: #DCEDE1;
  --line: #EFE0D0;
  --focus: #1F5F8B;
  --radius: 18px;
  --shadow: 0 2px 6px rgb(42 33 28 / 6%), 0 18px 40px rgb(42 33 28 / 10%);
  --display: "Nunito", system-ui, sans-serif;
  --sans: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.55em;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.center { text-align: center; }

mark {
  background: linear-gradient(180deg, transparent 58%, var(--sun) 58%, var(--sun) 92%, transparent 92%);
  color: inherit;
  padding: 0 0.06em;
}

a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(780px, 100% - 40px); }

.skip { position: absolute; left: 12px; top: -60px; background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: 10px; z-index: 10; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header */
.top { padding: 18px 0; }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 1.55rem; font-weight: 800; letter-spacing: -0.03em; }
.brand--small { font-size: 1.25rem; }
.nav { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.nav a { display: inline-block; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1rem; padding: 8px 14px; border-radius: 999px; }
.nav a:hover { background: var(--soft); color: var(--ink); }
@media (max-width: 820px) { .nav { display: none; } }

/* Chips and pills */
.chip { display: inline-block; font-weight: 700; font-size: 0.95rem; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.chip--sage { background: var(--mint); color: var(--sage); }
.chip--peach { background: var(--peach); color: var(--primary); }
.chip--white { background: var(--surface); color: var(--ink); }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; }
.pills li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.95rem; font-weight: 600; }

/* Hero */
.hero { padding: 28px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -160px; top: -120px;
  background: radial-gradient(closest-side, var(--peach), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; gap: 40px; } }
.lede { font-size: 1.25rem; max-width: 32em; }
.cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 30px; }
.cta__note { color: var(--muted); margin: 0; font-size: 1rem; line-height: 1.45; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px;
  background: var(--primary); color: var(--on-primary); border-radius: 999px; font-weight: 700; text-decoration: none;
  box-shadow: 0 8px 20px rgb(185 62 34 / 25%); transition: background-color 160ms ease-out, transform 160ms ease-out;
}
.button:hover { background: var(--primary-hover); color: var(--on-primary); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .button:hover { transform: none; } }

.hero__art { position: relative; justify-self: center; width: min(520px, 100%); padding: 0 0 40px 40px; }
@media (max-width: 560px) { .hero__art { padding: 0 0 120px 0; } }
.photo { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow); background: var(--soft); }
.photo--hero { border-radius: 200px 200px 32px 32px; }

.float { position: absolute; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.float--spec { left: 0; bottom: 0; width: 270px; margin: 0; padding: 16px 18px 10px; }
.float__head { display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.tag { background: var(--sun-soft); color: var(--ink); border-radius: 999px; padding: 1px 10px; font-family: var(--sans); font-size: 0.78rem; font-weight: 700; }
.mini { margin: 0; font-size: 0.93rem; }
.mini div { display: grid; grid-template-columns: 5.2em 1fr; gap: 8px; padding: 6px 0; border-top: 1px solid var(--line); }
.mini dt { color: var(--muted); font-weight: 600; }
.mini dd { margin: 0; font-weight: 700; }
.swatch { display: inline-block; vertical-align: -2px; margin-right: 6px; width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 15%); }
.float--match { right: -12px; top: 36px; display: flex; gap: 10px; align-items: center; padding: 12px 16px; font-size: 0.95rem; line-height: 1.3; }
.float--match span { color: var(--muted); }
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 5px var(--mint); flex: none; }
@media (max-width: 560px) { .float--match { right: 8px; top: 16px; } .float--spec { left: 50%; transform: translateX(-50%); width: min(300px, 92%); } }

/* Facts */
.facts { padding: 0 0 40px; }
.facts__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 820px) { .facts__grid { grid-template-columns: 1fr; } }
.facts__grid li { border-radius: 22px; padding: 24px 26px; }
.facts__grid li p { margin: 0; }
.tint-peach { background: var(--peach); }
.tint-sun { background: var(--sun-soft); }
.tint-mint { background: var(--mint); }
.fact__num { font-family: var(--display); font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 6px !important; line-height: 1.1; }
.fineprint { color: var(--muted); font-size: 0.9rem; margin-top: 16px; }

/* Sections */
.section { padding: 84px 0; }
.section--sun { background: var(--sun-soft); }
.section--mint { background: var(--mint); }
.section--peach { background: var(--peach); }
.section--soft { background: var(--soft); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--flip > :first-child { order: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split--flip > :first-child { order: 1; } }
.split__media { position: relative; }
.note { color: var(--muted); font-size: 1rem; }

.ticks { list-style: none; margin: 0 0 18px; padding: 0; }
.ticks li { position: relative; padding: 8px 0 8px 40px; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 26px; height: 26px; border-radius: 50%; background: var(--mint); }
.ticks li::after { content: ""; position: absolute; left: 8px; top: 17px; width: 10px; height: 6px; border-left: 3px solid var(--sage); border-bottom: 3px solid var(--sage); transform: rotate(-45deg); }

/* Match score card */
.score { background: var(--surface); border-radius: 24px; box-shadow: var(--shadow); padding: 24px 26px; }
.score__head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.score__label { color: var(--muted); font-size: 0.9rem; font-weight: 600; margin: 0; }
.score__name { font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin: 2px 0 0; }
.verdict { background: var(--mint); color: var(--sage); font-weight: 800; border-radius: 999px; padding: 6px 14px; white-space: nowrap; font-size: 0.95rem; }
.score__list { list-style: none; margin: 0; padding: 0; }
.score__list li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.score__list li:last-child { border-bottom: 0; padding-bottom: 0; }
.score__list b { display: inline-block; min-width: 4.6em; }
.ok, .diff { flex: none; width: 24px; height: 24px; border-radius: 50%; position: relative; }
.ok { background: var(--mint); }
.ok::after { content: ""; position: absolute; left: 7px; top: 7px; width: 9px; height: 5px; border-left: 3px solid var(--sage); border-bottom: 3px solid var(--sage); transform: rotate(-45deg); }
.diff { background: var(--sun-soft); }
.diff::after { content: ""; position: absolute; left: 6px; top: 10.5px; width: 12px; height: 3px; border-radius: 2px; background: #8A6A12; }

/* Steps */
.steps { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.steps p { color: var(--muted); margin: 0; }
.steps__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sun); color: #2A211C; font-family: var(--display); font-weight: 800; font-size: 1.2rem; margin-bottom: 14px; }

/* Trust */
.trust { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .trust { grid-template-columns: 1fr; } }
.trust li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.trust b { display: block; font-family: var(--display); font-size: 1.1rem; margin-bottom: 2px; }

/* FAQ */
details { background: var(--surface); border-radius: 16px; padding: 2px 20px; margin-top: 12px; border: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; padding: 16px 0; min-height: 48px; }
details p { color: var(--muted); }

/* Footer */
.foot { padding: 44px 0 60px; color: var(--muted); font-size: 0.95rem; }
.foot__row { display: grid; gap: 6px; }
.foot p { margin: 0; }
