/* Page-specific pieces: the Imago console and journey, the Bud agents, services, the metamorphosis, the demo form. */

/* ── Imago: try a question ────────────────────────────────────────── */
.try { display: grid; gap: clamp(32px, 4vw, 56px); align-items: start; }
@media (min-width: 1040px) { .try { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); } }
.try-side { display: grid; gap: var(--space-3); align-content: start; }
.question-list { display: grid; gap: 10px; list-style: none; }
.question {
  width: 100%; text-align: start; cursor: pointer;
  padding: 14px 16px; border-radius: 4px; border: 1px solid var(--hairline); background: var(--surface);
  font-size: var(--t-16); line-height: 1.45; color: var(--ink); transition: border-color .15s;
}
.question:hover { border-color: var(--accent); }
.question[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }

.console {
  background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  padding: clamp(16px, 2.4vw, 32px); display: grid; gap: 18px; min-height: 560px; align-content: start;
}
.console-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: var(--t-14); color: var(--ink-muted); }
.console-bar img { width: 22px; height: 22px; }
.console-bar .who { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); }
.asked { justify-self: end; max-width: 80%; padding: 12px 16px; border-radius: 4px; background: var(--surface-raised); border: 1px solid var(--hairline); font-size: var(--t-16); }
.progress { list-style: none; display: grid; gap: 8px; font-size: var(--t-14); color: var(--ink-muted); }
.progress li { display: flex; align-items: center; gap: 10px; }
.progress li::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 7px 0 7px 0; border: 2px solid var(--hairline); }
.progress li.is-active::before { border-color: var(--accent); animation: pulse 1s ease-in-out infinite; }
.progress li.is-done { color: var(--ink); }
.progress li.is-done::before { background: var(--morpho-azure); border-color: var(--morpho-azure); }
.progress li.plan { display: grid; gap: 2px; padding-inline-start: 24px; color: var(--ink-muted); }
.progress li.plan::before { display: none; }
.answer {
  background: var(--surface-raised); border: 1px solid var(--hairline);
  border-radius: 40px 4px 40px 4px; padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 20px;
  animation: rise .5s var(--ease-out) both;
}
.answer-text { font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.55; max-width: 64ch; }
.answer-text .num { font-weight: 600; color: var(--accent); }
.answer-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 760px) { .answer-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart text { fill: var(--ink-muted); font-size: 17px; font-family: var(--font-sans); }
.chart .gridline { stroke: var(--hairline); stroke-width: 1; }
.chart .series { fill: none; stroke: var(--morpho-blue); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .bar { fill: var(--morpho-azure); }
.chart .bar.is-key { fill: var(--morpho-blue); }
.chart .dot { fill: var(--ink); }
.chart .callout { fill: var(--ink); font-size: 19px; font-weight: 600; }
:root[data-theme="dark"] .chart .series { stroke: var(--morpho-sky); }
:root[data-theme="dark"] .chart .bar.is-key { fill: var(--morpho-sky); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .chart .series { stroke: var(--morpho-sky); }
  :root:not([data-theme="light"]) .chart .bar.is-key { fill: var(--morpho-sky); }
}
.data-table { width: 100%; border-collapse: collapse; font-size: var(--t-14); }
.data-table th { text-align: start; font-weight: 400; color: var(--ink-muted); padding: 8px 6px; border-bottom: 1px solid var(--hairline); }
.data-table td { padding: 10px 6px; border-bottom: 1px solid var(--hairline); }
.data-table .n { text-align: end; font-variant-numeric: tabular-nums; }
.data-table tr.is-key td { font-weight: 600; }
.answer-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: var(--t-14); color: var(--ink-muted); }
.answer-foot svg { width: 16px; height: 16px; color: var(--accent); }
.answer-foot .checked { display: inline-flex; align-items: center; gap: 6px; }
.sql { font-size: var(--t-14); }
.sql summary { cursor: pointer; color: var(--accent); font-weight: 500; width: max-content; }
.sql pre {
  margin: 12px 0 0; padding: 16px; overflow-x: auto; border-radius: var(--radius-md);
  background: var(--code-ground); border: 1px solid var(--hairline); font-family: var(--font-code); font-size: 13px; line-height: 1.6;
}
.next { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--t-14); color: var(--ink-muted); }
.next button { border: 1px solid var(--hairline); background: var(--surface); border-radius: var(--radius-pill); padding: 8px 14px; cursor: pointer; font-size: var(--t-14); color: var(--ink); }
.next button:hover { border-color: var(--accent); }

