/* Stencil AI — Orpheus home page prototype */
:root {
  --bg: #FAF9F6;
  --surface: #FFFFFF;
  --subtle: #F3F2ED;
  --ink: #0F0F0F;
  --ink-2: #3f3f46;
  --ink-3: #1f1f23;
  --muted: #565B66;
  --muted-2: #5C616C;
  --faint: #8A8D95;
  --ghost: #9A9DA4;
  --ghost-2: #C9C7C0;
  --line: #E6E4DE;
  --line-2: #EDECE6;
  --line-strong: #D9D7D0;
  --fill: #EFEEE9;
  --fill-2: #E2E0D9;
  --dots: #DAD8D0;
  --amber-bg: #F5E7D6;
  --amber-line: #E8CFAF;
  --amber: #8A4E14;
  --amber-ink: #5E3410;
  --glow: rgba(180,105,31,0.22);
  --glow-2: rgba(180,105,31,0.16);
  --header-bg: rgba(250,249,246,0.86);
  --band: #0D0E0C;
  --band-ink: #F5F4EF;
  --band-muted: #A9AAB2;
  --band-card: #17181A;
  --band-line: #282A2C;
  --band-chip: #242528;
  --invert-bg: #0F0F0F;
  --invert-ink: #FFFFFF;
  --shadow-lg: 0 24px 60px -18px rgba(16,24,40,0.20), 0 8px 24px -12px rgba(16,24,40,0.12);
  --shadow-md: 0 8px 30px -12px rgba(16,24,40,0.16);
  --focus: #0F0F0F;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #111210;
  --surface: #1A1B19;
  --subtle: #1F201E;
  --ink: #F3F2ED;
  --ink-2: #D2D1CC;
  --ink-3: #E6E4DE;
  --muted: #A6A8AF;
  --muted-2: #A0A3AA;
  --faint: #7E8189;
  --ghost: #7E8189;
  --ghost-2: #4A4B48;
  --line: #2E2F2C;
  --line-2: #262724;
  --line-strong: #3A3B38;
  --fill: #262724;
  --fill-2: #33342F;
  --dots: #2C2D2A;
  --amber-bg: #3A2A18;
  --amber-line: #5E4224;
  --amber: #E8B57E;
  --amber-ink: #F1CFA6;
  --glow: rgba(200,125,45,0.16);
  --glow-2: rgba(200,125,45,0.10);
  --header-bg: rgba(17,18,16,0.86);
  --band: #080907;
  --invert-bg: #F3F2ED;
  --invert-ink: #0F0F0F;
  --shadow-lg: 0 24px 60px -18px rgba(0,0,0,0.6), 0 8px 24px -12px rgba(0,0,0,0.4);
  --shadow-md: 0 8px 30px -12px rgba(0,0,0,0.5);
  --focus: #F3F2ED;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: var(--ink); }
a:hover { color: var(--ink-2); }
button { font: inherit; color: inherit; }
h1, h2, h3 { color: var(--ink); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--invert-bg); color: var(--invert-ink); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; color: var(--invert-ink); }
.wrap { max-width: 1180px; margin: 0 auto; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 600; letter-spacing: -0.025em; color: var(--muted); }
.mono { font-family: var(--mono); }
.dim { color: var(--muted); }
.sm { font-size: 12.5px; }

/* ---------- wordmark (logo images; the PNGs carry their own margin) ---------- */
.wordmark { display: inline-flex; align-items: center; }
.wordmark img { display: block; height: 40px; width: auto; margin-left: -8px; }
.wm-sm img { height: 30px; margin-left: -6px; }
.wm-footer img { height: 54px; margin-left: -11px; }
.logo-on-dark { display: none !important; }
:root[data-theme="dark"] .logo-on-light { display: none !important; }
:root[data-theme="dark"] .logo-on-dark { display: block !important; }
.wordmark {
  font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 26px;
  letter-spacing: -0.02em; color: var(--ink); text-decoration: none; line-height: 1; white-space: nowrap;
}
.wordmark:hover { color: var(--ink); }
.wm-sm { font-size: 21px; }
.wm-footer { font-size: 30px; color: var(--band-ink); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line); padding: 12px 24px;
  view-transition-name: site-header;
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; position: relative; }
.header-left { display: flex; align-items: center; gap: 14px; flex: none; }
.main-nav { display: flex; align-items: center; gap: 4px; font-size: 14.5px; }
.main-nav a { color: var(--muted); text-decoration: none; padding: 10px 12px; border-radius: 8px; }
.main-nav a:hover { color: var(--ink); background: var(--subtle); }
.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 12px; border: 1px solid transparent; background: transparent;
  color: var(--muted); display: grid; place-items: center; cursor: pointer;
}
.icon-btn:hover { background: var(--subtle); color: var(--ink); }
.icon-btn .i-sun { display: none; }
:root[data-theme="dark"] .icon-btn .i-sun { display: block; }
:root[data-theme="dark"] .icon-btn .i-moon { display: none; }
.menu-btn { display: none; }
.btn-outline {
  color: var(--ink); text-decoration: none; border: 1px solid var(--line-strong); padding: 9px 18px;
  border-radius: 980px; font-size: 14.5px; font-weight: 500; background: transparent;
}
.btn-dark {
  background: var(--invert-bg); color: var(--invert-ink); text-decoration: none; padding: 10px 18px; border: 0;
  border-radius: 980px; font-size: 14.5px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.btn-dark:hover { color: var(--invert-ink); opacity: .9; }
.btn-home {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); padding: 8px 12px 8px 10px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer;
}
.btn-home:hover { color: var(--ink); }
.lite-badge {
  display: inline-flex; border-radius: 999px; border: 1px solid var(--invert-bg); overflow: hidden;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em;
}
.lb-dark { display: inline-flex; align-items: center; gap: 7px; background: var(--invert-bg); color: var(--invert-ink); padding: 6px 12px 6px 10px; }
.lb-light { background: var(--surface); color: var(--ink); padding: 6px 12px; }

