/* The site's own styles, on top of daisyUI's components. daisyUI ships without Tailwind's
   utilities, so the layout is written here. Colours are daisyUI's theme variables: this file
   sets them for light mode, then for dark mode. */

:root {
  color-scheme: light;
  --color-base-100: oklch(97.5% 0.008 85);
  --color-base-200: oklch(94.5% 0.012 85);
  --color-base-300: oklch(90% 0.015 85);
  --color-base-content: oklch(23% 0.02 285);
  --color-primary: oklch(50% 0.2 285);
  --color-primary-content: oklch(98% 0.01 285);
  --color-secondary: oklch(70% 0.16 55);
  --color-secondary-content: oklch(22% 0.04 55);
  --color-accent: oklch(72% 0.14 175);
  --color-accent-content: oklch(20% 0.04 175);
  --color-neutral: oklch(25% 0.02 285);
  --color-neutral-content: oklch(96% 0.01 285);
  --color-info: oklch(62% 0.15 240);
  --color-info-content: oklch(98% 0.01 240);
  --color-success: oklch(58% 0.14 155);
  --color-success-content: oklch(98% 0.02 155);
  --color-warning: oklch(76% 0.15 75);
  --color-warning-content: oklch(25% 0.05 75);
  --color-error: oklch(58% 0.2 25);
  --color-error-content: oklch(98% 0.01 25);
  --radius-selector: 0.5rem;
  --radius-field: 0.6rem;
  --radius-box: 1rem;
  --size-selector: 0.25rem;
  --size-field: 0.25rem;
  --border: 1px;
  --depth: 0;
  --noise: 0;

  --surface: oklch(99.5% 0.004 85);
  --line: oklch(88% 0.015 85);
  --muted: oklch(48% 0.02 285);
  --glow: oklch(50% 0.2 285 / 0.18);
  --shell: 72rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --color-base-100: oklch(17% 0.015 285);
    --color-base-200: oklch(21% 0.018 285);
    --color-base-300: oklch(27% 0.02 285);
    --color-base-content: oklch(93% 0.01 285);
    --color-primary: oklch(72% 0.15 285);
    --color-primary-content: oklch(18% 0.04 285);
    --color-secondary: oklch(78% 0.13 60);
    --color-secondary-content: oklch(20% 0.04 60);
    --color-neutral: oklch(30% 0.02 285);
    --color-neutral-content: oklch(94% 0.01 285);
    --color-success: oklch(72% 0.14 155);
    --color-success-content: oklch(18% 0.04 155);
    --color-warning: oklch(80% 0.14 75);
    --color-error: oklch(70% 0.17 25);
    --color-error-content: oklch(18% 0.04 25);
    --surface: oklch(20% 0.017 285);
    --line: oklch(30% 0.02 285);
    --muted: oklch(70% 0.02 285);
    --glow: oklch(72% 0.15 285 / 0.16);
  }
}

/* Base: daisyUI has no reset of its own. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem;
  overscroll-behavior: none; }
body {
  margin: 0; overflow-x: clip; overscroll-behavior: none;
  background: var(--color-base-100);
  color: var(--color-base-content);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a:not(.btn) { color: inherit; }
img, svg { display: block; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; }
.sprite { display: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 1rem; }
@media (min-width: 640px) { .shell { padding-inline: 1.5rem; } }

.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2.5;
  stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: -0.125em; }
.icon-lg { width: 1.75rem; height: 1.75rem; fill: none; stroke: var(--color-primary);
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in oklch, var(--color-base-100) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar { min-height: 3.75rem; gap: 1rem; padding-block: 0; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700;
  font-size: 1.1rem; letter-spacing: -0.01em; text-decoration: none; }
.brand .tld { color: var(--muted); font-weight: 500; }
.mark { width: 1.6rem; height: 1.6rem; }
.mark-wheel { fill: var(--mark, var(--color-primary)); stroke: var(--mark, var(--color-primary)); stroke-width: 2;
  stroke-linejoin: round; }
.navlinks { display: none; margin-left: auto; gap: 1.5rem; font-size: 0.95rem; }
.navlinks a { text-decoration: none; color: var(--muted); }
.navlinks a:hover { color: var(--color-base-content); }
.nav-ctas { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
@media (min-width: 640px) { .navlinks { display: flex; } }
/* GitHub's mark, beside the buttons: on a phone, the menu holds it. */
.nav-ctas .nav-github { display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; color: var(--muted); }
.nav-ctas .nav-github:hover { color: var(--color-base-content); }
.nav-github svg { width: 1.3rem; height: 1.3rem; fill: currentColor; }
/* Phones: the top bar keeps Try for free, and a menu opens the rest. */
.nav-menu { display: none; }
.nav-menu summary { display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; margin-right: -0.4rem; cursor: pointer; list-style: none; }
.nav-menu summary::-webkit-details-marker { display: none; }
.nav-menu summary .icon { width: 1.4rem; height: 1.4rem; stroke-width: 2; }
.nav-menu .nav-menu-close, .nav-menu[open] .nav-menu-open { display: none; }
.nav-menu[open] .nav-menu-close { display: block; }
.nav-menu-panel { position: absolute; top: 100%; left: 0; right: 0; display: grid;
  padding: 0.5rem 1.25rem 1.25rem; background: var(--color-base-100);
  border-bottom: 1px solid var(--line); }
