:root {
  --red: #e63b32;
  --red-dark: #a92b22;
  --aqua: #61c7c9;
  --aqua-dark: #087f83;
  --pink: #f29ab2;
  --green: #78a84b;
  --yellow: #f5cf55;
  --plum: #56304f;
  --ink: #171514;
  --cream: #fff4dc;
  --paper: #fffaf0;
  --white: #fffef9;
  --shadow: 7px 7px 0 var(--ink);
  --line: 3px solid var(--ink);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(242,154,178,.22), transparent 22rem),
    radial-gradient(circle at 92% 15%, rgba(97,199,201,.24), transparent 25rem),
    var(--cream);
  font-family: "Trebuchet MS", Arial, sans-serif;
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .17;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.25'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
img { max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 4px solid var(--yellow); outline-offset: 4px; }

.skip-link { position: absolute; left: -999px; top: 10px; z-index: 100; background: var(--ink); color: white; padding: .7rem 1rem; }
.skip-link:focus { left: 10px; }
.wrap { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 32px), 820px); margin-inline: auto; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; overflow: hidden; }
.section-tight { padding: 3.5rem 0; }
.cream { background: var(--cream); }
.paper { background: var(--paper); }
.aqua { background: var(--aqua); }
.yellow { background: var(--yellow); }
.pink { background: var(--pink); }
.plum { background: var(--plum); color: white; }
.ink { background: var(--ink); color: var(--cream); }

.eyebrow {
  display: inline-flex;
  gap: .5rem;
  align-items: center;
  padding: .4rem .75rem;
  border: 2px solid currentColor;
  border-radius: 999px;
  font: 800 .78rem/1.1 "Courier New", monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--yellow);
  color: var(--ink);
}
.eyebrow::before { content: "✦"; color: var(--red); }
h1, h2, h3 { margin: 0 0 .8rem; line-height: 1.05; letter-spacing: -.015em; }
h1, h2 { font-family: Impact, "Arial Black", sans-serif; text-transform: uppercase; font-weight: 900; }
h1 { font-size: clamp(3.6rem, 8.6vw, 8.4rem); }
h2 { font-size: clamp(2.7rem, 6vw, 5.4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); }
/* White headings on dark backgrounds get a hard offset shadow for depth and legibility */
.plum h1, .plum h2, .plum h3,
.ink h1, .ink h2, .ink h3,
.cta-band h1, .cta-band h2, .cta-band h3,
.control-screen h1, .control-screen h2, .control-screen h3 {
  text-shadow: 4px 4px 0 rgba(23, 21, 20, .9);
}
/* White body copy on dark backgrounds: subtle shadow + more breathing room */
.plum p, .plum li, .plum .lede,
.ink p, .ink li, .ink .lede,
.control-screen p, .control-screen li {
  text-shadow: 2px 2px 0 rgba(23, 21, 20, .5);
}
.plum .lede, .plum p,
.ink .lede, .ink p { line-height: 1.72; }
.plum .lede, .ink .lede { margin-top: 1.1rem; }
p { margin: 0 0 1rem; }
.lede { font-size: clamp(1.15rem, 2vw, 1.45rem); max-width: 720px; }
.huge-line { font-family: Impact, "Arial Black", sans-serif; text-transform: uppercase; font-size: clamp(3rem, 8vw, 9rem); line-height: .9; }
.red-text { color: var(--red); }
.aqua-text { color: var(--aqua-dark); }
.hand { font-family: Georgia, serif; font-style: italic; font-weight: 700; }
.mono { font-family: "Courier New", monospace; }