/* view switching */
.try-only { display: none !important; }
body.is-try .try-only { display: inline-flex !important; }
body.is-try .home-only { display: none !important; }
body.is-try .lite-badge { position: absolute; left: 50%; transform: translateX(-50%); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 44px 24px 0; overflow: hidden; }
.hero-dots {
  position: absolute; inset: 0; height: 760px;
  background-image: radial-gradient(var(--dots) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 38%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 38%, #000 25%, transparent 75%);
}
.hero-glow {
  position: absolute; left: 50%; width: 720px; margin-left: -360px; top: 330px; height: 280px;
  background: radial-gradient(closest-side, var(--glow), transparent); filter: blur(30px);
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.lite-pill {
  display: inline-flex; align-items: stretch; border-radius: 999px; border: 1px solid var(--invert-bg); overflow: hidden;
  box-shadow: 0 6px 18px -10px rgba(16,24,40,0.35); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em;
}
.lp-dark { display: inline-flex; align-items: center; gap: 8px; background: var(--invert-bg); color: var(--invert-ink); padding: 8px 14px 8px 12px; }
.lp-light { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); color: var(--ink); padding: 8px 12px 8px 14px; }
.lp-light svg { color: var(--muted); }
.lyre { flex: none; }
.hero-title { margin: 4px 0 0; font-size: 70px; line-height: 1; letter-spacing: -0.05em; font-weight: 800; }
.hero-sub { margin: 0; font-size: 19px; line-height: 1.5; color: var(--muted); max-width: 820px; }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 16px; margin-top: 10px; }
.hero-cta .btn-pill { align-self: center; text-decoration: none; }
.hero-cta .btn-pill:hover { color: var(--invert-ink); }
.hero-code { padding: 15px 22px; font-size: 15.5px; }
.hero-signin { margin: 0; font-size: 15px; color: var(--muted); }
.hero-signin a { font-weight: 600; }
.composer-slot { margin-top: 6px; width: 780px; max-width: 100%; }