.nav-menu-panel a:not(.btn) { display: flex; align-items: center; gap: 0.6rem; padding: 0.8rem 0;
  border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.05rem; }
.nav-menu-panel svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.nav-menu-panel .btn { margin-top: 1rem; }
@media (max-width: 639.98px) {
  .nav-menu { display: block; }
  .nav-ctas .nav-github, .nav-ctas .btn-signin { display: none; }
}
/* Sign in: outlined and quiet, beside the filled Try for free. */
.btn-signin { --btn-bg: transparent; --btn-shadow: none;
  --btn-border: color-mix(in oklab, var(--color-base-content) 28%, transparent); }
.btn-signin:hover { --btn-bg: var(--color-base-200);
  --btn-border: color-mix(in oklab, var(--color-base-content) 45%, transparent); }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }

.fine { font-size: 0.85rem; color: var(--muted); }

/* Drawn windows */
.window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-box);
  box-shadow: 0 1px 2px oklch(0% 0 0 / 0.06), 0 20px 50px -20px oklch(30% 0.08 285 / 0.35);
}
.app-head { display: flex; justify-content: space-between; align-items: center; }
.app-name { font-weight: 700; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.kpis > div { display: grid; }
.kpi-label { font-size: 0.7rem; color: var(--muted); }
.kpi { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; }
.kpi.up { color: var(--color-success); }
/* Sections */
.block { padding-block: 5rem; }
.section-head { display: grid; gap: 0.75rem; max-width: 44rem; margin-bottom: 2.5rem; }
.eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-primary); }
h2 { font-size: clamp(1.75rem, 4.5vw, 2.6rem); line-height: 1.12; letter-spacing: -0.025em;
  font-weight: 800; }
h3 { font-size: 1.05rem; font-weight: 700; }
.sub { font-size: 1.1rem; color: var(--muted); }

/* What it is: a diagram drawn in SVG, wide on large screens and tall on phones. People use
   screens and agents use MCP tools; both reach the same actions and queries; actions pass the
   invariants before the data, and queries only read it */
