/* Livomind — Y2K collage hero + bento grid system */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-display: swap;
}
@font-face {
  font-family: "Young Serif";
  src: url("../fonts/young-serif.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  /* paper + ink */
  --paper: #F3F4F7;
  --grid: #D7DAE3;
  --ink: #1D1646;
  --ink-2: #4B4572;
  --white: #FFFFFF;
  /* bento pastels */
  --lime: #CFE57D;
  --bubble: #F7A3CB;
  --lilac: #CDB8F5;
  --butter: #F8E27C;
  --peach: #F8B184;
  --powder: #BCD6EE;
  /* y2k spray */
  --magenta: #FF3EA5;
  --cyan: #2FD6D3;
  --tangerine: #FF6A2B;
  --uv: #8B3DFF;
  --pink-deep: #D8237F;

  --sans: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-tile: 30px;
  --r-card: 18px;
  --cell: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: var(--cell) var(--cell);
  background-position: -1px -1px;
  font-optical-sizing: auto;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--uv); outline-offset: 3px; border-radius: 6px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 2px solid var(--bd);
  background: var(--bg); color: var(--fg);
  font-weight: 650; font-size: 17px; line-height: 1; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-ink:hover { --bg: #2C2266; }
.btn-line { --bg: #fff; --fg: var(--ink); }
.btn-line:hover { --bg: var(--butter); }
.btn-pink { --bg: var(--magenta); --bd: var(--magenta); --fg: #fff; }
.btn-pink:hover { --bg: #ff5bb3; }
.btn-sm { padding: 11px 18px; font-size: 15px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 20; padding-block: 18px; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 168px; height: auto; }
.nav-list { display: flex; align-items: center; gap: 6px; }
.nav-list a:not(.btn) {
  display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font-weight: 560; font-size: 16px;
}
.nav-list a:not(.btn):hover { background: rgba(255,255,255,.8); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 24px 0 72px; min-height: min(92svh, 900px); }
.hero::after { /* airbrush grain over the whole collage */
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: url("../img/grain.png"); opacity: .55; mix-blend-mode: soft-light;
}
.hero-art { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; display: grid; justify-items: center; padding-top: clamp(40px, 7vw, 92px); }

.spray { position: absolute; border-radius: 50%; filter: blur(48px); opacity: .9; }
.spray-magenta { width: 46vw; height: 30vw; max-width: 620px; max-height: 420px; left: -14vw; top: -6vw; background: radial-gradient(closest-side, var(--magenta), rgba(255,62,165,0)); }
.spray-cyan { width: 34vw; height: 34vw; max-width: 460px; max-height: 460px; left: -10vw; bottom: -8vw; background: radial-gradient(closest-side, var(--cyan), rgba(47,214,211,0)); }
.spray-orange { width: 30vw; height: 40vw; max-width: 420px; max-height: 560px; right: -8vw; top: 10%; background: radial-gradient(closest-side, var(--tangerine), rgba(255,106,43,0)); transform: rotate(28deg); }
.spray-violet { width: 26vw; height: 26vw; max-width: 360px; max-height: 360px; right: 12%; bottom: -10vw; background: radial-gradient(closest-side, var(--magenta), rgba(255,62,165,0)); opacity: .55; }
.streak { position: absolute; left: 0; top: 18%; width: 100%; height: 46%; mix-blend-mode: multiply; opacity: .75; }

.ball { position: absolute; border-radius: 50%; box-shadow: 0 24px 40px -16px rgba(29,22,70,.45); }
.ball::after { content: ""; position: absolute; left: 22%; top: 14%; width: 30%; height: 20%; border-radius: 50%; background: rgba(255,255,255,.85); filter: blur(4px); transform: rotate(-30deg); }
.ball-yellow { width: clamp(90px, 13vw, 190px); aspect-ratio: 1; left: 5%; bottom: 14%;
  background: radial-gradient(circle at 34% 30%, #FFFBD9 0 6%, #FFE66B 22%, #FFD13B 48%, #F0A800 78%, #C97A00 100%); }
.ball-cyan { width: clamp(46px, 5.6vw, 84px); aspect-ratio: 1; right: 24%; bottom: 9%;
  background: radial-gradient(circle at 34% 30%, #EFFFFF 0 6%, #8FF3EF 24%, #2FD6D3 55%, #109A9F 100%); }
.ball-pink { width: clamp(30px, 3.4vw, 50px); aspect-ratio: 1; left: 21%; top: 10%;
  background: radial-gradient(circle at 34% 30%, #FFF0F8 0 6%, #FF9FD0 26%, #FF3EA5 60%, #B3157F 100%); }
.hero-mark { --rot: 10deg; position: absolute; width: clamp(130px, 17vw, 250px); height: auto; right: 7%; top: 4%; transform: rotate(10deg); filter: drop-shadow(0 18px 30px rgba(29,22,70,.22)); }

.doodle { position: absolute; fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.doodle-spiral { width: 64px; left: 38%; top: 3%; transform: rotate(-12deg); }
.doodle-star { width: 78px; right: 18%; bottom: 20%; transform: rotate(14deg); }
.doodle-squiggle { width: 110px; left: 7%; top: 38%; stroke: var(--uv); stroke-width: 4; }
.doodle-loop { width: 96px; right: 30%; top: 2%; stroke-width: 2.5; }

.px-cursor { position: absolute; width: clamp(34px, 3.6vw, 52px); height: auto; left: calc(50% + 150px); bottom: 70px; filter: drop-shadow(3px 4px 0 rgba(29,22,70,.18)); }

/* sticker headline */
.sticker-title {
  position: relative; text-align: center;
  font-family: var(--sans); font-weight: 800; font-stretch: 76%;
  font-size: clamp(58px, 11.4vw, 178px); line-height: .84; letter-spacing: -.025em;
  text-transform: lowercase;
}
.sticker-title .line { position: relative; display: block; width: fit-content; margin-inline: auto; z-index: 0; }
.sticker-title .line::before { /* white die-cut sticker backing */
  content: attr(data-text); position: absolute; inset: 0; z-index: -1;
  color: #fff; -webkit-text-stroke: .2em #fff; paint-order: stroke fill;
  filter: drop-shadow(0 14px 22px rgba(29,22,70,.20));
}
.sticker-title .ink {
  position: relative; color: var(--ink);
  background-image: url("../img/grain-text.png"), linear-gradient(var(--ink), var(--ink));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sticker-title .l1 { transform: rotate(-3.5deg) translateX(-4%); }
.sticker-title .l2 { transform: rotate(2deg) translateX(5%); margin-top: .1em; }

.tags { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: clamp(22px, 3vw, 34px); }
.tag {
  padding: 8px 18px 10px; border-radius: 999px; border: 4px solid #fff;
  font-weight: 700; font-size: clamp(17px, 1.6vw, 21px); line-height: 1;
  box-shadow: 0 10px 18px -8px rgba(29,22,70,.35);
}
.tag-lime { background: var(--lime); transform: rotate(-6deg); }
.tag-pink { background: var(--bubble); transform: rotate(3deg); }
.tag-lilac { background: var(--lilac); transform: rotate(-2deg); }

.hero-foot { display: grid; justify-items: center; gap: 22px; margin-top: clamp(28px, 4vw, 44px); text-align: center; }
.hero-lede {
  max-width: 34ch; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; font-weight: 500;
  background: rgba(255,255,255,.82); padding: 14px 20px; border-radius: 18px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-note {
  position: absolute; right: 0; bottom: -40px; display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 15px; transform: rotate(-2deg);
}
.hero-note .px { width: 18px; height: 18px; color: var(--butter); }
.hero-note:hover { background: #2C2266; }

/* one orchestrated load: stickers slapped onto the page */
@media (prefers-reduced-motion: no-preference) {
  .js .pop { animation: slap .55s cubic-bezier(.2,.9,.25,1.25) both; animation-delay: var(--d, 0s); }
  .js .px-cursor { animation: glide 1.1s cubic-bezier(.3,.7,.2,1) 1.2s both; }
}
@keyframes slap {
  from { opacity: 0; scale: 1.25; rotate: 6deg; }
  to { opacity: 1; scale: 1; rotate: 0deg; }
}
@keyframes glide {
  from { opacity: 0; translate: 120px 80px; }
  to { opacity: 1; translate: 0 0; }
}

/* ---------- sections ---------- */
.section { position: relative; padding-block: clamp(72px, 10vw, 128px); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 760px; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 58px); line-height: 1.06; letter-spacing: -.012em; text-wrap: balance; }
.lede { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 58ch; }

/* ---------- bento ---------- */
.build { background: linear-gradient(rgba(243,244,247,0), rgba(243,244,247,.7) 120px); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: 150px; gap: 18px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r-tile);
  padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 10px;
}
.tile p { font-size: 16.5px; line-height: 1.5; color: rgba(29,22,70,.82); max-width: 42ch; }
.tile-title { font-family: var(--serif); font-weight: 400; font-size: clamp(25px, 2.3vw, 31px); line-height: 1.08; }
.t-bio { grid-column: 1 / span 5; grid-row: 1 / span 4; background: var(--lime); }
.t-health { grid-column: 6 / span 7; grid-row: 1 / span 2; background: var(--bubble); flex-direction: row; gap: 24px; }
.t-ai { grid-column: 6 / span 4; grid-row: 3 / span 2; background: var(--lilac); }
.t-plat { grid-column: 10 / span 3; grid-row: 3 / span 2; background: var(--butter); }
.t-privacy { grid-column: 1 / span 8; grid-row: 5 / span 2; background: var(--peach); flex-direction: row; gap: 24px; }
.t-lab { grid-column: 9 / span 4; grid-row: 5 / span 2; background: var(--powder); }
.tile-copy { flex: 1 1 46%; display: flex; flex-direction: column; gap: 10px; }

/* mock UIs inside tiles */
.mock { background: #fff; border-radius: var(--r-card); box-shadow: 0 1px 0 rgba(29,22,70,.06), 0 18px 34px -18px rgba(29,22,70,.35); font-size: 14px; line-height: 1.3; }
.pill { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 650; white-space: nowrap; }
.pill-ok { background: #E3F4B5; color: #3B5A00; }
.pill-ink { background: var(--ink); color: #fff; }

.mock-seq { margin-top: auto; padding: 18px; display: grid; gap: 14px; margin-bottom: -60px; padding-bottom: 76px; transform: rotate(-2deg); margin-inline: -4px; }
.mock-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 650; }
.bases { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.base { display: grid; place-items: center; aspect-ratio: 1; border-radius: 6px; font-weight: 750; font-size: 13px; }
.b-A { background: #DFF0A0; color: #3B5A00; } .b-T { background: #FFD0E6; color: #A1155F; }
.b-G { background: #E4D8FF; color: #5A27C9; } .b-C { background: #C9F3F1; color: #0D6F72; }
.mock-label { font-size: 12.5px; color: var(--ink-2); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 5px; height: 84px; }
.bars span { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--ink); opacity: .9; }
.bars span.low { background: var(--magenta); }

.mock-phone { flex: 0 0 46%; align-self: flex-end; margin-bottom: -48px; padding: 16px 16px 60px; border-radius: 26px; border: 6px solid var(--ink); display: grid; gap: 12px; transform: rotate(3deg); }
.phone-top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15px; }
.phone-top .px { width: 18px; color: var(--magenta); }
.phone-card { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #FFF1F7; border-radius: 14px; padding: 12px; }
.phone-card div { display: grid; gap: 2px; } .phone-card span:not(.pill) { font-size: 12.5px; color: var(--ink-2); }
.rings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ring { --c: var(--magenta); aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; text-align: center;
  background: radial-gradient(closest-side, #fff 76%, transparent 77% 100%), conic-gradient(var(--c) calc(var(--v) * 360deg), #F1EEF7 0); }
.ring-2 { --c: var(--uv); } .ring-3 { --c: var(--cyan); }
.ring b { font-size: 13px; line-height: 1.1; } .ring span { font-size: 11px; color: var(--ink-2); }

.mock-chat { margin-top: auto; padding: 14px; display: grid; gap: 10px; margin-bottom: -40px; padding-bottom: 54px; }
.bubble { border-radius: 16px; padding: 10px 12px; font-size: 14px; }
.bubble-me { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; max-width: 85%; }
.bubble-ai { background: #F2ECFF; display: grid; gap: 7px; border-bottom-left-radius: 4px; position: relative; padding-left: 40px; }
.bubble-ai .px { position: absolute; left: 12px; top: 11px; width: 18px; color: var(--uv); }
.sk { display: block; height: 9px; border-radius: 5px; background: #D9CCFA; }
.w90 { width: 90%; } .w70 { width: 70%; } .w80 { width: 80%; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.chips li { padding: 8px 14px; background: #fff; border-radius: 999px; font-weight: 650; font-size: 15px; border: 2px solid var(--ink); }
.chips li:nth-child(2) { transform: rotate(-4deg); }
.chips li:nth-child(4) { transform: rotate(3deg); }

.mock-settings { flex: 0 0 48%; align-self: center; padding: 8px 16px; transform: rotate(-1.5deg); }
.set-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; font-weight: 600; font-size: 14.5px; }
.set-row + .set-row { border-top: 1px solid #EEE9F0; }
.set-row span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.set-row .px { width: 14px; color: var(--pink-deep); }
.toggle { width: 42px; height: 24px; border-radius: 999px; background: #E3DEEA; position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.toggle.on { background: var(--ink); } .toggle.on::after { left: 21px; }
.link-ish { color: var(--uv); font-weight: 700; }

.mini-icons { display: flex; gap: 10px; margin-top: auto; }
.tile-link { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; width: fit-content; }
.tile-link:hover { color: var(--uv); }

/* jelly app icons (pixel glyph on glossy squircle) */
.jelly {
  --j1: #EAF7B8; --j2: #CFE57D; --j3: #9DBB2E;
  position: relative; flex: none; display: grid; place-items: center;
  width: 84px; aspect-ratio: 1; border-radius: 26px; color: var(--ink);
  background: radial-gradient(circle at 30% 24%, var(--j1) 0 18%, var(--j2) 52%, var(--j3) 100%);
  border: 4px solid #fff; box-shadow: 0 14px 24px -12px rgba(0,0,0,.45), inset 0 -6px 10px rgba(0,0,0,.08);
}
.jelly::after { content: ""; position: absolute; left: 14%; top: 9%; width: 42%; height: 18%; border-radius: 50%; background: rgba(255,255,255,.75); filter: blur(2px); transform: rotate(-12deg); }
.jelly .px { width: 46%; height: auto; position: relative; z-index: 1; }
.jelly-sm { width: 52px; border-radius: 16px; border-width: 3px; }
.j-pink { --j1: #FFE0EF; --j2: #F7A3CB; --j3: #D8478F; }
.j-butter { --j1: #FFF8C9; --j2: #F8E27C; --j3: #D7B020; }
.j-lilac { --j1: #F0E8FF; --j2: #CDB8F5; --j3: #8A64DA; }

/* ---------- lab (dark band) ---------- */
.lab { background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.lab::after { content: ""; position: absolute; inset: 0; background: url("../img/grain.png"); opacity: .35; mix-blend-mode: overlay; pointer-events: none; z-index: -1; }
.lab .lede { color: rgba(255,255,255,.78); }
.spray-lab-a { width: 520px; height: 360px; left: -180px; top: -140px; background: radial-gradient(closest-side, var(--uv), rgba(139,61,255,0)); z-index: -1; opacity: .8; }
.spray-lab-b { width: 460px; height: 460px; right: -160px; bottom: -200px; background: radial-gradient(closest-side, var(--magenta), rgba(255,62,165,0)); z-index: -1; opacity: .55; }
.lab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.lab-card {
  display: flex; gap: 22px; align-items: flex-start; padding: 26px; border-radius: var(--r-tile);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
}
.lab-card h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.1; margin-bottom: 8px; }
.lab-card p { color: rgba(255,255,255,.8); font-size: 16.5px; max-width: 44ch; }
.status { display: inline-block; margin-top: 14px; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.s-build { background: var(--lime); } .s-design { background: var(--bubble); }
.s-beta { background: var(--butter); } .s-explore { background: var(--lilac); }
.lab-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 40px; }
.lab-cta p { color: rgba(255,255,255,.75); font-size: 16px; }

/* ---------- process ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: none; }
.step { background: #fff; border-radius: var(--r-tile); padding: 26px; display: grid; gap: 10px; align-content: start; border: 2px solid var(--ink); }
.step h3 { font-size: 21px; font-weight: 750; line-height: 1.2; }
.step p { font-size: 16px; color: var(--ink-2); }
.step-num {
  display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  font-family: var(--serif); font-size: 32px; line-height: 1; margin-bottom: 8px;
  border: 4px solid #fff; box-shadow: 0 0 0 2px var(--ink);
}
.n-lime { background: var(--lime); } .n-pink { background: var(--bubble); }
.n-lilac { background: var(--lilac); } .n-butter { background: var(--butter); }

/* ---------- studio ---------- */
.studio-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.studio .h2 { margin-bottom: 18px; }
.facts { background: #fff; border-radius: var(--r-tile); padding: 10px 28px; border: 2px solid var(--ink); }
.facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 16px 0; }
.facts div + div { border-top: 1px dashed #C9C5DA; }
.facts dt { color: var(--ink-2); font-size: 15.5px; }
.facts dd { font-weight: 650; font-size: 16.5px; }

/* ---------- contact ---------- */
.contact { padding-top: 0; }
.contact-box {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px);
  background: var(--lilac); border-radius: 40px; padding: clamp(28px, 5vw, 64px); position: relative; overflow: hidden;
}
.contact-box::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,62,165,.55), rgba(255,62,165,0)); filter: blur(30px); }
.contact-info, .contact-form { position: relative; }
.contact-info .lede { margin-top: 16px; color: rgba(29,22,70,.8); }
.contact-list { margin-top: 28px; display: grid; gap: 12px; }
.contact-list li { display: grid; grid-template-columns: 5.5em 1fr; gap: 10px; font-weight: 650; font-size: 17px; }
.contact-list span { font-weight: 500; color: rgba(29,22,70,.7); }
.contact-list a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.contact-form { background: #fff; border-radius: 26px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; border: 2px solid var(--ink); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 650; font-size: 15px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border-radius: 12px; border: 2px solid #D4CFE3; background: #FBFAFE; font-size: 16px;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--uv); background: #fff; box-shadow: 0 0 0 4px rgba(139,61,255,.15); }
.field [aria-invalid="true"] { border-color: var(--pink-deep); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 15px; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #2F6B00; } .form-status.err { color: var(--pink-deep); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #fff; padding: 56px 0 40px; }
.footer-grid { display: grid; grid-template-columns: auto 1fr; gap: 28px 40px; align-items: center; }
.footer-logo { width: 200px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 22px; }
.footer-links a { text-decoration: none; font-weight: 550; opacity: .9; }
.footer-links a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.footer-small { grid-column: 1 / -1; font-size: 14.5px; opacity: .7; border-top: 1px solid rgba(255,255,255,.14); padding-top: 22px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: auto; }
  .t-bio { grid-column: 1 / span 3; grid-row: auto / span 2; min-height: 520px; }
  .t-health { grid-column: 4 / span 3; flex-direction: column; grid-row: auto / span 2; }
  .t-ai { grid-column: 1 / span 3; grid-row: auto; min-height: 340px; }
  .t-plat { grid-column: 4 / span 3; grid-row: auto; }
  .t-privacy { grid-column: 1 / span 6; grid-row: auto; }
  .t-lab { grid-column: 1 / span 6; grid-row: auto; }
  .mock-phone { flex-basis: auto; width: 88%; margin-left: auto; margin-top: 8px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .studio-grid { grid-template-columns: 1fr; }
  .doodle-loop, .doodle-spiral { display: none; }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
    border: 2px solid var(--ink); background: #fff; cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
    display: block; width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; content: "";
  }
  .nav-toggle-bars::before { position: absolute; top: -7px; } .nav-toggle-bars::after { position: absolute; top: 7px; }
  .nav-list {
    position: absolute; right: var(--gutter); left: var(--gutter); top: 76px; display: none;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px; background: #fff;
    border-radius: 20px; border: 2px solid var(--ink); box-shadow: 0 20px 40px -20px rgba(29,22,70,.4);
  }
  .nav-list.open { display: flex; }
  .nav-list a:not(.btn) { padding: 14px 16px; }
  .nav-cta { margin: 6px 0 0; } .nav-cta .btn { width: 100%; padding: 15px; }
  .contact-box { grid-template-columns: 1fr; border-radius: 30px; }
  .t-privacy { flex-direction: column; }
  .mock-settings { width: 100%; flex-basis: auto; }
  .hero-note { position: static; margin-top: 28px; }
  .px-cursor { left: auto; right: 12%; bottom: 30%; }
}

@media (max-width: 640px) {
  body { font-size: 17px; --cell: 64px; }
  .brand img { width: 140px; }
  .hero { padding-bottom: 48px; min-height: 0; }
  .sticker-title { font-size: clamp(50px, 15.5vw, 92px); }
  .sticker-title .l1 { transform: rotate(-3deg); }
  .sticker-title .l2 { transform: rotate(2deg); }
  .hero-mark { width: 96px; right: -14px; top: -6px; }
  .ball-yellow { width: 74px; left: -18px; bottom: 34%; }
  .ball-cyan { right: 6%; bottom: 3%; }
  .ball-pink { left: 8%; top: 4%; }
  .doodle-star { width: 52px; right: 4%; bottom: 40%; }
  .doodle-squiggle { width: 70px; left: 4%; top: 56%; }
  .px-cursor { display: none; }
  .bento { grid-template-columns: 1fr; gap: 14px; }
  .t-bio, .t-health, .t-ai, .t-plat, .t-privacy, .t-lab { grid-column: 1 / -1; grid-row: auto; min-height: 0; }
  .t-bio { min-height: 520px; }
  .t-ai { min-height: 360px; }
  .lab-grid { grid-template-columns: 1fr; }
  .lab-card { flex-direction: column; gap: 16px; padding: 22px; }
  .steps { grid-template-columns: 1fr; }
  .facts { padding: 6px 20px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .contact-list li { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* ---------- simple pages (privacy, 404) ---------- */
.page { padding-block: 40px 96px; }
.page-card { background: #fff; border: 2px solid var(--ink); border-radius: 32px; padding: clamp(24px, 5vw, 64px); max-width: 860px; margin-inline: auto; }
.page-card h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; margin-bottom: 10px; }
.page-card .updated { color: var(--ink-2); margin-bottom: 32px; font-size: 16px; }
.page-card h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin: 36px 0 10px; }
.page-card p, .page-card li { color: #2E2858; max-width: 68ch; }
.page-card p + p { margin-top: 12px; }
.page-card ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; margin-top: 10px; }
.page-card a { color: var(--uv); text-underline-offset: 3px; }
.notfound { text-align: center; display: grid; justify-items: center; gap: 18px; }
.notfound img { width: 160px; }

/* ---------- refinements ---------- */
.home .site-header { position: absolute; top: 0; left: 0; right: 0; }
.home .hero { padding-top: 96px; }
.streak { mix-blend-mode: normal; opacity: .62; }
.sticker-title { letter-spacing: -.012em; }
.hero-ctas { position: relative; }
.hero-ctas .px-cursor { position: absolute; left: auto; right: -30px; bottom: -40px; z-index: 4; }

.muted { color: var(--ink-2); font-weight: 500; }
.mock-plate { padding: 14px 16px 16px; width: 82%; margin: 14px 0 0 auto; transform: rotate(3deg); display: grid; gap: 10px; }
.wells { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.wells span { aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(29,22,70,.12); }
.wells .w-empty { background: #F4F2F8; }
.wells .w-ctrl { background: var(--ink); }
.mock-seq { margin-top: 18px; }
.t-bio .bars { height: 64px; }
.t-lab .jelly-sm { width: 60px; border-radius: 18px; }

.contact-info { display: flex; flex-direction: column; }
.contact-art { position: relative; margin-top: auto; height: 210px; }
.contact-art img { position: absolute; left: 0; bottom: -20px; width: 170px; height: auto; transform: rotate(-10deg); filter: drop-shadow(0 16px 26px rgba(29,22,70,.25)); }
.contact-art .ball { width: 74px; left: 190px; bottom: 30px; }
.contact-art .doodle { width: 62px; left: 290px; bottom: 110px; transform: rotate(12deg); }

@media (max-width: 1080px) {
  .home .hero { padding-top: 88px; }
}
@media (max-width: 860px) {
  .contact-art { display: none; }
  .hero-ctas .px-cursor { display: none; }
}
@media (max-width: 640px) {
  .mock-plate { width: 100%; }
}
.doodle-loop { top: 15%; right: 29%; }
.doodle-spiral { top: 13%; }
.ball-pink { top: 15%; }
.hero-mark { top: 11%; }
@media (max-width: 640px) {
  .hero-mark { width: 78px; top: 64px; right: 4px; }
  .ball-pink { top: 76px; left: 4%; width: 28px; }
  .ball-yellow { width: 64px; left: -20px; bottom: 9%; top: auto; }
  .doodle-star { display: none; }
  .doodle-squiggle { top: auto; bottom: 30%; left: auto; right: 4%; width: 56px; }
}
.page-card ul + p { margin-top: 12px; }

/* ================= v2: brand in H1, in-page privacy, motion ================= */
.sticker-title .h1-brand {
  display: inline-flex; align-items: center; gap: .55em; margin: 0 auto .95em;
  padding: .55em 1.05em .6em; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: clamp(15px, 1.45vw, 19px); font-weight: 650; font-stretch: 100%; line-height: 1; letter-spacing: 0;
  text-transform: none; transform: rotate(-3deg); box-shadow: 0 10px 20px -10px rgba(29,22,70,.5);
}
.sticker-title .h1-brand .px { width: 1.05em; height: auto; color: var(--butter); }

/* privacy, folded into the page */
.privacy { padding-top: 0; padding-bottom: clamp(56px, 8vw, 96px); }
.policy { background: #fff; border: 2px solid var(--ink); border-radius: var(--r-tile); }
.policy summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center;
  padding: 24px clamp(20px, 3vw, 32px);
}
.policy summary::-webkit-details-marker { display: none; }
.policy-title { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.1; }
.policy-meta { grid-column: 1; font-size: 15.5px; color: var(--ink-2); }
.policy-icon { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--lilac); position: relative; transition: rotate .3s ease, background-color .3s ease; }
.policy-icon::before, .policy-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 3px; background: var(--ink); translate: -50% -50%; border-radius: 2px; }
.policy-icon::after { rotate: 90deg; }
.policy[open] .policy-icon { rotate: 45deg; background: var(--bubble); }
.policy summary:hover .policy-icon { background: var(--butter); }
.policy-body { padding: 0 clamp(20px, 3vw, 32px) 32px; border-top: 1px dashed #C9C5DA; columns: 2 340px; column-gap: 48px; }
.policy-body h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; margin: 26px 0 8px; break-after: avoid; }
.policy-body p, .policy-body li { font-size: 16px; color: #2E2858; }
.policy-body p + p { margin-top: 10px; }
.policy-body ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 6px; margin: 8px 0 10px; }
.policy-body a { color: var(--uv); text-underline-offset: 3px; }
@supports (interpolate-size: allow-keywords) {
  .policy { interpolate-size: allow-keywords; }
  .policy::details-content { height: 0; overflow: clip; transition: height .45s ease, content-visibility .45s allow-discrete; }
  .policy[open]::details-content { height: auto; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* airbrush stroke sprays across the headline on load */
  .js .streak path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: spray 1.4s cubic-bezier(.6,.1,.3,1) .35s forwards; }

  /* glossy objects bob gently; rotation kept via --rot */
  .js .ball, .js .hero-mark { animation: slap .55s cubic-bezier(.2,.9,.25,1.25) both, bob var(--bob, 7s) ease-in-out 1.2s infinite; animation-delay: var(--d, 0s), calc(var(--d, 0s) + .8s); }
  /* pointer parallax eases between frames */
  [data-depth] { will-change: translate; }

  /* the pixel cursor glides in and presses the button */
  .js .hero-ctas .px-cursor { animation: glide 1.1s cubic-bezier(.3,.7,.2,1) 1.2s both, tap .32s ease 2.35s both; }
  .js .hero-ctas .btn-line { animation: press .32s ease 2.42s both; }

  /* tiles: the mock UIs act out what they show, once, when scrolled into view */
  .js .reveal .wells span { scale: 0; transition: scale .42s cubic-bezier(.3,1.5,.5,1) var(--d, 0s); }
  .js .reveal.in .wells span { scale: 1; }
  .js .reveal .base { opacity: 0; translate: 0 8px; transition: opacity .25s ease, translate .35s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--i) * 40ms + .3s); }
  .js .reveal.in .base { opacity: 1; translate: 0 0; }
  .js .reveal .ring { --fill: 0; transition: --fill 1.3s cubic-bezier(.3,.8,.2,1) .35s; }
  .js .reveal.in .ring { --fill: var(--v); }
  .js .reveal .phone-card .pill { scale: .4; opacity: 0; transition: scale .4s cubic-bezier(.3,1.8,.5,1) 1.1s, opacity .2s ease 1.1s; }
  .js .reveal.in .phone-card .pill { scale: 1; opacity: 1; }
  .js .reveal .bubble-me { opacity: 0; translate: 20px 0; transition: opacity .3s ease .2s, translate .45s cubic-bezier(.3,1.4,.5,1) .2s; }
  .js .reveal.in .bubble-me { opacity: 1; translate: 0 0; }
  .js .reveal .bubble-ai { opacity: 0; transition: opacity .3s ease .8s; }
  .js .reveal.in .bubble-ai { opacity: 1; }
  .js .reveal .sk { scale: 0 1; transform-origin: left; transition: scale .7s cubic-bezier(.4,.1,.2,1); }
  .js .reveal.in .sk { scale: 1 1; }
  .js .reveal.in .sk.w90 { transition-delay: 1s; } .js .reveal.in .sk.w70 { transition-delay: 1.45s; } .js .reveal.in .sk.w80 { transition-delay: 1.9s; }
  .js .reveal .toggle.on { background: #E3DEEA; transition: background-color .3s ease 1s; }
  .js .reveal .toggle.on::after { left: 3px; transition: left .35s cubic-bezier(.3,1.5,.5,1) 1s; }
  .js .reveal.in .toggle.on { background: var(--ink); }
  .js .reveal.in .toggle.on::after { left: 21px; }
  .js .reveal .chips li { scale: 1.3; opacity: 0; transition: scale .4s cubic-bezier(.2,.9,.25,1.25), opacity .2s ease; transition-delay: calc(var(--i) * 110ms + .25s); }
  .js .reveal.in .chips li { scale: 1; opacity: 1; }
  .js .reveal .mini-icons .jelly { translate: 0 30px; opacity: 0; transition: translate .5s cubic-bezier(.3,1.6,.5,1), opacity .25s ease; transition-delay: calc(var(--i) * 90ms + .2s); }
  .js .reveal.in .mini-icons .jelly { translate: 0 0; opacity: 1; }
  .js .lab-grid.reveal .lab-card .jelly { scale: .3; rotate: -20deg; opacity: 0; transition: scale .55s cubic-bezier(.2,.9,.25,1.35), rotate .55s ease, opacity .2s ease; }
  .js .lab-grid.reveal .lab-card:nth-child(2) .jelly { transition-delay: .1s; }
  .js .lab-grid.reveal .lab-card:nth-child(3) .jelly { transition-delay: .2s; }
  .js .lab-grid.reveal .lab-card:nth-child(4) .jelly { transition-delay: .3s; }
  .js .lab-grid.reveal.in .lab-card .jelly { scale: 1; rotate: 0deg; opacity: 1; }
  .js .steps.reveal .step-num { scale: 0; transition: scale .5s cubic-bezier(.2,.9,.25,1.4); }
  .js .steps.reveal .step:nth-child(2) .step-num { transition-delay: .12s; }
  .js .steps.reveal .step:nth-child(3) .step-num { transition-delay: .24s; }
  .js .steps.reveal .step:nth-child(4) .step-num { transition-delay: .36s; }
  .js .steps.reveal.in .step-num { scale: 1; }

  /* hover: stickers and jelly icons respond to the pointer */
  .tag:hover { animation: wiggle .5s ease; }
  .jelly:hover { animation: squish .55s cubic-bezier(.3,.7,.3,1.4); }
  .step:hover .step-num { animation: wiggle .5s ease; }
}
@property --fill { syntax: "<number>"; inherits: false; initial-value: 0; }
.ring { background: radial-gradient(closest-side, #fff 76%, transparent 77% 100%), conic-gradient(var(--c) calc(var(--fill, var(--v)) * 360deg), #F1EEF7 0); }
.reveal .ring { --fill: var(--v); }

@keyframes spray { to { stroke-dashoffset: 0; } }
@keyframes bob { 0%, 100% { transform: rotate(var(--rot, 0deg)) translateY(0); } 50% { transform: rotate(var(--rot, 0deg)) translateY(-14px); } }
@keyframes tap { 0%, 100% { scale: 1; } 50% { scale: .86; } }
@keyframes press { 0%, 100% { translate: 0 0; } 50% { translate: 0 3px; background-color: var(--butter); } }
@keyframes wiggle { 0%, 100% { rotate: 0deg; } 25% { rotate: -6deg; } 75% { rotate: 5deg; } }
@keyframes squish { 0% { scale: 1 1; } 30% { scale: 1.14 .88; } 55% { scale: .92 1.08; } 80% { scale: 1.04 .97; } 100% { scale: 1 1; } }

@media (max-width: 640px) {
  .sticker-title .h1-brand { font-size: 14px; margin-bottom: 1.1em; }
  .policy summary { grid-template-columns: 1fr auto; }
}
.policy-body { padding-top: 22px; }
.policy-body > :first-child { margin-top: 0; }
.hero-inner { padding-top: clamp(20px, 3.4vw, 52px); }
.sticker-title { font-size: clamp(56px, 10.2vw, 156px); }
@media (max-width: 640px) { .sticker-title { font-size: clamp(50px, 15.5vw, 92px); } }

/* ---------- contact cards (v3) ---------- */
.contact-list { margin-top: 28px; display: grid; gap: 12px; }
.contact-list .contact-card {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label copy" "mail copy";
  align-items: center; gap: 2px 14px; padding: 14px 14px 14px 20px;
  background: #fff; border: 2px solid var(--ink); border-radius: 20px;
}
.contact-card:nth-child(1) { rotate: -1deg; }
.contact-card:nth-child(2) { rotate: .8deg; }
.contact-label { grid-area: label; font-size: 14.5px; font-weight: 550; color: var(--ink-2); }
.contact-mail { grid-area: mail; font-weight: 700; font-size: clamp(16px, 1.5vw, 18.5px); text-decoration: none; overflow-wrap: anywhere; }
.contact-mail:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.copy {
  grid-area: copy; border: 0; cursor: pointer; padding: 9px 14px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 650; font-size: 14px; line-height: 1; min-width: 72px;
  transition: background-color .2s ease;
}
.copy:hover { background: #2C2266; }
.copy.done { background: var(--lime); color: var(--ink); }
@media (prefers-reduced-motion: no-preference) { .copy.done { animation: tap .32s ease; } }
.contact-tip { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; max-width: 46ch; font-size: 15.5px; line-height: 1.45; color: rgba(29,22,70,.85); }
.contact-tip .px { flex: none; width: 16px; margin-top: 3px; color: var(--uv); }
.contact-tip strong { color: var(--ink); }
@media (max-width: 640px) {
  .contact-list .contact-card { padding: 12px 12px 12px 16px; grid-template-columns: 1fr auto; gap: 2px 10px; }
}
@media (max-width: 640px) {
  .contact-list .contact-mail { font-size: 15px; overflow-wrap: normal; word-break: keep-all; }
  .contact-list .copy { min-width: 0; padding: 8px 12px; font-size: 13px; }
}