/* ---------- composer ---------- */
.composer-wrap { width: 100%; display: flex; flex-direction: column; gap: 10px; view-transition-name: composer; }
.composer {
  background: var(--surface); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg);
  padding: 16px 14px 12px 20px; display: flex; flex-direction: column; gap: 12px; text-align: left;
}
.composer:focus-within { border-color: var(--line-strong); }
.input-wrap { position: relative; display: grid; cursor: text; }
.input-wrap > .composer-input, .input-wrap > .ghost { grid-area: 1 / 1; }
.composer-input {
  display: block; width: 100%; border: 0; outline: 0; resize: none; background: transparent; color: var(--ink);
  font: inherit; font-size: 17px; line-height: 1.5; min-height: 26px; max-height: 220px; padding: 0 96px 0 0; overflow-y: auto;
}
.composer-input:focus-visible { outline: 0; }
.composer-input::placeholder { color: var(--ghost); opacity: 1; }
.composer-input.ghosting::placeholder { color: transparent; }
.ghost {
  pointer-events: none; font-size: 17px; line-height: 1.5; padding-right: 96px;
  white-space: pre-wrap; overflow-wrap: anywhere; text-align: left;
}
.ghost-typed { color: var(--ghost); }
.ghost-rest { color: var(--ghost-2); }
.ghost-caret { display: inline-block; width: 1.5px; height: 1.1em; vertical-align: -0.18em; background: var(--ghost); margin: 0 1px; animation: blink 1s steps(1) infinite; }
.ghost.frozen .ghost-caret { display: none; }
.ghost-hint {
  position: absolute; right: 0; top: 0; font-size: 12px; color: var(--faint); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
}
kbd {
  font-family: var(--mono); font-size: 11px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px;
  padding: 0 6px; background: var(--subtle); color: var(--ink-2);
}
.composer-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.composer-tools { display: flex; gap: 8px; align-items: center; min-width: 0; }
.mode-picker { position: relative; display: inline-flex; }
.mode-btn {
  height: 38px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; border: 1px solid var(--line);
  padding: 0 12px 0 14px; font-size: 13.5px; font-weight: 600; background: var(--surface); cursor: pointer; color: var(--ink);
}
.mode-btn:hover, .mode-btn[aria-expanded="true"] { border-color: var(--invert-bg); }
.mode-btn-icon { display: inline-grid; }
.chev-down { color: var(--muted-2); transition: transform .15s; }
.mode-btn[aria-expanded="true"] .chev-down { transform: rotate(180deg); }
.mode-pop {
  position: absolute; left: 0; width: 300px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 24px 60px -18px rgba(16,24,40,0.28); padding: 6px; z-index: 50; text-align: left;
}
.mode-pop.up { bottom: calc(100% + 10px); }
.mode-pop.down { top: calc(100% + 10px); }
.mode-pop-head { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--faint); padding: 8px 12px 6px; }
.mode-list { list-style: none; margin: 0; padding: 0; outline: 0; }
.mode-list li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; cursor: pointer; }
.mode-list li:hover, .mode-list li.active { background: var(--subtle); }
.mode-list:focus-visible li.active { box-shadow: inset 0 0 0 2px var(--focus); }
.mo-icon { width: 30px; height: 30px; border-radius: 9px; background: var(--fill); color: var(--ink-2); display: grid; place-items: center; flex: none; }
.mode-list li[aria-selected="true"] .mo-icon { background: var(--invert-bg); color: var(--invert-ink); }
.mo-text { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.mo-text b { font-size: 14px; }
.mo-text small { font-size: 12.5px; color: var(--muted-2); }
.mo-check { visibility: hidden; flex: none; }
.mode-list li[aria-selected="true"] .mo-check { visibility: visible; }
.files-lock {
  height: 38px; display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; background: var(--subtle);
  color: var(--faint); padding: 0 13px; font-size: 13px; white-space: nowrap;
}
.send-btn {
  width: 44px; height: 44px; border-radius: 50%; background: var(--invert-bg); color: var(--invert-ink); border: 0;
  display: grid; place-items: center; cursor: pointer; flex: none; transition: opacity .15s, transform .15s;
}
.send-btn:hover { transform: translateY(-1px); }
.send-btn:disabled { background: var(--fill-2); color: var(--surface); cursor: not-allowed; transform: none; }
.composer-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted-2); padding: 0 6px; text-align: left; }
.composer-meta b { color: var(--ink); }
.composer-meta a { color: inherit; }
.meta-right { margin-left: auto; }
.quota-dots { display: inline-flex; gap: 4px; flex: none; }
.quota-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--invert-bg); }
.quota-dots span.used { background: var(--fill-2); }

/* ---------- chips ---------- */
.chip-groups { display: flex; flex-direction: column; gap: 8px; align-items: center; max-width: 100%; }
.chip-group { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; }
.chip-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--faint); width: 86px; text-align: right; flex: none; }
.chip-row { display: inline-flex; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; white-space: nowrap; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font-size: 14px; color: var(--ink-2); cursor: pointer;
  transition: background .15s, border-color .15s;
}
.chip:hover { background: var(--subtle); border-color: var(--line-strong); }
.chip[aria-pressed="true"] { border-color: var(--invert-bg); color: var(--ink); }
.hero-ticks { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 22px; font-size: 14px; color: var(--muted-2); margin-top: 6px; }
.hero-links { display: inline-flex; gap: 16px; margin-left: 8px; }
.hero-links a { font-weight: 600; }