.icon-md { width: 1.4rem; height: 1.4rem; flex: none; fill: none; stroke: var(--color-primary);
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.diagram { margin: 0 auto; max-width: 72rem; }
.diagram svg { width: 100%; height: auto; display: block; overflow: visible; }
.d-tall { display: block; max-width: 24rem; margin-inline: auto; }
.d-wide { display: none !important; }
@media (min-width: 900px) { .d-wide { display: block !important; } .d-tall { display: none !important; } }
.d-app { fill: color-mix(in srgb, var(--color-primary) 4%, var(--surface)); stroke: color-mix(in srgb, var(--color-primary) 45%, var(--line));
  stroke-width: 1.5; stroke-dasharray: 6 5; }
.d-app-label { fill: var(--color-primary); font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.d-node { fill: var(--surface); stroke: var(--line); stroke-width: 1.2; }
.d-who { fill: var(--color-base-100); }
.d-key { fill: color-mix(in srgb, var(--color-primary) 14%, var(--surface)); stroke: var(--color-primary); stroke-width: 2; }
.d-data { fill: var(--surface); stroke: var(--color-base-content); stroke-width: 1.5; }
.d-t { fill: var(--color-base-content); font-size: 15px; font-weight: 800; text-anchor: middle; }
.d-t-start { text-anchor: start; }
.d-app-patch { fill: color-mix(in srgb, var(--color-primary) 4%, var(--surface)); }
.d-box-patch { fill: color-mix(in srgb, var(--color-success) 5%, var(--surface)); }
.d-s { fill: var(--muted); font-size: 12px; text-anchor: middle; }
.d-line { fill: none; stroke: var(--color-primary); stroke-width: 1.8; stroke-linejoin: round; }
.d-headpath { fill: var(--color-primary); }
.d-pill { fill: var(--color-base-200); stroke: color-mix(in srgb, var(--color-primary) 45%, var(--line)); stroke-width: 1; }
.d-p { fill: var(--color-primary); font-size: 11px; font-weight: 700; text-anchor: middle; }
.d-ic { fill: none; stroke: var(--color-primary); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.d-ic-bg { fill: color-mix(in srgb, var(--color-primary) 14%, var(--surface)); }
.d-key .d-ic-bg { fill: var(--surface); }
.d-face { stroke: var(--surface); stroke-width: 2; }
.d-face.a { fill: color-mix(in srgb, var(--color-secondary) 45%, var(--surface)); }
.d-face.b { fill: color-mix(in srgb, var(--color-accent) 45%, var(--surface)); }
.d-face-t { fill: var(--color-base-content); font-size: 9px; font-weight: 800; text-anchor: middle; }
.d-box { fill: color-mix(in srgb, var(--color-success) 5%, var(--surface)); stroke: color-mix(in srgb, var(--color-success) 55%, var(--line));
  stroke-width: 1.5; }
.d-box-label { fill: color-mix(in srgb, var(--color-success) 75%, var(--color-base-content)); font-size: 12px; font-weight: 800;
  letter-spacing: 0.04em; }
.d-ic-sm { stroke: color-mix(in srgb, var(--color-success) 75%, var(--color-base-content)); }
.d-chip { fill: var(--color-base-200); stroke: var(--line); stroke-width: 1; }
.d-c { fill: var(--muted); font: 500 9.5px ui-monospace, SFMono-Regular, Menlo, monospace; text-anchor: middle; }
.d-key .d-chip, .d-chip { fill: var(--color-base-200); }
.d-file { fill: var(--surface); stroke: color-mix(in srgb, var(--color-primary) 55%, var(--line)); stroke-width: 1.3; stroke-linejoin: round; }
.d-file-fold { fill: none; stroke: color-mix(in srgb, var(--color-primary) 55%, var(--line)); stroke-width: 1.3; stroke-linejoin: round; }
.d-file-t { fill: var(--color-primary); font: 800 8.5px ui-monospace, SFMono-Regular, Menlo, monospace; text-anchor: middle; text-transform: uppercase; }
.d-note { fill: var(--color-error); font-size: 11.5px; font-weight: 600; text-anchor: middle; }
.arch-foot { margin: 2rem auto 0; color: var(--muted); font-size: 1rem; max-width: 46rem; text-align: center; }

/* Pieces drawn in several sections: commits, a spreadsheet, tools, faces */
.commits { display: grid; font-size: 0.82rem; }
.commits div { display: flex; gap: 0.7rem; padding-block: 0.35rem; border-top: 1px solid var(--line); }
.commits div:first-child { border-top: 0; }
.commits code { color: var(--color-primary); font-weight: 600; }
.commits em { color: var(--muted); }
.commits.graph div { position: relative; padding-left: 1.1rem; }
.commits.graph div::before { content: ""; position: absolute; left: 0.25rem; top: 0; bottom: 0; width: 2px;
  background: color-mix(in srgb, var(--color-primary) 40%, transparent); }
.commits.graph div:first-child::before { top: 50%; }
.commits.graph div:last-child::before { bottom: 50%; }
.commits.graph div::after { content: ""; position: absolute; left: 0; top: 50%; width: 0.6rem; height: 0.6rem;
  margin-top: -0.3rem; border-radius: 999px; background: var(--surface); border: 2px solid var(--color-primary); }
.xl { display: grid; grid-template-columns: 1.2rem 1fr 0.8fr 1fr; font-size: 0.72rem;
  border: 1px solid var(--line); border-radius: 0.4rem; overflow: hidden; }
.xl span { padding: 0.2rem 0.35rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  white-space: nowrap; overflow: hidden; }
.xl .xh { background: var(--color-base-200); color: var(--muted); text-align: center; font-size: 0.65rem; }
.xl .b { font-weight: 700; background: color-mix(in srgb, var(--color-success) 14%, var(--surface)); }
.xl.in-bubble { margin-top: 0.5rem; background: var(--surface); color: var(--color-base-content); }
.tool { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 0.45rem;
  font-size: 0.82rem; padding-top: 0.35rem; border-top: 1px solid var(--line); }
.tool .icon { color: var(--color-primary); }
.tool .kind { font-size: 0.68rem; font-weight: 700; padding: 0.05rem 0.45rem; border-radius: 999px;
  background: color-mix(in srgb, var(--color-primary) 14%, var(--surface)); color: var(--color-primary); }
.tool.q .kind { background: var(--color-base-200); color: var(--muted); }
.tools-strip { border: 1px solid var(--line); border-radius: 0.7rem; padding: 0.55rem 0.7rem; display: grid;
  gap: 0.1rem; margin-bottom: 0.4rem; }
.ts-label { font-size: 0.7rem; font-weight: 700; color: var(--muted); }
.faces { display: flex; gap: 0.3rem; margin-bottom: 0.15rem; }
.faces .sa-avatar, .faces .bot { width: 1.8rem; height: 1.8rem; border-radius: 999px; display: grid;
  place-items: center; font-weight: 700; font-size: 0.75rem; }
.sa-avatar.a4 { background: color-mix(in srgb, var(--color-info) 30%, var(--surface)); }
.faces .bot { background: color-mix(in srgb, var(--color-primary) 18%, var(--surface)); color: var(--color-primary); }
.faces .bot.clock { background: var(--color-base-200); }
.kpi.warn { color: color-mix(in srgb, var(--color-warning) 70%, var(--color-base-content)); }

.phone { width: 10.5rem; height: 21rem; flex: none; border-radius: 1.6rem; background: var(--color-neutral);
  padding: 0.4rem; box-shadow: 0 18px 40px -18px oklch(30% 0.08 285 / 0.45); }
.phone-screen { height: 100%; border-radius: 1.25rem; background: var(--surface);
  padding: 1rem 0.75rem 0.75rem; display: grid; align-content: start; gap: 0.15rem; font-size: 0.72rem;
  overflow: hidden; }
.ps-title { font-weight: 800; font-size: 0.95rem; }
.ps-sub { color: var(--muted); margin-bottom: 0.25rem; line-height: 1.3; }
.ps-row { display: flex; justify-content: space-between; padding-block: 0.3rem;
  border-top: 1px solid var(--line); }
.ps-btn { margin-top: 0.45rem; width: 100%; }
.assistant { width: 100%; max-width: 19rem; padding: 0.8rem; font-size: 0.8rem; display: grid; gap: 0.2rem; }
.assistant .chat-bubble { max-width: 95%; }
.inline-view { display: grid; gap: 0.35rem; margin-top: 0.5rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-field); padding: 0.5rem 0.6rem; }
.iv-row { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }

.sa-avatar { width: 1.5rem; height: 1.5rem; border-radius: 999px; display: grid; place-items: center;
  font-weight: 700; font-size: 0.7rem; }
.sa-avatar.a1 { background: color-mix(in srgb, var(--color-secondary) 35%, var(--surface)); }
.sa-avatar.a2 { background: color-mix(in srgb, var(--color-accent) 35%, var(--surface)); }
.sa-avatar.a3 { background: color-mix(in srgb, var(--color-primary) 20%, var(--surface)); color: var(--color-primary); }

/* Everywhere: a phone and an assistant drawn side by side */
.band { background: var(--color-base-200); border-block: 1px solid var(--line); }

/* Uses */
.uses-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.use { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-box);
  padding: 1.25rem; display: grid; gap: 0.6rem; align-content: start; }
.use p { color: var(--muted); font-size: 0.95rem; }
.team { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-primary); }
.rule-line { display: flex; gap: 0.5rem; align-items: flex-start; }
.rule-line .icon { color: var(--color-primary); margin-top: 0.3rem; flex: none; }
.use-art { min-height: 7rem; border-radius: var(--radius-field); background: var(--color-base-200);
  padding: 0.9rem; margin-bottom: 0.4rem; display: grid; align-content: center; gap: 0.45rem;
  font-size: 0.8rem; }
