/* Bumpstagram site. Light (Coconut) is the only look on the web, whatever the visitor's system setting; the dark silhouette panels are accents. Tokens mirror the Bumpstagram design system (https://claude.ai/artifact/Q2R17iKj85xk2CP6PQULNR). Use tokens, never raw hex below this block. */
@font-face { font-family: "Figtree"; src: url(/assets/fonts/figtree.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(/assets/fonts/instrument-serif.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(/assets/fonts/instrument-serif-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Caveat"; src: url(/assets/fonts/caveat-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --surface: #fcf8f7; --surface-raised: #ffffff; --line: #eddfe4;
  --ink: #2a2031; --ink-muted: #6c6172;
  --grapefruit: #c2456a; --grapefruit-soft: #fbe3ea;
  --blueberry: #2a74b4; --blueberry-soft: #dfecf8;
  --honeydew: #3f7d55; --honeydew-soft: #e2f0e4;
  --on-accent: #ffffff;
  --panel: #231a29; --night: #1b1520; --card-text: #f6eef2; --card-muted: #b9aebd;
  --card-girl: #f39ab0; --card-boy: #8cc4f0; --card-surprise: #a3d8b0;
  --shadow-card: 0 30px 60px -30px rgba(42, 32, 49, .5);
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-sans: "Figtree", "Avenir Next", system-ui, sans-serif;
  --font-hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-6: 24px; --space-8: 32px; --space-12: 48px;
  --radius-md: 14px; --radius-lg: 18px; --radius-xl: 28px;
  color-scheme: light;
}
body { --accent: var(--grapefruit); --accent-soft: var(--grapefruit-soft); --accent-band: #f5d6df; --card-accent: var(--card-girl); }
body[data-baby="boy"] { --accent: var(--blueberry); --accent-soft: var(--blueberry-soft); --accent-band: #d3e4f4; --card-accent: var(--card-boy); }
body[data-baby="surprise"] { --accent: var(--honeydew); --accent-soft: var(--honeydew-soft); --accent-band: #d5eadb; --card-accent: var(--card-surprise); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 17px/1.6 var(--font-sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.04; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
.lede { color: var(--ink-muted); font-size: 19px; max-width: 34em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface-raised); padding: 8px 12px; z-index: 50; }

/* wordmark */
.wm { display: inline-flex; align-items: baseline; font-weight: 600; letter-spacing: -.025em; line-height: 1; white-space: nowrap; text-decoration: none; }
.wm svg { height: 1.02em; width: .75em; overflow: visible; color: var(--grapefruit); }
.wm .a { color: var(--grapefruit); } .wm .b { color: var(--blueberry); }
.wm--mono svg, .wm--mono .a, .wm--mono .b { color: inherit; }

/* header */
.top { position: sticky; top: 0; z-index: 20; background: var(--night); color: var(--card-text); border-bottom: 1px solid transparent; }
.top.is-scrolled { border-bottom-color: rgba(255, 255, 255, .08); }
.top .wm .a, .top .wm svg { color: var(--card-girl); } .top .wm .b { color: var(--card-boy); }
.top .nav a:not(.btn) { color: var(--card-muted); } .top .nav a:not(.btn):hover { color: var(--card-text); }
.top .btn--primary { background: var(--card-accent); border-color: var(--card-accent); color: var(--night); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-top: 14px; padding-bottom: 14px; }
.top .wm { font-size: 24px; }
.nav { display: flex; align-items: center; gap: var(--space-6); font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink-muted); }
.nav a:not(.btn):hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 999px; font: 600 15px/1 var(--font-sans); text-decoration: none; border: 1px solid var(--line); background: var(--surface-raised); color: var(--ink); cursor: pointer; }
.btn--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.badge img { height: 54px; width: auto; }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--space-12); align-items: center; padding-top: 56px; padding-bottom: 88px; }
.hero__copy { display: grid; gap: 22px; }
.hero h1 { font-size: clamp(48px, 7.4vw, 92px); letter-spacing: -.01em; }
.hero h1 em { color: var(--accent); }
.hero__cta { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin-top: 6px; }
.hero__cta small { color: var(--ink-muted); font-size: 14px; }
.hero__art { position: relative; display: flex; justify-content: center; padding-bottom: 40px; }

/* weekly card */
.card { container-type: inline-size; width: 100%; max-width: 330px; aspect-ratio: 9 / 16; border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 42% 58%; background: #efe9e7; box-shadow: var(--shadow-card); }
.card__panel { background: var(--panel); color: var(--card-text); padding: 7cqw 4.5cqw 5cqw; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2.4cqw; }
.card__who { font: italic 400 6cqw/1 var(--font-display); color: var(--card-accent); }
.card__small { font-size: 3.1cqw; line-height: 1.35; opacity: .85; }
.card__size { font: italic 400 8.4cqw/.95 var(--font-display); color: var(--card-accent); }
.card__lbl { font-size: 2.4cqw; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--card-muted); margin-top: 2.5cqw; }
.card__note { font: 500 4.9cqw/1.05 var(--font-hand); }
.card__heart { color: var(--card-accent); font-size: 4cqw; line-height: 1; }
.card__foot { margin-top: auto; font-size: 3.6cqw; color: var(--card-text); }
.card img { width: 100%; height: 100%; object-fit: cover; }
.badge { display: inline-block; }
.badge img { height: 54px; width: auto; }

.week { position: absolute; left: 0; bottom: 0; width: min(290px, 78%); background: var(--accent); color: var(--on-accent); border-radius: var(--radius-xl); padding: 20px 22px; display: grid; gap: 4px; box-shadow: var(--shadow-card); }
.week__baby { font-size: 13px; font-weight: 600; opacity: .9; }
.week__title { font: 400 38px/1 var(--font-display); }
.week__size { font-weight: 600; font-size: 15px; }
.week__size em { font: italic 400 22px/1 var(--font-display); }
.week__bar { height: 4px; border-radius: 4px; background: color-mix(in srgb, var(--on-accent) 30%, transparent); overflow: hidden; margin-top: 6px; }
.week__bar i { display: block; width: 50%; height: 100%; background: var(--on-accent); }
.week__meta { display: flex; justify-content: space-between; font-size: 13px; opacity: .9; }

/* sections */
.section { padding-top: 96px; padding-bottom: 96px; border-top: 1px solid var(--line); }
.section__head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 640px; }
.section__head h2 { font-size: clamp(36px, 5vw, 58px); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.step { display: grid; gap: 10px; align-content: start; padding-top: 18px; border-top: 2px solid var(--accent); }
.step__n { font: 400 15px/1 var(--font-display); color: var(--ink-muted); }
.step h3 { font-size: 30px; }
.step p { color: var(--ink-muted); }
.step .hand { font: 500 24px/1.1 var(--font-hand); color: var(--ink); }

/* size slider */
.sizer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-12); align-items: center; background: var(--accent-soft); border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 56px); }
.sizer__out { display: grid; gap: 8px; }
.sizer__week { font: 400 clamp(56px, 9vw, 104px)/.95 var(--font-display); }
.sizer__line { font-size: 19px; }
.sizer__word { font: italic 400 clamp(44px, 7vw, 80px)/1 var(--font-display); color: var(--accent); min-height: 1.05em; }
.sizer__ctl { display: grid; gap: 14px; }
.sizer__ctl label { font-weight: 600; }
.sizer input[type=range] { width: 100%; accent-color: var(--accent); height: 32px; }
.sizer__ticks { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink); font-variant-numeric: tabular-nums; }
.sizer__note { font-size: 14px; color: var(--ink); }