/* ---------- product shot ---------- */
.shot { position: relative; max-width: 1120px; margin: 64px auto 0; padding: 0; }
.shot-glow { position: absolute; left: 8%; right: 8%; top: 12%; bottom: -10%; background: radial-gradient(closest-side, var(--glow-2), transparent); filter: blur(30px); }
.shot-frame {
  position: relative; display: flex; border: 1px solid var(--line); border-bottom: 0; border-radius: 20px 20px 0 0; overflow: hidden;
  background: var(--surface); box-shadow: 0 -10px 80px rgba(16,24,40,0.10); text-align: left; min-height: 600px;
}
.shot-side { flex: 0 0 256px; background: var(--subtle); border-right: 1px solid var(--line-2); padding: 16px 12px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.side-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 8px 12px; }
.side-burger { width: 32px; height: 32px; display: grid; place-items: center; color: var(--muted); }
.side-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink-2); }
.side-item.strong { font-weight: 600; color: var(--ink); }
.side-item.active { background: var(--fill-2); font-weight: 600; color: var(--ink); }
.side-item.trunc { display: block; padding: 8px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--muted-2); padding: 16px 10px 6px; }
.pdot { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--faint); flex: none; }
.pdot.full { background: var(--ink); border-color: var(--ink); }
.side-user { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border-top: 1px solid var(--fill-2); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--invert-bg); color: var(--invert-ink); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.su-text { display: flex; flex-direction: column; line-height: 1.25; }
.su-text b { font-size: 13px; }
.su-text small { font-size: 11.5px; color: var(--muted-2); }
.shot-main { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; }
.shot-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line-2); }
.shot-mode { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.mono-sm { font-family: var(--mono); font-size: 11px; font-weight: 500; color: var(--muted-2); letter-spacing: 0.06em; }
.mono-xs { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--muted-2); }
.shot-thread { flex: 1; padding: 28px 22px 16px; display: flex; flex-direction: column; gap: 22px; max-width: 760px; width: 100%; margin: 0 auto; }
.bubble-user { align-self: flex-end; max-width: 78%; background: var(--subtle); border-radius: 22px; padding: 12px 18px; font-size: 15px; line-height: 1.5; }
.shot-answer { display: flex; gap: 14px; align-items: flex-start; }
.o-avatar { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; font-family: var(--serif); font-style: italic; font-weight: 600; font-size: 16px; }
.shot-answer-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.shot-answer-body p { margin: 0; }
.shot-answer-body b { color: var(--ink); }
.boq { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.boq-row { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr) minmax(0,.8fr); gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--ink); }
.boq-head { border-top: 0; background: var(--subtle); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted-2); }
.boq-row .q { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.boq-row .r { text-align: right; }
.boq-row .v { font-family: var(--mono); font-weight: 700; }
.boq-total { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line); background: var(--bg); }
.boq-total .total { font-family: var(--mono); font-size: 20px; font-weight: 700; color: var(--ink); }
.cites { display: flex; flex-wrap: wrap; gap: 8px; }
.cite { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
.cite b { font-family: var(--mono); font-size: 10.5px; }
.shot-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.fake-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 500; color: var(--ink); }
.fake-btn.dark { background: var(--invert-bg); color: var(--invert-ink); border-color: transparent; font-family: var(--mono); font-weight: 600; }
.shot-composer { max-width: 716px; width: calc(100% - 44px); margin: 0 auto 22px; display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 26px; padding: 8px 8px 8px 18px; background: var(--surface); box-shadow: 0 1px 3px rgba(16,24,40,.06); }
.shot-composer > span:first-child { flex: 1; color: var(--faint); font-size: 15px; }
.shot-send { width: 38px; height: 38px; border-radius: 50%; background: var(--fill-2); color: #fff; display: grid; place-items: center; }

/* ---------- sections ---------- */
.provenance { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--subtle); padding: 40px 24px; }
.prov-inner { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.prov-inner > p { margin: 0; font-size: 15.5px; color: var(--ink-2); max-width: 66ch; }
.prov-inner > p b { color: var(--ink); }
.prov-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; width: 100%; max-width: 980px; }
.prov-grid > div { background: var(--surface); padding: 16px 18px; text-align: left; }
.prov-grid small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; color: var(--muted-2); }
.prov-grid b { font-size: 15px; font-weight: 600; }

.section { padding: 96px 24px; background: var(--bg); }
.section-subtle { background: var(--subtle); border-top: 1px solid var(--line); }
.section-surface { background: var(--surface); border-top: 1px solid var(--line); }
.stack-44 { display: flex; flex-direction: column; gap: 44px; }
.stack-40 { display: flex; flex-direction: column; gap: 40px; }
.sec-head { display: flex; flex-direction: column; gap: 14px; }
.sec-head.center { align-items: center; text-align: center; }
.sec-head h2, .faq-head h2 { margin: 0; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; max-width: 820px; text-wrap: balance; }
.sec-head p { margin: 0; font-size: 19px; color: var(--muted); max-width: 60ch; }
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.18em; color: var(--muted-2); }
.eyebrow-dark { color: var(--band-muted); }
.card-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.card-grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.card.lift { transition: transform .2s, box-shadow .2s; }
.card.lift:hover { transform: translateY(-4px); box-shadow: 0 4px 24px -8px rgba(16,24,40,.10), 0 1px 3px rgba(16,24,40,.05); }
.card h3 { margin: 0; font-size: 20px; letter-spacing: -0.02em; }
.card p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.card-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--fill); display: grid; place-items: center; color: var(--ink); }
.steps { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.steps li { background: var(--surface); padding: 30px; display: flex; flex-direction: column; gap: 10px; }
.step-n { font-family: var(--mono); font-size: 13px; font-weight: 700; color: var(--faint); }
.steps h3 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
.steps p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }

/* modes band (stays dark in both themes) */
.modes-band { background: var(--band); color: var(--band-ink); padding: 104px 24px; }
.modes-inner { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.modes-copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.modes-copy h2 { margin: 0; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 800; color: var(--band-ink); }
.modes-copy > p { margin: 0; font-size: 19px; color: var(--band-muted); max-width: 48ch; }
.modes-note { display: flex; align-items: center; gap: 12px; margin-top: 8px; padding: 16px 18px; border: 1px solid var(--band-line); border-radius: 16px; background: var(--band-card); max-width: 460px; font-size: 15px; line-height: 1.45; }
.modes-note .dim { color: var(--band-muted); }
.mn-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--band-chip); display: grid; place-items: center; flex: none; }
.modes-panel { flex: 1 1 440px; min-width: 0; background: var(--band-card); border: 1px solid var(--band-line); border-radius: 24px; padding: 10px; box-shadow: 0 30px 70px -20px rgba(0,0,0,0.7); }
.mp-head { display: flex; justify-content: space-between; padding: 10px 14px 12px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: #9A9CA6; }
.mp-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: 16px; }
.mp-row.sel { background: var(--band-chip); }
.mp-icon { width: 38px; height: 38px; border-radius: 11px; background: var(--band-chip); display: grid; place-items: center; flex: none; }
.mp-row.sel .mp-icon { background: var(--band-ink); color: var(--band); }
.mp-text { flex: 1; display: flex; flex-direction: column; }
.mp-text b { font-size: 16px; }
.mp-text span { font-size: 14px; color: var(--band-muted); line-height: 1.45; }
.mp-check { flex: none; margin-top: 10px; }

/* compare */
.compare { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 4px 24px -8px rgba(16,24,40,.10); }
.compare-scroll { overflow-x: auto; }
.compare table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; line-height: 1.45; text-align: left; }
.compare th, .compare td { padding: 18px 24px; vertical-align: top; }
.compare thead th, .compare thead td { padding: 20px 24px; font-size: 16px; }
.compare thead th small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; font-weight: 400; }
.compare tbody tr { border-top: 1px solid var(--line-2); }
.compare tbody th { font-weight: 600; width: 30%; }
.compare td, .compare th + th, .compare thead th { border-left: 1px solid var(--line-2); }
.compare tbody th { border-left: 0; }
.compare .c-gen { background: var(--bg); color: var(--muted); }
.compare thead .c-gen { background: var(--subtle); }
.compare thead .c-orp { background: var(--invert-bg); color: var(--invert-ink); }
.compare thead .c-orp small { opacity: .8; }