.mini-row { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; }
.mini-row.total { border-top: 1px solid var(--line); padding-top: 0.3rem; font-weight: 700; }
.mini-row .ok { color: var(--color-success); }

/* Call to action */
.cta { background:
    radial-gradient(60rem 20rem at 50% 0%, var(--glow), transparent),
    var(--color-base-100); border-top: 1px solid var(--line); }
.cta-inner { display: grid; justify-items: center; text-align: center; gap: 1rem; }
.cta-inner .sub { max-width: 34rem; }
.cta-mark { width: 3rem; height: 3rem; }

/* Footer */
/* Dark in both themes, so it reads as the page's end; its links are underlined */
.site-footer { padding-block: 2.25rem; font-size: 0.9rem; background: var(--color-neutral);
  color: color-mix(in srgb, var(--color-neutral-content) 75%, transparent); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-inner .brand { color: var(--color-neutral-content); font-size: 1rem; }
.footer-inner .brand .tld { color: color-mix(in srgb, var(--color-neutral-content) 65%, transparent); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer-links a { color: var(--color-neutral-content); text-decoration: underline;
  text-underline-offset: 0.2em; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
.footer-links a:hover { text-decoration-color: currentColor; }

/* The legal notice */
.legal { max-width: 42rem; margin: 0 auto; padding: 3rem 1rem 4rem; display: grid; gap: 1rem; }
.legal h1 { font-size: clamp(2rem, 6vw, 2.75rem); letter-spacing: -0.03em; font-weight: 800; }
.legal h2 { font-size: 1.25rem; font-weight: 700; margin-top: 1rem; }
.legal p, .legal address { color: var(--muted); font-style: normal; }
.legal a:not(.btn) { text-decoration: underline; }
.legal ul { display: grid; gap: 0.5rem; padding-left: 1.25rem; list-style: disc;
  color: var(--muted); }

/* Small pages: not found */
.page-small { min-height: 70vh; display: grid; place-content: center; justify-items: center;
  text-align: center; gap: 1rem; padding: 3rem 1rem; }
.page-small h1 { font-size: clamp(2rem, 6vw, 3rem); letter-spacing: -0.03em; font-weight: 800; }
.page-small p { color: var(--muted); }

/* Hero: the title in the middle, then one large drawn app on a soft gradient stage */
.hero2 { padding-top: 4.5rem; position: relative; overflow-x: clip;
  background: linear-gradient(180deg, var(--color-base-100) 0%,
    color-mix(in srgb, var(--color-primary) 10%, var(--color-base-100)) 50%, var(--color-base-100) 92%); }
.hero2-copy { display: grid; justify-items: center; text-align: center; gap: 1.1rem; }
.hero2 h1 { font-size: clamp(2.5rem, 7.5vw, 4.4rem); line-height: 1.03; letter-spacing: -0.04em;
  font-weight: 800; max-width: 16ch; }
@media (min-width: 1200px) { .hero2 h1 { max-width: none; font-size: 4rem; white-space: nowrap; } }
.hero2 h1 em, .cta h2 em { font-style: normal;
  background: linear-gradient(100deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero2 .lead { max-width: 40rem; }
@media (min-width: 900px) { .hero2 .lead { max-width: 50rem; } }
.stage-wrap { margin-top: 3.5rem; padding-bottom: 6.5rem; }

/* The drawn app window */
.appwin { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden;
  box-shadow: 0 2px 4px oklch(0% 0 0 / 0.05), 0 40px 90px -30px oklch(35% 0.12 285 / 0.45);
  font-size: 0.85rem; }
.aw-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line); white-space: nowrap; }
.aw-mark { width: 1.25rem; height: 1.25rem; flex: none; }
.crumb { color: var(--muted); } .crumb.strong { color: var(--color-base-content); font-weight: 700; }
.sep { color: var(--line); }
.aw-space { flex: 1; }
.aw-avatar { width: 1.6rem; height: 1.6rem; border-radius: 999px; display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 700; background: color-mix(in srgb, var(--color-secondary) 35%, var(--surface)); }
.aw-body { padding: 1rem; display: grid; gap: 1rem; background: color-mix(in srgb, var(--color-base-200) 45%, var(--surface)); }
.aw-kpis { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.aw-kpis > div, .aw-table { background: var(--surface); border: 1px solid var(--line);
  border-radius: 0.75rem; padding: 0.8rem 0.9rem; display: grid; gap: 0.15rem; align-content: start; }
.k-label { font-size: 0.72rem; color: var(--muted); }
.aw-h { font-weight: 700; margin-bottom: 0.4rem; }
.tr { display: grid; grid-template-columns: 1.4fr 1fr 0.9fr 0.9fr; align-items: center; gap: 0.5rem;
  padding-block: 0.45rem; border-top: 1px solid var(--line); }
.tr.th { border-top: 0; color: var(--muted); font-size: 0.72rem; font-weight: 600; }
.tr span:nth-child(3) { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .tr { grid-template-columns: 1.3fr 0.9fr 0.9fr; } .tr > span:nth-child(2) { display: none; } }
.who-dot { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 999px;
  font-style: normal; font-size: 0.62rem; font-weight: 700; margin-right: 0.35rem; vertical-align: -0.3rem; }
.who-dot.a1 { background: color-mix(in srgb, var(--color-secondary) 35%, var(--surface)); }
.who-dot.a2 { background: color-mix(in srgb, var(--color-accent) 35%, var(--surface)); }
.who-dot.bot { background: color-mix(in srgb, var(--color-primary) 18%, var(--surface)); color: var(--color-primary); }
.who-dot .icon { width: 0.8rem; height: 0.8rem; }
.st { font-size: 0.7rem; font-weight: 700; padding: 0.1rem 0.5rem; border-radius: 999px; justify-self: start; }
.st.ok { background: color-mix(in srgb, var(--color-success) 16%, var(--surface)); color: var(--color-success); }
.st.wait { background: color-mix(in srgb, var(--color-warning) 25%, var(--surface));
  color: color-mix(in srgb, var(--color-warning) 55%, var(--color-base-content)); }
.st.bad { background: color-mix(in srgb, var(--color-error) 14%, var(--surface)); color: var(--color-error); }

/* The hero's two windows: an assistant chat on the left, the app on the right */
.stage { position: relative; display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 900px) {
  .stage { grid-template-columns: 1fr 1.15fr; gap: 1.75rem; }
}
.aichat { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; overflow: hidden;
  display: grid; grid-template-rows: auto 1fr auto; font-size: 0.85rem;
  box-shadow: 0 2px 4px oklch(0% 0 0 / 0.05), 0 40px 90px -30px oklch(35% 0.12 285 / 0.45); }
.ac-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); }
.ac-dot { width: 1.6rem; height: 1.6rem; border-radius: 999px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--color-primary) 18%, var(--surface)); color: var(--color-primary); }
.ac-app { margin-left: auto; display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.72rem;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 0.15rem 0.55rem; white-space: nowrap; }
.ac-app .aw-mark { width: 0.95rem; height: 0.95rem; }
.ac-body { padding: 0.9rem 1rem; display: grid; gap: 0.1rem; align-content: start; }
.ac-body .chat-bubble { max-width: 88%; }
.ac-tool { background: var(--color-base-200); border: 1px solid var(--line); display: grid; gap: 0.4rem; }
.ac-call { display: inline-flex; align-items: center; gap: 0.4rem; }
.ac-call .aw-mark { width: 1rem; height: 1rem; }
.ac-call code { font-weight: 700; color: var(--color-primary); }
.ac-res { display: flex; gap: 0.35rem; }
.ac-input { margin: 0 0.8rem 0.8rem; display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--line); border-radius: 0.8rem; padding: 0.55rem 0.55rem 0.55rem 0.85rem; color: var(--muted); }
.ac-send { width: 1.8rem; height: 1.8rem; border-radius: 0.55rem; display: grid; place-items: center;
  background: var(--color-primary); }