.announcement { background: var(--red); color: white; border-bottom: var(--line); text-align: center; padding: .55rem 1rem; font: 800 .82rem/1.2 "Courier New", monospace; letter-spacing: .07em; text-transform: uppercase; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,244,220,.95); border-bottom: var(--line); backdrop-filter: blur(12px); }
.nav { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { width: 190px; display: block; }
.nav-links { display: flex; align-items: center; gap: 1.3rem; font-weight: 800; font-size: .92rem; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--red); }
.nav-toggle { display: none; border: var(--line); background: var(--yellow); padding: .5rem .7rem; border-radius: 8px; font-weight: 900; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 50px;
  padding: .8rem 1.15rem;
  border: var(--line);
  border-radius: 10px;
  background: var(--red);
  color: white;
  box-shadow: 4px 4px 0 var(--ink);
  text-decoration: none;
  font-weight: 900;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn-aqua { background: var(--aqua); color: var(--ink); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-small { min-height: 40px; padding: .55rem .8rem; font-size: .84rem; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

.hero { min-height: calc(100vh - 112px); padding: clamp(3rem, 7vw, 7rem) 0 4rem; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(1rem, 4vw, 4rem); }
.hero h1 { max-width: 730px; letter-spacing: -.015em; line-height: 1.05; }
.hero h1 span { display: block; color: var(--red); text-shadow: 4px 4px 0 var(--yellow); }
.hero-copy { position: relative; z-index: 2; }
.hero-visual { min-height: 610px; position: relative; border-radius: 42% 58% 30% 70% / 55% 35% 65% 45%; background: var(--plum); border: 5px solid var(--ink); box-shadow: var(--shadow); overflow: hidden; }
.hero-visual canvas { width: 100%; height: 100%; position: absolute; inset: 0; }
.brain-controls { position: absolute; z-index: 3; bottom: 20px; left: 20px; right: 20px; display: grid; grid-template-columns: 1fr 1fr; border: var(--line); background: var(--cream); border-radius: 14px; overflow: hidden; box-shadow: 5px 5px 0 var(--ink); }
.brain-mode { border: 0; background: transparent; padding: .8rem; font-weight: 900; text-transform: uppercase; }
.brain-mode.active { background: var(--yellow); }
.hero-spark { position: absolute; font-family: Georgia, serif; color: var(--yellow); font-size: 6rem; z-index: 2; }
.spark-a { top: 5%; right: 5%; transform: rotate(14deg); }
.spark-b { bottom: 12%; left: -1%; color: var(--pink); font-size: 3rem; }

.ticker { border-block: var(--line); background: var(--yellow); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 30s linear infinite; }
.ticker span { padding: .85rem 1.7rem; font: 900 .9rem "Courier New", monospace; text-transform: uppercase; }
.ticker span::after { content: "✦"; margin-left: 2rem; color: var(--red); }
@keyframes ticker { to { transform: translateX(-50%); } }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
.card { border: var(--line); border-radius: var(--radius); padding: 1.5rem; background: var(--paper); box-shadow: var(--shadow); position: relative; }
.card:nth-child(3n+2) { background: var(--yellow); }
.card:nth-child(3n+3) { background: var(--aqua); }
.card-number { font: 900 3rem/1 Impact, sans-serif; color: var(--red); }
.card p:last-child { margin-bottom: 0; }
.card-link { display: inline-block; font-weight: 900; margin-top: .8rem; }
.tilt-left { transform: rotate(-2deg); }
.tilt-right { transform: rotate(2deg); }

.receipt { border: var(--line); background: var(--paper); padding: 2rem; box-shadow: var(--shadow); font-family: "Courier New", monospace; position: relative; }
.receipt::before, .receipt::after { content: ""; position: absolute; left: -3px; right: -3px; height: 12px; background: radial-gradient(circle at 6px 0, transparent 6px, var(--paper) 6px) 0 0/12px 12px repeat-x; }
.receipt::before { top: -4px; transform: rotate(180deg); }
.receipt::after { bottom: -11px; }
.receipt-line { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--ink); padding: .55rem 0; }
.receipt-total { font-weight: 900; font-size: 1.15rem; color: var(--red); }

.housewife-stage { min-height: 590px; position: relative; display: flex; align-items: end; justify-content: center; }
.housewife-stage img { max-height: 590px; object-fit: contain; filter: drop-shadow(8px 8px 0 rgba(23,21,20,.9)); }
.speech { position: absolute; top: 8%; left: 0; max-width: 280px; border: var(--line); border-radius: 45% 55% 50% 50%; padding: 1.5rem 1.6rem; background: var(--white); box-shadow: 5px 5px 0 var(--ink); font-weight: 900; transform: rotate(-4deg); }
.speech::after { content: ""; position: absolute; right: -25px; bottom: 5px; width: 44px; height: 44px; background: var(--white); border-right: var(--line); border-bottom: var(--line); transform: rotate(-25deg) skew(-20deg); }

.control-panel { border: 5px solid var(--ink); border-radius: 28px; background: var(--aqua); padding: 1.3rem; box-shadow: var(--shadow); }
.control-screen { border: 4px solid var(--ink); border-radius: 18px; min-height: 340px; background: var(--plum); color: white; padding: 1.5rem; position: relative; overflow: hidden; }
.lights { display: flex; gap: .6rem; margin-top: 1rem; }
.light { width: 22px; height: 22px; border: 3px solid var(--ink); border-radius: 50%; background: var(--red); }
.light:nth-child(2) { background: var(--yellow); }
.light:nth-child(3) { background: var(--green); }
.light:nth-child(4) { background: var(--pink); }

.comic-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1.2rem; margin-top: 2rem; }
.comic-panel { min-height: 300px; border: 5px solid var(--ink); padding: 1.4rem; position: relative; overflow: hidden; background-color: var(--yellow); background-image: radial-gradient(var(--red) 1.4px, transparent 1.4px); background-size: 9px 9px; box-shadow: 7px 7px 0 var(--ink); }
.comic-panel:nth-child(2), .comic-panel:nth-child(3) { background-color: var(--aqua); background-image: radial-gradient(var(--aqua-dark) 1.2px, transparent 1.2px); }
.comic-panel:nth-child(4) { background-color: var(--pink); }
.comic-panel h3 { display: inline; background: var(--cream); padding: .15rem .4rem; box-decoration-break: clone; -webkit-box-decoration-break: clone; text-transform: uppercase; }
.comic-burst { width: 150px; height: 150px; display: grid; place-items: center; background: var(--red); color: white; clip-path: polygon(50% 0,61% 30%,85% 15%,70% 39%,100% 50%,70% 61%,85% 85%,61% 70%,50% 100%,39% 70%,15% 85%,30% 61%,0 50%,30% 39%,15% 15%,39% 30%); font: 900 1rem/1 Impact,sans-serif; text-align: center; transform: rotate(8deg); }

.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2rem; }
.offer { border: var(--line); border-radius: 20px; background: var(--paper); padding: 1.5rem; box-shadow: 6px 6px 0 var(--ink); display: flex; flex-direction: column; }
.offer.featured { background: var(--yellow); transform: translateY(-12px); }
.price { font: 900 2.5rem/1 Impact,sans-serif; color: var(--red); margin: .6rem 0; }
.offer ul { padding-left: 1.2rem; }
.offer .btn { margin-top: auto; }

