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

/* Light only. Every text pair below meets WCAG AA (4.5:1) and most meet AAA. */
:root {
  color-scheme: light;
  --bg: #FFF8F0;
  --surface: #FFFFFF;
  --soft: #FFF1E4;
  --ink: #2A211C;
  --muted: #5E5149;
  --primary: #B02A45;
  --primary-hover: #8E1F37;
  --on-primary: #FFFFFF;
  --rose: #FFE3E4;
  --rose-ink: #8C2335;
  --sun: #FFD369;
  --sun-soft: #FFEDB8;
  --mint: #DCEDE1;
  --leaf: #2D6249;
  --line: #EFE0D0;
  --focus: #1F5F8B;
  --radius: 20px;
  --shadow: 0 2px 6px rgb(42 33 28 / 6%), 0 18px 40px rgb(42 33 28 / 11%);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tap: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; touch-action: manipulation; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

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

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 4.9vw, 3.8rem); font-weight: 900; line-height: 1.06; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.center { text-align: center; }
.sub { color: var(--muted); font-size: 1.25rem; margin-top: -0.4em; }

mark {
  white-space: nowrap;
  background: linear-gradient(180deg, transparent 60%, var(--sun) 60%, var(--sun) 92%, transparent 92%);
  color: inherit;
  padding: 0 0.04em;
}

a { color: var(--primary); text-underline-offset: 4px; text-decoration-thickness: 2px; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }

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

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 10;
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 22px;
  background: var(--surface); color: var(--ink); font-weight: 800; border-radius: 999px; box-shadow: var(--shadow);
}
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* Header */
.top { padding: 12px 0; }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; min-height: var(--tap); padding-right: 8px;
  color: var(--ink); text-decoration: none; font-size: 1.7rem; font-weight: 900; letter-spacing: -0.03em;
}
.brand:hover { color: var(--ink); }
.brand--small { font-size: 1.35rem; }
.nav { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a {
  display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 18px; border-radius: 999px;
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.125rem;
}
.nav a:hover { background: var(--rose); color: var(--ink); }
@media (max-width: 1020px) { .nav { display: none; } }

/* Chips, pills, tags */
.chip { display: inline-block; text-wrap: balance; font-weight: 800; font-size: 1.125rem; line-height: 1.3; padding: 8px 18px; border-radius: 999px; margin-bottom: 20px; }
.chip--rose { background: var(--rose); color: var(--rose-ink); }
.chip--white { background: var(--surface); color: var(--ink); }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; padding: 0; }
.pills li { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 16px; font-size: 1.125rem; font-weight: 700; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 22px; padding: 0; }
.tags li {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 12px; border-radius: 14px;
  background: var(--mint); color: var(--leaf); font-weight: 800; font-size: 1.125rem;
}
.tags li::before {
  content: ""; width: 10px; height: 6px; margin: 0 4px 4px 2px; flex: none;
  border-left: 3px solid var(--leaf); border-bottom: 3px solid var(--leaf); transform: rotate(-45deg);
}

/* Buttons. The primary call to action is 88 px tall, every other target at least 64 px. */
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap); padding: 0 32px;
  background: var(--primary); color: var(--on-primary); border-radius: 999px; font-weight: 800; font-size: 1.25rem;
  text-decoration: none; box-shadow: 0 10px 22px rgb(176 42 69 / 26%);
  transition: background-color 160ms ease-out, transform 160ms ease-out;
}
.button--primary { min-height: 88px; padding: 0 44px; font-size: 1.375rem; }
.button:hover { background: var(--primary-hover); color: var(--on-primary); transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) { .button:hover { transform: none; } }

/* Hero */
.hero { padding: 20px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 760px; height: 760px; right: -180px; top: -140px;
  background: radial-gradient(closest-side, var(--rose), transparent 72%);
}
.hero::after {
  content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; left: -160px; bottom: -120px;
  background: radial-gradient(closest-side, var(--sun-soft), transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; }
.lede { font-size: 1.3rem; max-width: 31em; }
.cta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px; }
.cta__note { color: var(--muted); margin: 0; font-size: 1.125rem; line-height: 1.45; }

.hero__art { position: relative; justify-self: center; width: min(480px, 100%); padding-bottom: 150px; }
.hero__photo { position: relative; }
.photo { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow); background: var(--soft); }
.photo--hero { border-radius: 240px 240px 32px 32px; }