.ac-send .icon { width: 1.1rem; stroke: var(--color-primary-content); stroke-width: 2.5; }
.stage .aw-kpis { grid-template-columns: 1fr 1fr; }
.stage .tr { grid-template-columns: 1.3fr 0.9fr 0.9fr 1.15fr; }
@media (max-width: 560px) { .stage .tr { grid-template-columns: 1.2fr 0.9fr 1.2fr; } }

/* Notices floating over the app window */
.float { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 0.9rem;
  box-shadow: 0 24px 50px -20px oklch(30% 0.1 285 / 0.45); font-size: 0.82rem; }
.appcol { position: relative; }
.notice { right: -1rem; bottom: -3.6rem; display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.7rem 0.9rem;
  max-width: 19rem; border-left: 4px solid var(--color-error); }
.notice div { display: grid; gap: 0.1rem; } .notice span { color: var(--muted); }
.t-icon { color: var(--color-error); margin-top: 0.15rem; }
/* Narrower, the window can't carry the notice: the chat beside it shows the refusal already. */
@media (max-width: 899px) { .notice { display: none; } }


/* The three problems */
.section-head.center { margin-inline: auto; text-align: center; justify-items: center; }
.problems { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.problem { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-box);
  padding: 1rem; display: grid; gap: 0.5rem; align-content: start; }
