/* Muster public landing, workroom v2. Fonts and the live character come from
   the approved v1 bundle; this sheet only lays out the page. */
@font-face {
  font-family: Bricolage;
  src: url(../v1/fonts/display.woff2) format("woff2");
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Instrument;
  src: url(../v1/fonts/body.woff2) format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --paper: #f4f2e9;
  --paper-deep: #ece8da;
  --surface: #fffef7;
  --ink: #252e26;
  --muted: #59625a;
  --line: #d9d9cb;
  --accent: #ba3d11;
  --accent-hover: #9c320d;
  --accent-brand: #f0460e;
  --peach: #ffdbb7;
  --on-accent: #fffef7;
  --night: #1f2620;
  --night-raised: #2a332b;
  --night-text: #f4f2e9;
  --night-muted: #c3c8ba;
  --juno: #ed9957;
  --quill: #64b09d;
  --kit: #729bdb;
  --sage: #b39adf;
  --frame: linear-gradient(125deg, #f0460e 0%, #ed9957 22%, #b39adf 52%, #729bdb 76%, #64b09d 100%);
  --display: Bricolage, Georgia, serif;
  --body: Instrument, Arial, sans-serif;
  --ease: cubic-bezier(.24, 1, .4, 1);
  --radius: 22px;
  --shadow: 0 1px 2px rgba(37, 46, 38, .06), 0 18px 40px -18px rgba(37, 46, 38, .25);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.55 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -.035em; line-height: 1; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr-only { 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: var(--paper); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.anchor-alias { position: relative; top: -84px; display: block; height: 0; }

/* Buttons and links */
.button {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--accent); color: var(--on-accent);
  font-weight: 600; text-decoration: none;
  padding: 15px 26px; border-radius: 999px;
  box-shadow: 0 10px 24px -12px rgba(198, 66, 21, .7);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.button:hover { background: var(--accent-hover); }
.button:active { transform: translateY(1px); }
.button-small { padding: 10px 18px; font-size: 15px; box-shadow: none; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
.text-link:hover { text-decoration-color: currentColor; }
.link-button { background: none; border: 0; padding: 0; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2, .tools-copy h2, .scenes-copy h2, .memory-copy h2, .team-copy h2, .faq h2 { font-size: clamp(34px, 4.6vw, 60px); }
.section-head p:not(.eyebrow) { color: var(--muted); margin-top: 18px; font-size: 19px; }
section { position: relative; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { display: flex; align-items: center; gap: 24px; height: 68px; }
.wordmark { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -.04em; text-decoration: none; }
.site-nav { display: flex; gap: 26px; margin-left: auto; font-size: 15px; }
.site-nav a { text-decoration: none; color: var(--muted); }
.site-nav a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-link { text-decoration: none; font-weight: 600; font-size: 15px; }

/* Hero */
.hero { padding-top: clamp(28px, 4vw, 56px); text-align: center; overflow: hidden; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--quill); box-shadow: 0 0 0 4px color-mix(in srgb, var(--quill) 25%, transparent); }
.hero h1 { font-size: clamp(46px, 7.2vw, 102px); margin: 20px auto 0; max-width: 11ch; line-height: .94; letter-spacing: -.05em; }
.accent-word { color: var(--accent); }
.hero-sub { max-width: 690px; margin: 20px auto 0; font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); }
.marquee { display: flex; overflow: hidden; margin-top: 28px; gap: 12px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 12px; flex-shrink: 0; margin: 0; padding: 0; list-style: none; animation: marquee 48s linear infinite; }
.marquee-track li { white-space: nowrap; padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.marquee-track li:nth-child(4n+1)::before, .marquee-track li:nth-child(4n+2)::before, .marquee-track li:nth-child(4n+3)::before, .marquee-track li:nth-child(4n)::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 10px; vertical-align: 1px; }
.marquee-track li:nth-child(4n+1)::before { background: var(--juno); }
.marquee-track li:nth-child(4n+2)::before { background: var(--quill); }
.marquee-track li:nth-child(4n+3)::before { background: var(--kit); }
.marquee-track li:nth-child(4n)::before { background: var(--sage); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-100% - 12px)); } }
.hero-cta { position: relative; z-index: 2; margin-top: 26px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-note { font-size: 14px; color: var(--muted); }
.hero-stage { position: relative; height: clamp(340px, 40vw, 560px); margin-top: clamp(-110px, -6vw, -24px); }
.stage-glow {
  position: absolute; left: 50%; top: 52%;
  width: min(1180px, 150vw); aspect-ratio: 1; border-radius: 50%;
  transform: translateX(-50%);
  background:
    repeating-radial-gradient(circle at 50% 50%, transparent 0 46px, rgba(198, 66, 21, .07) 46px 47px),
    radial-gradient(circle at 50% 22%, #ffe8d1 0%, var(--peach) 34%, #ffc292 62%, #f7a56d 100%);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .7), 0 -30px 80px -40px rgba(240, 70, 14, .45);
}
.hero-mascot {
  position: absolute; left: 50%; bottom: -15%;
  width: clamp(250px, 34vw, 470px); aspect-ratio: 880 / 1100;
  transform: translateX(-50%);
  animation: rise 1.1s var(--ease) both;
}
.hero-mascot .mascot-fallback { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transition: opacity .4s; filter: drop-shadow(0 30px 30px rgba(120, 48, 12, .25)); }
.hero-mascot[data-mascot-ready="true"] .mascot-fallback { opacity: 0; }
.hero-mascot .mascot-canvas { transition: opacity .6s; }
.mascot-canvas[aria-hidden="true"] { visibility: hidden; }
.stage-friend { position: absolute; bottom: -10%; width: clamp(150px, 16vw, 230px); height: auto; filter: drop-shadow(0 20px 24px rgba(37, 46, 38, .18)); animation: bob 6s ease-in-out infinite; }
.stage-friend--left { left: calc(50% - clamp(300px, 34vw, 520px)); transform: rotate(-6deg); }
.stage-friend--right { right: calc(50% - clamp(300px, 34vw, 520px)); transform: rotate(6deg); animation-delay: -3s; }
@keyframes rise { from { transform: translate(-50%, 60px); opacity: 0; } }
@keyframes bob { 50% { translate: 0 -10px; } }
.motion-toggle { position: absolute; right: max(16px, calc(50% - 600px)); bottom: 18px; z-index: 3; border: 1px solid rgba(37, 46, 38, .2); background: rgba(255, 254, 247, .85); padding: 8px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }

/* Demo */
.demo-section { padding: clamp(72px, 9vw, 120px) 0 clamp(56px, 7vw, 96px); background: var(--surface); border-top: 1px solid var(--line); }
.demo-frame { padding: clamp(10px, 1.4vw, 16px); border-radius: 34px; background: var(--frame); box-shadow: 0 40px 80px -40px rgba(114, 80, 160, .55); }
.app-window { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 560px; background: var(--paper); border-radius: 24px; overflow: hidden; text-align: left; }
.app-sidebar { min-width: 0; padding: 22px 14px; border-right: 1px solid var(--line); background: var(--paper-deep); }
.app-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 10px 10px; }
.app-sidebar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.app-sidebar li { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 14px; }
.app-sidebar li.is-active { background: var(--surface); box-shadow: var(--shadow); }
.app-sidebar strong, .scene-who strong { display: block; font-size: 15px; line-height: 1.2; }
.app-sidebar small, .scene-who small { display: block; color: var(--muted); font-size: 13px; }
.face { border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.face--juno { background: color-mix(in srgb, var(--juno) 35%, var(--surface)); }
.face--quill { background: color-mix(in srgb, var(--quill) 35%, var(--surface)); }
.face--kit { background: color-mix(in srgb, var(--kit) 35%, var(--surface)); }
.face--sage { background: color-mix(in srgb, var(--sage) 35%, var(--surface)); }
.app-chat { display: flex; flex-direction: column; min-width: 0; }
.chat-top { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.chat-model { margin-left: auto; font-size: 13px; color: var(--muted); border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; background: var(--surface); }
.chat-log { position: relative; list-style: none; margin: 0; padding: 26px clamp(16px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; flex: 1; }
.msg { max-width: 560px; padding: 14px 18px; border-radius: 20px; font-size: 16px; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.msg--you { align-self: flex-end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 6px; }
.msg--bot { background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; box-shadow: var(--shadow); }
.plan { list-style: none; margin: 10px 0 12px; padding: 0; display: grid; gap: 6px; }
.plan li { display: flex; gap: 12px; font-size: 15px; }
.plan b { min-width: 34px; color: var(--accent); }
.memory-chip { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 600; color: #4a3c73; background: color-mix(in srgb, var(--sage) 28%, var(--surface)); padding: 5px 12px; border-radius: 999px; }
.msg--approval { background: #fff4e9; border: 1px solid #f2c39c; }
.approval-title { font-weight: 600; font-size: 15px; }
.approval-title .approval-icon { margin-right: 8px; vertical-align: -5px; }
.approval-icon { display: inline-grid; place-items: center; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-size: 13px; }
code { white-space: nowrap; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .9em; background: rgba(37, 46, 38, .07); padding: 1px 6px; border-radius: 6px; }
.msg--you code { background: rgba(255, 255, 255, .15); }
.approval-actions, .approval-demo { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; justify-content: flex-end; }
.chip { display: inline-block; padding: 7px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; border: 1px solid var(--line); background: var(--surface); transition: transform .2s var(--ease), box-shadow .2s; }
.chip--deny { color: #a3281c; border-color: #e7b3a9; }
.chip--allow { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip--allow.is-pressed { transform: scale(.94); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); }
.msg--done { align-self: center; font-size: 14px; color: #2f6b5b; background: color-mix(in srgb, var(--quill) 18%, var(--surface)); padding: 8px 16px; border-radius: 999px; }
.chat-input { margin: 0 clamp(16px, 3vw, 40px) 22px; display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 12px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.send { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--paper); }
.typing { display: inline-flex; gap: 5px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; border-bottom-left-radius: 6px; align-self: flex-start; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: dot 1s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-4px); opacity: .5; } }
.js .chat-log .msg.is-hidden { opacity: 0; transform: translateY(10px); position: absolute; visibility: hidden; }
.demo-note { text-align: center; margin-top: 22px; color: var(--muted); font-size: 14px; }

/* Uses */
.uses { padding: clamp(72px, 9vw, 120px) 0; }
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); }
.use { padding-top: 22px; border-top: 2px solid var(--ink); }
.use-icon { width: 34px; height: 34px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.use h3 { font-size: 26px; margin-bottom: 10px; }
.use p { color: var(--muted); }

/* Tools */
.tools { padding: clamp(72px, 9vw, 120px) 0; background: var(--paper-deep); overflow: hidden; }
.tools-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.tools-copy > p:not(.eyebrow), .scenes-copy > p:not(.eyebrow), .memory-copy > p:not(.eyebrow), .team-copy > p:not(.eyebrow) { color: var(--muted); margin-top: 20px; font-size: 18px; max-width: 520px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 28px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10 3 3 5-6' fill='none' stroke='%23fffef7' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.tools-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.tools-orbit { position: absolute; inset: 6% 8%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--kit) 35%, var(--surface)) 0%, transparent 68%); }
.tools-orbit::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, var(--kit) 60%, transparent); }
.tools-mascot { position: relative; width: min(330px, 62%); height: auto; filter: drop-shadow(0 28px 30px rgba(37, 46, 38, .2)); }
.tool-tiles { list-style: none; margin: 0; padding: 0; }
.tile { position: absolute; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; background: var(--surface); border-radius: 16px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); animation: bob 7s ease-in-out infinite; }
.tile-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; font-family: var(--display); font-size: 14px; color: var(--surface); background: var(--ink); }
.t1 { top: 6%; left: 4%; } .t1 .tile-mark { background: #2f3a31; }
.t2 { top: 2%; right: 10%; animation-delay: -1s; } .t2 .tile-mark { background: #a35932; }
.t3 { top: 34%; right: 0; animation-delay: -2s; } .t3 .tile-mark { background: #395b92; }
.t4 { top: 40%; left: 0; animation-delay: -3s; } .t4 .tile-mark { background: #514361; }
.t5 { bottom: 16%; left: 6%; animation-delay: -4s; } .t5 .tile-mark { background: #386f61; }
.t6 { bottom: 10%; right: 6%; animation-delay: -5s; } .t6 .tile-mark { background: #c64215; }
.t7 { bottom: 0; left: 38%; animation-delay: -6s; } .t7 .tile-mark { background: #705695; }

/* Scenes */
.scenes { padding: clamp(72px, 9vw, 120px) 0 clamp(48px, 6vw, 80px); }
.scenes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.scene-dots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.scene-dots button { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 15px; }
.scene-dots button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.scene-stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.scene { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.scene-who { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.scene-ask { font-family: var(--display); font-size: 22px; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 10px; }
.scene-answer { color: var(--muted); }
.js .scene-stack { display: grid; grid-template-areas: "card"; min-height: 330px; align-items: end; padding-top: 48px; }
.js .scene { grid-area: card; transition: transform .6s var(--ease), opacity .6s var(--ease); transform: translateY(-36px) scale(.92); opacity: 0; pointer-events: none; }
.js .scene.is-next { transform: translateY(-30px) scale(.94); opacity: .7; }
.js .scene.is-after { transform: translateY(-58px) scale(.88); opacity: .4; }
.js .scene.is-current { transform: none; opacity: 1; pointer-events: auto; z-index: 2; }
.js .scene.is-next { z-index: 1; }
.scenes-note { color: var(--muted); font-size: 13px; margin-top: 24px; text-align: right; }

/* Memory */
.memory { padding: clamp(72px, 9vw, 120px) 0; background: var(--surface); border-block: 1px solid var(--line); }
.memory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.memory-card { background: var(--paper); border-radius: 26px; padding: 26px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.memory-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.memory-tag { margin-left: auto; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #4a3c73; background: color-mix(in srgb, var(--sage) 28%, var(--surface)); padding: 4px 10px; border-radius: 999px; }
.memory-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.memory-card li { display: flex; justify-content: space-between; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; font-size: 15px; }
.memory-card em { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 600; }
.memory-card li.is-fixed { border-color: var(--quill); background: color-mix(in srgb, var(--quill) 12%, var(--surface)); }
.memory-card li.is-fixed em { color: #2f6b5b; }
.memory-card s { color: var(--muted); margin-right: 6px; }

/* Team */
.team { padding: clamp(72px, 9vw, 120px) 0; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.team-copy .button { margin-top: 30px; }
.teammate-card { display: grid; grid-template-columns: 0.85fr 1fr; background: var(--surface); border-radius: 30px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(56, 111, 97, .55); border: 1px solid var(--line); }
.teammate-portrait { background: radial-gradient(circle at 50% 35%, #d8f0e8, color-mix(in srgb, var(--quill) 55%, var(--surface))); display: grid; place-items: end center; padding: 24px 12px 0; }
.teammate-portrait img { width: 100%; height: auto; }
.teammate-body { padding: 28px 26px; display: flex; flex-direction: column; }
.teammate-name { font-family: var(--display); font-weight: 700; font-size: 38px; letter-spacing: -.04em; line-height: 1; }
.teammate-role { color: var(--muted); margin-top: 4px; }
.teammate-facts { margin: 20px 0 0; display: grid; gap: 12px; }
.teammate-facts div { border-top: 1px solid var(--line); padding-top: 10px; }
.teammate-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.teammate-facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 500; }
.crew-row { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 20px; }
.crew-add { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px dashed var(--muted); color: var(--muted); font-weight: 700; }

/* Trust (dark band) */
.trust { padding: clamp(72px, 9vw, 120px) 0; background: var(--night); color: var(--night-text); }
.trust .eyebrow { color: #ffb48a; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust-card { background: var(--night-raised); border: 1px solid rgba(244, 242, 233, .1); border-radius: var(--radius); padding: 26px; }
.trust-card--wide { grid-column: span 2; background: linear-gradient(140deg, #3a2a22, var(--night-raised) 60%); }
.trust-card h3 { font-size: 24px; margin-bottom: 10px; }
.trust-card p { color: var(--night-muted); }
.trust-card .approval-demo { justify-content: flex-start; margin-top: 22px; }
.trust-card .chip { background: transparent; color: var(--night-text); border-color: rgba(244, 242, 233, .3); }
.trust-card .chip--deny { color: #ffb0a3; border-color: rgba(255, 176, 163, .45); }
.trust-card .chip--allow { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.trust-links { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; margin-top: 40px; }

/* Steps */
.steps { padding: clamp(72px, 9vw, 120px) 0; }
.step-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 26px; }
.step-visual { height: 170px; border-radius: 16px; background: var(--paper-deep); display: grid; place-items: center; padding: 16px; margin-bottom: 22px; overflow: hidden; }
.step:nth-child(1) .step-visual { background: color-mix(in srgb, var(--kit) 22%, var(--paper)); }
.step:nth-child(2) .step-visual { background: color-mix(in srgb, var(--sage) 24%, var(--paper)); }
.step:nth-child(3) .step-visual { background: color-mix(in srgb, var(--juno) 26%, var(--paper)); }
.step-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--paper); font-weight: 700; font-size: 14px; margin-bottom: 12px; }
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p:last-child { color: var(--muted); }
.mini-signin, .mini-key { display: grid; gap: 8px; width: min(240px, 100%); text-align: center; font-size: 13px; }
.mini-btn, .mini-code, .mini-field { background: var(--surface); border-radius: 10px; padding: 9px 12px; box-shadow: var(--shadow); font-weight: 600; }
.mini-code { font-family: ui-monospace, Menlo, monospace; letter-spacing: .12em; }
.mini-or { color: var(--muted); }
.mini-field { text-align: left; font-family: ui-monospace, Menlo, monospace; color: var(--muted); }
.mini-hint { color: #4a3c73; font-weight: 600; }
.mini-hello { display: flex; gap: 10px; align-items: flex-end; }
.mini-bubble { background: var(--surface); border-radius: 16px 16px 16px 4px; padding: 10px 14px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); max-width: 190px; text-align: left; }
.steps-cta { display: flex; justify-content: center; margin-top: 44px; }

/* FAQ */
.faq { padding: clamp(72px, 9vw, 120px) 0; background: var(--surface); border-top: 1px solid var(--line); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); }
.faqs details { border-bottom: 1px solid var(--line); }
.faqs details:first-child { border-top: 1px solid var(--line); }
.faqs summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 18px; cursor: pointer; }
.faqs summary::-webkit-details-marker { display: none; }
.faqs summary span { font-size: 24px; line-height: 1; color: var(--accent); transition: transform .25s var(--ease); }
.faqs details[open] summary span { transform: rotate(45deg); }
.faqs details p { padding: 0 0 22px; color: var(--muted); max-width: 640px; }
.faqs details a { color: var(--accent); font-weight: 600; }

/* Closing + footer */
.closing { padding: clamp(80px, 10vw, 140px) 0; text-align: center; background: radial-gradient(ellipse at 50% 120%, #ffc292 0%, var(--peach) 35%, var(--paper) 75%); }
.closing-inner { display: flex; flex-direction: column; align-items: center; }
.closing-flower { width: 72px; height: 72px; margin-bottom: 26px; animation: bob 5s ease-in-out infinite; }
.closing h2 { font-size: clamp(40px, 6.4vw, 88px); letter-spacing: -.05em; max-width: 14ch; }
.closing p { margin-top: 18px; color: var(--muted); font-size: 19px; }
.closing-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 26px; margin-top: 34px; }
.site-footer { padding: 32px 0; border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.site-footer .wordmark { font-size: 22px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); text-decoration: underline; }
.copyright { margin-left: auto; font-size: 14px; color: var(--muted); }

/* Paused motion: user toggle or reduced-motion preference */
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; flex-shrink: 1; width: 100%; }
  .marquee-track[aria-hidden="true"] { display: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 720px) {
  .marquee-track { gap: 8px; }
  .marquee-track li { padding: 7px 14px; font-size: 14px; }
  .marquee-track li:nth-child(n+5) { display: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .site-nav { display: none; }
  .header-actions { margin-left: auto; }
  .tools-grid, .scenes-grid, .memory-grid, .team-grid, .faq-grid { grid-template-columns: 1fr; }
  .tools-visual { min-height: 460px; order: 2; }
  .memory-card { order: 2; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-card--wide { grid-column: span 2; }
  .step-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .app-window { grid-template-columns: 200px minmax(0, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .app-window { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .msg { max-width: 100%; }
  .app-sidebar { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; }
  .app-label { display: none; }
  .app-sidebar ul { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; }
  .app-sidebar li { padding: 6px 10px 6px 6px; }
  .app-sidebar li small { display: none; }
  .app-sidebar img { width: 30px; height: 30px; }
  .msg { font-size: 15px; }
  .chat-model { display: none; }
  .use-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card--wide { grid-column: auto; }
  .teammate-card { grid-template-columns: 1fr; }
  .teammate-portrait { max-height: 300px; overflow: hidden; place-items: start center; }
  .teammate-portrait img { width: 62%; }
  .stage-friend { display: none; }
  .hero-stage { height: 360px; }
  .hero-mascot { width: 290px; }
  .tools-visual { min-height: 420px; }
  .tile { font-size: 13px; padding: 6px 10px 6px 6px; }
  .tile-mark { width: 24px; height: 24px; font-size: 12px; border-radius: 7px; }
  .copyright { margin-left: 0; width: 100%; }
}
@media (max-width: 420px) {
  .header-link { display: none; }
  .wordmark { font-size: 23px; }
  .js .scene-stack { min-height: 360px; }
}

/* Public beta label + device waitlist (15 Oct 2026) */
.beta-badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hero-note .text-link { display: inline-block; margin-top: 6px; }
.waitlist { padding: clamp(72px, 9vw, 120px) 0; background: var(--paper-deep); }
.waitlist-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.waitlist-copy h2 { font-size: clamp(34px, 4.6vw, 60px); }
.waitlist-copy > p:not(.eyebrow) { color: var(--muted); margin-top: 20px; font-size: 18px; max-width: 520px; }
.waitlist-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow); }
.waitlist-form fieldset { border: 0; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.waitlist-form legend { font-weight: 700; margin-bottom: 12px; padding: 0; }
.device-choice { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; background: var(--paper); }
.device-choice:has(input:checked) { border-color: var(--accent); background: color-mix(in srgb, var(--peach) 45%, var(--surface)); }
.device-choice input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; flex: none; }
.waitlist-label { display: block; font-weight: 700; margin-bottom: 8px; }
.waitlist-row { display: flex; flex-wrap: wrap; gap: 10px; }
.waitlist-row input { flex: 1 1 220px; min-width: 0; font: inherit; padding: 13px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--ink); }
.waitlist-row input:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.waitlist-row .button { border: 0; }
.waitlist-row .button[disabled] { opacity: .65; cursor: progress; }
.waitlist-consent { margin-top: 14px; font-size: 14px; color: var(--muted); }
.waitlist-consent a { color: var(--ink); }
.waitlist-message { margin-top: 12px; font-weight: 600; min-height: 1.4em; }
.waitlist-message.is-error { color: var(--accent); }
.waitlist-message.is-ok { color: #2f6b4f; }
.waitlist-form.is-done fieldset, .waitlist-form.is-done .waitlist-row, .waitlist-form.is-done .waitlist-label { display: none; }
@media (max-width: 860px) { .waitlist-grid { grid-template-columns: 1fr; } }