.float { position: absolute; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.float p { margin: 0; }
.float--hands { right: -28px; top: 44px; display: flex; gap: 12px; align-items: center; padding: 14px 20px 14px 16px; line-height: 1.3; }
.float--hands span { color: var(--muted); }
.dot { width: 16px; height: 16px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 6px var(--mint); flex: none; margin: 0 4px; }

.float--swap { left: -64px; top: 77%; width: 360px; margin: 0; padding: 18px 20px 16px; }
.float__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 800; font-size: 1.25rem; margin-bottom: 4px; }
.tag { background: var(--sun-soft); color: var(--ink); border-radius: 999px; padding: 0 12px; font-size: 1.125rem; font-weight: 800; }
.swaps { list-style: none; margin: 0; padding: 0; }
.swaps li {
  display: grid; grid-template-columns: 1fr auto; column-gap: 12px; row-gap: 4px; align-items: center;
  padding: 12px 0; border-top: 1px solid var(--line); line-height: 1.3;
}
.swaps__was { color: var(--muted); }
.swaps__now { font-weight: 800; }
.float__foot { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 700; color: var(--ink); }
.float__foot::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px var(--sun-soft); flex: none; margin-left: 4px; }

.lvl { justify-self: end; border-radius: 999px; padding: 0 12px; font-size: 1.125rem; font-weight: 800; line-height: 1.6; white-space: nowrap; }
.lvl--hard { background: var(--rose); color: var(--rose-ink); }
.lvl--easy { background: var(--mint); color: var(--leaf); }

@media (max-width: 960px) {
  .hero { padding-bottom: 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__art { width: min(520px, 100%); padding-bottom: 0; }
  .float--hands { right: 12px; top: 18px; }
  .float--swap { position: relative; left: auto; top: auto; width: min(400px, calc(100% - 24px)); margin: -84px auto 0; }
}

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

/* Sections */
.section { padding: 88px 0; }
.section--sun { background: var(--sun-soft); }
.section--mint { background: var(--mint); }
.section--rose { background: var(--rose); }
.section--soft { background: var(--soft); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } .split--flip > :first-child { order: 1; } }
.split__media { position: relative; }
.split__media--tall { width: min(460px, 100%); justify-self: center; }
.note { color: var(--muted); font-size: 1.125rem; }
.section--rose .note, .section--sun .note { color: var(--ink); }

.ticks { list-style: none; margin: 0 0 18px; padding: 0; }
.ticks li { position: relative; padding: 8px 0 8px 44px; font-weight: 700; line-height: 1.45; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 8px; width: 30px; height: 30px; border-radius: 50%; background: var(--mint); }
.section--mint .ticks li::before { background: var(--surface); }
.ticks li::after { content: ""; position: absolute; left: 9px; top: 17px; width: 11px; height: 6px; border-left: 3px solid var(--leaf); border-bottom: 3px solid var(--leaf); transform: rotate(-45deg); }

/* Swap list (ease section) */
.swaplist { list-style: none; margin: 8px 0 22px; padding: 0; display: grid; gap: 10px; }
.swaplist li { background: var(--surface); border-radius: 18px; padding: 14px 20px; line-height: 1.35; box-shadow: 0 1px 3px rgb(42 33 28 / 6%); }
.swaplist__was { display: block; color: var(--muted); }
.swaplist__now { display: block; font-weight: 800; }

.float--grade { right: 18px; bottom: -28px; padding: 10px 18px; min-width: 270px; }
.grade__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 8px 0; font-weight: 700; }
.grade__row + .grade__row { border-top: 1px solid var(--line); }
@media (max-width: 560px) { .float--grade { position: relative; right: auto; bottom: auto; margin: -36px auto 0; width: calc(100% - 32px); min-width: 0; } }

/* Steps */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; }
.steps p { color: var(--muted); margin: 0; }
.steps__n { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--sun); color: var(--ink); font-weight: 900; font-size: 1.4rem; margin-bottom: 14px; }

/* Trust */
.trust { list-style: none; margin: 30px 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: 20px; padding: 20px 22px; }
.trust b { display: block; font-size: 1.2rem; margin-bottom: 2px; }

/* FAQ: native details, so it works with keyboards, screen readers and voice control. */
details { background: var(--surface); border-radius: 18px; padding: 0 22px; margin-top: 14px; border: 1px solid var(--line); }
summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--tap); padding: 14px 0;
  cursor: pointer; font-weight: 800; font-size: 1.2rem; line-height: 1.35; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--rose); color: var(--rose-ink); font-size: 1.6rem; font-weight: 800; line-height: 1;
}
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); padding-bottom: 6px; }

/* Footer */
.foot { padding: 48px 0 64px; color: var(--muted); font-size: 1.125rem; }
.foot__row { display: grid; gap: 8px; }
.foot p { margin: 0; }
