:root {
  --ink: #171a3f;
  --paper: #fffdf7;
  --pink: #ff4f93;
  --yellow: #ffe34f;
  --blue: #2176d2;
  --green: #79bd74;
  --orange: #ff7834;
  --purple: #7b50c7;
  --border: 3px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; overflow-x: hidden; background: var(--paper); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 4px solid var(--yellow); outline-offset: 4px; }

.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .75rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { top: 1rem; }
.announce { background: var(--ink); color: white; text-align: center; padding: .6rem 1rem; font-size: .78rem; letter-spacing: .16em; font-weight: 900; }
.site-header { min-height: 78px; padding: 1rem clamp(1rem, 4vw, 4rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-bottom: var(--border); background: rgba(255,253,247,.96); position: sticky; top: 0; z-index: 30; }
.wordmark, .footer-mark { text-decoration: none; font-size: clamp(1.15rem, 2.4vw, 1.8rem); font-weight: 1000; letter-spacing: -.05em; white-space: nowrap; }
.wordmark > span { font-size: .48em; letter-spacing: .12em; vertical-align: top; margin-right: .35rem; }
.eye-dot { display: inline-block; width: .66em; height: .66em; border-radius: 50%; background: white; border: .16em solid var(--ink); position: relative; margin: 0 .02em -.02em; }
.eye-dot::after { content: ""; position: absolute; width: .22em; height: .22em; border-radius: 50%; background: var(--ink); right: .05em; top: .05em; }
nav { display: flex; align-items: center; gap: clamp(.8rem, 2.4vw, 2rem); font-size: .95rem; font-weight: 800; }
nav a { text-decoration: none; }
.nav-cta { background: var(--yellow); border: 2px solid var(--ink); padding: .65rem 1rem; box-shadow: 3px 3px 0 var(--ink); }

.hero { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); min-height: 690px; border-bottom: var(--border); }
.hero-copy { padding: clamp(3rem, 7vw, 7rem) clamp(1.25rem, 4vw, 5rem); display: flex; flex-direction: column; justify-content: center; background: linear-gradient(145deg, #ffef75 0%, #ffd84d 72%, #ff9d4c 100%); border-right: var(--border); position: relative; }
.hero-copy::after { content: ""; position: absolute; width: 160px; height: 34px; background: var(--pink); border: var(--border); transform: rotate(-8deg); bottom: 2.5rem; right: -2rem; }
.eyebrow { margin: 0 0 1rem; font-size: .78rem; font-weight: 1000; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: balance; }
h1 { margin: 0; font-size: clamp(3.8rem, 8vw, 7.7rem); line-height: .84; letter-spacing: -.085em; max-width: 8ch; }
h1 em { color: var(--pink); font-style: normal; -webkit-text-stroke: 3px var(--ink); text-shadow: 5px 5px 0 var(--ink); }
.lede { font-family: system-ui, sans-serif; max-width: 36rem; margin: 2rem 0 0; font-size: clamp(1.1rem, 2vw, 1.35rem); line-height: 1.55; font-weight: 650; }
.hero-actions { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; margin-top: 2rem; }
.button { appearance: none; display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: .85rem 1.25rem; border: var(--border); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; font-weight: 1000; cursor: pointer; transition: transform .16s, box-shadow .16s; }
.button:hover { transform: translate(3px,3px); box-shadow: 4px 4px 0 var(--ink); }
.button-primary { background: var(--pink); color: white; }
.button-dark { background: var(--ink); color: white; box-shadow: 7px 7px 0 var(--yellow); }
.text-link { font-weight: 1000; text-underline-offset: .25rem; }
.microcopy { font-family: system-ui, sans-serif; font-size: .82rem; margin-top: 1.3rem; }
.hero-product { margin: 0; position: relative; min-height: 550px; background: white; overflow: hidden; display: flex; flex-direction: column; justify-content: stretch; }
.hero-product img { width: 100%; flex: 1; min-height: 0; object-fit: cover; object-position: center; }
.hero-product figcaption { display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.5rem; background: var(--blue); color: white; border-top: var(--border); }
.hero-product strong { font-size: 1.1rem; letter-spacing: .08em; }
.hero-product span { font-family: system-ui, sans-serif; }

.marquee { overflow: hidden; border-bottom: var(--border); background: var(--pink); color: white; white-space: nowrap; padding: .85rem 0; font-weight: 1000; letter-spacing: .06em; }
.marquee div { width: max-content; animation: ticker 22s linear infinite; }
.marquee b { color: var(--yellow); margin: 0 1.5rem; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .marquee div { animation: none; } }

.section { padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 5vw, 5rem); }
.section-heading { max-width: 58rem; margin-bottom: 3rem; }
h2 { margin: 0; font-size: clamp(2.7rem, 6vw, 6.5rem); line-height: .9; letter-spacing: -.07em; }
.section-heading > p:last-child, .row-heading > p, .materials-copy > p, .signup-intro > p { font-family: system-ui, sans-serif; font-size: 1.08rem; line-height: 1.65; max-width: 44rem; }
.toe-lab { background: #f4efff; border-bottom: var(--border); }
.lab-panel { display: grid; grid-template-columns: 1fr 1.2fr .85fr; border: var(--border); background: white; box-shadow: 11px 11px 0 var(--purple); }
.choice-group, .lab-result { padding: clamp(1.3rem, 3vw, 2.5rem); }
.choice-group { border-right: var(--border); }
.choice-group h3 { margin: 0 0 1.4rem; font-size: 1.25rem; }
.swatches { display: flex; gap: .65rem; flex-wrap: wrap; }
.swatch { width: 62px; height: 62px; border-radius: 50%; background: var(--swatch); border: 3px solid white; outline: 2px solid var(--ink); cursor: pointer; position: relative; }
.swatch span { position: absolute; opacity: 0; pointer-events: none; }
.swatch-rainbow { background: conic-gradient(#ff4f93,#ff8136,#ffe34f,#79bd74,#2176d2,#7b50c7,#ff4f93); }
.swatch.is-selected { box-shadow: 0 0 0 5px var(--yellow), 0 0 0 8px var(--ink); transform: scale(.86); }
.nail-sets { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem; }
.nail-set { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; border: 2px solid var(--ink); background: white; padding: .85rem; cursor: pointer; }
.nail-set span { grid-column: 1/-1; text-align: left; font-size: .8rem; margin-top: .25rem; font-weight: 900; }
.nail-set.is-selected { background: var(--yellow); box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px,-2px); }
.nail { height: 26px; border: 2px solid var(--ink); border-radius: 50% 50% 40% 40%; box-shadow: inset 0 0 0 3px rgba(255,255,255,.4); }
.ocean-1,.rainbow-3{background:#1677dc}.ocean-2{background:#13c8dc}.ocean-3,.candy-4{background:#7655dd}.ocean-4{background:#d2e8ff}.candy-1{background:#ff4f93}.candy-2{background:#ff99c4}.candy-3{background:#f04ddb}.citrus-1{background:#ff7a2f}.citrus-2{background:#ffe34f}.citrus-3{background:#95d854}.citrus-4{background:#ffbf65}.rainbow-1{background:#ff4f93}.rainbow-2{background:#ffe34f}.rainbow-4{background:#7b50c7}
.lab-result { background: var(--ink); color: white; display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.lab-result > span { color: var(--yellow); font-size: .8rem; font-weight: 900; text-transform: uppercase; letter-spacing: .14em; }
.lab-result strong { font-size: 1.6rem; line-height: 1.1; }

.drop { background: var(--paper); border-bottom: var(--border); }
.row-heading { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 3rem; }
.row-heading > p { max-width: 30rem; margin: 0; }
.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2rem; }
.product-card { border: var(--border); background: white; box-shadow: var(--shadow); display: grid; grid-template-rows: auto 1fr; }
.product-card-wide { grid-column: 1/-1; grid-template-columns: minmax(0,1.6fr) minmax(280px,.65fr); grid-template-rows: 1fr; }
.product-image { overflow: hidden; background: #f7f3ff; min-height: 330px; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-copy { padding: 1.6rem; border-top: var(--border); }
.product-card-wide .product-copy { border-top: 0; border-left: var(--border); display: flex; flex-direction: column; justify-content: center; }
.product-copy h3 { margin: .7rem 0; font-size: clamp(1.6rem,3vw,2.6rem); line-height: .95; letter-spacing: -.04em; }
.product-copy p { font-family: system-ui, sans-serif; line-height: 1.55; }
.status { color: var(--pink); font-size: .72rem; font-weight: 1000; letter-spacing: .14em; }
.vote-link { appearance: none; border: 0; border-bottom: 3px solid var(--ink); background: transparent; padding: .25rem 0; align-self: flex-start; cursor: pointer; font-weight: 1000; }
.baby-card .product-copy { background: var(--green); }
.adventure-card .product-copy { background: #dcefff; }
.adult-hat-card .product-copy { background: #efe7ff; }
.age-gate-note { padding: .8rem; border: 2px solid var(--ink); background: white; font-size: .84rem; font-weight: 750; }
.baby-studio-card { background: #fff5d8; }
.baby-gallery { position: relative; min-height: 640px; background: #efe5d8; overflow: hidden; }
.baby-gallery > img { width: 100%; height: 100%; min-height: 640px; object-fit: cover; transition: opacity .2s ease; }
.baby-gallery > img.is-changing { opacity: .35; }
.baby-color-picker { position: absolute; left: 1.25rem; bottom: 1.25rem; display: flex; gap: .6rem; padding: .7rem; background: rgba(255,253,247,.94); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.baby-color { width: 46px; height: 46px; border-radius: 50%; border: 3px solid white; outline: 2px solid var(--ink); background: var(--baby-color); cursor: pointer; position: relative; }
.baby-color span { position: absolute; opacity: 0; pointer-events: none; }
.baby-color.is-selected { box-shadow: 0 0 0 4px var(--yellow), 0 0 0 7px var(--ink); transform: scale(.82); }
.baby-studio-copy { background: #fff5d8; }
.spec-chips { list-style: none; padding: 0; margin: 1.1rem 0; display: grid; gap: .55rem; }
.spec-chips li { font-family: system-ui, sans-serif; font-size: .9rem; font-weight: 750; }
.spec-chips li::before { content: "✓"; margin-right: .55rem; color: #176a37; font-weight: 1000; }
.claim-note { padding: .9rem; background: white; border: 2px solid var(--ink); font-size: .86rem !important; }
.more-ideas { margin-top: 5rem; padding-top: 2.5rem; border-top: var(--border); }
.idea-list { display: flex; flex-wrap: wrap; gap: .7rem; }
.idea-list span { border: 2px solid var(--ink); padding: .65rem .85rem; background: var(--yellow); font-weight: 900; transform: rotate(-1deg); }
.idea-list span:nth-child(even) { background: #ffc8de; transform: rotate(1deg); }

.materials { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,6vw,6rem); align-items: center; background: #dcefff; border-bottom: var(--border); }
.materials-photo { border: var(--border); box-shadow: 12px 12px 0 var(--blue); transform: rotate(-2deg); }
.materials-photo img { aspect-ratio: 1/1; object-fit: cover; }
.material-specs { margin: 2rem 0; border-top: var(--border); }
.material-specs div { display: grid; grid-template-columns: 150px 1fr; gap: 1.2rem; padding: 1rem 0; border-bottom: 2px solid var(--ink); }
.material-specs dt { font-weight: 1000; }
.material-specs dd { font-family: system-ui, sans-serif; margin: 0; line-height: 1.45; }
.safety-note { background: white; border: var(--border); box-shadow: 6px 6px 0 var(--pink); padding: 1.2rem; }
.safety-note p { font-family: system-ui, sans-serif; margin: .45rem 0 0; line-height: 1.5; }

.family { display: grid; grid-template-columns: .72fr 1.28fr; padding: 0; background: var(--ink); color: white; border-bottom: var(--border); }
.family-copy { padding: clamp(3rem,7vw,7rem) clamp(1.25rem,5vw,5rem); display: flex; flex-direction: column; justify-content: center; }
.family-copy p { font-family: system-ui, sans-serif; font-size: 1.08rem; line-height: 1.65; }
.family-copy .eyebrow { font-family: inherit; color: var(--yellow); }
.family-image { min-height: 620px; border-left: var(--border); overflow: hidden; }
.family-image img { width: 100%; height: 100%; object-fit: cover; }
.text-link.light { color: var(--yellow); align-self: flex-start; margin-top: 1rem; }

.signup { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(2rem,7vw,7rem); background: linear-gradient(135deg,#ff77aa 0 48%,#ff9b58 100%); border-bottom: var(--border); }
.signup-intro ul { padding: 0; list-style: none; font-family: system-ui, sans-serif; font-weight: 700; }
.signup-intro li::before { content: "✓"; margin-right: .6rem; font-weight: 1000; }
.lead-form { background: var(--paper); border: var(--border); box-shadow: 12px 12px 0 var(--ink); padding: clamp(1.3rem,3vw,2.5rem); align-self: center; }
.form-row { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1rem; }
.form-row.three { grid-template-columns: repeat(3,1fr); }
.lead-form label { display: grid; gap: .4rem; margin-bottom: 1rem; font-size: .88rem; font-weight: 1000; }
.lead-form label > span { font-family: system-ui, sans-serif; font-size: .8rem; font-weight: 500; }
.lead-form input, .lead-form select { min-height: 48px; width: 100%; border: 2px solid var(--ink); border-radius: 0; background: white; padding: .7rem; color: var(--ink); }
.consent { grid-template-columns: auto 1fr !important; align-items: start; font-family: system-ui, sans-serif; }
.consent input { width: 22px; min-height: 22px; margin: .1rem 0 0; accent-color: var(--pink); }
.consent span { font-size: .9rem !important; line-height: 1.4; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { width: 100%; }
.form-status { min-height: 1.5em; margin: 1rem 0 0; font-family: system-ui, sans-serif; font-weight: 700; }
.form-status.is-error { color: #a4002f; }
.form-status.is-success { color: #146226; }
.is-hidden { display: none !important; }

.faq { background: #fff9d9; border-bottom: var(--border); display: grid; grid-template-columns: .7fr 1.3fr; gap: clamp(2rem,7vw,7rem); }
.faq-list { border-top: var(--border); }
details { border-bottom: var(--border); padding: 1.1rem 0; }
summary { cursor: pointer; font-size: 1.15rem; font-weight: 1000; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--pink); font-size: 1.5rem; }
details[open] summary::after { content: "–"; }
details p { font-family: system-ui, sans-serif; line-height: 1.65; max-width: 52rem; }
.privacy { background: #dff7e0; padding-block: 2.5rem; display: grid; grid-template-columns: 220px 1fr; gap: 2rem; align-items: baseline; }
.privacy h2 { font-size: 1.5rem; letter-spacing: -.03em; }
.privacy p { font-family: system-ui, sans-serif; line-height: 1.55; max-width: 60rem; margin: 0; }

footer { padding: 3rem clamp(1.25rem,5vw,5rem); background: var(--ink); color: white; display: grid; grid-template-columns: 1.2fr 1fr auto; align-items: center; gap: 1rem 2rem; }
footer p { color: var(--yellow); }
footer div a { margin-left: 1.3rem; font-weight: 800; }
footer small { grid-column: 1/-1; font-family: system-ui, sans-serif; opacity: .72; }

@media (max-width: 980px) {
  .hero, .materials, .family, .signup, .faq { grid-template-columns: 1fr; }
  .hero-copy { border-right: 0; border-bottom: var(--border); }
  .hero-product { min-height: 480px; }
  .lab-panel { grid-template-columns: 1fr 1fr; }
  .lab-result { grid-column: 1/-1; }
  .choice-group:nth-child(2) { border-right: 0; }
  .family-image { border-left: 0; border-top: var(--border); min-height: 450px; }
  .privacy { grid-template-columns: 1fr; gap: .75rem; }
  footer { grid-template-columns: 1fr auto; }
  footer p { grid-column: 1/-1; }
}

@media (max-width: 720px) {
  .site-header { min-height: 66px; }
  nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding: .55rem .7rem; font-size: .78rem; }
  .wordmark { font-size: 1rem; }
  .hero { min-height: 0; }
  .hero-copy { padding-top: 4rem; padding-bottom: 5rem; }
  h1 { font-size: clamp(3.6rem,18vw,5.2rem); }
  h1 em { -webkit-text-stroke-width: 2px; text-shadow: 3px 3px 0 var(--ink); }
  .hero-copy::after { width: 110px; bottom: 1.8rem; }
  .hero-product { min-height: 390px; }
  .hero-product figcaption { align-items: flex-start; flex-direction: column; }
  .section { padding-block: 4.5rem; }
  h2 { font-size: clamp(2.8rem,14vw,4.6rem); }
  .lab-panel { grid-template-columns: 1fr; box-shadow: 7px 7px 0 var(--purple); }
  .choice-group { border-right: 0; border-bottom: var(--border); }
  .product-grid { grid-template-columns: 1fr; }
  .product-card-wide { grid-column: auto; grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  .product-card-wide .product-copy { border-left: 0; border-top: var(--border); }
  .baby-gallery, .baby-gallery > img { min-height: 420px; }
  .baby-color-picker { left: .8rem; right: .8rem; bottom: .8rem; justify-content: center; }
  .row-heading { align-items: flex-start; flex-direction: column; }
  .materials-photo { transform: none; box-shadow: 7px 7px 0 var(--blue); }
  .material-specs div { grid-template-columns: 1fr; gap: .35rem; }
  .family-image { min-height: 330px; }
  .form-row, .form-row.three { grid-template-columns: 1fr; gap: 0; }
  .lead-form { box-shadow: 7px 7px 0 var(--ink); }
  footer { grid-template-columns: 1fr; }
  footer div a { margin: 0 1rem 0 0; }
}
