/* PepBloom site. Light only. Colors and type come from the app's src/constants/theme.ts. */
@font-face { font-family: Manrope; src: url(/fonts/manrope-300.woff2) format('woff2'); font-weight: 300; font-display: swap; }
@font-face { font-family: Manrope; src: url(/fonts/manrope-400.woff2) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: Manrope; src: url(/fonts/manrope-500.woff2) format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: Manrope; src: url(/fonts/manrope-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #FBFBFC;
  --card: #FFFFFF;
  --ink: #0D0D12;
  --dim: #636366; /* 5.8:1 on bg */
  --faint: #717174; /* 4.7:1; don't go lighter for text */
  --line: rgba(13, 13, 18, 0.09);
  --field: #F2F2F5;
  --accent: #4F5BC4; /* lavender deep enough for text */
  --lav: #8F9BF2;
  --rose: #D484B4;
  --r-card: 1.375rem;
  --r-tile: 1rem;
  --font: Manrope, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 0.25rem; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -0.025em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.wrap { max-width: 72rem; margin: 0 auto; padding-inline: 1.5rem; }

/* ---------- header and footer ---------- */

.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; }
.top .brand img { height: 2.25rem; width: auto; }
.top nav { display: flex; gap: 1.75rem; }
.top nav a { color: var(--dim); font-weight: 500; font-size: 0.9375rem; text-decoration: none; padding-block: 0.5rem; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }

.foot { margin-top: 6rem; padding-block: 2rem 3rem; background: linear-gradient(var(--line), var(--line)) center top / calc(100% - 3rem) 1px no-repeat; color: var(--faint); font-size: 0.875rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin-bottom: 1.25rem; }
.foot nav a { color: var(--ink); font-weight: 500; text-decoration: none; }
.foot nav a:hover { text-decoration: underline; }
.foot p + p { margin-top: 0.25rem; }

/* ---------- shared bits ---------- */

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.625rem; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 1rem; text-decoration: none; transition: transform 0.2s; }
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }
.go { font-weight: 600; text-decoration: none; }
.go:hover { text-decoration: underline; }

/* ---------- home ---------- */