.problem p { color: var(--muted); font-size: 0.95rem; }
.p-art { height: 10rem; border-radius: var(--radius-field); background: var(--color-base-200);
  margin-bottom: 0.5rem; position: relative; overflow: hidden; display: grid; place-items: center; padding: 1rem; }
.prompts .pr { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 0.6rem;
  padding: 0.45rem 0.7rem; font-size: 0.78rem; font-style: italic; box-shadow: 0 8px 20px -12px oklch(30% 0.05 285 / 0.4); }
.prompts .one { top: 1rem; left: 1rem; transform: rotate(-2deg); }
.prompts .two { top: 3.9rem; right: 0.8rem; transform: rotate(1.5deg); }
.prompts .three { bottom: 1rem; left: 1.8rem; transform: rotate(-1deg);
  border-color: color-mix(in srgb, var(--color-error) 50%, var(--line)); }
.limits { display: flex; gap: 1rem; }
.lbot { width: 3rem; height: 3rem; border-radius: 999px; display: grid; place-items: center; flex: none;
  background: color-mix(in srgb, var(--color-primary) 18%, var(--surface)); color: var(--color-primary); }
.lbot .icon { width: 1.5rem; height: 1.5rem; }
.lchips { display: grid; gap: 0.4rem; }
.lc { display: flex; align-items: center; gap: 0.4rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 0.25rem 0.7rem; font-size: 0.78rem; }
.lc.ok .icon { color: var(--color-success); }
.lc.no { color: var(--color-error); text-decoration: line-through; }
.who .cell, .who .cell-note { background: var(--surface); border: 1px solid var(--line); border-radius: 0.5rem; }
.p-art.who { align-content: center; gap: 0.5rem; }
.who .cell { display: flex; gap: 0.75rem; padding: 0.5rem 0.8rem; font-size: 0.9rem;
  outline: 2px solid var(--color-warning); outline-offset: 2px; }
.who .cell span { color: var(--muted); font-size: 0.75rem; align-self: center; }
.who .cell-note { padding: 0.35rem 0.7rem; font-size: 0.75rem; color: var(--muted); }
.who .q { display: inline-grid; place-items: center; width: 1.1rem; height: 1.1rem; border-radius: 999px;
  background: color-mix(in srgb, var(--color-error) 15%, var(--surface)); color: var(--color-error); font-weight: 800; }

/* Feature rows: a large drawn view on a gradient panel, four points beside it */
.frow .section-head { margin-bottom: 2rem; }
@media (min-width: 1100px) { .frow .section-head { max-width: none; } .frow .section-head .sub { max-width: 46rem; } }
.frow-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 960px) { .frow-grid { grid-template-columns: 1.55fr 1fr; gap: 3rem; } }
.panel { border-radius: 1.25rem; padding: 1.5rem; display: grid; gap: 1rem; border: 1px solid var(--line);
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 16%, var(--surface)),
    color-mix(in srgb, var(--color-secondary) 14%, var(--surface))); }
@media (min-width: 640px) { .panel { padding: 2rem; } }
.pwin { background: var(--surface); border: 1px solid var(--line); border-radius: 0.9rem; padding: 0.9rem 1rem;
  box-shadow: 0 20px 45px -25px oklch(30% 0.1 285 / 0.5); font-size: 0.88rem; display: grid; gap: 0.2rem; }
.pw-head { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; margin-bottom: 0.3rem; flex-wrap: wrap; }
.pw-title { display: flex; align-items: center; gap: 0.4rem; font-weight: 800; }
.pw-title .icon { color: var(--color-primary); }
.inv { display: grid; grid-template-columns: auto 1fr auto; gap: 0.7rem; align-items: center; padding-block: 0.55rem;
  border-top: 1px solid var(--line); }
.inv-n { width: 1.4rem; height: 1.4rem; border-radius: 0.4rem; display: grid; place-items: center; font-size: 0.72rem;
  font-weight: 700; background: color-mix(in srgb, var(--color-primary) 14%, var(--surface)); color: var(--color-primary); }