/* ── Imago: the journey, with mock-ups that respond ───────────────── */
.journey-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: var(--space-6); counter-reset: j; }
@media (max-width: 760px) { .journey-tabs { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
.journey-tab {
  counter-increment: j; display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 12px 18px; border-radius: var(--radius-md); border: 1px solid var(--hairline);
  background: var(--surface); cursor: pointer; font-size: var(--t-16); font-weight: 500; color: var(--ink-muted);
  transition: border-color .15s, color .15s;
}
.journey-tab::before { content: counter(j); flex: none; width: 32px; height: 32px; display: grid; place-items: center; font-size: var(--t-14); border-radius: 16px 0 16px 0; background: var(--surface-raised); color: var(--ink); }
.journey-tab:hover { border-color: var(--ink-muted); color: var(--ink); }
.journey-tab[aria-selected="true"] { color: var(--ink); border: 2px solid var(--accent); padding: 11px 17px; }
.journey-tab[aria-selected="true"]::before { background: var(--morpho-sky); color: var(--morpho-navy-deep); }
.journey-panel { display: grid; gap: clamp(32px, 4vw, 64px); align-items: center; }
@media (min-width: 980px) { .journey-panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.journey-panel .copy { display: grid; gap: var(--space-3); }

.mock { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius-lg); padding: clamp(16px, 2.2vw, 28px); display: grid; gap: 16px; font-size: var(--t-14); }
.mock-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 500; font-size: var(--t-16); }
.mock table { width: 100%; border-collapse: collapse; }
.mock th { text-align: start; color: var(--ink-muted); font-weight: 400; padding: 6px 4px; border-bottom: 1px solid var(--hairline); }
.mock td { padding: 10px 4px; border-bottom: 1px solid var(--hairline); }
.mock .n { text-align: end; font-variant-numeric: tabular-nums; }
.status { display: inline-flex; align-items: center; gap: 6px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--morpho-azure); }
.checklist { list-style: none; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; animation: rise .3s var(--ease-out) both; }
.checklist svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 2px; }
.check-line { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-md); background: var(--surface-raised); }
.check-line svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 2px; }
.draft { padding: 16px 18px; background: var(--surface-raised); border-radius: var(--radius-ai) 2px var(--radius-ai) 2px; display: grid; gap: 8px; }
.draft .by { font-size: var(--t-13); color: var(--ink-muted); }
.draft p { font-size: var(--t-16); }
.draft textarea { width: 100%; min-height: 96px; padding: 10px 12px; border-radius: 4px; border: 1px solid var(--ink-muted); background: var(--surface); font-size: var(--t-16); resize: vertical; }
.draft.is-approved { border-radius: 4px; background: var(--surface); border: 1px solid var(--hairline); }
.draft.is-rejected p { text-decoration: line-through; color: var(--ink-muted); }
.mock-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.mock-btn { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--ink-muted); background: var(--surface); font-size: var(--t-14); color: var(--ink); cursor: pointer; }
.mock-btn:hover { border-color: var(--ink); }
.mock-btn.primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.mock-btn.primary:hover { background: var(--morpho-navy); border-color: var(--morpho-navy); }
.mock-btn[aria-pressed="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
.mock-note { font-size: var(--t-13); color: var(--ink-muted); }
.col-name { font-family: var(--font-code); font-size: 13px; }
.finding { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--hairline); transition: opacity .2s; }
.finding:last-child { border-bottom: 0; }
.finding b { font-size: var(--t-24); font-weight: 600; letter-spacing: -0.02em; color: var(--accent); grid-row: span 2; min-width: 4.6ch; }
.finding span { color: var(--ink-muted); }
.finding.is-dismissed { opacity: .45; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpi { padding: 14px; border-radius: var(--radius-md); background: var(--surface-raised); display: grid; gap: 4px; animation: rise .35s var(--ease-out) both; }
.kpi b { font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; }
.kpi span { color: var(--ink-muted); font-size: var(--t-13); }
.bars { display: grid; gap: 8px; }
.bars div { display: grid; grid-template-columns: 11ch 1fr 5.5ch; gap: 10px; align-items: center; font-size: var(--t-13); animation: rise .35s var(--ease-out) both; }
.bars i { height: 12px; background: var(--morpho-azure); border-radius: 0 6px 6px 0; }
.bars .n { text-align: end; }
.mini-line svg { width: 100%; height: auto; }
.mini-line polyline { fill: none; stroke: var(--morpho-blue); stroke-width: 2.5; stroke-linejoin: round; }
.mini-line text { fill: var(--ink-muted); font-size: 12px; font-family: var(--font-sans); }
.board-grid { display: grid; gap: 10px; margin-top: 10px; }
@media (min-width: 560px) { .board-grid { grid-template-columns: 1fr 1fr; } }
.board-panel { display: grid; gap: 10px; align-content: start; padding: 14px; border-radius: var(--radius-md); background: var(--surface-raised); animation: rise .35s var(--ease-out) both; }
.board-title { font-size: var(--t-13); font-weight: 500; color: var(--ink-muted); }
.board-panel .bars div { grid-template-columns: 11ch 1fr 5.5ch; }
.board-panel .bars span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-line circle { fill: var(--ink); }
.share { display: flex; gap: 3px; height: 16px; }
.share i { display: block; height: 100%; }
.share i:first-child { border-radius: 8px 0 0 8px; }
.share i:last-child { border-radius: 0 8px 8px 0; }
.s0 { background: var(--morpho-blue); } .s1 { background: var(--morpho-azure); } .s2 { background: var(--morpho-sky); }
:root[data-theme="dark"] .s0 { background: var(--morpho-sky); } :root[data-theme="dark"] .s2 { background: #7fb6e3; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .s0 { background: var(--morpho-sky); } :root:not([data-theme="light"]) .s2 { background: #7fb6e3; } }
.share-key { list-style: none; display: grid; gap: 4px; font-size: var(--t-13); }
.share-key li { display: flex; align-items: center; gap: 8px; }
.share-key li i { width: 10px; height: 10px; border-radius: 5px 0 5px 0; }
.share-key b { margin-inline-start: auto; font-weight: 500; }
.prompt { padding: 12px 14px; border: 1px solid var(--hairline); border-radius: 4px; background: var(--surface-raised); }
.board-empty { padding: 28px; text-align: center; color: var(--ink-muted); border: 1px dashed var(--hairline); border-radius: var(--radius-md); }

/* ── Bud: real recorded agents, in one room ────────────────────────
   The agent in the middle; the conversation and the call's details either side, at eye level. */
.room { background: var(--morpho-navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 40px); display: grid; gap: clamp(20px, 2.4vw, 28px); }
:root[data-theme="dark"] .room { background: #222842; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .room { background: #222842; } }
.cast { display: flex; justify-content: center; gap: clamp(16px, 3vw, 32px); flex-wrap: wrap; list-style: none; }
.cast button { display: grid; justify-items: center; gap: 6px; padding: 0; border: 0; background: transparent; cursor: pointer; font-size: var(--t-14); color: var(--morpho-mist); }
.cast img { width: 64px; height: 64px; object-fit: cover; border-radius: 32px 4px 32px 4px; border: 3px solid transparent; transition: border-color .15s; }
.cast button:hover img { border-color: rgba(255, 255, 255, .3); }
.cast button[aria-pressed="true"] { color: #fff; font-weight: 500; }
.cast button[aria-pressed="true"] img { border-color: var(--morpho-sky); }
.room button:focus-visible { outline-color: var(--morpho-sky); }
.room-grid { display: grid; gap: 20px; grid-template-areas: "center" "chat" "insight"; }
@media (min-width: 1000px) {
  .room-grid { grid-template-columns: minmax(0, 1fr) minmax(340px, 440px) minmax(0, 1fr); grid-template-areas: "chat center insight"; align-items: center; gap: clamp(24px, 3vw, 44px); }
}
.room-center { grid-area: center; display: grid; gap: 14px; justify-items: center; }
.room-chat { grid-area: chat; }
.room-insight { grid-area: insight; }
.room-side { display: grid; gap: 14px; align-content: start; padding: 18px; border-radius: var(--radius-md); background: rgba(255, 255, 255, .06); }
.room-label { font-size: var(--t-14); font-weight: 500; color: var(--morpho-mist); }
.call-head { display: grid; justify-items: center; gap: 2px; text-align: center; }
.call-head b { font-size: var(--t-24); font-weight: 600; }
.call-head span { color: var(--morpho-mist); font-size: var(--t-14); }
.agent-stage { position: relative; width: 100%; max-width: 440px; aspect-ratio: 1; overflow: hidden; isolation: isolate; transform: translateZ(0); border-radius: 104px 12px 104px 12px; background: var(--morpho-azure); }
.agent-stage video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.stage-controls {
  position: absolute; z-index: 1; left: 50%; bottom: 16px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px; padding: 6px;
  border-radius: var(--radius-pill); background: rgba(37, 43, 70, .72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.stage-nav, .stage-play { display: grid; place-items: center; border: 0; cursor: pointer; border-radius: 50%; }
.stage-nav { width: 40px; height: 40px; background: transparent; color: #fff; }
.stage-nav:hover { background: rgba(255, 255, 255, .16); }
.stage-nav svg { width: 22px; height: 22px; }
.stage-play { width: 54px; height: 54px; background: var(--morpho-sky); color: var(--morpho-navy-deep); transition: transform .15s; }
.stage-play:hover { transform: scale(1.05); background: #fff; }
.stage-play svg { width: 22px; height: 22px; }
.caption-line { min-height: 3.2em; font-size: clamp(1.0625rem, 1rem + .45vw, 1.3125rem); line-height: 1.45; text-align: center; max-width: 30ch; font-weight: 500; }
.caption-line .later { opacity: .35; }
.caption-line .translation { display: block; margin-top: 6px; font-size: var(--t-14); font-weight: 400; color: var(--morpho-mist); }
.langs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.langs[hidden] { display: none; }
.langs button { border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; border-radius: var(--radius-pill); padding: 6px 14px; font-size: var(--t-14); cursor: pointer; }
.langs button[aria-pressed="true"] { background: #fff; color: var(--morpho-navy-deep); border-color: #fff; }
.call-note { text-align: center; font-size: var(--t-14); color: var(--morpho-mist); }
.thread { display: grid; gap: 10px; }
.context-line { display: flex; gap: 10px; align-items: flex-start; font-size: var(--t-14); color: var(--morpho-mist); }
.context-line svg { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.bubble { max-width: 92%; padding: 11px 15px; font-size: var(--t-16); line-height: 1.5; animation: rise .35s var(--ease-out) both; }
.bubble.person { justify-self: end; background: #fff; color: var(--morpho-navy-deep); border-radius: 4px; }
.bubble.agent { justify-self: start; background: rgba(172, 219, 252, .16); color: #fff; border-radius: var(--radius-ai) 2px var(--radius-ai) 2px; }
.bubble .translation { display: block; color: var(--morpho-mist); font-size: var(--t-14); margin-top: 4px; }
.dots { display: inline-flex; gap: 5px; padding-block: 6px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--morpho-sky); animation: blink 1.2s infinite ease-in-out; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.insights { display: grid; }
.insights div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.insights div:last-child { border-bottom: 0; }
.insights dt { color: var(--morpho-mist); font-size: var(--t-14); }
.insights dd { text-align: end; font-size: var(--t-14); font-weight: 500; }

.kinds { display: grid; gap: var(--space-4); }
@media (min-width: 820px) { .kinds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); } }
.kind { display: grid; gap: 12px; align-content: start; padding-top: var(--space-3); border-top: 2px solid var(--ink); }
.kind svg { width: 28px; height: 28px; color: var(--accent); }
.kind p { color: var(--ink-muted); }

.build-steps { list-style: none; display: grid; gap: clamp(56px, 7vw, 112px); }
.build-step { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (min-width: 980px) {
  .build-step { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .build-step:nth-child(even) { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .build-step:nth-child(even) .shot { order: -1; }
}
.build-step .copy { display: grid; gap: 14px; align-content: start; }
.build-step .num { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 22px 0 22px 0; background: var(--morpho-sky); color: var(--morpho-navy-deep); font-weight: 600; }
.shot { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--hairline); background: var(--surface-raised); }
.shot img { width: 100%; height: auto; }
.split { display: grid; gap: clamp(32px, 4vw, 64px); align-items: center; }
@media (min-width: 980px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

.channels { display: grid; border-top: 1px solid var(--hairline); }
@media (min-width: 720px) { .channels { grid-template-columns: 1fr 1fr; column-gap: var(--space-6); } }
.channels > div { display: grid; grid-template-columns: 28px 1fr; gap: 4px 16px; padding: 22px 0; border-bottom: 1px solid var(--hairline); }
.channels svg { width: 24px; height: 24px; color: var(--accent); grid-row: span 2; margin-top: 2px; }
.channels dt { font-weight: 500; font-size: var(--t-18); }
.channels dd { color: var(--ink-muted); font-size: var(--t-16); }
.badge { display: inline-block; margin-inline-start: 8px; padding: 2px 10px; border-radius: var(--radius-pill); font-size: var(--t-13); font-weight: 500; background: var(--morpho-sky); color: var(--morpho-navy-deep); vertical-align: 2px; }

/* ── Services ─────────────────────────────────────────────────────── */
.finder { display: grid; gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 980px) { .finder { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.goals { display: grid; gap: 10px; list-style: none; }
.goal { width: 100%; text-align: start; padding: 16px 18px; cursor: pointer; border-radius: 4px; border: 1px solid var(--hairline); background: var(--surface); font-size: var(--t-18); color: var(--ink); }
.goal:hover { border-color: var(--accent); }
.goal[aria-pressed="true"] { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.route { background: var(--surface); border: 1px solid var(--hairline); border-radius: 48px 4px 48px 4px; padding: clamp(20px, 3vw, 40px); display: grid; gap: 22px; align-content: start; }
.route .h3 { font-weight: 600; font-size: clamp(1.375rem, 1.1rem + .8vw, 1.875rem); letter-spacing: -0.02em; }
.route ol { list-style: none; display: grid; counter-reset: r; border-top: 1px solid var(--hairline); }
.route li { counter-increment: r; display: grid; grid-template-columns: 36px 1fr; gap: 4px 14px; padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.route li::before { content: counter(r); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 15px 0 15px 0; background: var(--morpho-sky); color: var(--morpho-navy-deep); font-weight: 600; font-size: var(--t-14); grid-row: span 2; }
.route li b { font-weight: 500; }
.route li span { color: var(--ink-muted); font-size: var(--t-16); }

.practice-block { display: grid; gap: clamp(24px, 4vw, 64px); padding-block: clamp(48px, 6vw, 88px); border-top: 1px solid var(--hairline); scroll-margin-top: 80px; }
.practice-block:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 980px) { .practice-block { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.practice-block .copy { display: grid; gap: 18px; align-content: start; }
.practice-block .h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
.example { margin-top: var(--space-1); padding: 18px 20px; border-radius: var(--radius-md); background: var(--surface-raised); font-size: var(--t-16); }
.example b { font-weight: 500; display: block; margin-bottom: 4px; }
.outcomes { list-style: none; display: grid; gap: 8px; margin-top: var(--space-2); }
.outcomes li { display: flex; gap: 10px; font-size: var(--t-16); }
.outcomes svg { width: 18px; height: 18px; flex: none; color: var(--accent); margin-top: 4px; }
.models { display: grid; border-top: 1px solid var(--hairline); }
@media (min-width: 720px) { .models { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-6); } }
@media (min-width: 1100px) { .models { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.models > div { padding: 24px 0; border-bottom: 1px solid var(--hairline); display: grid; gap: 8px; align-content: start; }
.models dt { font-size: var(--t-18); font-weight: 600; }
.models dd { color: var(--ink-muted); font-size: var(--t-16); }

/* the brand's title slide: four flat petals bleeding off the right edge, never under the text.
   Coordinates are the template's (1920×1080), taken from its right-hand 768 × 1080 region. */
.title-hero { position: relative; overflow: hidden; }
.title-hero .wrap { position: relative; z-index: 1; }
.title-copy { max-width: 640px; }
.title-art { position: absolute; top: 0; bottom: 0; right: 0; aspect-ratio: 768 / 1080; container-type: size; pointer-events: none; }
.tp { position: absolute; display: block; }
.tp.navy  { left: 6.25%; top: -7.4%; width: 67.7%; height: 51.9%; background: var(--petal-deep); border-radius: 14.8cqh 0 14.8cqh 0; }
.tp.blue  { left: 77.1%; top: 11.1%; width: 41.7%; height: 37%;   background: var(--morpho-blue); border-radius: 0 14.8cqh 0 14.8cqh; }
.tp.sky   { left: 6.25%; top: 46.7%; width: 46.9%; height: 38.9%; background: var(--morpho-sky); border-radius: 0 14.8cqh 0 14.8cqh; }
.tp.azure { left: 56.25%; top: 50.4%; width: 54.7%; height: 57.4%; background: var(--morpho-azure); border-radius: 14.8cqh 0 14.8cqh 0; }
@media (max-width: 1199px) { .title-art { display: none; } }

/* ── Use cases page: how an agent works ───────────────────────────── */
.agent-loop { list-style: none; display: grid; gap: var(--space-3); counter-reset: a; }
@media (min-width: 900px) { .agent-loop { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.agent-loop li { display: grid; gap: 10px; align-content: start; padding: 22px; border-radius: 4px; border: 1px solid var(--hairline); background: var(--surface); counter-increment: a; }
.agent-loop li::before { content: counter(a); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 16px 0 16px 0; background: var(--morpho-sky); color: var(--morpho-navy-deep); font-weight: 600; font-size: var(--t-14); }
.agent-loop li.human { border: 2px solid var(--ink); }
.agent-loop li.human::before { background: var(--ink); color: var(--surface); }
.agent-loop p { color: var(--ink-muted); font-size: var(--t-16); }

/* ── Company: the name, set like the brand's closing slide ────────── */
.name-grid { display: grid; gap: clamp(40px, 6vw, 96px); align-items: center; }
@media (min-width: 900px) { .name-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } }
.name-copy { display: grid; gap: var(--space-3); }
.name-copy i { font-style: normal; color: var(--morpho-sky); }
.name-art { position: relative; container-type: inline-size; width: min(100%, 460px); aspect-ratio: 1; justify-self: center; }
.name-petal { position: absolute; display: block; }
.name-petal.white { left: 4%; top: 16%; width: 66%; height: 66%; background: #fff; border-radius: 22cqi 0 22cqi 0; display: grid; place-items: center; }
.name-petal.white img { width: 66%; height: auto; }
.name-petal.blue { right: 0; top: 0; width: 36%; height: 36%; background: var(--morpho-blue); border-radius: 0 12cqi 0 12cqi; }
.name-petal.sky { right: 8%; bottom: 0; width: 26%; height: 32%; background: var(--morpho-sky); border-radius: 0 9cqi 0 9cqi; }

.principles { list-style: none; display: grid; border-top: 1px solid var(--hairline); }
.principles li { display: grid; gap: 8px 48px; padding: 28px 0; border-bottom: 1px solid var(--hairline); }
@media (min-width: 820px) { .principles li { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.principles b { font-size: var(--t-24); font-weight: 500; letter-spacing: -0.01em; line-height: 1.3; }
.principles span { color: var(--ink-muted); max-width: 58ch; }
.sites { display: grid; gap: var(--space-4); }
@media (min-width: 820px) { .sites { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); } }
.sites a { display: grid; gap: 10px; align-content: start; text-decoration: none; color: var(--ink); }
.sites a:hover b { text-decoration: underline; }
/* each logo on a white petal, as the brand places its logo on navy */
.site-logo { display: grid; place-items: center; height: 136px; margin-bottom: 8px; background: #fff; border-radius: 48px 6px 48px 6px; transition: transform .2s var(--ease-out); }
.sites a:hover .site-logo { transform: translateY(-3px); }
.sites a:focus-visible { outline: none; }
.sites a:focus-visible .site-logo { outline: 3px solid var(--morpho-sky); outline-offset: 4px; }
.lockup { display: inline-flex; align-items: center; gap: 12px; color: var(--morpho-navy); }
.lockup-morpho { font: 600 30px/1 var(--font-sans); letter-spacing: -0.015em; }
.lockup-morpho img { width: 54px; height: auto; }
.lockup-imago { height: 44px; width: auto; }
.lockup-bud { font: 600 28px/1 "Alexandria", "Readex Pro", system-ui, sans-serif; letter-spacing: -0.02em; gap: 10px; }
.lockup-bud strong { font-weight: 800; }
.lockup-bud img { width: 40px; height: 40px; }
.sites b { font-weight: 500; font-size: var(--t-18); color: var(--accent); }
.sites a > span:not(.site-logo) { color: var(--ink-muted); font-size: var(--t-16); }

/* ── Demo request ─────────────────────────────────────────────────── */
.demo-grid { display: grid; gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (min-width: 1040px) { .demo-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.demo-hero { padding-bottom: 40px; }
.demo-body { padding-top: 0; }
.stepper { list-style: none; display: flex; gap: 6px; margin-bottom: var(--space-4); counter-reset: s; flex-wrap: wrap; }
.stepper li { counter-increment: s; display: flex; align-items: center; gap: 8px; font-size: var(--t-14); color: var(--ink-muted); padding-inline-end: 14px; }
.stepper li::before { content: counter(s); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 14px 0 14px 0; border: 2px solid var(--hairline); font-weight: 600; font-size: var(--t-13); }
.stepper li.is-current { color: var(--ink); font-weight: 500; }
.stepper li.is-current::before { border-color: var(--accent); color: var(--accent); }
.stepper li.is-done::before { content: "✓"; background: var(--morpho-azure); border-color: var(--morpho-azure); color: #fff; }
.form-step { display: grid; gap: var(--space-4); border: 0; padding: 0; margin: 0; min-width: 0; }
.form-step legend { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; padding: 0; margin-bottom: var(--space-3); }
.choices { display: grid; gap: 12px; }
@media (min-width: 720px) { .choices { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.choice { position: relative; display: grid; gap: 10px; align-content: start; padding: 20px; border: 2px solid var(--hairline); border-radius: var(--radius-lg); cursor: pointer; transition: border-color .15s; }
.choice:hover { border-color: var(--ink-muted); }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--surface-raised); }
.choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
.choice img, .choice .glyph { width: 36px; height: 36px; }
.choice .glyph { color: var(--accent); }
.choice b { font-size: var(--t-18); font-weight: 600; }
.choice span { color: var(--ink-muted); font-size: var(--t-14); line-height: 1.5; }
.choice .tick { position: absolute; top: 16px; inset-inline-end: 16px; width: 24px; height: 24px; border-radius: 12px 0 12px 0; border: 2px solid var(--hairline); display: grid; place-items: center; color: transparent; }
.choice .tick svg { width: 14px; height: 14px; }
.choice:has(input:checked) .tick { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.fields { display: grid; gap: 18px 20px; }
@media (min-width: 720px) { .fields { grid-template-columns: 1fr 1fr; } .fields .wide { grid-column: 1 / -1; } }
.field { display: grid; gap: 8px; align-content: start; }
.field label, .field .label { font-size: var(--t-16); font-weight: 500; }
.field .hint { font-size: var(--t-14); color: var(--ink-muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--radius-md); border: 1px solid var(--ink-muted); background: var(--surface); font-size: var(--t-16); }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.error { font-size: var(--t-14); color: #b3261e; }
:root[data-theme="dark"] .error { color: #ffb4ab; }
:root[data-theme="dark"] .field [aria-invalid="true"] { border-color: #ffb4ab; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .error { color: #ffb4ab; }
  :root:not([data-theme="light"]) .field [aria-invalid="true"] { border-color: #ffb4ab; }
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-check { position: relative; display: inline-flex; }
.tag-check input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.tag-check span { display: inline-flex; padding: 8px 14px; border-radius: var(--radius-pill); border: 1px solid var(--ink-muted); font-size: var(--t-14); }
.tag-check input:checked + span { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.tag-check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.context-group { display: grid; gap: 18px; padding: 20px; border-radius: var(--radius-lg); background: var(--surface-raised); }
.context-group h3 { font-size: var(--t-18); font-weight: 600; display: flex; align-items: center; gap: 10px; }
.context-group h3 img, .context-group h3 svg { width: 24px; height: 24px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.send-error { display: grid; gap: 10px; justify-items: start; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--hairline); }
.form-nav .btn-primary { margin-inline-start: auto; }
.review { display: grid; border-top: 1px solid var(--hairline); }
.review div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--hairline); font-size: var(--t-16); }
.review dt { color: var(--ink-muted); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-14); color: var(--ink-muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--morpho-blue); flex: none; }
.done { display: grid; gap: var(--space-3); padding: clamp(24px, 4vw, 48px); border-radius: 64px 4px 64px 4px; background: var(--surface-raised); }
.done .h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
.aside { display: grid; gap: var(--space-4); align-content: start; position: sticky; top: 104px; }
.aside ol { list-style: none; display: grid; counter-reset: a; border-top: 1px solid var(--hairline); }
.aside li { counter-increment: a; display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--hairline); font-size: var(--t-16); }
.aside li::before { content: counter(a); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 14px 0 14px 0; background: var(--morpho-sky); color: var(--morpho-navy-deep); font-weight: 600; font-size: var(--t-13); }
.aside li span { color: var(--ink-muted); }
@media (max-width: 1039px) { .aside { position: static; } }
.choice .soon { color: var(--morpho-navy-deep); font-size: var(--t-13); line-height: 1.5; }