/* bands: blush (follows the baby theme) and dark plum, alternating with Coconut */
.band--blush { background: var(--accent-band); }
.band--blush + .section, .section.band--blush, .section.band--dark, .section.band--dark + .section { border-top: 0; }
.band--blush .lede, .band--blush .kicker, .band--blush .hero__cta small { color: var(--ink); }
.band--blush .pick button { border-color: transparent; }
.band--dark { background: var(--panel); color: var(--card-text); }
.band--dark .kicker { color: var(--card-muted); }
.band--dark .sizer { background: rgba(255, 255, 255, .06); }
.band--dark .sizer__word { color: var(--card-accent); }
.band--dark .sizer__ticks, .band--dark .sizer__note { color: var(--card-muted); }
.band--dark .sizer input[type=range] { accent-color: var(--card-accent); }
.band--dark :focus-visible { outline-color: var(--card-accent); }

.band--night { background: var(--night); color: var(--card-text); }
.band--night .kicker, .band--night .lede, .band--night .hero__cta small { color: var(--card-muted); }
.band--night .hero h1 em { color: var(--card-accent); }
.band--night .badge img { outline: 1px solid rgba(255, 255, 255, .35); border-radius: 9px; }
.band--night .card { box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .08); }
.band--night :focus-visible { outline-color: var(--card-accent); }
.band--blush .sizer { background: var(--surface-raised); }

