/* obipi v3 — hand-built landing (round xps16). Tokens from the estate theme board (slot-board.obplane5). */
html, body { background: var(--bg); color: var(--ink); }

@font-face { font-family: "Geist"; src: url('fonts/geist-var.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url('fonts/instrument-serif-italic.woff2') format('woff2'); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --bg: #FAF8F9; --bg-2: #F5EAEE; --surface: #FFFFFF; --ink: #1F1F23;
  --ink-2: rgba(31,31,35,.8); --ink-3: rgba(31,31,35,.64); --line: #E7E3E7; --line-2: #D9D2D7;
  --plum: #6A0B2E; --plum-2: #841A43; --plum-tint: #F3E1E8; --logo: #6A0B2E; --accent-text: #6A0B2E;
  --bubble: #F1E6EA; --phone: #151013; --phone-edge: #2B2127;
  --field: 106,11,46;
  --shadow-phone: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 60px -24px rgba(70,10,35,.36), 0 12px 24px -12px rgba(31,31,35,.22);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(.2,.8,.2,1); --ease-out: cubic-bezier(.22,1,.36,1); --ease-io: cubic-bezier(.65,0,.35,1);
  --gut: clamp(20px, 4vw, 56px);
  --phone-w: clamp(232px, min(20.5vw, calc((100svh - 366px) * .483)), 300px);
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0E0B0E; --bg-2: #160F14; --surface: #18141A; --ink: #F3F2F4;
  --ink-2: rgba(243,242,244,.74); --ink-3: rgba(243,242,244,.58); --line: #2A242C; --line-2: #3A3139;
  --plum: #6A0B2E; --plum-2: #8A1F4A; --plum-tint: #2A1520; --logo: #F1C9D7; --accent-text: #EFA9C3;
  --bubble: #241B21; --phone: #050405; --phone-edge: #2A2228;
  --field: 239,169,195;
  --close-bg: #3D0A1E;
  --shadow-phone: 0 1px 0 rgba(255,255,255,.07) inset, 0 30px 70px -20px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.55; font-weight: 400; letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; transition: background-color .3s var(--ease), color .3s var(--ease); }
::selection { background: rgba(106,11,46,.22); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-size: 14px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }

/* ---------- the decided marks, coloured through their alpha (never redrawn) ---------- */
.logo { display: inline-block; background: var(--logo); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; transition: background-color .3s var(--ease); }
.logo-lockup { --m: url('logo/obp-word-01-mask.png'); aspect-ratio: 600 / 234; height: 40px; }
.logo-mark { --m: url('logo/obp-mark-03-mask.png'); aspect-ratio: 423 / 434; height: 22px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.01em; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .14s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.btn .arr { display: inline-block; transition: transform .2s var(--ease); }
.btn-act { background: var(--plum); color: #fff; box-shadow: 0 1px 2px rgba(106,11,46,.18), 0 8px 20px -10px rgba(106,11,46,.55); }
.btn-line { border-color: var(--line-2); color: var(--ink); background: color-mix(in srgb, var(--surface) 55%, transparent); }
.btn-inv { background: #FFF6F9; color: #6A0B2E; }
[data-theme="dark"] .btn-act { background: #8A1F4A; box-shadow: inset 0 0 0 1px rgba(239,169,195,.35), 0 8px 24px -12px rgba(0,0,0,.8); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 13.5px; }
.btn .short { display: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); }
  .btn-act:hover { background: var(--plum-2); }
  [data-theme="dark"] .btn-act:hover { background: #9C2856; }
  .btn-line:hover { border-color: var(--ink-3); background: var(--surface); }
  .btn-inv:hover { background: #fff; }
  .btn:hover .arr { transform: translateX(3px); }
}
.btn:active { transform: translateY(1px) scale(.985); transition-duration: .09s; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; isolation: isolate; overflow: hidden;
  background: linear-gradient(180deg, var(--bg-2) 0%, color-mix(in srgb, var(--bg-2) 45%, var(--bg)) 46%, var(--bg) 100%); }
.field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.nav { position: relative; z-index: 5; min-height: 76px; padding-top: 14px !important; padding-bottom: 6px !important; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--gut); }
.nav-links { display: flex; gap: 28px; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--ink-2); position: relative; padding: 6px 0; transition: color .14s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .2s var(--ease); }
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.lockup { display: flex; padding: 4px 6px; border-radius: 12px; }
.nav-right { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.theme { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: color-mix(in srgb, var(--surface) 60%, transparent); display: grid; place-items: center; cursor: pointer; font-size: 18px; color: var(--ink-2); transition: border-color .2s var(--ease), color .2s var(--ease), transform .14s var(--ease); }
.theme:hover { color: var(--ink); border-color: var(--ink-3); }
.theme .moon { display: none; }
[data-theme="dark"] .theme .moon { display: block; }
[data-theme="dark"] .theme .sun { display: none; }

.hero-body { position: relative; z-index: 2; text-align: center; padding: 22px var(--gut) 0; display: flex; flex-direction: column; align-items: center; }
.strap { margin: 0; font-size: 11.5px; font-weight: 500; letter-spacing: .42em; white-space: nowrap; text-transform: uppercase; color: var(--accent-text); padding-left: .42em; }
.h1 { margin: 0; font-weight: 300; font-size: clamp(38px, 4.3vw, 62px); line-height: .98; letter-spacing: -.038em; max-width: 15ch; text-wrap: balance; }
.h1 .beat { display: inline; }
.h1 .serif { color: var(--accent-text); font-size: 1.1em; letter-spacing: -.02em; line-height: .9; }
@media (min-width: 900px) { .h1 { max-width: none; } }
@media (min-width: 900px) and (max-width: 1279px) { .h1 .beat { display: block; } }
.lede { margin: 16px auto 0; max-width: 45rem; font-size: 17px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.actions { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; justify-content: center; }

/* ---------- phones ---------- */
.phones { position: relative; display: flex; justify-content: center; align-items: flex-start; gap: clamp(20px, 2.6vw, 38px); margin-top: 34px; padding-bottom: 12px; width: 100%; text-align: left; }
.phone { position: relative; width: var(--phone-w); aspect-ratio: 290 / 600; flex: none; border-radius: calc(var(--phone-w) * .155); padding: calc(var(--phone-w) * .03);
  background: linear-gradient(145deg, var(--phone-edge), var(--phone) 40%); box-shadow: var(--shadow-phone); font-size: calc(var(--phone-w) * .047); }
.phones .phone:nth-child(1), .phones .phone:nth-child(3) { margin-top: 0; }
.js .phones .phone { opacity: 0; transform: translateY(48px); }
.js .phones.is-in .phone { opacity: 1; transform: none; transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(.15s + var(--d) * .15s); }
.screen { position: relative; height: 100%; border-radius: calc(var(--phone-w) * .125); overflow: hidden; background: var(--bg); isolation: isolate; container-type: inline-size; }
.island { position: absolute; top: 2.2%; left: 50%; width: 31%; height: 4.2%; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 9; }
.status { position: absolute; top: 0; left: 0; right: 0; height: 9%; display: flex; align-items: center; justify-content: space-between; padding: 0 9% 0 11%; font-size: 1em; font-weight: 600; z-index: 8; color: var(--ink); }
.status.light { color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.45); }
.sig { width: 2.6em; height: .8em; border-radius: 3px; background: linear-gradient(90deg, currentColor 0 18%, transparent 18% 26%, currentColor 26% 44%, transparent 44% 56%, currentColor 56% 100%); opacity: .9; -webkit-mask: linear-gradient(#000 0 0); }
.ava { width: 2.4em; height: 2.4em; border-radius: 50%; display: grid; place-items: center; background: #E9C9A8; color: #5a3920; font-weight: 600; font-size: .95em; flex: none; }
.ava.sm { width: 2em; height: 2em; font-size: .8em; }
.ai-ava { background: var(--plum-tint); }
.ai-ava .logo-mark { height: 62%; --logo: var(--accent-text); background: var(--accent-text); }

/* feed screen */
.feed-tabs { position: absolute; top: 9.5%; left: 0; right: 0; z-index: 7; display: flex; align-items: center; gap: 1em; padding: 0 7% 0 8%; white-space: nowrap; color: rgba(255,255,255,.72); font-size: 1.05em; font-weight: 500; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.feed-tabs .on { color: #fff; font-weight: 600; position: relative; }
.feed-tabs .on::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -.45em; height: 2px; border-radius: 2px; background: #fff; }
.feed-tabs svg { margin-left: auto; font-size: 1.3em; }
.posts { position: absolute; inset: 0 0 13% 0; overflow: hidden; }
.post { position: absolute; inset: 0; margin: 0; transform: translateY(calc((var(--i, 0) - var(--at, 0)) * 100%)); transition: transform .52s var(--ease-io); }
.post img { width: 100%; height: 100%; object-fit: cover; }
.post::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,6,8,.72), transparent 42%), linear-gradient(to bottom, rgba(10,6,8,.5), transparent 26%); pointer-events: none; }
.post-meta { position: absolute; left: 7%; right: 24%; bottom: 5%; z-index: 2; color: #fff; font-size: .98em; line-height: 1.35; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.post-meta b { font-weight: 600; }
.post-meta .ago { opacity: .78; }
.post-meta .cap { display: block; margin-top: .2em; opacity: .95; }
.rail { position: absolute; right: 4.5%; bottom: 19%; z-index: 7; display: flex; flex-direction: column; align-items: center; gap: 1.05em; color: #fff; }
.rail .ava { border: 2px solid #fff; background: #F0B8C9; color: #6A0B2E; }
.act { display: flex; flex-direction: column; align-items: center; font-size: .82em; line-height: 1.2; font-weight: 500; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.act svg { font-size: 2.1em; stroke-width: 1.8; filter: drop-shadow(0 1px 4px rgba(0,0,0,.35)); }
.act i { font-style: normal; margin-top: .1em; font-variant-numeric: tabular-nums; }
.rail .like { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; position: relative; font: inherit; font-size: .82em; }
.rail .like::before { content: ""; position: absolute; inset: -10px -8px; }
.rail .like:focus-visible { outline-offset: 4px; border-radius: 12px; }
.like.hint svg { animation: hint 1.2s var(--ease-out) 2; }
@keyframes hint { 0%, 100% { transform: none; } 30% { transform: scale(1.3); } 60% { transform: scale(.95); } }
.like svg { transition: transform .38s var(--ease-out), fill .2s var(--ease); }
.like.on svg { fill: #FF5C8A; stroke: #FF5C8A; }
.like.pop svg { transform: scale(1.32); }
.learned { position: absolute; left: 7%; bottom: 25%; z-index: 7; display: inline-flex; align-items: center; gap: .45em; padding: .45em .85em .45em .65em; border-radius: 99px; background: rgba(255,255,255,.92); color: #6A0B2E; font-size: .9em; font-weight: 600; box-shadow: 0 6px 18px -6px rgba(0,0,0,.4); opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .3s var(--ease-out); }
.learned svg { font-size: 1.15em; fill: currentColor; stroke: none; }
.learned.show { opacity: 1; transform: none; }
.tabbar { position: absolute; left: 0; right: 0; bottom: 0; height: 13%; z-index: 7; display: flex; justify-content: space-around; align-items: center; padding: 0 3% 4%; background: var(--surface); border-top: 1px solid var(--line); color: var(--ink-3); font-size: .78em; font-weight: 500; }
.tabbar span { display: flex; flex-direction: column; align-items: center; gap: .15em; }
.tabbar svg { font-size: 1.75em; }
.tabbar .on { color: var(--accent-text); }
.tabbar .on svg { fill: currentColor; }
.tabbar .new { width: 3.4em; height: 2.3em; border-radius: .8em; background: var(--plum); color: #fff; justify-content: center; }
.tabbar .new svg { font-size: 1.5em; stroke-width: 2.2; }

/* chat screen */
.ph-chat .screen { background: var(--bg); }
.chat-head { position: absolute; top: 9%; left: 0; right: 0; display: flex; align-items: center; gap: .65em; padding: .4em 6% .8em; border-bottom: 1px solid var(--line); background: var(--surface); }
.chat-head .i { font-size: 1.55em; color: var(--ink-2); }
.chat-head .who { display: flex; flex-direction: column; line-height: 1.2; margin-right: auto; }
.chat-head .who b { font-size: 1.12em; font-weight: 600; }
.chat-head .who i { font-style: normal; font-size: .82em; color: #13733A; }
[data-theme="dark"] .chat-head .who i { color: #4ADE80; }
.thread { position: absolute; top: 20.5%; left: 0; right: 0; bottom: 12%; padding: 0 5%; display: flex; flex-direction: column; gap: .75em; overflow: hidden; }
.msg { display: flex; gap: .5em; align-items: flex-end; transition: opacity .3s var(--ease), transform .3s var(--ease-out); }
.msg p { margin: 0; padding: .6em .85em; border-radius: 1.1em; line-height: 1.35; font-size: .98em; max-width: 82%; }
.msg.them p { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: .35em; }
.msg.me { justify-content: flex-end; }
.msg.me p { background: var(--plum); color: #fff; border-bottom-right-radius: .35em; }
.msg.ai { align-items: flex-start; }
.ai-body { flex: 1; min-width: 0; }
.ai-body p { padding: .1em 0 .45em; max-width: none; }
.ai-name { display: block; font-size: .92em; font-weight: 600; margin-top: .2em; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: .5em; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: .9em; overflow: hidden; display: flex; flex-direction: column; font-size: .86em; line-height: 1.25; padding-bottom: .55em; }
.plan img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: .45em; }
.plan b { font-weight: 600; padding: 0 .6em; }
.plan span { color: var(--ink-2); padding: .15em .6em 0; font-size: .92em; }
.plan em { font-style: normal; font-weight: 600; margin: .5em .6em 0; text-align: center; padding: .35em; border-radius: 99px; background: var(--plum-tint); color: var(--accent-text); font-size: .92em; }
.composer { position: absolute; left: 4%; right: 4%; bottom: 3%; height: 7%; display: flex; align-items: center; gap: .6em; padding: 0 .9em; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-3); font-size: .98em; }
.composer span { margin-right: auto; }
.composer .i { font-size: 1.4em; }
.composer .spark { color: var(--accent-text); }
.js [data-thread] .msg.wait { opacity: 0; transform: translateY(8px); }
.js [data-cp-thread] .msg.wait { display: none; }
[data-cp-thread] .msg { animation: msgIn .34s var(--ease-out) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.typing { display: inline-flex; gap: .3em; padding: .8em 1em !important; background: var(--surface); border: 1px solid var(--line); }
.typing i { width: .45em; height: .45em; border-radius: 50%; background: var(--ink-3); animation: dot 1s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-.25em); opacity: 1; } }

/* create screen */
.create-bg { position: absolute; inset: 0 0 45% 0; width: 100%; height: 55%; object-fit: cover; }
.create-x { position: absolute; top: 11%; left: 8%; z-index: 7; color: #fff; font-size: 1.6em; filter: drop-shadow(0 1px 4px rgba(0,0,0,.4)); }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: var(--bg); border-radius: 1.6em 1.6em 0 0; padding: .7em 6% 0; box-shadow: 0 -10px 30px -12px rgba(0,0,0,.35); }
.grab { width: 2.8em; height: .3em; border-radius: 99px; background: var(--line-2); margin: 0 auto 1em; }
.sheet-title { display: flex; align-items: center; justify-content: center; gap: .5em; font-size: 1.15em; font-weight: 600; margin-bottom: .9em; }
.sheet-title .logo-mark { height: 1.5em; }
.prompt { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 1em; padding: .75em .85em 2.4em; min-height: 6.2em; }
.prompt p { margin: 0; font-size: .98em; line-height: 1.38; }
.prompt .send, .composer-card .send { position: absolute; right: .6em; bottom: .6em; width: 2em; height: 2em; border-radius: 50%; background: var(--plum); color: #fff; display: grid; place-items: center; transition: transform .2s var(--ease); }
.prompt .send svg { font-size: 1.15em; stroke-width: 2.2; }
.send.go { transform: scale(.86); }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--accent-text); margin-left: 1px; vertical-align: -.15em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.mini-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45em; margin-top: .75em; }
.mini-tiles span { display: flex; flex-direction: column; align-items: center; gap: .3em; padding: .7em .2em; border-radius: .9em; background: var(--surface); border: 1px solid var(--line); font-size: .8em; font-weight: 500; transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.mini-tiles span.hot { border-color: var(--accent-text); background: var(--plum-tint); }
.mini-tiles svg { font-size: 1.7em; }

.pause { position: absolute; right: max(12px, calc(50% - (var(--phone-w) * 1.5) - 90px)); bottom: 40px; z-index: 6; width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--ink); color: var(--bg); display: grid; place-items: center; cursor: pointer; font-size: 14px; opacity: .8; transition: opacity .2s var(--ease), transform .14s var(--ease); }
.pause::before { content: ""; position: absolute; inset: -6px; }
.pause:hover { opacity: 1; }
.pause-corner { right: 20px !important; bottom: 20px !important; z-index: 3; }
.pause.on-plum { background: #F8E3EB; color: #6A0B2E; }
.pause svg { stroke-width: 2.6; }
.pause .r { display: none; fill: currentColor; stroke: none; }
.pause[aria-pressed="true"] .p { display: none; }
.pause[aria-pressed="true"] .r { display: block; }

/* ---------- section shells ---------- */
.eyebrow { margin: 0 0 18px; font-size: 13px; font-weight: 500; color: var(--accent-text); display: flex; align-items: center; gap: 12px; letter-spacing: .02em; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.h2 { margin: 0; font-weight: 300; font-size: clamp(34px, 3.8vw, 56px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.h2 .serif { color: var(--accent-text); font-size: 1.1em; }
.h2 .tint { color: var(--accent-text); }
.body { margin: 20px 0 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 30rem; text-wrap: pretty; }

/* feed moment */
.feed-moment { position: relative; height: 230svh; background: var(--bg); }
.feed-moment .stage { position: sticky; top: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.feed-moment .wrap { position: relative; z-index: 2; }
.feed-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: center; }
.feed-grid .copy { grid-column: 1 / span 5; }
.feed-grid .demo { grid-column: 7 / span 6; display: flex; align-items: center; gap: 28px; justify-content: flex-start; }
.steps { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 4px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 34px 1fr; column-gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink-3); transition: color .3s var(--ease); counter-increment: s; }
.steps li::before { content: "0" counter(s); grid-row: span 2; font-size: 12.5px; font-weight: 500; font-variant-numeric: tabular-nums; padding-top: 3px; }
.steps b { font-weight: 500; font-size: 16px; color: inherit; }
.steps span { font-size: 14.5px; }
.steps li.on { color: var(--ink); }
.steps li.on::before { color: var(--accent-text); }
.ph-solo { --phone-w: clamp(240px, min(22vw, calc((100svh - 140px) * .48)), 300px); }
.taste-card { width: 290px; flex: none; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 22px 22px 18px; box-shadow: 0 18px 40px -26px rgba(70,10,35,.35); }
.tc-title { margin: 0 0 16px; display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 15px; }
.tc-title svg { color: var(--accent-text); fill: currentColor; stroke: none; font-size: 16px; }
.taste-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.taste-card li { display: grid; gap: 7px; font-size: 14px; color: var(--ink-2); }
.bar { height: 6px; border-radius: 99px; background: var(--plum-tint); overflow: hidden; }
.bar i { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--plum), #B4466F); transform-origin: left; transform: scaleX(var(--v, .12)); transition: transform .5s var(--ease-out); }
.tc-next { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }

/* chat section */
.chat-sec { background: var(--bg-2); padding: clamp(96px, 12vh, 140px) 0; min-height: 100svh; display: flex; align-items: center; }
.chat-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: center; }
.chat-panel { grid-column: 1 / span 6; position: relative; height: 600px; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; font-size: 15px; box-shadow: 0 30px 60px -40px rgba(70,10,35,.4); }
.chat-grid .copy { grid-column: 8 / span 5; }
.cp-head { display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.cp-head .ava { width: 36px; height: 36px; }
.cp-head .ava + .ava { margin-left: -16px; border: 2px solid var(--surface); }
.cp-head .who { display: flex; flex-direction: column; line-height: 1.25; margin-right: auto; margin-left: 4px; }
.cp-head .who b { font-weight: 600; font-size: 15.5px; }
.cp-head .who i { font-style: normal; font-size: 12.5px; color: var(--ink-3); }
.cp-head .i { font-size: 21px; color: var(--ink-2); margin-left: 10px; }
.cp-thread { position: absolute; top: 70px; left: 0; right: 0; bottom: 64px; padding: 22px 22px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; background: var(--bg); transition: opacity .4s var(--ease); overflow: hidden; }
.cp-thread.fade { opacity: 0; }
.cp-thread .msg.ai .ai-body { background: var(--plum-tint); border-radius: 16px; padding: 10px 14px 14px; }
.at { display: inline-block; padding: 0 .4em; border-radius: 6px; background: rgba(255,255,255,.18); font-weight: 600; }
.cp-composer { position: absolute; left: 0; right: 0; bottom: 0; height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 64px 0 20px; border-top: 1px solid var(--line); background: var(--surface); color: var(--ink-3); font-size: 14.5px; }
.cp-composer span { margin-right: auto; }
.cp-composer .i { font-size: 20px; }
.cp-composer .spark { color: var(--accent-text); }
.cp-thread .msg p { font-size: 15px; max-width: 72%; }
.cp-thread .ava.sm { width: 28px; height: 28px; font-size: 12px; }
.cp-thread .ai-ava { width: 28px; height: 28px; }
.cp-thread .ai-body p { max-width: 92%; }
.plans.wide { max-width: none; }
.plans.wide .plan { font-size: 13.5px; }
.typing-row.gone { display: none; }
.pause.in-card { position: absolute; right: 16px; bottom: 16px; left: auto; }
.cc-pause { bottom: auto !important; top: 50%; right: 74px !important; transform: translateY(-50%); }
.points { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 0; }
.points li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.points li:last-child { border-bottom: 1px solid var(--line); }
.points svg { font-size: 20px; color: var(--accent-text); }

/* create section */
.create-sec { padding: clamp(96px, 12vh, 140px) 0; min-height: 100svh; display: flex; align-items: center; }
.create-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.create-head .eyebrow { justify-content: center; }
.create-head .body { margin-left: auto; margin-right: auto; }
.composer-card { position: relative; max-width: 980px; margin: 40px auto 0; display: flex; align-items: flex-start; gap: 16px; padding: 22px 132px 22px 22px; min-height: 92px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 50px -36px rgba(70,10,35,.45); }
.cc-mark { height: 30px; flex: none; margin-top: 2px; }
.cc-text { margin: 0; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.4; letter-spacing: -.015em; min-height: 2.8em; }
.composer-card .send { right: 18px; bottom: 50%; transform: translateY(50%); width: 44px; height: 44px; }
.composer-card .send svg { font-size: 20px; stroke-width: 2.2; }
.composer-card .send.go { transform: translateY(50%) scale(.88); }
.tiles { max-width: 980px; margin: 22px auto 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.tile { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 18px; min-height: 112px; padding: 18px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; text-align: left; font-size: 14.5px; font-weight: 500;
  transition: transform .18s var(--ease), border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease); }
.tile svg { font-size: 24px; color: var(--accent-text); }
@media (min-width: 1024px) { .tile { flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; min-height: 64px; padding: 0 16px; border-radius: 16px; } .tile svg { font-size: 20px; } }
.results { position: relative; max-width: 980px; margin: 14px auto 0; height: 132px; }
.result { position: absolute; inset: 0; display: flex; align-items: center; gap: 20px; padding: 16px 20px; border-radius: 20px; background: var(--plum-tint); opacity: 0; transform: translateY(12px); transition: opacity .32s var(--ease), transform .32s var(--ease-out); pointer-events: none; }
.result.show { opacity: 1; transform: none; }
.result.dim { opacity: .35; transform: none; }
.r-line { margin: 0 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 2px; font-size: 13.5px; color: var(--ink-2); flex: none; }
.r-line b { font-size: 15px; font-weight: 500; color: var(--accent-text); }
.reel { display: flex; gap: 6px; height: 100px; }
.reel img { height: 100%; width: 84px; object-fit: cover; border-radius: 8px; }
.postcard { height: 100px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; border: 4px solid #fff; box-shadow: 0 8px 18px -10px rgba(31,31,35,.5); }
.postcard img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.05) sepia(.18); }
.caption-out { margin: 0; font-size: 19px; line-height: 1.35; letter-spacing: -.01em; max-width: 26rem; }
.days, .sum { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14.5px; }
.days li { display: flex; gap: 12px; } .days b { font-weight: 500; width: 72px; flex: none; } .days span { color: var(--ink-2); }
.sum li { position: relative; padding-left: 16px; } .sum li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-text); }
.place { display: flex; align-items: center; gap: 14px; } .place img { width: 100px; height: 100px; object-fit: cover; border-radius: 12px; }
.place p { margin: 0; display: flex; flex-direction: column; font-size: 14.5px; } .place b { font-weight: 500; } .place span { color: var(--ink-2); font-size: 13.5px; }
.tile[aria-pressed="true"] { border-color: var(--accent-text); background: var(--plum-tint); }
@media (hover: hover) and (pointer: fine) { .tile:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: 0 14px 24px -18px rgba(70,10,35,.45); } .tile[aria-pressed="true"]:hover { border-color: var(--accent-text); } }
.tile:active { transform: translateY(1px) scale(.985); }

/* close */
.close { position: relative; isolation: isolate; overflow: hidden; background: var(--close-bg, #6A0B2E); color: #fff; min-height: 100svh; display: flex; align-items: center; padding: 120px 0; }
.close .field { z-index: 0; }
.close-inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.close-mark { --logo: #F8E3EB; height: clamp(96px, 12vw, 148px); margin-bottom: 40px; }
.close .h2 { color: #fff; }
.close .h2 .serif { color: #F6C7D8; }
.close .body { color: rgba(255,255,255,.82); margin-left: auto; margin-right: auto; margin-bottom: 34px; }
.write-to { margin: 18px 0 0; font-size: 14px; color: rgba(255,255,255,.78); }
.write-to a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
.write-to a:hover { text-decoration-color: #fff; }
.close :focus-visible { outline-color: #fff; }

/* footer */
.foot { padding: 36px 0 40px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-3); }
.foot-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.foot-lockup .logo-lockup { height: 28px; }
.foot-meta { margin: 0 auto 0 0; }
.foot-meta a, .foot-credit a { color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; transition: text-decoration-color .2s var(--ease), color .2s var(--ease); }
.foot-meta a:hover, .foot-credit a:hover { color: var(--ink); text-decoration-color: currentColor; }
.foot-credit { margin: 0; }
.foot .dot { margin: 0 6px; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .feed-grid .copy { grid-column: 1 / span 5; }
  .feed-grid .demo { grid-column: 6 / span 7; justify-content: center; }
  .taste-card { width: 240px; }
}
@media (max-width: 900px) {
  .feed-moment { height: auto; }
  .feed-moment .stage { position: relative; height: auto; padding: 110px 0; }
  .feed-grid, .chat-grid { grid-template-columns: 1fr; gap: 44px; }
  .feed-grid .copy, .feed-grid .demo, .chat-grid .copy, .chat-panel { grid-column: 1 / -1; }
  .feed-grid .demo { flex-direction: column; }
  .chat-grid .copy { order: -1; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .nav { grid-template-columns: auto 1fr; height: 64px; }
  .nav-links { display: none; }
  .brand { align-items: flex-start; gap: 4px; } .strap { font-size: 11px; letter-spacing: .16em; padding-left: 0; }
  .nav { min-height: 78px; }
  .logo-lockup { height: 32px; }
  .btn-sm .long { display: none; } .btn-sm .short { display: inline; }
  .phones { --phone-w: 246px; gap: 0; height: calc(var(--phone-w) * 2.07 + 60px); }
  .phones .phone { position: absolute; left: 50%; top: 0; }
  .phones .ph-feed { transform: translateX(-50%); z-index: 2; margin-top: 0 !important; }
  .phones .ph-chat { transform: translateX(-118%) scale(.78); transform-origin: right top; z-index: 1; opacity: .9; -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 70%); mask-image: linear-gradient(90deg, transparent 8%, #000 70%); }
  .phones .ph-create { transform: translateX(18%) scale(.78); transform-origin: left top; z-index: 1; opacity: .9; -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 92%); mask-image: linear-gradient(90deg, #000 30%, transparent 92%); }
  .phones .ph-chat, .phones .ph-create { margin-top: 28px; }
  .js .phones .phone { opacity: 0; }
  .js .phones.is-in .ph-feed { opacity: 1; transform: translateX(-50%); }
  .js .phones.is-in .ph-chat { opacity: .9; transform: translateX(-118%) scale(.78); }
  .js .phones.is-in .ph-create { opacity: .9; transform: translateX(18%) scale(.78); }
  .pause { right: 16px; bottom: 30px; }
  .chat-panel { height: 520px; font-size: 14px; }
  .lockup { padding-left: 0; }
}
@media (max-width: 560px) {
  .actions { width: 100%; flex-direction: column; }
  .actions .btn { width: 100%; }
  .lede { font-size: 16px; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .results { height: 196px; } .result { flex-direction: column; align-items: flex-start; gap: 12px; } .r-line { margin: 0; align-items: flex-start; text-align: left; flex-direction: row; gap: 10px; align-items: baseline; }
  .reel { height: 84px; } .reel img { width: 48px; } .postcard, .place img { height: 84px; } .place img { width: 84px; } .caption-out { font-size: 17px; }
  .cc-pause { right: 62px !important; }
  .taste-card { width: 100%; max-width: 300px; }
  .composer-card { padding: 18px 112px 18px 18px; }
  .composer-card .send { width: 40px; height: 40px; right: 14px; }
  .foot-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cp-thread { padding: 16px 14px 56px; }
  .cp-thread .msg p { max-width: 84%; font-size: 14px; }
}
@media (max-height: 760px) and (min-width: 761px) { .hero-body { padding-top: 6px; } .h1 { font-size: clamp(36px, 4.4vw, 62px); } .phones { margin-top: 30px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .phones .phone { opacity: 1; transform: none; }
  .caret { display: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 760px) {
  .js .phones .ph-feed { transform: translateX(-50%); }
  .js .phones .ph-chat { opacity: .9; transform: translateX(-118%) scale(.78); }
  .js .phones .ph-create { opacity: .9; transform: translateX(18%) scale(.78); }
}

/* the bowl that flies out of a like (handed to the field when it lands) */
.flyer { position: absolute; left: 0; top: 0; z-index: 4; width: 40px; height: 40px; pointer-events: none; }
.flyer::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 9px solid rgba(106,11,46,.55); }
.flyer::after { content: ""; position: absolute; width: 11px; height: 11px; border-radius: 50%; right: -9px; top: -7px; background: rgba(106,11,46,.62); }
[data-theme="dark"] .flyer::before { border-color: rgba(239,169,195,.6); }
[data-theme="dark"] .flyer::after { background: rgba(239,169,195,.7); }

/* credits page */
.credits-page { padding-top: 48px; padding-bottom: 96px; max-width: 760px; }
.credits-page .foot-lockup .logo-lockup { height: 36px; }
.credits-page .h2 { margin-top: 56px; }
.credit-list { margin: 32px 0; padding: 0; list-style: none; display: grid; gap: 0; }
.credit-list li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.credit-list li:last-child { border-bottom: 1px solid var(--line); }
.credit-list a, .credits-page .back { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.credit-list a:hover, .credits-page .back:hover { text-decoration-color: currentColor; }