.call { gap: 0.6rem; }
.call-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.call-line code { font-weight: 700; }
.call-who { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.75rem; font-weight: 700;
  color: var(--color-primary); background: color-mix(in srgb, var(--color-primary) 12%, var(--surface));
  padding: 0.1rem 0.5rem; border-radius: 999px; }
.muted { color: var(--muted); }
.call-out { display: flex; gap: 0.6rem; align-items: flex-start; border-radius: 0.6rem; padding: 0.6rem 0.75rem; }
.call-out div { display: grid; gap: 0.1rem; }
.call-out.bad { background: color-mix(in srgb, var(--color-error) 10%, var(--surface)); }
.call-out.bad b, .call-out.bad .icon { color: var(--color-error); }
.call-out .icon { margin-top: 0.25rem; flex: none; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4rem; }
.points li { display: flex; gap: 0.8rem; align-items: flex-start; }
.points li div { display: grid; gap: 0.2rem; }
.points li span { color: var(--muted); font-size: 0.95rem; }
.surfaces3 { grid-template-columns: auto 1fr; align-items: center; justify-items: center; }
@media (max-width: 560px) { .surfaces3 { grid-template-columns: 1fr; } }
.surfaces3 .assistant { max-width: 22rem; }
.builder { gap: 0.8rem; }
.builder .chat-bubble { max-width: 92%; }
.att { display: flex; align-items: center; gap: 0.35rem; margin-top: 0.45rem; font-size: 0.8rem;
  background: color-mix(in srgb, var(--color-primary-content) 18%, transparent); border-radius: 0.4rem;
  padding: 0.2rem 0.5rem; width: fit-content; }
.steps-log { display: grid; gap: 0.45rem; padding: 0.6rem 0.2rem; }
.steps-log p { display: flex; gap: 0.5rem; align-items: flex-start; }
.steps-log .icon { margin-top: 0.25rem; flex: none; }
.icon.ok { color: var(--color-success); }
.publish-row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line);
  padding-top: 0.7rem; }


/* Questions */
.faq { max-width: 48rem; margin-inline: auto; }
.faq h2 { margin-bottom: 1.5rem; text-align: center; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 0; font-weight: 600; display: flex;
  justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.2rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq-a { color: var(--muted); padding-bottom: 1.25rem; display: grid; gap: 0.75rem; }
.faq-a ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.5rem; }
.faq-a b { color: var(--color-base-content); }

/* The violet sign-up band */
.band-violet { --muted: oklch(88% 0.04 285); background:
    radial-gradient(50rem 20rem at 80% 0%, oklch(62% 0.2 300 / 0.5), transparent),
    linear-gradient(135deg, oklch(38% 0.2 285), oklch(30% 0.17 280)); color: oklch(98% 0.01 285);
  border-top: 0; }
.band-violet { --mark: oklch(98% 0.01 285); }
.band-violet .input { background: oklch(98% 0.005 285); color: oklch(20% 0.02 285); }
.band-violet .btn-primary { background: oklch(98% 0.01 285); color: oklch(35% 0.2 285); border-color: transparent; }

/* The release schedule in the hero, and the service catalog's tiers */
.ac-res { flex-wrap: wrap; align-items: center; }
.ac-why { font-size: 0.75rem; color: var(--muted); }
.tier { font-size: 0.62rem; font-weight: 800; padding: 0.05rem 0.35rem; border-radius: 0.3rem; margin-left: 0.2rem;
  background: color-mix(in srgb, var(--color-primary) 16%, var(--surface)); color: var(--color-primary); vertical-align: 0.1rem; }
.tier.t2 { background: var(--color-base-200); color: var(--muted); }
.st.new { background: color-mix(in srgb, var(--color-info) 16%, var(--surface)); color: var(--color-info); }
.stage .rel .tr { grid-template-columns: 1.3fr 1.2fr 0.9fr 0.8fr; }
.stage .rel .tr span:nth-child(3) { text-align: left; }
/* On a phone, who booked it matters more than its status */
@media (max-width: 560px) {
  .stage .rel .tr { grid-template-columns: 1.2fr 1.2fr 0.9fr; }
  .stage .rel .tr > span:nth-child(2) { display: flex; }
  .stage .rel .tr > span:nth-child(4) { display: none; }
}
.ps-row .bad { color: var(--color-error); }

/* The hero's chat: your messages are bubbles, the assistant's answers plain text,
   and each tool call a card of its own */
.ac-body { gap: 0.55rem; }
.ac-ai { display: flex; gap: 0.55rem; align-items: flex-start; }
.ac-ai p { line-height: 1.5; }
.ac-avatar { width: 1.5rem; height: 1.5rem; border-radius: 999px; display: grid; place-items: center; flex: none;
  background: color-mix(in srgb, var(--color-primary) 16%, var(--surface)); color: var(--color-primary); }
.ac-avatar .icon { width: 0.85rem; height: 0.85rem; }
.ac-call-card { margin-left: 2.05rem; border: 1px solid var(--line); border-left: 3px solid var(--color-success);
  border-radius: 0.6rem; background: var(--color-base-200); padding: 0.45rem 0.7rem; display: grid; gap: 0.25rem;
  font-size: 0.78rem; }