/* ways to keep it */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.way { background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 28px; display: grid; gap: 12px; align-content: start; }
.way h3 { font-size: 32px; }
.way p { color: var(--ink-muted); }
.way__art { height: 150px; border-radius: var(--radius-lg); background: var(--accent-soft); display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 8px; overflow: hidden; }
.mini { width: 54px; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: 42% 58%; box-shadow: 0 10px 20px -12px rgba(42, 32, 49, .6); }
.mini span { background: var(--panel); display: grid; place-items: center; font: italic 400 11px/1 var(--font-display); color: var(--card-accent); writing-mode: vertical-rl; transform: rotate(180deg); }
.mini img { width: 100%; height: 100%; object-fit: cover; }
.mini--lg { width: 72px; }
.mini--back { opacity: .55; transform: translateY(8px); }
.post { width: 96px; border-radius: 12px; background: var(--surface-raised); padding: 6px; display: grid; gap: 6px; box-shadow: 0 10px 20px -12px rgba(42, 32, 49, .6); }
.post .mini { width: 100%; aspect-ratio: 4 / 5; box-shadow: none; }
.post i { display: block; height: 5px; border-radius: 3px; background: var(--line); width: 70%; }
.bubbles { display: grid; gap: 8px; width: 78%; }
.bubble { font-size: 14px; line-height: 1.3; padding: 8px 12px; border-radius: 16px; max-width: 85%; }
.bubble--me { justify-self: end; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 4px; }
.bubble--them { background: var(--surface-raised); color: var(--ink); border-bottom-left-radius: 4px; }

/* themes */
.themes { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--space-12); align-items: center; }
.pick { display: grid; gap: 12px; max-width: 380px; }
.pick button { font: inherit; text-align: left; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--surface-raised); color: var(--ink); cursor: pointer; }
.pick button i { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.pick button b { font-weight: 600; }
.pick button span { color: var(--ink-muted); font-size: 14px; display: block; }
.pick button[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); background: var(--accent-soft); }
.pick button[aria-pressed="true"] span { color: var(--ink); }

/* story */
.album { margin: 0 0 56px; display: grid; gap: 14px; }
.album ol { list-style: none; margin: 0; padding: 10px 0 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; align-items: end; }
.album li { display: grid; gap: 10px; justify-items: center; }
.album img { width: 100%; border-radius: 10px; box-shadow: 0 18px 30px -18px rgba(42, 32, 49, .55); transform: rotate(-1.2deg); transition: transform .25s ease; }
.album li:nth-child(even) img { transform: rotate(1.2deg) translateY(-6px); }
.album li:hover img { transform: translateY(-8px); }
.album li span { font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.album figcaption { font-size: 14px; color: var(--ink-muted); text-align: center; }
.story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--space-12); align-items: start; }
.story__head { display: grid; gap: 14px; }
.story__head h2 { font-size: clamp(34px, 4.6vw, 52px); }
.story__text { display: grid; gap: 18px; }
.story__text p { color: var(--ink-muted); }
.story__sig { font: 500 30px/1 var(--font-hand); color: var(--ink) !important; }