/* modules */
.module-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 20px; }
.module { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.module h3 { margin: 0; font-size: 26px; letter-spacing: -0.025em; line-height: 1.1; }
.module > p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }
.mono-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; color: var(--muted-2); }
.mono-label.sm { font-size: 11px; letter-spacing: 0.08em; }
.mod-demo { background: var(--bg); border: 1px solid var(--line-2); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.kv { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding: 4px 0; }
.kv.last { border-bottom: 0; align-items: center; padding-top: 6px; }
.kv .r { text-align: right; }
.mono.big { font-size: 20px; }
.mod-tick { font-size: 14px; color: var(--ink-2); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 5px 11px; font-size: 12.5px; }
.pill.dark { background: var(--invert-bg); color: var(--invert-ink); border-color: transparent; font-weight: 600; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.stat small { display: block; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--muted-2); }
.stat b { font-family: var(--mono); }
.stat.amber { background: var(--amber-bg); border-color: var(--amber-line); }
.stat.amber small { color: var(--amber-ink); }
.stat.amber b { color: var(--amber); }
.was { font-size: 11px; color: var(--muted-2); }
.gantt { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 6px 12px; align-items: center; font-size: 12.5px; }
.bar { height: 10px; border-radius: 5px; }
.b1 { background: #B4691F; width: 70%; }
.b2 { background: #B4691F; opacity: .7; width: 48%; margin-left: 22%; }
.b3 { background: var(--ink-2); width: 36%; margin-left: 46%; }
.b4 { background: var(--ink); width: 20%; margin-left: 74%; }
.fake-search { display: flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; color: var(--muted-2); }
.fineprint { margin: 0; font-size: 13.5px; color: var(--muted-2); max-width: 90ch; }

/* FAQ */
.faq-inner { display: flex; flex-wrap: wrap; gap: 48px; }
.faq-head { flex: 1 1 320px; display: flex; flex-direction: column; gap: 14px; }
.faq-head h2 { font-size: clamp(32px, 4.5vw, 48px); }
.faq-head p { margin: 0; font-size: 16px; color: var(--muted); }
.faq-head a { font-weight: 600; }
.faq-list { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; }
.faq-list details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; font-size: 18px; font-weight: 600; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list .chev { font-size: 22px; line-height: 1; transition: transform .2s; }
.faq-list details[open] .chev { transform: rotate(45deg); }
.faq-list p { margin: 12px 0 0; font-size: 15.5px; color: var(--muted); line-height: 1.55; }

/* waitlist */
.waitlist { position: relative; overflow: hidden; padding: 104px 24px; border-top: 1px solid var(--line); }
.wl-inner { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.wl-copy { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.wl-title { margin: 0; font-size: clamp(34px, 5vw, 60px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; }
.wl-title .serif { color: var(--ink); letter-spacing: -0.02em; }
.wl-copy > p { margin: 0; font-size: 18px; color: var(--muted); max-width: 46ch; }
.wl-steps { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; max-width: 440px; }
.wl-steps li { display: flex; gap: 14px; align-items: center; background: var(--surface); padding: 13px 16px; font-size: 15px; }
.wl-steps span { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--faint); }
.wl-form { flex: 1 1 440px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 30px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 16px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 400; color: var(--muted-2); }
.field input, .field select, .field textarea { font: inherit; font-size: 16px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg); color: var(--ink); }
.field textarea { resize: vertical; }
.field [aria-invalid="true"] { border-color: #B42318; }
.wl-error { margin: 0; font-size: 14px; color: #B42318; }
:root[data-theme="dark"] .wl-error { color: #F97066; }
.wl-done { margin: 0; font-size: 15px; font-weight: 600; color: var(--ink); background: var(--subtle); border-radius: 12px; padding: 12px 14px; }
.btn-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 6px 6px 6px 26px; border-radius: 980px; border: 0; background: var(--invert-bg); color: var(--invert-ink); font-size: 17px; font-weight: 600; cursor: pointer; }
.pill-dot { width: 44px; height: 44px; border-radius: 50%; background: var(--invert-ink); color: var(--invert-bg); display: grid; place-items: center; transition: transform .25s; }
.btn-pill:hover .pill-dot { transform: scale(1.08); }
.wl-code { margin: 0; padding-top: 14px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); }
.wl-code a { font-weight: 600; }

/* footer */
.site-footer { background: var(--band); color: var(--band-muted); padding: 64px 24px 28px; }
.footer-inner { display: flex; flex-direction: column; gap: 44px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 44px 56px; justify-content: space-between; }
.footer-brand { flex: 1 1 280px; max-width: 340px; display: flex; flex-direction: column; gap: 16px; }
.footer-brand p { margin: 0; font-size: 15px; line-height: 1.55; }
.footer-brand p.sm { font-size: 14px; }
.footer-cols { flex: 999 1 560px; display: flex; flex-wrap: wrap; gap: 28px 20px; justify-content: space-between; }
.footer-cols > div { display: flex; flex-direction: column; gap: 10px; min-width: 130px; }
.footer-cols h2 { margin: 0 0 2px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; color: #9A9CA6; }
.footer-cols a { color: #D4D4D0; text-decoration: none; font-size: 14px; }
.footer-cols a:hover { color: #FFFFFF; text-decoration: underline; }
.footer-cols a.bright { color: var(--band-ink); }
.site-footer :focus-visible { outline-color: #F5F4EF; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--band-line); font-size: 12px; color: #9A9CA6; }
.fb-right { display: inline-flex; gap: 16px; align-items: center; }
.reset-link { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font-size: inherit; }

/* ---------- try view ---------- */
.try-view { min-height: calc(100vh - 69px); padding: 36px 24px 220px; }
.thread { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.turn { display: flex; flex-direction: column; gap: 28px; scroll-margin-top: 90px; }
.q-bubble {
  align-self: flex-end; max-width: min(560px, 85%); background: var(--fill); border-radius: 22px 22px 6px 22px;
  padding: 12px 18px; font-size: 16px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere;
}
.answer { display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.65; color: var(--ink-3); }
.a-head { display: flex; align-items: center; gap: 10px; }
.a-head .wordmark { font-size: 20px; }
.a-mode { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; color: var(--muted-2); }
.thinking { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--muted); }
.dots3 { display: inline-flex; gap: 4px; }
.dots3 span { width: 6px; height: 6px; border-radius: 50%; background: var(--ink); animation: dotpulse 1.2s infinite ease-in-out; }
.dots3 span:nth-child(2) { animation-delay: .15s; }
.dots3 span:nth-child(3) { animation-delay: .3s; }
.dots3.sm span { width: 5px; height: 5px; }
@keyframes dotpulse { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.a-body { display: flex; flex-direction: column; gap: 12px; }
.a-body p { margin: 0; }
.a-body ul, .a-body ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.a-body b { color: var(--ink); font-weight: 700; }
.tag { font-family: var(--mono); font-size: 11px; font-weight: 700; background: var(--fill); border: 1px solid var(--fill-2); border-radius: 6px; padding: 1px 6px; margin: 0 2px; white-space: nowrap; }
.w { animation: wordIn .42s ease-out both; }
@keyframes wordIn { from { opacity: 0; } to { opacity: 1; } }
.caret { display: inline-block; width: 2px; height: 1.15em; background: var(--ink); vertical-align: -0.2em; margin-left: 3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.a-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; font-size: 13px; color: var(--muted-2); border-top: 1px solid var(--line-2); padding-top: 12px; }
.a-status { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.speed { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--surface); }
.seg button { border: 0; background: transparent; padding: 4px 11px; border-radius: 999px; color: var(--ink-2); cursor: pointer; font-size: 13px; }
.seg button[aria-pressed="true"] { background: var(--invert-bg); color: var(--invert-ink); font-weight: 600; }
.show-all { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 600; cursor: pointer; font-size: 13px; }
.footnote { margin: 0; font-size: 12.5px; color: var(--muted-2); line-height: 1.5; }
.footnote sup { font-family: var(--mono); }
.export-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ex-btn {
  display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 500; cursor: pointer;
}
.ex-btn:hover { border-color: var(--line-strong); background: var(--subtle); }
.ex-lock { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px; background: var(--subtle); color: var(--faint); font-size: 12.5px; }

/* docked composer */
.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: center;
  padding: 40px 16px 22px; background: linear-gradient(to bottom, transparent, var(--bg) 38%);
  pointer-events: none;
}
.dock .composer-wrap { width: 780px; max-width: 100%; pointer-events: auto; }
.dock .composer { box-shadow: var(--shadow-md); }

/* limit screen */
.limit { position: relative; max-width: 1120px; margin: 48px auto 0; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.limit-dots { position: absolute; inset: -40px 0 auto 0; height: 420px; z-index: -1;
  background-image: radial-gradient(var(--dots) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 38%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 50% 38%, #000 25%, transparent 75%); }
.limit-head { display: flex; align-items: center; gap: 22px; }
.ring { flex: none; }
.ring-track { stroke: var(--line-2); }
.ring-fill { stroke: var(--ink); }
.ring-num { font-family: var(--sans); font-size: 22px; font-weight: 800; fill: var(--ink); }
.ring-lbl { font-family: var(--mono); font-size: 8.5px; letter-spacing: 1.2px; fill: var(--muted-2); }
.limit-title .serif { margin-left: .12em; }
.limit-copy { display: flex; flex-direction: column; gap: 6px; }
.limit-title { margin: 0; font-size: 38px; letter-spacing: -0.035em; line-height: 1.05; font-weight: 800; outline: 0; }
.limit-copy p { margin: 0; font-size: 16px; color: var(--muted); }
.limit-copy p b { color: var(--ink); font-size: 15px; }
.limit-cards { display: flex; gap: 20px; width: 100%; align-items: stretch; }
.signup-card { flex: 1.05; background: #0F0F0F; color: #FFFFFF; border-radius: 24px; padding: 26px 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 30px 70px -30px rgba(16,24,40,0.55); position: relative; overflow: hidden; }
:root[data-theme="dark"] .signup-card { background: #000; border: 1px solid var(--line); }
.sc-glow { position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; background: radial-gradient(closest-side, rgba(180,105,31,0.35), transparent); }
.mono-label.on-dark { color: #A9ABB2; font-size: 10.5px; letter-spacing: 0.16em; }
.sc-title { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.sc-title .serif { color: #D4D2CA; }
.sc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sc-list li { position: relative; padding-left: 25px; font-size: 14px; line-height: 1.45; color: #E6E4DE; }
.sc-list li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.sc-actions { display: flex; gap: 10px; margin-top: auto; flex-wrap: wrap; }
.sc-primary { flex: 1.3 1 220px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border-radius: 999px; background: #FFFFFF; color: #0F0F0F; font-size: 14.5px; font-weight: 700; border: 0; cursor: pointer; }
.sc-secondary { flex: 1 1 140px; height: 48px; border-radius: 999px; border: 1px solid #3f3f46; background: transparent; color: #FFFFFF; font-size: 14.5px; font-weight: 600; cursor: pointer; }
.signup-card :focus-visible { outline-color: #fff; }
.also-card { flex: 1; background: var(--bg); border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.also-card .mono-label { font-size: 10.5px; letter-spacing: 0.16em; color: var(--faint); }
.also-title { margin: 0; font-size: 20px; font-weight: 700; letter-spacing: -0.01em; }
.also-item { display: flex; align-items: center; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); text-decoration: none; color: var(--ink); transition: border-color .15s; }
.also-item:hover { border-color: var(--line-strong); color: var(--ink); }
.also-mark { width: 44px; height: 44px; border-radius: 12px; background: var(--invert-bg); color: var(--invert-ink); display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: 0 0 44px; }
.also-text { flex: 1; display: flex; flex-direction: column; gap: 2px; line-height: 1.35; }
.also-text b { font-size: 15px; }
.also-text small { font-size: 12.5px; color: var(--muted-2); }
.also-cta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.offer { font-family: var(--mono); font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; color: var(--amber-ink); background: var(--amber-bg); border: 1px solid var(--amber-line); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.try { font-size: 13px; font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.also-terms { font-size: 12.5px; color: var(--muted-2); line-height: 1.45; margin-top: auto; }
.limit-export { align-self: flex-start; }
.today-list { width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 10px 20px 4px; }
.tl-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 0 8px; flex-wrap: wrap; }
.tl-head b { font-size: 15px; }
.tl-head span { font-size: 12.5px; color: var(--muted-2); }
.today-list ol { list-style: none; margin: 0; padding: 0; }
.today-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--ink-2); }
.tl-n { width: 22px; height: 22px; border-radius: 50%; background: var(--invert-bg); color: var(--invert-ink); display: grid; place-items: center; font-family: var(--mono); font-size: 11px; font-weight: 700; flex: 0 0 22px; }
.tl-q { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-view { background: none; border: 0; padding: 4px; color: var(--muted-2); text-decoration: underline; font-size: 12.5px; cursor: pointer; }
.tl-reset { margin: 0; padding: 10px 0 8px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--muted-2); }

/* toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 80; background: var(--invert-bg); color: var(--invert-ink); padding: 10px 16px; border-radius: 12px; font-size: 14px; box-shadow: var(--shadow-md); max-width: calc(100% - 32px); }
body.is-try .toast { bottom: 190px; }

/* ---------- view transitions ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 300ms; }
::view-transition-group(composer), ::view-transition-group(question) { animation-duration: 350ms; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
::view-transition-old(question) { animation: none; opacity: 0; }
::view-transition-new(question) { animation: none; }
::view-transition-image-pair(composer) { isolation: auto; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .caret, .ghost-caret { animation: none !important; }
  .dots3 span { animation: none !important; opacity: 1; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .shot-side { display: none; }
  .hide-sm { display: none !important; }
  .limit-cards { flex-direction: column; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header { padding: 10px 16px; }
  .wordmark { font-size: 23px; }
  .menu-btn { display: grid; }
  .main-nav {
    display: none; position: absolute; top: calc(100% + 11px); left: -16px; right: -16px; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 12px 14px; box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; font-size: 16px; }
  .btn-dark { padding: 9px 14px; font-size: 14px; }
  .hero { padding: 32px 16px 0; }
  .hero-title { font-size: clamp(32px, 9.2vw, 52px); }
  .lite-pill { font-size: 10px; letter-spacing: 0.08em; white-space: nowrap; }
  .lp-dark { padding: 7px 10px; } .lp-light { padding: 7px 10px; }
  .ghost-hint { display: none !important; }
  .composer-input, .ghost { padding-right: 0; }
  .hero-sub { font-size: 17px; }
  .composer-slot { width: 100%; }
  .composer { padding: 14px 10px 10px 16px; border-radius: 24px; }
  .hide-xs { display: none; }
  .files-lock { padding: 0 11px; }
  .chip-groups { width: calc(100% + 32px); margin: 0 -16px; align-items: stretch; gap: 10px; }
  .chip-group { flex-direction: column; align-items: flex-start; gap: 6px; }
  .chip-label { width: auto; text-align: left; padding-left: 16px; }
  .chip-row { display: flex; width: 100%; overflow-x: auto; padding: 0 16px 4px; scroll-snap-type: x proximity; scrollbar-width: none; }
  .chip-row::-webkit-scrollbar { display: none; }
  .chip { scroll-snap-align: start; flex: none; }
  .hero-links { margin-left: 0; }
  .shot { margin-top: 44px; }
  .shot-frame { min-height: 0; }
  .shot-bar .mono-xs { display: none; }
  .section, .waitlist { padding: 64px 16px; }
  .modes-band { padding: 72px 16px; }
  .provenance { padding: 32px 16px; }
  .modes-copy, .modes-panel, .wl-copy, .wl-form { flex-basis: 100%; }
  .card-grid-3, .card-grid-4, .steps { grid-template-columns: 1fr; }
  .module { padding: 22px; }
  .gantt { grid-template-columns: 110px minmax(0,1fr); }
  .wl-form { padding: 22px; }
  .site-footer { padding: 48px 16px 24px; }
  .try-view { padding: 24px 16px 210px; }
  .dock { padding: 32px 0 0; }
  .dock .composer-wrap { width: 100%; }
  .dock .composer { border-radius: 22px 22px 0 0; border-bottom: 0; }
  .dock .composer-meta { padding: 0 16px 12px; background: var(--surface); margin-top: -10px; padding-top: 6px; }
  body.is-try .lite-badge { display: none !important; }
  body.is-try #brandLink { display: none; }
  .header-actions { gap: 6px; }
  .limit-head { flex-direction: column; text-align: center; }
  .limit-title { font-size: 30px; }
  .speed { margin-left: 0; }
}