/* The homepage is dark like the app (src/constants/theme.ts); every other page stays light. */
.home {
  color-scheme: dark;
  --bg: #050506;
  --card: #111115;
  --ink: #F4F4F6;
  --dim: rgba(255, 255, 255, 0.64);
  --faint: rgba(255, 255, 255, 0.5); /* 4.5:1 on bg; don't go lower for text */
  --line: rgba(255, 255, 255, 0.08);
  --field: #1C1C22;
  --accent: #9AA6FF;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  background: radial-gradient(90rem 50rem at 70% -10%, #15152a, transparent 60%), var(--bg);
  overflow-x: clip;
}
/* Clip on both: body-only overflow moves to the viewport, and phones then widen the page to fit the glows. */
html:has(.home) { overflow-x: clip; }
.home ::selection { background: rgba(143, 155, 242, 0.4); }
.home .btn { background: var(--ink); color: #050506; }
.home .btn.light { background: #fff; color: #050506; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 0.75rem 2rem -0.75rem rgba(143, 155, 242, 0.6); }
.home .btn.ghost { gap: 0.75rem; padding-left: 0.5rem; background: rgba(255, 255, 255, 0.06); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.home .btn.ghost:hover { background: rgba(255, 255, 255, 0.1); }
.home .btn.sm { min-height: 2.5rem; padding: 0 1.125rem; font-size: 0.9375rem; }
.home .btn.wide { width: 100%; }
.btn { gap: 0.5rem; transition: transform 0.25s var(--ease, ease), box-shadow 0.25s, background-color 0.2s; }
.home .btn:hover { transform: translateY(-1px); }
.play { position: relative; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: #fff; }
.play::after { content: ''; position: absolute; top: 50%; left: 54%; border: 0.375rem solid transparent; border-left: 0.5625rem solid #050506; border-right: 0; transform: translate(-50%, -50%); }

/* Sticky glass header. The wordmark file is dark ink, so it's inverted here. */
.home .top { position: sticky; top: 0; z-index: 20; max-width: none; padding-inline: max(1.5rem, calc((100% - 69rem) / 2)); backdrop-filter: saturate(1.4) blur(1rem); -webkit-backdrop-filter: saturate(1.4) blur(1rem); background: rgba(5, 5, 6, 0.6); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.home.scrolled .top { border-bottom-color: var(--line); }
.home .top .brand img { filter: invert(1) hue-rotate(180deg); }
.home .top nav { margin-right: auto; margin-left: 1.5rem; }

.kicker { margin-bottom: 1rem; color: var(--accent); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.note { color: var(--faint); font-size: 0.875rem; }
.home h2 { font-size: 3.5rem; line-height: 1.02; letter-spacing: -0.045em; }
.sec-head { max-width: 46rem; margin: 0 auto 3.5rem; text-align: center; }
.sec-head .sub { margin-top: 1.125rem; color: var(--dim); font-size: 1.1875rem; }

/* Scroll reveal: home.js adds .in once an element is on screen. Without JS everything just shows. */
.js [data-reveal] { opacity: 0; transform: translateY(1.5rem); filter: blur(6px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* ---------- hero: copy left, the phone under a spotlight right ---------- */

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); align-items: center; gap: 3rem; min-height: calc(100svh - 5rem); padding-block: 2rem 4rem; }
.badge { display: inline-flex; align-items: center; gap: 0.625rem; margin-bottom: 1.75rem; padding: 0.4375rem 0.875rem; border-radius: 999px; background: rgba(255, 255, 255, 0.05); box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); font-size: 0.875rem; font-weight: 500; }
.badge .dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #6CC48A; box-shadow: 0 0 0 0 rgba(108, 196, 138, 0.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 0.5rem rgba(108, 196, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(108, 196, 138, 0); } }
/* Sized to its column (13cqi fits "for your progress."), so the cycling word never runs into the phone. */
.hero .copy { container-type: inline-size; }
.hero h1 { font-size: min(4.75rem, 12.8cqi); line-height: 1; letter-spacing: -0.05em; }
/* The cycling word: a fixed-height window the words slide through. */
.rot { display: inline-grid; vertical-align: bottom; overflow: hidden; padding-bottom: 0.22em; margin-bottom: -0.22em; }
/* The padding gives descenders (y, g, p) gradient to paint on; background-clip: text stops at the box. */
.rot-w { grid-area: 1 / 1; padding-bottom: 0.22em; margin-bottom: -0.22em; white-space: nowrap; background: linear-gradient(100deg, #8F9BF2, #D484B4 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rot-w.out { animation: rot-out 0.5s var(--ease) forwards; }
.rot-w.enter { animation: rot-in 0.7s var(--ease) both; }
@keyframes rot-out { to { opacity: 0; transform: translateY(-0.6em); filter: blur(8px); } }
@keyframes rot-in { from { opacity: 0; transform: translateY(0.6em); filter: blur(8px); } }
.hero .lead { max-width: 33rem; margin-top: 1.75rem; color: var(--dim); font-size: 1.25rem; line-height: 1.55; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.25rem; }
.price-note { margin-top: 1.125rem; color: var(--dim); font-size: 0.9375rem; }
.price-note strong { color: var(--ink); font-weight: 600; }
.price-note span { margin-inline: 0.375rem; color: var(--faint); }
.hfacts { display: grid; gap: 0.75rem; max-width: 34rem; margin: 2.5rem 0 0; padding-top: 1.75rem; border-top: 1px solid var(--line); font-size: 0.9375rem; }
.hfacts div { display: grid; grid-template-columns: 6.5rem 1fr; align-items: center; }
.hfacts dt { color: var(--faint); font-size: 0.8125rem; }
.hfacts dd { margin: 0; color: var(--ink); font-weight: 500; }
.hfacts b { display: inline-block; margin-right: 0.25rem; padding: 0.0625rem 0.5rem; border-radius: 0.375rem; background: rgba(255, 255, 255, 0.07); font-weight: 600; font-size: 0.8125rem; }
.hfacts .sep { margin-inline: 0.375rem; color: var(--faint); }
.hfacts .ic { color: #EF6F8F; }

.stage { position: relative; justify-self: center; width: 100%; max-width: 19rem; perspective: 70rem; }
/* The lamp beam from above and its pool of light on the floor. */
.beam { position: absolute; z-index: -1; left: 50%; top: -9rem; width: 34rem; height: 46rem; transform: translateX(-50%); background: conic-gradient(at 50% 0, transparent 160deg, rgba(190, 195, 255, 0.22) 170deg, rgba(225, 215, 255, 0.42) 180deg, rgba(190, 195, 255, 0.22) 190deg, transparent 200deg); -webkit-mask: linear-gradient(#000 30%, transparent 95%); mask: linear-gradient(#000 30%, transparent 95%); filter: blur(6px); animation: flicker 7s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { opacity: 1; } 47% { opacity: 0.85; } 50% { opacity: 1; } }
.floor { position: absolute; z-index: -1; left: 50%; bottom: -3rem; width: 30rem; height: 7rem; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(170, 160, 255, 0.28), rgba(212, 132, 180, 0.08) 60%, transparent); }
.tilt { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.6s var(--ease); }
/* A CSS iPhone around the raw app screens: bezel, edge light and the Dynamic Island. */
.device { position: relative; aspect-ratio: 600 / 1304; padding: 0.4375rem; border-radius: 2.75rem; background: linear-gradient(145deg, #2a2a31, #0d0d10 40%, #1d1d22); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 0 0 1px rgba(0, 0, 0, 0.9), 0 0 4rem rgba(143, 155, 242, 0.3), 0 3rem 5rem -2rem rgba(0, 0, 0, 0.9); }
.device::after { content: ''; position: absolute; z-index: 2; top: 1.125rem; left: 50%; width: 29%; height: 1.5rem; border-radius: 1rem; background: #000; transform: translateX(-50%); }
.device::before { content: '9:41'; position: absolute; z-index: 2; top: 1.25rem; left: 11%; right: 9%; padding-top: 0.0625rem; color: #fff; font: 600 0.875rem/1.5rem var(--font); letter-spacing: -0.01em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 66 12'%3E%3Cg fill='%23fff'%3E%3Crect x='0' y='8' width='3' height='4' rx='1'/%3E%3Crect x='4.5' y='6' width='3' height='6' rx='1'/%3E%3Crect x='9' y='3.5' width='3' height='8.5' rx='1'/%3E%3Crect x='13.5' y='1' width='3' height='11' rx='1'/%3E%3Cpath d='M28 3.2a9 9 0 0 1 11 0l-1.3 1.5a7 7 0 0 0-8.4 0zM30.3 6a5.5 5.5 0 0 1 6.4 0l-1.3 1.5a3.5 3.5 0 0 0-3.8 0zM33.5 11.5l-1.8-2a2.7 2.7 0 0 1 3.6 0z'/%3E%3Crect x='46' y='1' width='17' height='10' rx='3' fill='none' stroke='%23fff' stroke-opacity='.45'/%3E%3Crect x='48' y='3' width='13' height='6' rx='1.5'/%3E%3Crect x='64' y='4.5' width='1.5' height='3' rx='.7' fill-opacity='.45'/%3E%3C/g%3E%3C/svg%3E") right center / 3.5rem auto no-repeat; }
.device img { display: block; width: 100%; height: 100%; border-radius: 2.3125rem; object-fit: cover; }
.stage .device { animation: hover 7s ease-in-out infinite; }
.chip { position: absolute; display: flex; align-items: center; gap: 0.75rem; padding: 0.625rem 1rem 0.625rem 0.625rem; border-radius: 1rem; background: rgba(28, 28, 36, 0.72); backdrop-filter: blur(1rem); -webkit-backdrop-filter: blur(1rem); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 1.25rem 2.5rem -1rem rgba(0, 0, 0, 0.8); font-size: 0.8125rem; line-height: 1.3; white-space: nowrap; transform: translateZ(3rem); }
.chip b { display: block; font-weight: 600; }
.chip small { color: var(--dim); font-size: 0.75rem; }
.chip > span { flex: none; width: 2.125rem; height: 2.125rem; border-radius: 0.625rem; background: linear-gradient(135deg, #8F9BF2, #D484B4); }
.chip .ring { border-radius: 50%; background: conic-gradient(#8F9BF2, #D484B4 70%, rgba(255, 255, 255, 0.1) 0); -webkit-mask: radial-gradient(closest-side, transparent 62%, #000 64%); mask: radial-gradient(closest-side, transparent 62%, #000 64%); }
.chip .pin { background: radial-gradient(circle at 50% 50%, #fff 0 18%, #8F9BF2 20% 40%, rgba(143, 155, 242, 0.25) 42%); border-radius: 50%; }
.chip .vial { background: linear-gradient(#E8B562, #E89A62); }
.c1 { top: 27%; right: -5.5rem; }
.c2 { top: 56%; left: -5.5rem; }
.c3 { bottom: 9%; left: -4rem; }
/* Narrow desktops: keep the chips inside the window. */
@media (max-width: 75rem) { .c1 { right: -1.5rem; } .c2 { left: -2.5rem; } .c3 { left: -2rem; } }
.js .chip { opacity: 0; translate: 0 0.75rem; transition: opacity 0.8s var(--ease), translate 0.8s var(--ease); }
.js .ready .chip { opacity: 1; translate: 0 0; }
.js .ready .c1 { transition-delay: 0.6s; } .js .ready .c2 { transition-delay: 0.9s; } .js .ready .c3 { transition-delay: 1.2s; }
.chip { animation: bob 6s ease-in-out infinite; }
.c2 { animation-delay: -2s; } .c3 { animation-delay: -4s; }
@keyframes bob { 50% { margin-top: -0.5rem; } }

/* ---------- the pinned story ---------- */

/* 4 chapters, each a screen tall; the inner frame sticks while home.js sets --p (0..4) and .on. */
.story { position: relative; height: 400svh; margin-top: 2rem; }
.story .pin { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; }
.story-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); align-items: center; gap: 4rem; width: 100%; }
.dashes { display: flex; gap: 0.375rem; margin-bottom: 2.25rem; }
.dashes i { position: relative; width: 2.5rem; height: 0.1875rem; overflow: hidden; border-radius: 1rem; background: rgba(255, 255, 255, 0.14); }
.dashes i::after { content: ''; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(var(--f, 0)); }
.chapters { display: grid; margin: 0; padding: 0; list-style: none; }
.chapters li { grid-area: 1 / 1; opacity: 0; transform: translateY(1.5rem); filter: blur(8px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), filter 0.6s var(--ease); pointer-events: none; }
.chapters li.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.chapters li.was { transform: translateY(-1.5rem); }
.chapters h2 { max-width: 34rem; }
.chapters p { max-width: 30rem; margin-top: 1.25rem; color: var(--dim); font-size: 1.1875rem; }
.story-phone .glow { position: absolute; inset: -20% -30%; z-index: -1; background: radial-gradient(closest-side at 40% 40%, rgba(143, 155, 242, 0.35), transparent), radial-gradient(closest-side at 65% 65%, rgba(212, 132, 180, 0.28), transparent); filter: blur(2rem); transition: transform 1.2s var(--ease); transform: rotate(calc(var(--p, 0) * 40deg)); }
.story-phone { position: relative; justify-self: center; width: min(20rem, 78svh * 0.46); }
.screens img { position: absolute; inset: 0.4375rem; width: calc(100% - 0.875rem); height: calc(100% - 0.875rem); opacity: 0; transform: scale(1.04) translateY(1rem); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease); }
.screens img.on { opacity: 1; transform: none; }

/* ---------- bento ---------- */

.bento-sec { padding-top: 6rem; }
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.tile { position: relative; isolation: isolate; display: flex; flex-direction: column; overflow: hidden; padding: 1.75rem; border-radius: var(--r-card); background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 40%), var(--card); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; }
/* A soft light that follows the pointer (home.js sets --mx/--my). */
.tile::before { content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 0), rgba(143, 155, 242, 0.14), transparent 60%); transition: opacity 0.4s; }
.tile::after { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(16rem circle at var(--mx, 50%) var(--my, 0), rgba(190, 180, 255, 0.55), transparent 60%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.4s; pointer-events: none; }
.tile:hover::before, .tile:hover::after { opacity: 1; }
.tile.wide { grid-column: span 2; }
.tile.t-lib { grid-column: 1 / -1; }
.tile h3 { margin-top: auto; padding-top: 1.5rem; font-size: 1.25rem; letter-spacing: -0.02em; }
.tile p { margin-top: 0.5rem; color: var(--dim); font-size: 1rem; }
.tile .go { float: right; color: var(--accent); font-size: 0.9375rem; transition: transform 0.3s var(--ease); }
.tile:hover .go { transform: translateX(0.25rem); }
.viz { position: relative; height: 10rem; }

/* Reminders: a stack of Lock Screen notifications that keeps cycling. */
.notif { display: grid; align-content: center; gap: 0.5rem; height: 12rem; -webkit-mask: linear-gradient(transparent, #000 15% 85%, transparent); mask: linear-gradient(transparent, #000 15% 85%, transparent); }
.notif .n { display: flex; align-items: center; gap: 0.75rem; max-width: 26rem; padding: 0.75rem 1rem 0.75rem 0.75rem; border-radius: 1.125rem; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); font-size: 0.875rem; line-height: 1.3; animation: notif 9s var(--ease) infinite; }
.notif .n:nth-child(2) { margin-left: 1.5rem; animation-delay: -3s; }
.notif .n:nth-child(3) { margin-left: 3rem; animation-delay: -6s; }
.notif .n div { flex: 1; }
.notif b { display: block; font-weight: 600; }
.notif small { color: var(--dim); }
.notif em { align-self: flex-start; color: var(--faint); font-size: 0.75rem; font-style: normal; }
.notif .app { flex: none; width: 2.25rem; height: 2.25rem; border-radius: 0.625rem; background: url(/apple-touch-icon.png) center / cover; }
@keyframes notif { 0%, 100% { transform: translateX(0); opacity: 1; } 45% { transform: translateX(0); opacity: 1; } 55% { transform: translateX(0.75rem); opacity: 0.55; } 90% { transform: translateX(0.75rem); opacity: 0.55; } }

.watch { display: grid; place-items: center; }
.watch .face { position: relative; display: grid; place-items: center; width: 7.5rem; height: 8.75rem; border-radius: 2rem; background: #000; box-shadow: 0 0 0 0.375rem #1d1d22, 0 0 0 0.4375rem #333, 0 1.5rem 3rem -1rem rgba(143, 155, 242, 0.5); }
.watch svg { position: absolute; width: 6rem; transform: rotate(-90deg); }
.watch circle { fill: none; stroke-width: 9; stroke-linecap: round; }
.watch .trk { stroke: rgba(255, 255, 255, 0.1); }
.watch .arc { stroke: #A9A2F7; stroke-dasharray: 251; stroke-dashoffset: 251; transition: stroke-dashoffset 2s var(--ease) 0.3s; }
.in .watch .arc { stroke-dashoffset: 70; }
.watch span { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.03em; }

.spark { display: flex; align-items: flex-end; }
.spark svg { width: 100%; height: 7rem; overflow: visible; }
.spark .line { fill: none; stroke: #A9A2F7; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 2.2s var(--ease) 0.2s; }
.spark .area { fill: rgba(143, 155, 242, 0.12); opacity: 0; transition: opacity 1s 1s; }
.in .spark .line { stroke-dashoffset: 0; }
.in .spark .area { opacity: 1; }

.import { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.import .file { display: grid; place-items: center; width: 4rem; height: 5rem; border-radius: 0.625rem; background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px var(--line); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; }
.import .arrow { position: relative; width: 4rem; height: 0.125rem; overflow: hidden; background: rgba(255, 255, 255, 0.12); }
.import .arrow::after { content: ''; position: absolute; inset: 0; width: 40%; background: linear-gradient(90deg, transparent, #D484B4); animation: flow 1.6s linear infinite; }
@keyframes flow { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.import .done { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 1rem; background: linear-gradient(135deg, #8F9BF2, #D484B4); color: #fff; font-size: 1.5rem; font-weight: 700; }

.health { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.health .heart { display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 1rem; background: #fff; color: #FF2D55; font-size: 2rem; animation: beat 1.6s ease-in-out infinite; }
@keyframes beat { 10% { transform: scale(1.08); } 20% { transform: scale(1); } 30% { transform: scale(1.05); } 40% { transform: scale(1); } }
.health .kg { color: var(--dim); font-size: 1rem; }
.health .kg b { color: var(--ink); font-size: 2.5rem; font-weight: 300; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }

.labs .rng { position: absolute; left: 0; right: 0; top: 30%; height: 35%; border-radius: 0.5rem; background: rgba(108, 196, 138, 0.1); box-shadow: inset 0 1px 0 rgba(108, 196, 138, 0.35), inset 0 -1px 0 rgba(108, 196, 138, 0.35); }
.labs i { position: absolute; left: var(--x); top: var(--y); width: 0.75rem; height: 0.75rem; margin: -0.375rem; border-radius: 50%; background: #6CC48A; box-shadow: 0 0 0 0.25rem rgba(108, 196, 138, 0.2); transform: scale(0); transition: transform 0.6s var(--ease); }
.in .labs i { transform: scale(1); }
.labs i:nth-of-type(2) { transition-delay: 0.15s; } .labs i:nth-of-type(3) { transition-delay: 0.3s; } .labs i:nth-of-type(4) { transition-delay: 0.45s; } .labs i:nth-of-type(5) { transition-delay: 0.6s; }
.labs i:first-of-type { background: #E8B562; box-shadow: 0 0 0 0.25rem rgba(232, 181, 98, 0.2); }

.photos { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 1rem; }
.photos span { display: flex; align-items: flex-end; padding: 0.625rem; color: rgba(255, 255, 255, 0.8); font-size: 0.75rem; font-weight: 600; }
.photos .a { background: radial-gradient(40% 60% at 50% 55%, rgba(255, 255, 255, 0.16), transparent), linear-gradient(160deg, #2a2440, #17151f); }
.photos .b { justify-content: flex-end; background: radial-gradient(32% 60% at 50% 55%, rgba(255, 255, 255, 0.2), transparent), linear-gradient(160deg, #3a2442, #1a1520); }
.photos .bar { position: absolute; top: 0; bottom: 0; left: 50%; width: 0.1875rem; padding: 0; background: #fff; box-shadow: 0 0 1rem rgba(255, 255, 255, 0.6); animation: wipe 5s ease-in-out infinite; }
@keyframes wipe { 0%, 100% { left: 35%; } 50% { left: 65%; } }

.report { display: grid; place-items: center; }
.report .paper { display: grid; align-content: start; gap: 0.5rem; width: 6.5rem; height: 8.5rem; padding: 1rem 0.875rem; border-radius: 0.5rem; background: #f4f4f6; transform: rotate(-4deg); box-shadow: 0 1.5rem 2rem -1rem rgba(0, 0, 0, 0.8); transition: transform 0.6s var(--ease); }
.tile:hover .report .paper { transform: rotate(0) translateY(-0.25rem); }
.report .paper i { height: 0.375rem; border-radius: 1rem; background: #d4d4da; }
.report .paper i:first-child { width: 60%; background: #8F9BF2; }
.report .paper i:nth-child(3) { width: 80%; }
.report .tag { position: absolute; left: calc(50% + 1.75rem); top: 60%; padding: 0.25rem 0.5rem; border-radius: 0.375rem; background: #EF6F6F; color: #fff; font-size: 0.75rem; font-weight: 700; }

.marquee { display: grid; align-content: center; gap: 0.75rem; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10% 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10% 90%, transparent); }
.marquee .row { display: flex; gap: 0.75rem; width: max-content; animation: slide 40s linear infinite; }
.marquee .rev { animation-direction: reverse; }
.marquee span { padding: 0.5rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px var(--line); color: var(--dim); font-size: 0.9375rem; font-weight: 500; white-space: nowrap; }
@keyframes slide { to { transform: translateX(calc(-50% - 0.375rem)); } }

/* ---------- try it ---------- */

.try { padding-top: 8rem; }
.tryit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 3rem; max-width: 62rem; margin: 0 auto; padding: 2.5rem; background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 50%), var(--card); border-color: var(--line); }
.knobs { display: grid; align-content: center; gap: 1.75rem; }
.knobs label span { display: flex; justify-content: space-between; margin-bottom: 0.75rem; color: var(--dim); font-size: 0.9375rem; font-weight: 500; }
.knobs output { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.knobs input { width: 100%; height: 1.5rem; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.knobs input::-webkit-slider-runnable-track { height: 0.375rem; border-radius: 1rem; background: linear-gradient(90deg, #8F9BF2, #D484B4) 0 / var(--v, 50%) 100% no-repeat, rgba(255, 255, 255, 0.1); }
.knobs input::-moz-range-track { height: 0.375rem; border-radius: 1rem; background: rgba(255, 255, 255, 0.1); }
.knobs input::-moz-range-progress { height: 0.375rem; border-radius: 1rem; background: linear-gradient(90deg, #8F9BF2, #D484B4); }
.knobs input::-webkit-slider-thumb { width: 1.375rem; height: 1.375rem; margin-top: -0.5rem; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.5); -webkit-appearance: none; transition: transform 0.2s; }
.knobs input::-moz-range-thumb { width: 1.375rem; height: 1.375rem; border: 0; border-radius: 50%; background: #fff; }
.knobs input:active::-webkit-slider-thumb { transform: scale(1.15); }
.readout { display: grid; align-content: center; justify-items: center; gap: 0.25rem; text-align: center; }
.ubig { display: flex; align-items: baseline; gap: 0.5rem; }
.ubig output { font-size: 5.5rem; font-weight: 300; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.ubig span { color: var(--dim); font-size: 1.375rem; }
.readout .small { color: var(--dim); }
.syr { width: 100%; max-width: 26rem; margin: 1.5rem 0 1rem; overflow: visible; }
.syr .barrel { fill: rgba(255, 255, 255, 0.05); stroke: rgba(255, 255, 255, 0.3); stroke-width: 1.5; }
.syr .fill { fill: #A9A2F7; transition: width 0.5s var(--ease); }
.syr .plunger { fill: #fff; transition: x 0.5s var(--ease); }
.syr .needle, .syr .rod { fill: rgba(255, 255, 255, 0.35); }
.syr .ticks line { stroke: rgba(255, 255, 255, 0.35); stroke-width: 1; }
.syr .ticks text { fill: var(--faint); font: 600 9px var(--font); text-anchor: middle; }

/* ---------- numbers ---------- */

.nums { padding-top: 8rem; }
.nums ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.nums li { padding: 1.75rem; border-radius: var(--r-card); background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.nums .n { display: flex; align-items: baseline; gap: 0.5rem; }
.nums .n b { font-size: 4rem; font-weight: 500; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.nums .n > span { color: var(--accent); font-weight: 600; }
.nums h3 { margin-top: 1rem; font-size: 1.125rem; }
.nums li > p:last-child { margin-top: 0.5rem; color: var(--dim); font-size: 0.9375rem; }

/* ---------- privacy ---------- */

.priv { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 3.5rem; max-width: 62rem; margin-top: 8rem; padding: 3rem; border-radius: var(--r-card); background: radial-gradient(30rem 20rem at 0 50%, rgba(143, 155, 242, 0.12), transparent), var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.priv h2 { font-size: 2.25rem; }
.priv p { max-width: 38rem; margin-top: 1rem; color: var(--dim); font-size: 1.0625rem; }
.lock { position: relative; width: 7rem; height: 7rem; border-radius: 50%; background: radial-gradient(closest-side, rgba(143, 155, 242, 0.25), transparent); }
.lock::before { content: ''; position: absolute; inset: -0.5rem; border-radius: 50%; border: 1px dashed rgba(169, 162, 247, 0.4); animation: spin 18s linear infinite; }
.lock span { position: absolute; left: 50%; top: 56%; width: 2.75rem; height: 2.25rem; border-radius: 0.5rem; background: linear-gradient(135deg, #8F9BF2, #D484B4); transform: translate(-50%, -50%); }
.lock span::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: 1.75rem; height: 1.5rem; border: 0.3125rem solid #A9A2F7; border-bottom: 0; border-radius: 1rem 1rem 0 0; transform: translateX(-50%); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- price ---------- */

.price { padding-top: 8rem; }
.price h2 span { color: var(--faint); }
.pcard { position: relative; max-width: 30rem; margin: 0 auto; padding: 2rem; border-radius: 1.75rem; background: linear-gradient(180deg, rgba(143, 155, 242, 0.12), rgba(255, 255, 255, 0.02) 50%), var(--card); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 2.5rem 6rem -2rem rgba(143, 155, 242, 0.35); }
.pcard::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: conic-gradient(from var(--a, 0deg), transparent 70%, #8F9BF2, #D484B4, transparent); filter: blur(0.75rem); opacity: 0.6; animation: orbit 6s linear infinite; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes orbit { to { --a: 360deg; } }
.ptop { display: flex; align-items: center; justify-content: space-between; }
.pname { color: var(--dim); font-weight: 600; }
.pill { padding: 0.25rem 0.75rem; border-radius: 999px; background: rgba(108, 196, 138, 0.14); color: #8EDBA8; font-size: 0.8125rem; font-weight: 600; }
.amt { display: flex; align-items: baseline; gap: 0.5rem; margin-top: 1.25rem; }
.amt b { font-size: 3.75rem; font-weight: 500; line-height: 1; letter-spacing: -0.05em; }
.amt span { color: var(--dim); }
.alt { margin-top: 0.375rem; color: var(--faint); font-size: 0.9375rem; }
.pcard ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; margin: 1.75rem 0; padding: 1.5rem 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 0.9375rem; }
.pcard li { display: flex; gap: 0.625rem; }
.pcard li::before { content: '✓'; display: grid; place-items: center; flex: none; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: rgba(143, 155, 242, 0.2); color: #B9C0FF; font-size: 0.6875rem; font-weight: 700; }

/* ---------- FAQ and the end ---------- */

.faq { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: 2rem; padding-top: 8rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.25rem; font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.01em; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; color: var(--faint); font-size: 1.5rem; font-weight: 300; line-height: 1; transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { max-width: 40rem; padding-bottom: 1.5rem; color: var(--dim); font-size: 1.0625rem; }
.faq details[open] p { animation: drop 0.5s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-0.5rem); } }

.end { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding-top: 9rem; text-align: center; }
.end::before { content: ''; position: absolute; z-index: -1; top: 4rem; left: 50%; width: min(50rem, 100vw); height: 30rem; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(143, 155, 242, 0.18), transparent); }
.end h2 { font-size: 5rem; letter-spacing: -0.055em; }
.end h2 span { background: linear-gradient(100deg, #8F9BF2, #D484B4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.end > p { max-width: 34rem; color: var(--dim); font-size: 1.125rem; }
.end .orb { width: 6.5rem; margin-bottom: 0.5rem; }
.home .wl .row { background: rgba(255, 255, 255, 0.05); }
.home .wl input::placeholder { color: var(--faint); }
.home .wl fieldset:disabled .btn { background: rgba(255, 255, 255, 0.16); color: var(--dim); }

/* The app icon with one soft glow behind it: the app's hero recipe. */
.orb { position: relative; isolation: isolate; aspect-ratio: 1; }
.orb::before { content: ''; position: absolute; inset: -40%; z-index: -1; background: radial-gradient(closest-side at 42% 42%, rgba(143, 155, 242, 0.55), transparent), radial-gradient(closest-side at 62% 62%, rgba(212, 132, 180, 0.45), transparent); filter: blur(1.5rem); animation: breathe 4s ease-in-out infinite alternate; }
.orb img { width: 100%; height: 100%; border-radius: 22.5%; box-shadow: 0 1.25rem 2.5rem -1rem rgba(40, 34, 90, 0.45); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-0.3125rem); } }
@keyframes breathe { from { opacity: 0.8; } to { opacity: 1; } }

/* The pill that follows you down the page; hidden over the hero and the sign-up form. */
.float { position: fixed; z-index: 30; width: max-content; white-space: nowrap; left: 50%; bottom: 1.5rem; padding-left: 0.5rem; transform: translate(-50%, 6rem); opacity: 0; transition: transform 0.6s var(--ease), opacity 0.4s; }
.float img { width: 2.25rem; height: 2.25rem; border-radius: 0.625rem; }
.float.show { transform: translate(-50%, 0); opacity: 1; }
.home .float.show:hover { transform: translate(-50%, -2px); }

.home .foot { margin-top: 8rem; }

/* ---------- launch list ---------- */

.wl { width: 100%; max-width: 34rem; }
.wl fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.wl label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.wl .row { display: flex; gap: 0.5rem; padding: 0.375rem; border: 1px solid var(--line); border-radius: 999px; background: var(--card); transition: border-color 0.2s; }
.wl .row:focus-within { border-color: var(--accent); }
.wl input { flex: 1; min-width: 0; padding: 0 1rem; border: 0; background: none; color: var(--ink); font: 500 1.0625rem var(--font); outline: none; }
.wl input::placeholder { color: #A9A9AE; }
.wl .btn { flex: none; min-height: 3rem; border: 0; font-family: var(--font); cursor: pointer; }
.wl fieldset:disabled .btn { background: var(--faint); cursor: not-allowed; }
.wl .note { margin-top: 0.75rem; }
.end > p { max-width: 34rem; color: var(--dim); font-size: 1.125rem; }
.doc .wl { margin: 2rem 0; }
.doc .wl .note { margin: 0.75rem 0 0; font-size: 0.875rem; }

/* ---------- reading pages: policies, support ---------- */

.doc { max-width: 46rem; padding-top: 3rem; }
.doc h1 { margin-bottom: 1.5rem; font-size: 2.75rem; letter-spacing: -0.035em; }
.doc h2 { margin: 3rem 0 1rem; font-size: 1.5rem; }
.doc h3 { margin: 2rem 0 0.75rem; font-size: 1.1875rem; }
.doc p, .doc ul, .doc ol, .doc blockquote { margin: 0 0 1rem; }
.doc p, .doc li { font-size: 1.0625rem; line-height: 1.65; }
.doc ul, .doc ol { padding-left: 1.25rem; }
.doc li + li { margin-top: 0.375rem; }
.doc .lead { color: var(--dim); font-size: 1.1875rem; }
.doc .mail { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; }
.doc .table { margin: 1.5rem 0; overflow-x: auto; }
.doc table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; }
.doc th { padding: 0 1rem 0.75rem 0; border-bottom: 1px solid rgba(13, 13, 18, 0.2); text-align: left; font-weight: 600; vertical-align: bottom; }
.doc td { padding: 0.875rem 1rem 0.875rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }

/* ---------- policies: contents column, summary box, numbered sections ---------- */

.legal { display: grid; grid-template-columns: 13rem minmax(0, 46rem); grid-template-rows: auto 1fr; column-gap: 4.5rem; justify-content: center; padding-top: 3rem; }
.legal > .doc { grid-column: 2; padding-top: 0; }
.legal h1 { margin: 1.75rem 0 0.75rem; }
.legal .cats a[aria-current] { background: var(--ink); color: #fff; }
.doc .meta { margin-bottom: 2rem; color: var(--dim); font-size: 0.9375rem; line-height: 1.6; }
.meta strong { color: var(--ink); font-weight: 600; }
.legal [id] { scroll-margin-top: 1.5rem; }
.legal article > h2 { margin-top: 2.75rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.summary { margin: 2rem 0 0.5rem; padding: 1.5rem 1.75rem 0.5rem; border: 1px solid rgba(79, 91, 196, 0.16); border-radius: var(--r-card); background: linear-gradient(135deg, rgba(143, 155, 242, 0.1), rgba(212, 132, 180, 0.08)); }
.doc .summary h2 { margin: 0 0 0.75rem; font-size: 1.125rem; }

.toc { grid-column: 1; grid-row: 1 / 3; align-self: start; position: sticky; top: 1.5rem; max-height: calc(100vh - 3rem); overflow-y: auto; padding-top: 0.875rem; }
.toc summary { margin-bottom: 0.75rem; color: var(--faint); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; list-style: none; pointer-events: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc ul { margin: 0; padding: 0; list-style: none; border-left: 1px solid var(--line); }
.toc a { display: flex; gap: 0.625rem; margin-left: -1px; padding: 0.3125rem 0 0.3125rem 1rem; border-left: 1px solid transparent; color: var(--dim); font-size: 0.875rem; line-height: 1.4; text-decoration: none; }
.toc a:hover { border-left-color: var(--ink); color: var(--ink); }
.toc a span:first-child { flex: none; min-width: 1.125rem; color: var(--faint); font-variant-numeric: tabular-nums; }
.toc strong { font-weight: 500; }
@media (prefers-reduced-motion: no-preference) { html:has(.legal) { scroll-behavior: smooth; } }

/* ---------- syringe-units converter ---------- */

.intro { max-width: 40rem; padding-block: 3rem 2rem; }
.intro h1 { font-size: 3rem; letter-spacing: -0.035em; }
.intro p { margin-top: 1rem; color: var(--dim); font-size: 1.1875rem; }
.intro .eyebrow { margin: 0 0 0.75rem; font-size: 0.875rem; }
.intro .formula { margin-top: 0.75rem; color: var(--ink); font-size: 1.0625rem; font-weight: 600; font-variant-numeric: tabular-nums; }

.conv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.inputs { display: grid; gap: 1.25rem; padding: 1.75rem; }
.f { margin: 0; padding: 0; border: 0; min-width: 0; }
.f label, .f legend { display: block; margin-bottom: 0.5rem; padding: 0; color: var(--dim); font-size: 0.875rem; font-weight: 500; }
.box { display: flex; border: 1px solid transparent; border-radius: var(--r-tile); background: var(--field); transition: border-color 0.2s, background-color 0.2s; }
.box:focus-within { border-color: var(--accent); background: #fff; }
.box input { flex: 1; min-width: 0; padding: 1rem 1.125rem; border: 0; background: none; color: var(--ink); font: 500 1.5rem/1.2 var(--font); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; outline: none; }
.box input::placeholder { color: #A9A9AE; }
.box select, .box .unit { display: flex; align-items: center; padding: 0 1.25rem 0 1rem; border: 0; border-left: 1px solid var(--line); border-radius: 0 var(--r-tile) var(--r-tile) 0; background: none; color: var(--dim); font: 500 1.0625rem var(--font); }
.box select { appearance: none; padding-right: 2.25rem; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23636366' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1rem center; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.25rem; padding: 0.25rem; border-radius: 999px; background: var(--field); }
.seg label { position: relative; display: grid; place-items: center; min-height: 3rem; margin: 0; border-radius: 999px; color: var(--dim); font-size: 0.9375rem; font-weight: 600; line-height: 1.2; text-align: center; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.seg small { display: block; color: var(--faint); font-size: 0.75rem; font-weight: 500; }
.seg input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.seg label:has(input:checked) { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(13, 13, 18, 0.08), 0 0.25rem 0.75rem rgba(13, 13, 18, 0.06); }
.seg label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.seg.two { grid-template-columns: repeat(2, 1fr); }
.f[hidden] { display: none; }

.side { position: sticky; top: 1.5rem; display: grid; gap: 1rem; }
.say { padding-inline: 0.25rem; color: var(--dim); font-size: 0.9375rem; }
.result { position: relative; overflow: hidden; isolation: isolate; padding: 2rem 1.75rem 0; text-align: center; }
.result::before { content: ''; position: absolute; top: -9rem; left: 50%; z-index: -1; width: 20rem; height: 16rem; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(143, 155, 242, 0.22), transparent); }
.k { color: var(--dim); font-size: 0.875rem; font-weight: 500; }
.big { display: flex; align-items: baseline; justify-content: center; gap: 0.5rem; margin-top: 0.25rem; }
.big b { font-size: 5rem; font-weight: 300; line-height: 1; letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.big span { color: var(--dim); font-size: 1.375rem; }
.result .sub { margin-top: 0.5rem; color: var(--dim); font-size: 0.9375rem; font-variant-numeric: tabular-nums; }
.result.empty .big b { color: #C4C4C9; }
.result.bare { padding-bottom: 1.75rem; }
#syringe { width: 100%; height: 3.625rem; margin-top: 1.5rem; overflow: visible; }
#syringe text { fill: var(--faint); font: 500 0.6875rem var(--font); font-variant-numeric: tabular-nums; }
#syringe .fill { transform-box: fill-box; transform-origin: left center; }
#syringe .fill, #syringe .edge { transition: transform 0.32s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.2s; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 1.5rem -1.75rem 0; border-top: 1px solid var(--line); }
.stats div { padding: 1rem 0.5rem 1.25rem; }
.stats div + div { border-left: 1px solid var(--line); }
.stats .v { margin-bottom: 0.125rem; font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.warn { display: grid; gap: 0.5rem; margin: 0; padding: 1rem 1.25rem 1rem 2.5rem; border: 1px solid #F0DDB6; border-radius: var(--r-tile); background: #FCF6EA; color: #6E4A10; font-size: 0.9375rem; }
.warn[hidden] { display: none; }
.warn li::marker { color: #C8922F; }

.how { max-width: 46rem; margin-top: 5rem; }
.how h2 { margin-bottom: 1rem; font-size: 1.75rem; }
.how p { color: var(--dim); font-size: 1.0625rem; }
.how p + p { margin-top: 0.75rem; }
.how h3 { margin: 1.75rem 0 0.5rem; font-size: 1.1875rem; }
.how.callout { padding: 1.75rem; }
.how.callout h2 { font-size: 1.375rem; }
.how .src { margin: 0; padding-left: 1.25rem; color: var(--dim); }
.how .src li + li { margin-top: 0.5rem; }

.promo { display: flex; align-items: center; gap: 1.5rem; margin-top: 4rem; padding: 2rem 2.25rem; }
.promo img { width: 4rem; height: 4rem; border-radius: 22.5%; }
.promo div { flex: 1; }
.promo h2 { font-size: 1.375rem; }
.promo p { margin-top: 0.25rem; color: var(--dim); }

/* rotation chart and out-of-fridge date */
.box > select:only-child { flex: 1; min-width: 0; padding-block: 1rem; border-left: 0; border-radius: var(--r-tile); color: var(--ink); }
.box input[type="datetime-local"] { font-size: 1.125rem; }
.big.date b { font-size: 2.5rem; font-weight: 400; letter-spacing: -0.03em; }
.seg.sites { grid-template-columns: repeat(2, 1fr); border-radius: var(--r-tile); }
.seg.sites label { border-radius: calc(var(--r-tile) - 0.25rem); }
#body { display: block; width: 100%; max-width: 15rem; height: auto; margin: 1rem auto 0; }
#body .part { fill: var(--field); }
#body .navel { fill: var(--faint); }
#body .zone circle { fill: #fff; stroke: var(--lav); stroke-width: 1.5; }
#body text { fill: var(--dim); font: 600 0.6875rem var(--font); text-anchor: middle; }
#body .side-l { text-anchor: start; }
#body .side-r { text-anchor: end; }
#body .zone.last circle { fill: var(--field); stroke: var(--faint); }
#body .zone.next circle { fill: var(--accent); stroke: var(--accent); }
#body .zone.next text { fill: #fff; }
.how table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; line-height: 1.5; }
.how th, .how td { padding: 0.625rem 0.75rem 0.625rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.how thead th { font-weight: 600; }
.how .table { overflow-x: auto; }
.sheet td { min-width: 4.5rem; border-left: 1px solid var(--line); }

@media print {
  body:has(.sheet) :is(.top, .foot, .intro p:not(.formula), .inputs, .say, #sub, main > section:not(.intro, .sheet)) { display: none; }
  body:has(.sheet) .conv { display: block; }
  body:has(.sheet) .side { position: static; }
  body:has(.sheet) .result { box-shadow: none; padding: 0; }
  body:has(.sheet) .result::before { display: none; }
  body:has(.sheet) #body .zone circle { fill: #fff; stroke: #000; }
  body:has(.sheet) #body .zone text { fill: #000; }
  .sheet { margin-top: 1rem; break-inside: avoid; }
  .sheet th, .sheet td { height: 2rem; border: 1px solid #000; padding: 0.25rem 0.5rem; }
}

/* ---------- research pages: compounds, comparisons ---------- */

.eyebrow { font-size: 0.875rem; font-weight: 600; }
.doc .eyebrow { margin-bottom: 0.5rem; }
.eyebrow a { text-decoration: none; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 1.75rem 0 0; border: 1px solid var(--line); border-radius: var(--r-tile); background: var(--card); }
.facts div { padding: 0.875rem 1rem; }
.facts div + div { border-left: 1px solid var(--line); }
.facts dt { color: var(--faint); font-size: 0.8125rem; font-weight: 500; }
.facts dd { margin: 0.125rem 0 0; font-weight: 600; line-height: 1.35; }
.facts a { text-decoration: none; }
.status { margin-top: 1rem; padding: 1.5rem 1.75rem; }
.doc .status h2 { margin: 0 0 0.375rem; font-size: 1.125rem; }
.doc .status p { margin: 0; color: var(--dim); }
.doc .status p + h2 { margin-top: 1.25rem; }
.doc .k { margin-bottom: 1rem; }
.doc .src { padding-left: 1.5rem; }
.doc .src li { font-size: 1rem; }
.src a { text-decoration: none; }
.src a:hover { text-decoration: underline; }
.src span { color: var(--faint); font-size: 0.875rem; white-space: nowrap; }
.doc .also { margin-top: 2.5rem; }
.cats { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cats a { padding: 0.375rem 0.875rem; border-radius: 999px; background: var(--field); color: var(--ink); font-size: 0.9375rem; font-weight: 500; text-decoration: none; }
.cats a:hover { background: var(--line); }
.doc .list { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.doc .list li { margin: 0; padding: 0.875rem 0; border-bottom: 1px solid var(--line); }
.list a { font-weight: 600; text-decoration: none; }
.list a:hover { text-decoration: underline; }
.list span { display: block; margin-top: 0.125rem; color: var(--dim); font-size: 0.9375rem; line-height: 1.5; }
.doc .promo { flex-wrap: wrap; margin-top: 3.5rem; }
.doc .promo div { flex: 1 1 14rem; }
.doc .promo .go { white-space: nowrap; }
.doc .promo .btn { margin-left: 5.5rem; } /* the column is too narrow for one row, so it sits under the text */
.doc .promo h2 { margin: 0 0 0.375rem; font-size: 1.25rem; }

.doc.wide { max-width: 64rem; }
.doc .vs { table-layout: fixed; }
.doc .vs thead td { width: 10rem; }
.doc .vs thead th { font-size: 1.0625rem; }
.doc .vs tbody th { padding: 0.875rem 1rem 0.875rem 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 600; }
.doc .vs ul, .doc .vs ol { margin: 0; padding-left: 1.125rem; }
.doc .vs li { font-size: 0.9375rem; line-height: 1.5; }
.vs .src span { display: block; }

/* ---------- phones ---------- */

@media (max-width: 55.99rem) {
  .wrap { padding-inline: 1.25rem; }
  .top .brand img { height: 1.875rem; }
  .top nav { gap: 1.25rem; }
  .foot { margin-top: 4rem; background-size: calc(100% - 2.5rem) 1px; }
  .foot nav { flex-direction: column; gap: 0; }
  .foot nav a { padding-block: 0.625rem; }

  .home .top { padding-inline: 1.25rem; }
  .home .top nav { display: none; }
  .home h2 { font-size: 2.375rem; }
  .sec-head { margin-bottom: 2.25rem; }
  .sec-head .sub { font-size: 1.0625rem; }

  .hero { grid-template-columns: 1fr; gap: 3.5rem; min-height: 0; padding-block: 2rem 3rem; }
  .hero .lead { margin-top: 1.25rem; font-size: 1.0625rem; }
  .hero .cta { flex-direction: column; align-items: stretch; }
  .hfacts div { grid-template-columns: 5.5rem 1fr; }
  .hfacts dd { font-size: 0.875rem; }
  .stage { max-width: 13.5rem; }
  .beam { width: 24rem; }
  .chip { padding: 0.5rem 0.75rem 0.5rem 0.5rem; font-size: 0.75rem; }
  .chip > span { width: 1.75rem; height: 1.75rem; }
  .c1 { right: -3.25rem; } .c2 { left: -3.5rem; } .c3 { left: -2.5rem; }

  .story-in { grid-template-columns: 1fr; gap: 1.5rem; align-content: center; }
  .dashes { margin-bottom: 1.25rem; }
  .story .kicker { margin-bottom: 0.75rem; }
  .chapters h2 { font-size: 1.75rem; }
  .chapters p { margin-top: 0.625rem; font-size: 0.9375rem; }
  .story-phone { width: min(14rem, 42svh * 0.46); }
  .device { border-radius: 2.25rem; padding: 0.3125rem; }
  .device img { border-radius: 1.9375rem; }
  .screens img { inset: 0.3125rem; width: calc(100% - 0.625rem); height: calc(100% - 0.625rem); }
  .device::after { top: 0.75rem; height: 1.125rem; }
  .device::before { top: 0.75rem; font-size: 0.6875rem; line-height: 1.125rem; background-size: 2.75rem auto; }

  .bento-sec { padding-top: 4.5rem; }
  .bento { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; }
  .tile { padding: 1.5rem; }
  .notif .n:nth-child(2) { margin-left: 0.75rem; }
  .notif .n:nth-child(3) { margin-left: 1.5rem; }

  .try, .nums, .price, .faq { padding-top: 5rem; }
  .tryit { grid-template-columns: 1fr; gap: 2rem; padding: 1.5rem; }
  .ubig output { font-size: 4.25rem; }
  .nums ul { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .nums li { padding: 1.25rem; }
  .nums .n { flex-direction: column; gap: 0.25rem; }
  .nums .n b { font-size: 3rem; }
  .priv { grid-template-columns: 1fr; gap: 1.5rem; margin-top: 5rem; padding: 1.75rem 1.5rem; }
  .priv h2 { font-size: 1.75rem; }
  .lock { width: 5rem; height: 5rem; }
  .pcard { padding: 1.5rem; }
  .pcard ul { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; gap: 1.5rem; }
  .faq summary { font-size: 1.0625rem; }
  .end { padding-top: 6rem; }
  .end h2 { font-size: 3rem; }
  .end .btn { align-self: stretch; }
  .float { bottom: 1rem; }
  .wl .row { flex-direction: column; border-radius: var(--r-tile); }
  .wl input { min-height: 3rem; }

  .doc { padding-top: 1.5rem; }
  .doc h1 { font-size: 2.125rem; }
  .doc h2 { margin-top: 2.5rem; font-size: 1.375rem; }
  .doc p, .doc li { font-size: 1rem; }

  .legal { display: block; padding-top: 1.5rem; }
  .legal article > h2 { margin-top: 2rem; padding-top: 2rem; }
  .summary { padding: 1.25rem 1.25rem 0.25rem; }
  .toc { position: static; max-height: none; margin-bottom: 1.75rem; padding: 0; border: 1px solid var(--line); border-radius: var(--r-tile); background: var(--card); }
  .toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 3rem; margin: 0; padding: 0 1rem; color: var(--ink); font-size: 0.9375rem; letter-spacing: 0; text-transform: none; cursor: pointer; pointer-events: auto; }
  .toc summary::after { content: ''; width: 0.5rem; height: 0.5rem; border: solid var(--dim); border-width: 0 1.5px 1.5px 0; transform: translateY(-0.125rem) rotate(45deg); }
  .toc[open] summary::after { transform: translateY(0.125rem) rotate(-135deg); }
  .toc ul { padding: 0 0.5rem 0.5rem; border: 0; }
  .toc a { margin: 0; padding: 0.625rem 0.5rem; border: 0; border-top: 1px solid var(--line); font-size: 0.9375rem; }

  .intro { padding-block: 1.5rem 1.5rem; }
  .intro h1 { font-size: 2.25rem; }
  .intro p { font-size: 1.0625rem; }
  .conv { grid-template-columns: 1fr; gap: 1rem; }
  .inputs { padding: 1.25rem; }
  .side { position: static; }
  .result { padding: 1.5rem 1.25rem 0; }
  .big b { font-size: 4rem; }
  .stats { margin-inline: -1.25rem; }
  .stats .v { font-size: 1rem; }
  .how { margin-top: 3.5rem; }
  .how h2 { font-size: 1.5rem; }
  .promo { flex-direction: column; align-items: stretch; gap: 1rem; margin-top: 3rem; padding: 1.5rem; }
  .doc .promo div { flex: none; }
  .doc .promo .btn { margin-left: 0; }
  .status { padding: 1.25rem; }
}

/* Policy tables stack into label/value rows on narrow screens. */
@media (max-width: 40rem) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; }
  .doc thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .doc tr { padding-block: 0.75rem; border-bottom: 1px solid var(--line); }
  .doc td { padding: 0.25rem 0; border: 0; }
  .doc td::before { content: attr(data-label); display: block; color: var(--faint); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; }
  .doc td:empty { display: none; }
  .doc .vs tbody th { display: block; width: auto; padding: 0 0 0.25rem; border: 0; font-size: 1rem; }
  .facts { grid-template-columns: 1fr; }
  .facts div + div { border-left: 0; border-top: 1px solid var(--line); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js .chip { opacity: 1; transform: none; translate: none; filter: none; }
}