/* final cta */
.final { background: var(--panel); box-shadow: var(--shadow-card); color: var(--card-text); border-radius: var(--radius-xl); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); }
.final__copy { padding: clamp(32px, 6vw, 72px); display: grid; gap: 20px; align-content: center; }
.final h2 { font-size: clamp(38px, 5.4vw, 64px); }
.final h2 em { color: var(--card-accent); }
.final p { color: var(--card-muted); max-width: 30em; }
.final__photo { width: 100%; height: 100%; max-height: 500px; object-fit: cover; object-position: center 62%; min-height: 320px; }
.final .badge { justify-self: start; }

/* footer */
.foot { padding-top: 48px; padding-bottom: 56px; background: var(--panel); color: var(--card-muted); font-size: 14px; }
.foot .wm .a, .foot .wm svg { color: var(--card-girl); } .foot .wm .b { color: var(--card-boy); }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot .wm { font-size: 22px; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--card-text); }

/* legal pages */
.legal { padding-top: 48px; padding-bottom: 96px; border-top: 1px solid var(--line); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(40px, 6vw, 64px); margin: 10px 0 24px; }
.legal h2 { font-size: 30px; margin: 40px 0 10px; }
.legal p, .legal li { color: var(--ink-muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; }
.legal strong { color: var(--ink); }
.copybox { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: var(--radius-md); background: var(--surface-raised); border: 1px solid var(--line); font-weight: 600; color: var(--ink); }

@media (max-width: 880px) {
  .album ol { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 148px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px; padding: 10px 20px 14px; scrollbar-width: none; }
  .album ol::-webkit-scrollbar { display: none; }
  .album li { scroll-snap-align: center; }
  .album figcaption::after { content: " Swipe for more."; }
  .hero, .sizer, .themes, .story, .final { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 32px; gap: 40px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .nav a:not(.btn) { display: none; }
  .final__photo { max-height: 360px; object-position: center 55%; }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .section { padding-top: 72px; padding-bottom: 72px; }
}
@media (prefers-reduced-motion: no-preference) {
  body, .btn, .pick button, .week, .sizer, .step { transition: background-color .4s ease, color .4s ease, border-color .4s ease; }
  .sizer__word.pop { animation: pop .35s ease; }
  @keyframes pop { from { transform: translateY(6px); opacity: .2; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ===== Silhouette concept v2 (Oct 17 2026) =====
   Ryan's real silhouettes, cut out as soft shapes (assets/img/shapes, from tools/cutout.py), used as abstract background art.
   The story scrolls inside a phone that shows the app's Journal screen, built from the design system's WeekHeader, JournalField and TabBar. */
.shape { display: block; height: 100%; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }

/* hero: centered copy over a faint lineup of the weeks, growing left to right */
.hero2 { position: relative; overflow: hidden; min-height: clamp(600px, 86vh, 860px); display: grid; align-content: start; }
.hero2__copy { position: relative; z-index: 1; display: grid; gap: 22px; justify-items: center; text-align: center; max-width: 820px; padding-top: clamp(56px, 9vh, 104px); padding-bottom: 48px; }
.hero2 h1 { font-size: clamp(50px, 7.4vw, 96px); letter-spacing: -.01em; }
.hero2 h1 em { color: var(--card-accent); }
.hero2 .lede { margin: 0 auto; }
.hero2 .hero__cta { justify-content: center; }
.lineup { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; -webkit-mask-image: linear-gradient(to top, transparent, #000 30%); mask-image: linear-gradient(to top, transparent, #000 30%); display: flex; justify-content: center; align-items: flex-end; gap: clamp(2px, 1.2vw, 18px); pointer-events: none; }
.lineup .shape { height: 100%; color: var(--card-text); opacity: .05; }
.lineup .shape:nth-child(2) { opacity: .06; } .lineup .shape:nth-child(3) { opacity: .07; } .lineup .shape:nth-child(4) { opacity: .08; }
.lineup .shape:nth-child(5) { opacity: .09; } .lineup .shape:nth-child(6) { opacity: .1; }
.lineup .shape:last-child { color: var(--card-accent); opacity: .3; }

/* story: sticky phone, a ghost silhouette behind it, the week's notes beside it */
.grow { padding-block: 96px 88px; overflow: clip; }
.grow__head { margin-bottom: 24px; }
.grow__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-12); }
.grow__frame { position: sticky; top: max(84px, calc(50vh - 330px)); height: min(660px, calc(100vh - 96px)); display: grid; place-items: center; }
.ghost { position: absolute; top: 4%; left: 50%; height: 92%; transform: translateX(-112%); color: var(--accent-band); opacity: 0; transition: opacity .6s ease; }
.ghost.is-on { opacity: 1; }
.phone { position: relative; height: min(640px, calc(100vh - 116px)); aspect-ratio: 304 / 640; border-radius: 50px; background: var(--night); padding: 11px; box-shadow: 0 40px 80px -36px rgba(42, 32, 49, .6), inset 0 0 0 2px rgba(255, 255, 255, .08); }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; width: 92px; height: 26px; border-radius: 20px; background: var(--night); transform: translateX(-50%); z-index: 3; }
.phone__screen { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: var(--surface); }
.app { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; font-size: 12px; color: var(--ink); }
.app.is-on { opacity: 1; }
.app__status { display: flex; justify-content: space-between; align-items: center; padding: 14px 26px 0; height: 44px; font-weight: 600; font-size: 13px; }
.app__sys { display: flex; gap: 3px; align-items: flex-end; }
.app__sys i { width: 4px; border-radius: 1px; background: var(--ink); } .app__sys i:nth-child(1) { height: 5px; } .app__sys i:nth-child(2) { height: 8px; } .app__sys i:nth-child(3) { height: 11px; }
.app__brand { position: relative; z-index: 2; display: flex; justify-content: center; align-items: baseline; font-weight: 600; font-size: 17px; letter-spacing: -.025em; color: var(--accent); margin: 4px 0 0; }
.app__brand svg { height: 1.02em; width: .75em; overflow: visible; }
.app__status { position: relative; z-index: 2; }
/* the week's photo fills the screen; the week card floats above the tab bar */
.app__post { position: absolute; inset: 84px 0 0; z-index: 0; }
/* the photo is tall and narrow: show all of it; white sides blend with the bright window edges */
.app__post { overflow: hidden; background: var(--surface-raised); }
.app__post img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center top; }
.app__week { position: absolute; left: 12px; right: 12px; bottom: 74px; z-index: 2; background: color-mix(in srgb, var(--accent) 92%, transparent); color: var(--on-accent); border-radius: 18px; padding: 9px 14px 11px; display: grid; gap: 3px; box-shadow: 0 16px 30px -18px rgba(42, 32, 49, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.app__row { display: flex; justify-content: space-between; align-items: baseline; }
.app__left { font-size: 10px; font-weight: 600; opacity: .9; }
.app__title { font: 400 24px/1 var(--font-display); }
.app__size { font-weight: 600; font-size: 12px; }
.app__size em { font: italic 400 17px/1 var(--font-display); }
.app__bar { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; margin-top: 3px; }
.app__bar i { display: block; height: 100%; background: var(--on-accent); }
.app__tabs { z-index: 2; position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; justify-content: space-around; padding: 6px; border-radius: 999px; background: color-mix(in srgb, var(--surface-raised) 88%, transparent); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 10px 24px -14px rgba(42, 32, 49, .5); }
.app__tabs > span { display: grid; justify-items: center; gap: 2px; font-size: 9.5px; font-weight: 600; color: var(--ink-muted); padding: 5px 16px; border-radius: 999px; }
.app__tabs svg { width: 14px; height: 18px; }
.app__tabs .is-cur { background: var(--accent-soft); color: var(--ink); }
.app__tabs .is-cur svg { color: var(--accent); }
.grow__steps { list-style: none; margin: 0; padding: 12vh 0 16vh; }
.grow__step { min-height: 62vh; display: grid; align-content: center; gap: 12px; transition: opacity .4s ease; }
.js .grow__step { opacity: .3; }
.js .grow__step.is-on { opacity: 1; }
.grow__wk { font: 400 clamp(48px, 6vw, 76px)/1 var(--font-display); }
.grow__size { font-size: 19px; color: var(--ink-muted); }
.grow__size em { font: italic 400 1.7em/1 var(--font-display); color: var(--accent); }
.grow__step dl { margin: 6px 0 0; display: grid; gap: 4px; }
.grow__step dt { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); margin-top: 12px; }
.grow__step dd { margin: 0; font: 500 28px/1.15 var(--font-hand); color: var(--ink); max-width: 22em; }
.grow__sig { margin: 32px auto 0; max-width: 36em; text-align: center; color: var(--ink-muted); }
.grow__sig span { display: block; margin-top: 10px; font: 500 30px/1 var(--font-hand); color: var(--ink); }

/* how it works on night */
.band--night .step { border-top-color: var(--card-accent); }
.band--night .step p, .band--night .step__n { color: var(--card-muted); }
.band--night .step .hand { color: var(--card-text); }

/* final: a single silhouette in the baby's color inside the dark card */
.final__art { position: relative; min-height: 360px; -webkit-mask-image: linear-gradient(to top, transparent, #000 34%); mask-image: linear-gradient(to top, transparent, #000 34%); }
.final__art .shape { position: absolute; top: 36px; bottom: 0; left: 50%; height: auto; transform: translateX(-50%); color: var(--card-accent); opacity: .5; }

@media (max-width: 880px) {
  .lineup { height: 46%; }
  .lineup .shape:nth-child(2), .lineup .shape:nth-child(3), .lineup .shape:nth-child(6) { display: none; }
  .grow__body { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .grow__frame { top: 64px; height: 400px; z-index: 2; background: var(--surface); }
  .ghost { transform: translateX(-118%); }
  .phone { height: 640px; transform: scale(.6); transform-origin: top center; margin-bottom: -256px; align-self: start; }
  .ghost { height: 92%; }
  .grow__steps { padding: 4vh 0 10vh; }
  .grow__step { min-height: 56vh; justify-items: center; text-align: center; }
  .grow__step dd { font-size: 24px; }
  .final__art { min-height: 260px; }
}
@media (prefers-reduced-motion: reduce) { .app, .ghost, .grow__step { transition: none; } }

/* cookie choice banner (assets/js/consent.js) */
.cookie-bar { position: fixed; left: max(16px, env(safe-area-inset-left)); right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 60; max-width: 600px; margin: 0 auto; display: flex; align-items: center; gap: var(--space-4); padding: 16px 16px 16px 22px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 24px 50px -24px rgba(42, 32, 49, .45); opacity: 0; transform: translateY(16px); transition: opacity .3s ease, transform .3s ease; }
.cookie-bar.is-in { opacity: 1; transform: none; }
.cookie-bar__text { font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.cookie-bar__text a { color: var(--ink); }
.cookie-bar__actions { display: flex; gap: var(--space-2); flex-shrink: 0; }
.cookie-bar__actions .btn { height: 40px; padding: 0 16px; font-size: 14px; }
.foot nav button { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; }
.foot nav button:hover { color: var(--card-text); }
@media (max-width: 560px) { .cookie-bar { flex-direction: column; align-items: stretch; } .cookie-bar__actions .btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .cookie-bar { transform: none; transition: opacity .2s linear; } }

/* beta: "Join the beta" buttons and the signup card inside the dark final card */
.btn--beta { height: 54px; padding: 0 28px; font-size: 16px; background: var(--card-accent); border-color: var(--card-accent); color: var(--night); }
.final.beta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.beta__copy { position: relative; overflow: hidden; padding-bottom: 220px; }
.beta__copy .kicker { color: var(--card-muted); }
.beta__perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; position: relative; z-index: 1; }
.beta__perks li { display: flex; gap: 10px; align-items: baseline; color: var(--card-text); }
.beta__perks li::before { content: "\2665"; color: var(--card-accent); font-size: 13px; }
.beta__art.final__art { position: absolute; left: 0; right: 0; bottom: 0; height: 260px; min-height: 0; }
.beta__art .shape { opacity: .28; }
.beta__card { background: var(--surface); color: var(--ink); margin: 14px; border-radius: calc(var(--radius-xl) - 8px); padding: clamp(24px, 4vw, 40px); display: grid; align-content: center; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field .optional { font-weight: 400; color: var(--ink-muted); }
.field input, .field select { font: 400 16px/1.2 var(--font-sans); color: var(--ink); height: 48px; padding: 0 14px; border-radius: var(--radius-md); border: 1px solid var(--line); background: var(--surface-raised); width: 100%; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%), linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field [aria-invalid="true"] { border-color: var(--grapefruit); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--ink-muted); cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
.consent a { color: var(--ink); }
.beta__card .form__error { font-size: 14px; color: var(--grapefruit); }
.btn--full { width: 100%; height: 50px; font-size: 16px; }
.form__done { display: grid; gap: 12px; justify-items: start; }
.form__done:focus { outline: none; }
.form__heart { color: var(--accent); font-size: 26px; line-height: 1; }
.form__done h3 { font-size: 34px; }
.beta__card .form__done p { color: var(--ink-muted); }
@media (max-width: 880px) {
  .final.beta { grid-template-columns: minmax(0, 1fr); }
  .beta__copy { padding-bottom: 170px; }
  .beta__art.final__art { height: 190px; }
}
.form__done[hidden], .form[hidden] { display: none; }
#beta { scroll-margin-top: 72px; }

/* content guides: baby size by week, bump photo guide */
.guide .answer { font-size: 20px; color: var(--ink); line-height: 1.5; padding: 18px 22px; border-radius: var(--radius-md); background: var(--accent-soft); margin-bottom: 18px; }
.guide h3 { font: 600 18px/1.3 var(--font-sans); margin: 22px 0 6px; color: var(--ink); }
.guide a:not(.btn) { color: var(--accent); }
.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.jump a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14px; color: var(--ink) !important; }
.tbl { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 16px; }
.tbl caption { text-align: left; font-size: 13px; color: var(--ink-muted); padding-bottom: 6px; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl thead th { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-muted); }
.tbl tbody th { white-space: nowrap; width: 7.5em; color: var(--ink); }
.tbl td { color: var(--ink); text-transform: none; }
.tbl tr:target { background: var(--accent-soft); }
.tbl__album { display: block; font: 500 18px/1.2 var(--font-hand); color: var(--accent); margin-top: 2px; }
.album { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0; }
.album__card { margin: 0; }
.album__card img, .guide__fig img { width: 100%; height: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }
.album__card figcaption, .guide__fig figcaption { font-size: 14px; color: var(--ink-muted); margin-top: 8px; }
.guide__fig { margin: 28px auto; max-width: 300px; }
.howto { padding-left: 22px; display: grid; gap: 4px; }
.howto h3 { margin-top: 14px; }
.guide__cta { margin-top: 48px; padding: 26px; border-radius: var(--radius-lg); background: var(--accent-soft); display: grid; gap: 16px; justify-items: start; }
.guide__cta p { color: var(--ink); }
.faq { max-width: 760px; }
.faq h3 { font: 600 19px/1.3 var(--font-sans); margin: 26px 0 6px; }
.faq p { color: var(--ink-muted); }
@media (max-width: 640px) { .album { grid-template-columns: repeat(2, 1fr); } .guide .answer { font-size: 18px; } }
.band--night .step a, .band--dark .sizer__note a { color: var(--card-accent); }
