/* Riddhi One website — riddhione.com. Built by Gramvika Techam. */
/* Layout: D2C consumer-brand direction. Rounded "stage" panels, wide display type, pill UI,
   colour-coded lines (rose = pads, sky = baby). 1200px column with full-bleed tinted bands. */
:root {
  --bg: #f5f4f8;
  --surface: #ffffff;
  --ink: #241a30;
  --muted: #6b6276;
  --line: #e6e2ec;
  --rose: #e2406f;
  --rose-2: #ff7a9c;
  --rose-soft: #fde8ef;
  --sky: #2f7fd1;
  --sky-2: #7cb9f5;
  --sky-soft: #e3f0fd;
  --mint: #23a07a;
  --sun: #ffc94a;
  --deep: #1d1428;
  --on-deep: #f7f2fb;
  --on-accent: #ffffff;
  --shadow: 0 2px 4px rgb(36 26 48 / .04), 0 20px 40px -18px rgb(36 26 48 / .22);
  --r-lg: 32px;
  --r-md: 22px;
  --display: "Baloo 2", "Segoe UI", system-ui, sans-serif;
  --body: "DM Sans", "Noto Sans", "Segoe UI", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #120d18; --surface: #1c1524; --ink: #f4eef8; --muted: #b0a6bb; --line: #2e2537;
    --rose: #ff7299; --rose-2: #ffa3bb; --rose-soft: #3a1b29; --sky: #7cb9f5; --sky-2: #a8d0fa; --sky-soft: #15263a;
    --mint: #5fd3aa; --deep: #0a070e; --on-accent: #1a0f1f;
    --shadow: 0 2px 4px rgb(0 0 0 / .3), 0 20px 44px -18px rgb(0 0 0 / .7); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #120d18; --surface: #1c1524; --ink: #f4eef8; --muted: #b0a6bb; --line: #2e2537;
  --rose: #ff7299; --rose-2: #ffa3bb; --rose-soft: #3a1b29; --sky: #7cb9f5; --sky-2: #a8d0fa; --sky-soft: #15263a;
  --mint: #5fd3aa; --deep: #0a070e; --on-accent: #1a0f1f;
  --shadow: 0 2px 4px rgb(0 0 0 / .3), 0 20px 44px -18px rgb(0 0 0 / .7); color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: .95rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.05; font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.3rem); line-height: 1.1; font-weight: 800; }