.page-hero { padding: clamp(4rem, 8vw, 7rem) 0; border-bottom: var(--line); background: var(--aqua); overflow: hidden; }
.page-hero h1 { max-width: 1000px; font-size: clamp(3.5rem, 9vw, 8rem); }
.page-hero .lede { max-width: 780px; }
/* A color modifier on a page hero must win over the default aqua background */
.page-hero.cream { background: var(--cream); }
.page-hero.paper { background: var(--paper); }
.page-hero.aqua { background: var(--aqua); }
.page-hero.yellow { background: var(--yellow); }
.page-hero.pink { background: var(--pink); }
.page-hero.plum { background: var(--plum); }
.page-hero.ink { background: var(--ink); }

.faq { border-top: var(--line); margin-top: 2rem; }
.faq details { border-bottom: var(--line); padding: 1rem .2rem; }
.faq summary { font-weight: 900; cursor: pointer; font-size: 1.1rem; }
.faq details p { max-width: 760px; margin-top: .8rem; }

.scan-shell { display: grid; grid-template-columns: .7fr 1.3fr; gap: 2rem; align-items: start; }
.scan-aside { position: sticky; top: 120px; }
.progress { height: 18px; border: 3px solid var(--ink); background: white; border-radius: 999px; overflow: hidden; margin: 1rem 0; }
.progress > div { height: 100%; width: 20%; background: var(--red); transition: width .3s; }
.scan-card { border: 5px solid var(--ink); background: var(--paper); padding: clamp(1.4rem, 4vw, 2.6rem); border-radius: 28px; box-shadow: var(--shadow); }
.scan-step { display: none; }
.scan-step.active { display: block; }
.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 1.5rem 0; }
.choice { border: var(--line); border-radius: 12px; padding: 1rem; font-weight: 800; background: var(--white); cursor: pointer; }
.choice:has(input:checked) { background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px,-2px); }
.choice input { margin-right: .5rem; accent-color: var(--red); }
.scan-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; }
.result { display: none; scroll-margin-top: 120px; }
.result.active { display: block; }
.score-ring { width: 180px; aspect-ratio: 1; display: grid; place-items: center; border: 18px solid var(--red); border-radius: 50%; background: var(--yellow); box-shadow: 6px 6px 0 var(--ink); font: 900 3rem Impact,sans-serif; }
.email-box { border: var(--line); background: var(--aqua); padding: 1.2rem; margin-top: 1.5rem; border-radius: 14px; }
.email-box input { width: 100%; min-height: 48px; border: var(--line); border-radius: 8px; padding: .7rem; margin: .5rem 0; background: white; }

.cta-band { border-block: var(--line); background: var(--red); color: white; padding: 3rem 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.cta-band h2 { font-size: clamp(2.5rem, 5vw, 5rem); max-width: 820px; }

.site-footer { background: var(--ink); color: var(--cream); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, .7fr); gap: 2rem; }
.footer-logo { width: 280px; }
.site-footer a { color: var(--cream); text-decoration: none; display: block; margin: .4rem 0; }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.25); margin-top: 2rem; padding-top: 1rem; font: .8rem "Courier New",monospace; }

.reveal { opacity: 0; transform: translateY(24px); transition: .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-grid, .grid-2, .scan-shell { grid-template-columns: 1fr; }
  .hero-visual { min-height: 540px; }
  .grid-3, .cards, .offer-grid { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .scan-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 81px; left: 0; right: 0; background: var(--cream); border-bottom: var(--line); padding: 1rem; flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
}
@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .logo { width: 145px; }
  .nav { min-height: 70px; }
  .nav-links { top: 69px; }
  .hero { padding-top: 2.5rem; }
  .hero-visual { min-height: 430px; border-radius: 24px; }
  .grid-3, .grid-4, .cards, .offer-grid, .choice-grid, .comic-grid { grid-template-columns: 1fr; }
  .housewife-stage { min-height: 430px; }
  .housewife-stage img { max-height: 430px; }
  .speech { top: -5%; max-width: 210px; font-size: .85rem; }
  .cta-band .wrap { display: block; }
  .footer-grid { grid-template-columns: 1fr; }
  .offer.featured { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