.ac-call-card.bad { border-left-color: var(--color-error); }
.acc-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; color: var(--muted); }
.acc-head .aw-mark { width: 0.95rem; height: 0.95rem; }
.acc-head code { color: var(--color-primary); font-weight: 700; }
.acc-body { display: flex; align-items: center; gap: 0.45rem; }

/* Table cells line up their avatar and text */
.tr > span { display: flex; align-items: center; gap: 0.1rem; min-width: 0; }
.tr > span:nth-child(3) { justify-content: flex-end; }
.stage .rel .tr > span:nth-child(3) { justify-content: flex-start; }
.who-dot { vertical-align: baseline; flex: none; }

/* The page map: short lines on the right edge, opening into the list of sections */
.pagemap { display: none; }
@media (min-width: 1200px) {
  .pagemap { display: block; position: fixed; right: 1.25rem; top: 25vh; z-index: 20; }
  .pm-lines { display: grid; gap: 0.7rem; justify-items: end; padding: 0.5rem 0; }
  .pm-lines span { display: block; width: 0.9rem; height: 2px; border-radius: 2px; background: var(--line); }
  .pm-lines span.on { width: 1.4rem; background: var(--color-base-content); }
  .pm-card { position: absolute; right: 0; top: -0.6rem; min-width: 14rem;
    background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; padding: 0.6rem;
    box-shadow: 0 20px 45px -20px oklch(30% 0.08 285 / 0.35); display: grid; gap: 0.1rem;
    opacity: 0; visibility: hidden; transition: opacity 0.15s ease; }
  .pagemap:hover .pm-card, .pagemap:focus-within .pm-card { opacity: 1; visibility: visible; }
  .pm-card a { text-decoration: none; color: var(--muted); font-size: 0.9rem; padding: 0.35rem 0.6rem;
    border-radius: 0.5rem; }
  .pm-card a:hover { background: var(--color-base-200); color: var(--color-base-content); }
  .pm-card a.on { color: var(--color-primary); font-weight: 600; }
}

/* Three use cases, each with a small screen, its rule and who does what */
@media (min-width: 900px) { .uses-grid.three { grid-template-columns: repeat(3, 1fr); } }
.use-art .ua-head { font-weight: 700; font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; }
.use-art .ua-head:first-child { margin-top: 0; }
.use .rule-line { color: var(--muted); font-size: 0.85rem; font-style: italic; }
.use .rule-line .icon { color: var(--muted); }
@media (min-width: 1100px) { #what .section-head { max-width: none; } #what .section-head .sub { max-width: 46rem; } }
.uses-grid.three .use-art { min-height: 11.75rem; align-content: start; }
.phone-screen .kpis { gap: 0.3rem; }
.phone-screen .kpi { font-size: 1.05rem; }

/* The three steps under the diagram */
.arch-steps { list-style: none; counter-reset: step; margin: 2.5rem auto 0; padding: 0; max-width: 72rem;
  display: grid; gap: 1rem; }
@media (min-width: 900px) { .arch-steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.arch-steps li { counter-increment: step; position: relative; padding-left: 2.6rem; color: var(--muted); }
.arch-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 1.8rem; height: 1.8rem;
  border-radius: 999px; display: grid; place-items: center; font-weight: 800; font-size: 0.85rem;
  background: var(--color-primary); color: var(--color-primary-content); }
.arch-steps b { display: block; color: var(--color-base-content); margin-bottom: 0.15rem; }
.phone-screen .kpi { font-size: 0.95rem; }

/* Sign in and Try for free, beside the links; the contact address in the footer */
@media (min-width: 640px) { .nav-ctas { margin-left: 0.75rem; } }
.footer-links a.footer-mail { font-weight: 600; }
.fine a, .faq-a a { color: var(--color-primary); }

/* The hero's week, Friday blocked, and the change waiting for a person */
.stage .wk-card, .stage .wait-card { gap: 0.45rem; }
.wk { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.3rem; }
.wk .d { display: grid; justify-items: center; align-content: start; gap: 0.25rem; min-height: 3.1rem;
  padding: 0.35rem 0.2rem; border-radius: 0.5rem; background: var(--color-base-200); }
.wk .d b { font-size: 0.68rem; color: var(--muted); }
.wk .d i { width: 0.45rem; height: 0.45rem; border-radius: 999px; background: var(--color-primary); }
.wk .d.no { background: color-mix(in srgb, var(--color-error) 12%, var(--surface)); }
.wk .d.no .icon { width: 0.8rem; height: 0.8rem; color: var(--color-error); }
.w-txt { font-size: 0.8rem; line-height: 1.45; }
.w-btns { display: flex; gap: 0.4rem; }
@media (min-width: 1100px) { #uses .section-head { max-width: none; } #uses .section-head .sub { max-width: 46rem; } }
@media (max-width: 560px) { .stage .aw-kpis { grid-template-columns: 1fr; } }
.hero2 .lead { text-wrap: balance; }
.works-with { margin-top: -0.3rem; text-wrap: balance; }