h3 { font-size: 1.1rem; line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; max-width: 62ch; }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.sec { padding-block: clamp(48px, 7vw, 88px); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.muted { color: var(--muted); }
.lede { font-size: clamp(1rem, 1.4vw, 1.12rem); color: var(--muted); }
.tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; font-weight: 600; font-size: .8rem; color: var(--rose); background: var(--rose-soft); border-radius: 999px; padding: 3px 12px; }
.tag--sky { color: var(--sky); background: var(--sky-soft); }
/* Placeholders (<em class="ph">) are highlighted until real content is filled in */
.ph { background: color-mix(in srgb, var(--sun) 40%, transparent); border-radius: 4px; padding: 0 4px; font-style: normal; color: inherit; }
.center { text-align: center; align-items: center; }
.center p { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 600 .92rem var(--body); padding: 12px 22px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn-primary { background: var(--rose); color: var(--on-accent); box-shadow: 0 10px 24px -10px var(--rose); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px var(--rose); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { transform: translateY(-2px); }
.btn-light { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-light:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
:focus-visible { outline: 3px solid var(--sky-2); outline-offset: 3px; border-radius: 6px; }

/* Announcement + header */
.announce { background: var(--deep); color: var(--on-deep); font-size: .82rem; text-align: center; padding-block: 8px; }
.announce a { color: var(--sun); font-weight: 600; text-decoration: none; }
header.site { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.1rem; letter-spacing: -0.02em; }
.logo i { width: 34px; height: 34px; border-radius: 50% 50% 50% 12%; background: conic-gradient(from 200deg, var(--rose), var(--rose-2), var(--sky-2), var(--rose)); flex: none; display: grid; place-items: center; color: #fff; font-style: normal; font-size: .9rem; }
nav.main { display: flex; gap: 4px; align-items: center; }
nav.main a { text-decoration: none; font-weight: 500; font-size: .92rem; padding: 7px 13px; border-radius: 999px; color: var(--muted); }
nav.main a:hover, nav.main a.on { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.hdr-cta { padding: 11px 20px; }
details.mnav { display: none; position: relative; }
details.mnav summary { list-style: none; cursor: pointer; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: 1.2rem; }
details.mnav summary::-webkit-details-marker { display: none; }
details.mnav nav { position: absolute; right: 0; top: 54px; background: var(--surface); border-radius: var(--r-md); padding: 10px; min-width: 230px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 2px; }
details.mnav nav a { text-decoration: none; padding: 12px 14px; border-radius: 14px; font-weight: 500; }
details.mnav nav a:hover { background: var(--rose-soft); }
@media (max-width: 880px) { nav.main, .hdr-cta { display: none; } details.mnav { display: block; } }

/* Hero */
.hero { padding-block: clamp(24px, 5vw, 56px) clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 em { font-style: normal; color: var(--rose); }
.hero .hi { font-family: var(--display); font-size: 1.15rem; font-weight: 600; color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; gap: 20px; padding: 0; margin: 0; list-style: none; font-weight: 500; color: var(--muted); font-size: .88rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: "✓"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; background: color-mix(in srgb, var(--mint) 18%, transparent); color: var(--mint); }
.stage { position: relative; border-radius: 40px; aspect-ratio: 1 / 0.92; max-width: 100%; overflow: hidden; background:
  radial-gradient(60% 60% at 25% 30%, color-mix(in srgb, var(--rose-2) 55%, transparent), transparent 70%),
  radial-gradient(55% 55% at 80% 75%, color-mix(in srgb, var(--sky-2) 55%, transparent), transparent 70%),
  linear-gradient(160deg, var(--rose-soft), var(--sky-soft)); }
.stage::after { content: ""; position: absolute; inset: auto 10% 8% 10%; height: 9%; border-radius: 50%; background: rgb(36 26 48 / .18); filter: blur(18px); }
.pack { position: absolute; z-index: 1; border-radius: 26px 26px 34px 34px; padding: 7% 7% 8%; color: #fff; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; box-shadow: 0 30px 50px -22px rgb(30 10 40 / .55), inset 0 2px 0 rgb(255 255 255 / .3); }
.pack::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 7%; background: repeating-linear-gradient(90deg, rgb(255 255 255 / .28) 0 5px, transparent 5px 10px); }
.pack::after { content: ""; position: absolute; width: 140%; height: 60%; left: -20%; bottom: -28%; border-radius: 50%; background: rgb(255 255 255 / .16); }
.pack > * { position: relative; z-index: 1; }
.pack b { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; }
.pack .br { font-family: var(--display); font-size: clamp(.75rem, 1.3vw, 1rem); font-weight: 700; opacity: .9; margin-top: 8%; }
.pack .nm { font-size: clamp(1.3rem, 2.6vw, 2rem); line-height: .95; display: block; }
.pack .mt { font-size: clamp(.7rem, 1.1vw, .85rem); font-weight: 600; background: rgb(0 0 0 / .18); border-radius: 999px; padding: 3px 10px; align-self: flex-start; }
.pack.p1 { width: 42%; height: 64%; left: 12%; top: 14%; background: linear-gradient(165deg, #ff7a9c, #c42a5a); transform: rotate(-8deg); }
.pack.p2 { width: 40%; height: 60%; right: 10%; top: 22%; background: linear-gradient(165deg, #6fb2f2, #2462a8); transform: rotate(7deg); }
.chip { position: absolute; z-index: 2; background: var(--surface); border-radius: 18px; padding: 10px 14px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-size: .9rem; line-height: 1.25; }
.chip b { display: block; font-family: var(--display); font-size: .95rem; }
.chip i { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; font-style: normal; font-size: 1.05rem; flex: none; }
.chip.c1 { left: 4%; bottom: 10%; } .chip.c1 i { background: var(--rose-soft); }
.chip.c2 { right: 4%; top: 7%; } .chip.c2 i { background: var(--sky-soft); }
@media (prefers-reduced-motion: no-preference) {
  .pack.p1 { animation: f1 7s ease-in-out infinite; } .pack.p2 { animation: f2 8s ease-in-out infinite; }
  .chip.c1 { animation: f3 6s ease-in-out infinite; } .chip.c2 { animation: f3 7s ease-in-out infinite reverse; }
}
@keyframes f1 { 50% { transform: rotate(-6deg) translateY(-12px); } }
@keyframes f2 { 50% { transform: rotate(5deg) translateY(-9px); } }
@keyframes f3 { 50% { transform: translateY(-6px); } }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .stage { aspect-ratio: 1 / 0.85; } }
@media (max-width: 480px) { .chip { font-size: .78rem; padding: 8px 10px; } .chip i { display: none; } }

/* Marquee */
.ticker { background: var(--rose); color: var(--on-accent); overflow: hidden; padding-block: 14px; }
.ticker .track { display: flex; gap: 40px; width: max-content; font-family: var(--display); font-weight: 600; font-size: clamp(.85rem, 1.3vw, 1rem); white-space: nowrap; }
.ticker .track span::after { content: "✦"; margin-left: 40px; opacity: .7; }
@media (prefers-reduced-motion: no-preference) { .ticker .track { animation: tick 32s linear infinite; } }
@keyframes tick { to { transform: translateX(-50%); } }

/* Shop by need */
.needs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.need { position: relative; border-radius: var(--r-lg); padding: 22px; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; text-decoration: none; overflow: hidden; transition: transform .25s, box-shadow .25s; min-width: 0; }
.need:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.need.rose { background: var(--rose-soft); } .need.sky { background: var(--sky-soft); }
.need .len { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.2rem); letter-spacing: -0.04em; line-height: 1; }
.need .len small { font-size: .4em; letter-spacing: 0; margin-left: 4px; color: var(--muted); }
.need .bar { height: 10px; border-radius: 999px; background: color-mix(in srgb, var(--rose) 22%, transparent); position: relative; }
.need .bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--rose-2), var(--rose)); }
.need.sky .bar { background: color-mix(in srgb, var(--sky) 22%, transparent); }
.need.sky .bar::before { background: linear-gradient(90deg, var(--sky-2), var(--sky)); }
.need .go { align-self: flex-start; width: 44px; height: 44px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; font-weight: 700; transition: background .2s, color .2s; }
.need:hover .go { background: var(--ink); color: var(--bg); }
@media (max-width: 960px) { .needs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .needs { grid-template-columns: 1fr; } .need { min-height: 0; } }

/* Layers diagram */
.layers-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.layers-grid > * { min-width: 0; }
.layers { position: relative; overflow-x: clip; overflow-y: visible; height: 440px; margin-block: 20px; max-width: 100%; perspective: 900px; }
.layer { position: absolute; left: 12%; right: 12%; height: 78px; border-radius: 46px; transform: rotateX(58deg) rotateZ(-14deg); box-shadow: 0 18px 30px -18px rgb(30 10 40 / .5); transition: transform .4s ease; }
.layer.l1 { top: 50px; background: linear-gradient(90deg, #ffffff, #f3eef6); border: 1px solid var(--line); }
.layer.l2 { top: 135px; background: repeating-linear-gradient(90deg, #ffd0dd 0 8px, #ffc0d1 8px 16px); }
.layer.l3 { top: 220px; background: linear-gradient(90deg, #ff7a9c, #e2406f); }
.layer.l4 { top: 305px; background: linear-gradient(90deg, #4a3a5c, #2f2340); }
.layers:hover .l1 { transform: rotateX(58deg) rotateZ(-14deg) translateY(-14px); }
.layers:hover .l4 { transform: rotateX(58deg) rotateZ(-14deg) translateY(14px); }
.layer-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.layer-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.layer-list li:last-child { border-bottom: 0; }
.layer-list .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: .9rem; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 900px) { .layers-grid { grid-template-columns: 1fr; } .layers { height: 400px; } }

/* Size finder */
.finder { background: var(--sky-soft); border-radius: 40px; padding: clamp(24px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.finder > * { min-width: 0; }
.finder-card { background: var(--surface); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 20px; }
.finder-card label { font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.finder-card output { font-family: var(--display); font-weight: 700; color: var(--sky); font-variant-numeric: tabular-nums; }
input[type=range] { width: 100%; accent-color: var(--sky); height: 28px; }
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.sizes div { border-radius: 16px; padding: 12px 6px; text-align: center; background: var(--bg); transition: background .2s, color .2s, transform .2s; }
.sizes div b { display: block; font-family: var(--display); font-size: 1.15rem; }
.sizes div span { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.sizes div.on { background: var(--sky); color: var(--on-accent); transform: translateY(-3px); }
.sizes div.on span { color: inherit; opacity: .85; }
.finder-out { font-weight: 500; }
.finder-out b { font-family: var(--display); }
@media (max-width: 900px) { .finder { grid-template-columns: 1fr; } }

/* Numbers / story */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--surface); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stat b { font-family: var(--display); font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.stat span { color: var(--muted); font-size: .88rem; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Dark distributor band */
.deep { background: var(--deep); color: var(--on-deep); border-radius: 40px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); position: relative; overflow: hidden; }
.deep > * { min-width: 0; position: relative; }
.deep::before { content: ""; position: absolute; width: 480px; height: 480px; right: -160px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgb(255 122 156 / .35), transparent 65%); }
.deep h2 { color: var(--on-deep); }
.deep p { color: color-mix(in srgb, var(--on-deep) 72%, transparent); }
.deep .tag { background: rgb(255 255 255 / .1); color: #ffa3bb; }
.steps { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 18px; border-radius: 20px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; background: linear-gradient(135deg, #ff7a9c, #e2406f); color: #fff; }
.steps h3 { color: var(--on-deep); }
.deep .btn-primary { background: #ff7a9c; color: #1d1428; }
.light-steps li { background: var(--surface); border-color: var(--line); }
.light-steps h3 { color: var(--ink); }
@media (max-width: 900px) { .deep { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-grid > * { min-width: 0; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { background: var(--surface); border-radius: var(--r-md); padding: 4px 22px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 600; font-size: .98rem; padding-block: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--rose-soft); color: var(--rose); font-size: 1.2rem; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 18px; color: var(--muted); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* Product page */
.pline { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.pline > * { min-width: 0; }
.pline .stage { aspect-ratio: 1 / 0.9; }
.pline .pack { width: 46%; height: 70%; left: 27%; top: 13%; }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.vgrid.four { grid-template-columns: repeat(4, 1fr); }
.v { background: var(--surface); border-radius: var(--r-md); padding: 18px; display: flex; flex-direction: column; gap: 4px; box-shadow: inset 0 0 0 1px var(--line); min-width: 0; }
.v b { font-family: var(--display); font-size: 1rem; }
.v .big { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.v span { color: var(--muted); font-size: .85rem; }
@media (max-width: 900px) { .pline { grid-template-columns: 1fr; } .vgrid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .vgrid { grid-template-columns: 1fr 1fr; } }
.flip > .stage { order: 2; }
@media (max-width: 900px) { .flip > .stage { order: 0; } }

/* Values / about */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.val { border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.val:nth-child(1) { background: var(--rose-soft); } .val:nth-child(2) { background: var(--sky-soft); } .val:nth-child(3) { background: color-mix(in srgb, var(--sun) 22%, var(--bg)); }
.val .em { font-size: 1.8rem; }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.page-hero { padding-block: clamp(40px, 7vw, 88px) clamp(24px, 4vw, 48px); }

/* Forms */
.form { background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: clamp(22px, 3.5vw, 36px); display: grid; grid-template-columns: 1fr 1fr; gap: 14px; box-shadow: var(--shadow); }
.form .full { grid-column: 1 / -1; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .88rem; min-width: 0; }
.form label span { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea { font: inherit; font-size: .95rem; color: var(--ink); background: var(--bg); border: 1.5px solid transparent; border-radius: 12px; padding: 10px 12px; width: 100%; transition: border-color .15s, background .15s; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--rose); background: var(--surface); outline: none; }
.form textarea { min-height: 110px; resize: vertical; }
.form .btn { width: 100%; }
.form .status { grid-column: 1 / -1; font-weight: 600; color: var(--mint); }
.form .status:empty { display: none; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.place { background: var(--surface); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.place i { font-style: normal; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--rose-soft); font-size: 1.2rem; }
@media (max-width: 860px) { .places { grid-template-columns: 1fr; } }
.copy-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.copy-btn { font: 600 .82rem var(--body); border: 0; border-radius: 999px; padding: 4px 12px; background: var(--rose-soft); color: var(--rose); cursor: pointer; }

/* Footer */
footer.site { background: var(--deep); color: var(--on-deep); margin-top: clamp(56px, 9vw, 110px); padding-block: 64px 28px; border-radius: 40px 40px 0 0; }
footer.site .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
footer.site .cols > * { min-width: 0; }
footer.site h4 { font-size: .95rem; margin-bottom: 12px; }
footer.site .big { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 3.4vw, 2.2rem); letter-spacing: -0.04em; line-height: 1; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
footer.site a { text-decoration: none; color: color-mix(in srgb, var(--on-deep) 75%, transparent); }
footer.site a:hover { color: var(--on-deep); }
footer.site p, footer.site li { color: color-mix(in srgb, var(--on-deep) 72%, transparent); }
footer.site .legal { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; color: color-mix(in srgb, var(--on-deep) 55%, transparent); }
@media (max-width: 860px) { footer.site .cols { grid-template-columns: 1fr 1fr; } footer.site .cols > div:first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .need, .layer, .sizes div { transition: none; } .need:hover, .btn:hover { transform: none; } }

/* ===== Motion layer (all guarded by prefers-reduced-motion) ===== */
@media (prefers-reduced-motion: no-preference) {
  /* Hero entrance: staggered rise on load */
  .hero .stack-lg > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .hero .stack-lg > *:nth-child(1) { animation-delay: .05s; } .hero .stack-lg > *:nth-child(2) { animation-delay: .15s; }
  .hero .stack-lg > *:nth-child(3) { animation-delay: .28s; } .hero .stack-lg > *:nth-child(4) { animation-delay: .38s; }
  .hero .stack-lg > *:nth-child(5) { animation-delay: .48s; } .hero .stack-lg > *:nth-child(6) { animation-delay: .58s; }
  .hero .stage { animation: pop 1s cubic-bezier(.2,.8,.2,1) .2s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } }
  @keyframes pop { from { opacity: 0; transform: scale(.92) rotate(-2deg); } }

  /* Headline highlight sweep */
  .hero h1 em { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--rose-2) 35%, transparent) 62%) no-repeat 0 0 / 0% 100%; animation: sweep 1s ease .9s forwards; }
  @keyframes sweep { to { background-size: 100% 100%; } }

  /* Page switch */
  .page:not([hidden]) { animation: pagein .5s cubic-bezier(.2,.7,.2,1); }
  @keyframes pagein { from { opacity: 0; transform: translateY(14px); } }

  /* Floating bubbles in the stage */
  .bub { position: absolute; bottom: -40px; border-radius: 50%; background: rgb(255 255 255 / .55); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .6); animation: bub linear infinite; z-index: 0; }
  @keyframes bub { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-560px) scale(1.1); opacity: 0; } }

  /* Parallax tilt (JS sets --mx/--my) */
  .stage .pack, .stage .chip { translate: calc(var(--mx, 0) * var(--d, 10px)) calc(var(--my, 0) * var(--d, 10px)); transition: translate .3s ease-out; }
  .stage .p1 { --d: 18px; } .stage .p2 { --d: -14px; } .stage .chip { --d: 26px; }

  /* Button shine */
  .btn-primary, .btn-dark { position: relative; overflow: hidden; }
  .btn-primary::before, .btn-dark::before { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgb(255 255 255 / .45), transparent); transform: skewX(-20deg); }
  .btn-primary:hover::before, .btn-dark:hover::before { animation: shine .8s ease; }
  @keyframes shine { to { left: 130%; } }

  /* Logo spin + header shadow on scroll */
  .logo i { transition: transform .6s cubic-bezier(.3,1.6,.5,1); }
  .logo:hover i { transform: rotate(360deg) scale(1.08); }
  header.site { transition: box-shadow .3s, background .3s; }
  header.site.scrolled { box-shadow: 0 10px 30px -18px rgb(36 26 48 / .35); }

  /* Tag dot pulse */
  .tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 2s ease-in-out infinite; }
  @keyframes pulse { 50% { box-shadow: 0 0 0 5px color-mix(in srgb, currentColor 20%, transparent); } }

  /* Layers breathe */
  .layer { animation: breathe 5s ease-in-out infinite; }
  .layer.l1 { --o: -10px; } .layer.l2 { --o: -4px; } .layer.l3 { --o: 4px; } .layer.l4 { --o: 10px; }
  @keyframes breathe { 50% { translate: 0 var(--o); } }
  .layers:hover .layer { animation-play-state: paused; }

  /* Size finder bounce */
  .sizes div.on { animation: bounce .45s cubic-bezier(.3,1.8,.5,1); }
  @keyframes bounce { 0% { transform: translateY(0) scale(.94); } 100% { transform: translateY(-3px) scale(1); } }

  /* Need-card arrow nudge, stat hover */
  .need:hover .go { animation: nudge .6s ease infinite alternate; }
  @keyframes nudge { to { transform: translateX(4px); } }
  .stat { transition: transform .25s, box-shadow .25s; } .stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
  .val, .place { transition: transform .25s; } .val:hover, .place:hover { transform: translateY(-4px) rotate(-.4deg); }

  /* FAQ smooth open */
  .faq details { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .35s ease, content-visibility .35s allow-discrete; }
  .faq details[open]::details-content { height: auto; }

  /* Scroll reveal — scroll-driven, so content is never hidden where unsupported */
  @supports (animation-timeline: view()) {
    .rv { animation: rv linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    @keyframes rv { from { opacity: 0; transform: translateY(40px) scale(.98); } }
    .need .bar::before { animation: fill linear both; animation-timeline: view(); animation-range: entry 20% cover 40%; }
    @keyframes fill { from { width: 0; } }
    .ticker .track { animation: tick 32s linear infinite; }
  }

  /* Deep panel glow drift */
  .deep::before { animation: drift 10s ease-in-out infinite alternate; }
  @keyframes drift { to { transform: translate(-120px, 80px) scale(1.2); } }
}
.count { font-variant-numeric: tabular-nums; }

