@font-face {
  font-family: "Archivo";
  src: url("./fonts/archivo-expanded-black-latin.woff2") format("woff2");
  font-weight: 900;
  font-stretch: 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("./fonts/bricolage-grotesque-latin-opsz.woff2") format("woff2-variations"),
       url("./fonts/bricolage-grotesque-latin-opsz.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("./fonts/jetbrains-mono-latin-wght.woff2") format("woff2-variations"),
       url("./fonts/jetbrains-mono-latin-wght.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0E0C0B;
  --raised: #171412;
  --window: #141110;
  --well: #1C1816;
  --ink: #F4F1EC;
  --soft: #D9D4CC;
  --muted: #A39E97;
  --faint: #8C867E;
  --rule: #2A2522;
  --rule-strong: #3A332F;

  /* Heat labels retain their meaning; warm accents also identify the brand and primary actions. */
  --accent: #F3A36A;
  --accent-ink: #21130B;
  --raw: #8FBFA6;
  --warming: #E3A93B;
  --toasty: #E57A35;
  --cooked: #F0705A;
  --welldone: #DFA3C8;
  --heat-gradient: linear-gradient(90deg, var(--raw) 0%, var(--raw) 8%, var(--warming) 25%, var(--toasty) 45%, var(--cooked) 66%, var(--welldone) 90%, var(--welldone) 100%);

  --display: "Archivo", "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --sans: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);

  /* One easing family for the whole page: strong ease-out for entering, strong ease-in-out for on-screen moves */
  --out: cubic-bezier(0.23, 1, 0.32, 1);
  --in-out: cubic-bezier(0.77, 0, 0.175, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 768px) { body { font-size: 1.125rem; } }

h1, h2, p, ol, ul, figure { margin: 0; }
p, li { text-wrap: pretty; }
code { font-family: var(--mono); font-size: 0.875em; }
a { color: var(--ink); text-underline-offset: 0.2em; text-decoration-color: var(--faint); }
a:hover { text-decoration-color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ink); color: var(--bg); }

.wrap { width: 100%; max-width: calc(1120px + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.no-js .js-only { display: none !important; }

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 10;
  padding: 12px 16px; border-radius: 10px;
  background: var(--ink); color: var(--bg); text-decoration: none;
}
.skip:focus { top: 12px; }
.skip:hover { color: var(--bg); }

/* Entrance: one wave on load. The headline leads, the window lands last. */

@keyframes rise {
  from { opacity: 0; transform: translateY(var(--rise, 12px)); filter: blur(var(--blur, 0)); }
}
.js .enter { animation: rise var(--dur, 600ms) var(--out) var(--delay, 0ms) both; }
.js .enter-1 { --rise: 12px; --blur: 6px; --dur: 680ms; }
.js .enter-2 { --rise: 8px; --dur: 560ms; --delay: 90ms; }
.js .enter-3 { --rise: 6px; --dur: 520ms; --delay: 170ms; }
.js .enter-4 { --rise: 16px; --dur: 820ms; --delay: 300ms; }

/* Hero: centered and quiet. One soft light from above, the question, one box to copy from. */

.hero { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: clamp(72px, 14vh, 152px) clamp(48px, 7vw, 88px); }
.hero::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -30vh; width: min(1100px, 100vw); height: 80vh; margin-left: calc(min(1100px, 100vw) / -2);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(244, 241, 236, 0.075), transparent); pointer-events: none;
}
h1 {
  font-family: var(--display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(2.75rem, 8vw, 6rem); line-height: 0.95; letter-spacing: -0.035em;
  text-wrap: balance;
}
.eyebrow {
  margin-bottom: 20px; padding: 6px 12px; border: 1px solid var(--rule-strong); border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; line-height: 1.3; color: var(--soft);
}
.lede { margin-top: 24px; max-width: 30ch; font-size: clamp(1.1875rem, 2vw, 1.375rem); line-height: 1.4; color: var(--muted); text-wrap: balance; }

.get { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; max-width: 600px; margin-top: 44px; }
.get .cmd { width: 100%; text-align: left; }
.tab-panel { display: flex; flex-direction: column; gap: 10px; width: 100%; min-width: 0; }
.tab-panel[hidden] { display: none; }
.panel-hint { font-size: 0.8125rem; color: var(--muted); text-align: center; }
/* The agent prompt shows one line like the commands; the full text is a click away (copy always takes all of it) */
.js .cmd-prompt:not(.is-open) code { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.text-button { appearance: none; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; color: var(--soft); text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 0.2em; }
.text-button:hover { color: var(--ink); text-decoration-color: var(--ink); }

.segmented { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--raised); border: 1px solid var(--rule); }
.segmented button {
  appearance: none; min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; cursor: pointer; white-space: nowrap;
  font: 600 0.8125rem/1.3 var(--sans); color: var(--muted); background: transparent;
  transition: background-color 200ms var(--out), color 200ms var(--out), transform 160ms var(--out);
}
.segmented button:hover { color: var(--ink); }
@media (max-width: 420px) { .segmented button { padding: 0 10px; } }
.segmented [aria-selected="true"], .segmented [aria-pressed="true"] { color: var(--ink); background: var(--rule-strong); }

.cmd {
  display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px;
  border-radius: 12px; background: var(--raised); border: 1px solid var(--rule);
}
.cmd[hidden] { display: none; }
.cmd code { flex: 1; min-width: 0; padding-block: 10px; font-size: 0.875rem; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.cmd-prompt code { color: var(--soft); }
/* Open, the prompt keeps its line breaks so each command sits on its own line */
.cmd-prompt.is-open code, .no-js .cmd-prompt code { white-space: pre-wrap; }

.icon-button {
  appearance: none; flex: none; position: relative; display: inline-grid; place-items: center;
  width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; cursor: pointer; color: var(--muted);
  transition: color 160ms var(--out), background-color 160ms var(--out), transform 160ms var(--out);
}
.icon-button:hover { color: var(--ink); background: var(--well); }
.icon-button svg { grid-area: 1 / 1; width: 18px; height: 18px; transition: opacity 160ms var(--out), transform 160ms var(--out); }
.icon-button .i-check, .icon-button.is-done .i-copy { opacity: 0; transform: scale(0.9); }

/* Every pressable thing acknowledges the press */
.icon-button:active, .segmented button:active, .with-toggle:active { transform: scale(0.97); }
.icon-button.is-done .i-check { opacity: 1; transform: none; color: var(--ink); }

.trust a { color: var(--muted); }
.trust { margin-top: 10px; text-align: center; font-size: 0.875rem; color: var(--faint); }

/* The window: a generic AI chat app replaying real questions */

.showcase { padding-bottom: clamp(72px, 10vw, 128px); }
.window {
  container-type: inline-size;
  max-width: 1040px; margin-inline: auto;
  border: 1px solid var(--rule); border-radius: 20px; background: var(--window);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 12px 32px -16px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.window-bar { display: flex; align-items: center; gap: 16px; padding: 8px 10px 8px 16px; border-bottom: 1px solid var(--rule); }
.dots { display: inline-flex; gap: 6px; }
.dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--rule-strong); }
.window-title { font-size: 0.8125rem; font-weight: 600; color: var(--muted); }
.bar-end { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; }

.with-toggle {
  appearance: none; position: relative; display: inline-grid; grid-template-columns: auto auto; align-items: center;
  min-height: 36px; padding: 3px; border-radius: 999px; border: 1px solid var(--rule); background: var(--raised); cursor: pointer;
  font: 600 0.8125rem/1.3 var(--sans);
  transition: transform 160ms var(--out);
}
.with-toggle span { position: relative; z-index: 1; padding: 6px 12px; border-radius: 999px; color: var(--faint); transition: color 220ms var(--out); }
/* A full-size pill, clipped to the active label: slides and resizes without reflowing anything */
.with-toggle::before {
  content: ""; position: absolute; inset: 3px; border-radius: 999px; background: var(--rule-strong);
  clip-path: inset(0 var(--pill-r, 50%) 0 var(--pill-l, 0) round 999px);
  transition: clip-path 240ms var(--out);
}
.with-toggle[aria-checked="true"] .with-on, .with-toggle[aria-checked="false"] .with-off { color: var(--ink); }

.play .i-play, .play[data-paused="true"] .i-pause { opacity: 0; transform: scale(0.9); }
.play[data-paused="true"] .i-play { opacity: 1; transform: none; }

.window-body { display: grid; grid-template-columns: 220px minmax(0, 1fr); }
.rail { padding: 16px 10px; border-right: 1px solid var(--rule); }
.rail-title { padding: 0 10px 8px; font-size: 0.8125rem; font-weight: 600; color: var(--faint); }
.rail ul { list-style: none; padding: 0; }
.rail button {
  appearance: none; position: relative; display: block; width: 100%; min-height: 40px; padding: 8px 10px; border: 0; border-radius: 8px;
  text-align: left; cursor: pointer; font: 500 0.875rem/1.35 var(--sans); color: var(--muted); background: transparent;
  transition: background-color 200ms var(--out), color 200ms var(--out);
}
.rail button:hover { color: var(--ink); }
.rail button[aria-current="true"] { color: var(--ink); background: var(--well); }
.rail-progress {
  position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; border-radius: 1px;
  background: var(--rule-strong); transform-origin: left; transform: scaleX(0);
}

.chat { display: flex; flex-direction: column; min-width: 0; padding: 24px 28px 20px; }
.thread { flex: 1; min-height: var(--thread-h, 300px); display: flex; flex-direction: column; gap: 16px; }
.thread.is-leaving > * { opacity: 0; transform: translateY(-6px); transition: opacity 200ms var(--out), transform 200ms var(--out); }

.msg-user {
  align-self: flex-end; max-width: 80%; padding: 10px 16px;
  border-radius: 18px; border-bottom-right-radius: 6px; background: var(--rule); font-weight: 500; line-height: 1.4;
}
.tool { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 0.875rem; color: var(--muted); }
.tool svg { width: 16px; height: 16px; flex: none; color: var(--faint); }
.tool code { padding: 1px 6px; border-radius: 5px; background: var(--well); color: var(--soft); font-size: 0.8125rem; }
.tool-note { color: var(--faint); }
.tool svg { transform: scale(0.9); opacity: 0; transition: transform 200ms var(--out), opacity 200ms var(--out); }
.tool.is-done svg { transform: none; opacity: 1; }
/* While the tool runs, a band of brightness sweeps across its label (a mask over plain text) */
.tool.is-running > span:first-of-type {
  color: var(--ink);
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.55) 35%, #000 50%, rgba(0, 0, 0, 0.55) 65%, rgba(0, 0, 0, 0.55) 100%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.55) 35%, #000 50%, rgba(0, 0, 0, 0.55) 65%, rgba(0, 0, 0, 0.55) 100%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%;
  animation: sweep 1.2s linear infinite;
}
@keyframes sweep { from { -webkit-mask-position: 100% 0; mask-position: 100% 0; } to { -webkit-mask-position: 0 0; mask-position: 0 0; } }

/* Replies look like ordinary chat text: paragraphs, bold and lists, the way an AI actually answers */
.answer { display: flex; flex-direction: column; gap: 12px; max-width: 62ch; color: var(--soft); }
.answer strong { color: var(--ink); font-weight: 700; }
.reply-list { margin: 0; padding-left: 1.5em; display: flex; flex-direction: column; gap: 6px; }
.reply-list li { padding-left: 4px; }
.reply-list li::marker { color: var(--faint); }
/* A rendered video, shown the way chat apps show an attachment: thumbnail, play button, length, file name */
.video { margin: 0; display: flex; flex-direction: column; gap: 8px; width: min(100%, 300px); }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid var(--rule-strong); background: linear-gradient(160deg, #1F1A2E, #141110 70%); }
.video-slide { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-slide .edges path { stroke: #4A4253; stroke-width: 2; fill: none; }
.video-slide .route { stroke: var(--warming); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.video-slide .nodes circle { fill: #2A2438; stroke: #8E80B8; stroke-width: 2; }
.video-title { position: absolute; top: 9px; left: 11px; font-size: 0.6875rem; font-weight: 600; color: var(--soft); letter-spacing: 0.01em; }
.video-length { position: absolute; right: 8px; bottom: 8px; padding: 1px 6px; border-radius: 5px; background: rgba(0, 0, 0, 0.6); color: var(--ink); font-size: 0.6875rem; font-variant-numeric: tabular-nums; }
.video-play { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; display: grid; place-items: center; border-radius: 50%; background: rgba(14, 12, 11, 0.55); border: 1px solid rgba(244, 241, 236, 0.25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: var(--ink); }
.video-play svg { width: 18px; height: 18px; margin-left: 2px; }
.video figcaption { font-size: 0.8125rem; color: var(--muted); }
.bullets { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bullets li { position: relative; padding-left: 18px; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: 0.75em; width: 6px; height: 1.5px; background: var(--faint); }

/* Streaming reveal: words (and whole list lines) fade up and un-blur */
.w { display: inline-block; opacity: 0; transform: translateY(4px); filter: blur(4px); transition: opacity 320ms var(--out), transform 320ms var(--out), filter 320ms var(--out); }
.w.is-in { opacity: 1; transform: none; filter: none; }
.line { opacity: 0; transform: translateY(4px); transition: opacity 300ms var(--out), transform 300ms var(--out); }
.line.is-in { opacity: 1; transform: none; }
.pop { opacity: 0; transform: translateY(6px); transition: opacity 260ms var(--out), transform 260ms var(--out); }
.pop.is-in { opacity: 1; transform: none; }

.composer {
  display: flex; align-items: center; gap: 8px; margin-top: 16px; min-height: 48px; padding: 6px 6px 6px 16px;
  border-radius: 14px; border: 1px solid var(--rule); background: var(--raised); color: var(--ink);
}
.composer-text:empty + .composer-placeholder { display: inline; }
.composer-placeholder { display: none; color: var(--faint); }
.composer-text { white-space: pre; overflow: hidden; }
.composer-send { margin-left: auto; width: 32px; height: 32px; padding: 7px; border-radius: 9px; background: var(--rule); color: var(--muted); transition: background-color 200ms var(--out), color 200ms var(--out); }
.composer.has-text .composer-send { background: var(--ink); color: var(--bg); }

/* The chat list follows the window's own width, so it works both full width and beside the hero copy */
@container (max-width: 760px) { .window-body { grid-template-columns: 190px minmax(0, 1fr); } }
@container (max-width: 600px) {
  .window-body { grid-template-columns: minmax(0, 1fr); }
  .rail { display: none; }
  .chat { padding: 18px 16px 14px; }
}
@media (max-width: 760px) { .with-toggle span { padding: 6px 9px; } }
.window-title, .with-toggle span { white-space: nowrap; }
@container (max-width: 420px) { .window-title { display: none; } }

/* Band: how it works */

.workflows { padding-bottom: clamp(52px, 7vw, 88px); }
.workflows h2 {
  margin-bottom: 24px; font-family: var(--display); font-weight: 900; font-stretch: 125%;
  font-size: clamp(1.75rem, 4vw, 2.75rem); line-height: 1.1; letter-spacing: -0.03em;
}
.workflow-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.workflow-grid li {
  display: flex; flex-direction: column; gap: 12px; padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--rule); border-radius: 16px; background: var(--raised);
}
.workflow-grid h3 { margin: 0; font-size: 1.125rem; line-height: 1.3; }
.workflow-grid p { font-size: 0.9375rem; color: var(--muted); }
.workflow-grid .workflow-prompt {
  margin-top: auto; padding: 10px 12px; border-radius: 10px; background: var(--well);
  font: 0.8125rem/1.55 var(--mono); color: var(--soft);
}
@media (max-width: 760px) { .workflow-grid { grid-template-columns: minmax(0, 1fr); } }

.band { padding-bottom: clamp(64px, 9vw, 112px); }
.steps, .promises { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 32px; }
.steps { padding-top: 32px; padding-bottom: 32px; border-top: 1px solid var(--rule); }
.steps li { font-size: 1.1875rem; font-weight: 700; line-height: 1.35; }
.num {
  display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 12px; border-radius: 50%;
  border: 1px solid var(--rule-strong); font-family: var(--mono); font-size: 0.8125rem; font-weight: 400; color: var(--muted); vertical-align: 2px;
}
.promises { padding-top: 32px; border-top: 1px solid var(--rule); }
.promises li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.promises svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--soft); }
.promises b { display: block; color: var(--ink); font-weight: 700; }
@media (max-width: 760px) { .steps, .promises { grid-template-columns: minmax(0, 1fr); } }

.site-footer { padding-block: 32px 48px; border-top: 1px solid var(--rule); display: grid; gap: 10px; font-size: 0.875rem; color: var(--muted); }
.agent-note { color: var(--soft); }
.legal { font-size: 0.8125rem; color: var(--faint); }
.legal a { color: var(--muted); }

/* Reduced motion: keep the fades that explain what changed, drop movement, blur and glides */
@keyframes fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .js .enter { animation: fade 200ms var(--out) both; }
  .tool.is-running > span:first-of-type { animation: none; -webkit-mask-image: none; mask-image: none; color: var(--muted); }
  .w, .line, .pop, .thread.is-leaving > *, .tool svg, .icon-button svg { filter: none !important; transform: none !important; }
  .with-toggle::before { transition: none; }
  .icon-button:active, .segmented button:active, .with-toggle:active { transform: none; }
}

/* Mobile preview: preserve the desktop structure and styling. */
.mobile-copy, .mobile-handoff, .mobile-title-break, .mobile-utilities { display: none; }
/* Keep a real width constraint: display: contents lets the single-line agent prompt widen every setup panel. */
.install-details { display: block; width: 100%; min-width: 0; }
.install-options { display: flex; flex-direction: column; gap: 14px; align-items: center; width: 100%; min-width: 0; }
.install-details > summary { display: none; }
@media (max-width: 600px) {
  .desktop-copy { display: none; }
  .mobile-copy { display: inline; }
  .mobile-title-break { display: block; }
  .hero { padding-block: 36px 28px; }
  .eyebrow { margin-bottom: 16px; font-size: 0.75rem; }
  h1 { font-size: clamp(2rem, 10vw, 3.5rem); }
  .lede { margin-top: 18px; font-size: 1.0625rem; max-width: 30ch; }
  .get { margin-top: 28px; gap: 8px; }
  .mobile-handoff { display: block; width: 100%; text-align: center; }
  .mobile-handoff h2 { margin: 0; font: 700 1rem/1.4 var(--sans); }
  .mobile-handoff p { font-size: 0.875rem; line-height: 1.5; color: var(--muted); max-width: 36ch; margin-inline: auto; }
  .handoff-actions { display: flex; flex-direction: column; gap: 2px; margin-top: 18px; }
  .handoff-actions button { width: 100%; min-height: 48px; padding: 11px 16px; border-radius: 10px; font: 700 0.875rem/1.3 var(--sans); cursor: pointer; }
  .handoff-primary { background: var(--ink); color: var(--bg); border: 1px solid var(--ink); }
  .handoff-secondary { background: var(--raised); color: var(--ink); border: 1px solid var(--rule-strong); }
  .handoff-actions button[hidden] { display: none; }
  .handoff-actions button:only-child, .handoff-actions button:first-child[hidden] + button { width: 100%; background: var(--ink); color: var(--bg); }
  .get > .handoff-status { margin: 0; max-width: 36ch; color: var(--muted); font-size: 0.8125rem; line-height: 1.5; text-align: center; }
  .handoff-status:empty { display: none; }
  .mobile-utilities { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; white-space: nowrap; font-size: 0.75rem; color: var(--muted); }
  .mobile-utilities > .utility-text { padding-inline: 3px; }
  .mobile-utilities button { min-height: 44px; padding: 0 3px; border: 0; background: none; color: var(--soft); font: inherit; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
  .mobile-utilities [hidden] { display: none; }
  .install-details { display: block; width: 100%; }
  .install-details > summary { display: list-item; width: fit-content; margin-inline: auto; padding: 8px 0; font-size: 0.8125rem; color: var(--soft); cursor: pointer; }
  .js .install-details > summary { display: none; }
  .install-details:not([open]) > .install-options { display: none; }
  .install-options { display: flex; flex-direction: column; gap: 12px; align-items: center; padding-top: 10px; }
  .install-options > .cmd, .install-options > .tab-panel { width: 100%; }
  .get .trust { margin-top: 0; font-size: 0.75rem; }
  .get > .panel-hint { display: none; }
  .showcase { padding-bottom: 34px; }
  .window { border-radius: 14px; }
  .window-bar { padding: 8px 10px 8px 14px; gap: 8px; }
  .window .dots, .tool { display: none; }
  .window-title { display: inline; font-size: 0.75rem; }
  .with-toggle > span { padding: 6px 9px; }
  .with-on { font-size: 0; }
  .with-on::after { content: "With"; font-size: 0.8125rem; }
  .window-body { display: flex; flex-direction: column; }
  .rail { display: block; min-width: 0; padding: 8px; border-right: 0; border-bottom: 1px solid var(--rule); }
  .rail-title { display: none; }
  .rail-progress { display: block; }
  .rail ul { display: flex; overflow-x: auto; gap: 4px; margin: 0; scrollbar-width: thin; }
  .rail li { flex: none; }
  .rail button { min-height: 40px; width: auto; padding: 8px 10px; font-size: 0.75rem; white-space: nowrap; }
  .chat { padding: 14px; }
  .thread { min-height: 0; gap: 12px; }
  .msg-user { font-size: 0.9375rem; }
  .answer { font-size: 0.9375rem; gap: 10px; }
  .reply-list { padding-left: 20px; }
  .reply-list li { margin-top: 6px; }
  .workflows { padding-bottom: 32px; }
  .workflows h2 { margin-bottom: 16px; }
  .workflow-grid { gap: 10px; }
  .workflow-grid li { gap: 7px; padding: 16px; }
  .workflow-grid h3 { font-size: 1rem; }
  .workflow-grid p { font-size: 0.875rem; }
  .workflow-grid .workflow-prompt { display: none; }
  .steps { gap: 18px; padding-block: 22px; }
  .steps li { font-size: 1rem; }
  .promises { gap: 16px; padding-top: 22px; font-size: 0.875rem; }
  .band { padding-bottom: 30px; }
  .site-footer { padding-block: 24px; font-size: 0.75rem; }
  .site-footer .agent-note { display: none; }
}

/* Restore warm brand colour without changing the desktop layout. */
a { text-decoration-color: rgba(243, 163, 106, 0.5); }
a:hover { color: var(--accent); text-decoration-color: currentColor; }
.hero::before { background: radial-gradient(closest-side, rgba(229, 122, 53, 0.2), transparent); }
h1 { background: linear-gradient(110deg, var(--ink) 20%, #F5C39A 65%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { border-color: rgba(243, 163, 106, 0.35); color: #F5C39A; background: rgba(229, 122, 53, 0.045); }
.segmented [aria-selected="true"], .segmented [aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); }
.icon-button:hover { color: var(--accent); }
.window { border-color: rgba(243, 163, 106, 0.22); }
.dots span:nth-child(1) { background: #DF7868; }
.dots span:nth-child(2) { background: #DDB45E; }
.dots span:nth-child(3) { background: #83AC90; }
.rail button[aria-current="true"] { background: rgba(229, 122, 53, 0.12); color: #F5C39A; }
.rail-progress { background: var(--accent); }
.workflow-grid li { border-color: rgba(243, 163, 106, 0.2); }
.workflow-grid h3 { color: #F5C39A; }
.answer[data-heat="raw"] .answer-text > strong { color: var(--raw); }
.answer[data-heat="warming-up"] .answer-text > strong { color: var(--warming); }
.answer[data-heat="toasty"] .answer-text > strong { color: var(--toasty); }
.answer[data-heat="cooked"] .answer-text > strong { color: var(--cooked); }
.answer[data-heat="well-done"] .answer-text > strong { color: var(--welldone); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 600px) {
  .handoff-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
  .handoff-actions button:only-child, .handoff-actions button:first-child[hidden] + button { background: var(--accent); color: var(--accent-ink); }
}
@media (forced-colors: active) {
  h1 { background: none; color: CanvasText; }
}

/* Three numbered steps: what to open, what to paste, what happens next */
.install-steps { list-style: none; counter-reset: step; width: 100%; margin: 0; padding: 18px 20px; display: flex; flex-direction: column; gap: 18px; text-align: left; border-radius: 16px; background: var(--raised); border: 1px solid var(--rule); }
.install-steps[hidden] { display: none; }
.install-steps li { counter-increment: step; position: relative; padding-left: 38px; }
.install-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--rule-strong); font-size: 0.75rem; font-weight: 600; color: var(--soft);
}
.step-title { font-weight: 600; color: var(--ink); line-height: 24px; }
.step-hint { margin-top: 2px; font-size: 0.875rem; color: var(--muted); }
.install-steps .cmd { margin-top: 10px; background: var(--well); }
.other-ways { font-size: 0.875rem; color: var(--muted); text-align: center; }

/* Fit guided setup into the existing mobile install disclosure. */
@media (max-width: 600px) {
  .install-steps { padding: 14px 12px; gap: 16px; }
  .install-steps li { padding-left: 30px; min-width: 0; }
  .step-title { font-size: 0.875rem; }
  .step-hint, .other-ways { font-size: 0.8125rem; }
  .install-steps .cmd code { font-size: 0.75rem; }
}

@media (max-width: 600px) {
  .install-details[open] {
    border: 1px solid rgba(243, 163, 106, 0.22);
    border-radius: 16px;
    padding: 12px 10px 16px;
    margin-top: 4px;
  }
  .install-details[open] > .install-options { padding-top: 0; }
  .install-details[open] .install-steps { border: 0; background: none; padding: 8px 0; }
}

/* Keep optional setup and project information available without competing with installation. */
.setup-extras { width: 100%; min-width: 0; text-align: left; }
.setup-extras-content { display: flex; flex-direction: column; gap: 12px; padding-top: 10px; min-width: 0; }
.setup-extras-content > .panel-hint { margin: 0; }
.site-footer { gap: 14px; }
.creator-credit { color: var(--soft); }
.creator-links { display: inline; margin-left: 6px; }
.heart { color: var(--accent); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.project-details { color: var(--muted); max-width: 75ch; }
.project-details > summary { cursor: pointer; width: fit-content; }
.project-details p { margin-top: 12px; }
.site-footer .project-details .agent-note { display: block; }
@media (max-width: 600px) {
  .footer-links { gap: 10px 16px; }
}

.setup-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; width: max-content; max-width: calc(100vw - 32px); align-self: center; font-size: 0.75rem; color: var(--muted); }
.setup-links > span, .setup-links > button { white-space: nowrap; }
.setup-extras[hidden] { display: none; }
@media (max-width: 600px) {
  .setup-links { width: 100%; max-width: 100%; row-gap: 8px; line-height: 1.6; }
  .setup-links button { min-height: 36px; }
}

.setup-extras { padding: 18px; border: 1px solid rgba(243, 163, 106, 0.22); border-radius: 14px; }
.setup-extras-content { padding-top: 0; gap: 8px; }
.setup-extras h3 { font-size: 0.9375rem; color: var(--soft); }
.update-options { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--rule); padding-top: 16px; margin-top: 8px; min-width: 0; }
.setup-extras .step-hint { font-size: 0.8125rem; }
@media (max-width: 600px) { .setup-extras { padding: 14px 10px; } }

.privacy-band { padding-bottom: clamp(52px, 7vw, 88px); }
.privacy-band .promises { border-top: 0; padding-top: 0; }
@media (max-width: 600px) {
  .privacy-band { padding-bottom: 32px; }
  .privacy-band .promises { gap: 20px; }
}

/* A quieter trust section, visually separate from the feature cards. */
.privacy-band {
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  margin-top: 16px;
}
.privacy-band h2 {
  margin-bottom: 28px;
  font-family: var(--sans);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #F5C39A;
}
@media (max-width: 600px) {
  .privacy-band { margin-top: 16px; padding-top: 26px; }
  .privacy-band h2 { margin-bottom: 24px; }
}

.privacy-band h2 {
  color: var(--accent);
  font-weight: 700;
  text-decoration-line: underline;
  text-decoration-color: rgba(243, 163, 106, 0.6);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

/* Readable standalone privacy notice; scoped away from the landing page. */
.privacy-content { max-width: 780px; padding-block: 48px 72px; }
.privacy-content .privacy-back { display: inline-block; margin-bottom: 28px; color: var(--muted); }
.privacy-content h1 { font-size: clamp(2.5rem, 7vw, 4rem); line-height: 1.1; }
.privacy-content .privacy-date { margin-top: 14px; font-size: 0.8125rem; color: var(--faint); }
.privacy-content .privacy-summary { margin-top: 24px; font-size: 1.0625rem; color: var(--soft); }
.privacy-content section { margin-top: 32px; }
.privacy-content h2 { font: 700 1.25rem/1.35 var(--sans); color: #F5C39A; }
.privacy-content section p { margin-top: 12px; color: var(--muted); line-height: 1.7; }
.privacy-content code { overflow-wrap: anywhere; font-size: 0.875em; }
@media (max-width: 600px) {
  .privacy-content { padding-block: 28px 48px; }
  .privacy-content h2 { font-size: 1.125rem; }
}

.privacy-content .maintainer-list { list-style: none; padding: 0; margin-top: 14px; color: var(--muted); }
.privacy-content .maintainer-list li { margin-top: 10px; line-height: 1.7; }
.privacy-content .maintainer-list strong { color: var(--soft); }

@media (max-width: 600px) {
  .setup-links { flex-direction: column; gap: 0; }
  .setup-links button { min-height: 44px; }
}

@media (max-width: 600px) {
  .composer { margin-top: 12px; min-height: 42px; padding-left: 12px; font-size: 0.8125rem; border-radius: 10px; }
  .composer-text { min-width: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
  .composer-send { flex: none; }
}
