@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-latin.woff2") format("woff2"); font-weight: 100 1000; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("fonts/dm-serif-display-italic-latin.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* Light only, on purpose: the sibling DevReady page is light, and one theme keeps the brand consistent. */
:root {
  --bg: #ffffff;
  --card: #f5f5f6;
  --card-2: #ececef;
  --ink: #121212;
  --ink-2: #5f6168;
  --ink-3: #6b6d74;
  --line: #e6e6ea;
  --amber: #f59e0b;
  --amber-deep: #c2410c;
  --indigo: #4f46e5;
  --sev-high: #b91c1c;
  --sev-med: #92400e;
  --sev-low: #0369a1;
  --term: #1d1e22;
  --term-2: #26272c;
  --term-line: #34353b;
  --term-text: #e9e9ec;
  --term-dim: #9a9ba3;
  --t-high: #ff9b9b;
  --t-med: #fbbf24;
  --t-low: #7dd3fc;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "DM Serif Display", Georgia, serif;
  --mono: "Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 3px; border-radius: 6px; }
code, pre { font-family: var(--mono); }
code { font-size: 0.9em; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-weight: 500; margin: 0; }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.01em; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
.i.amber { color: var(--amber-deep); }
.i.indigo { color: var(--indigo); }

.skip { position: absolute; left: 12px; top: -64px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 30; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }

/* floating pill nav */
.nav-wrap { position: sticky; top: 14px; z-index: 20; display: flex; justify-content: center; padding: 14px 16px 0; }
.nav {
  display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px;
  background: rgb(255 255 255 / 0.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--line); box-shadow: 0 8px 28px rgb(245 158 11 / 0.14), 0 1px 2px rgb(0 0 0 / 0.04);
  max-width: 100%;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1.05rem; padding: 0 12px 0 2px; color: var(--ink); }
.brand-mark { display: grid; place-items: center; }
.brand-mark svg { width: 46px; height: auto; display: block; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { text-decoration: none; font-size: 0.95rem; padding: 8px 14px; border-radius: 999px; color: var(--ink); }
.nav-links a:hover { background: var(--card); }

/* pills (buttons) */
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  font: 500 0.95rem/1.2 var(--sans); text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); background: #fff; transition: transform 0.15s, background-color 0.15s;
}
.pill:hover { transform: translateY(-1px); }
.pill.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill.dark:hover { background: #2b2b2e; }
.pill.white { background: #fff; border-color: #fff; color: var(--indigo); }
.pill.ghost { background: transparent; border-color: rgb(255 255 255 / 0.6); color: #fff; }
.pill.ghost:hover { background: rgb(255 255 255 / 0.1); }
.row-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

/* hero */
.hero { position: relative; padding: clamp(56px, 9vw, 104px) 0 24px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto; height: 820px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 46% at 50% 30%, rgb(251 191 36 / 0.28), transparent 70%),
    radial-gradient(30% 36% at 78% 62%, rgb(99 102 241 / 0.16), transparent 70%),
    radial-gradient(28% 34% at 20% 64%, rgb(249 115 22 / 0.12), transparent 70%);
}
h1 { font-size: clamp(2.6rem, 6.4vw, 4.7rem); line-height: 1.06; letter-spacing: -0.045em; text-wrap: balance; }
h1 em {
  font: italic 400 1.04em/1 var(--serif); letter-spacing: -0.02em; padding-right: 0.06em;
  background: linear-gradient(95deg, #d97706 0%, #ea580c 45%, #6d28d9 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { font-size: 1.16rem; color: var(--ink-2); max-width: 36rem; margin: 24px auto 0; }
.install {
  display: flex; align-items: center; gap: 8px; max-width: 32rem; margin: 30px auto 0; padding: 6px 6px 6px 22px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 30px rgb(245 158 11 / 0.16);
}
.install code { flex: 1; min-width: 0; font: 500 1rem/1.5 var(--mono); overflow-x: auto; white-space: nowrap; text-align: left; padding: 8px 0; }
.install button {
  border: 0; border-radius: 999px; padding: 12px 22px; cursor: pointer; flex: none;
  background: linear-gradient(180deg, #fbbf24, #f59e0b); color: #1a1a1a; font: 600 0.95rem/1.2 var(--sans);
}
.install button:hover { filter: brightness(0.96); }
.fine { color: var(--ink-2); font-size: 0.92rem; margin: 16px auto 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.fine.left, .fine.plain { display: block; }
.fine.left { margin-left: 0; }
.fine.plain { text-align: center; }
.fine .i { width: 15px; height: 15px; }
.fine a { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; color: var(--ink); text-decoration-color: var(--amber); text-decoration-thickness: 2px; }

/* code boxes that wrap (grep, deny rule) */
.install.code-block { border-radius: 14px; align-items: flex-start; padding: 10px 10px 10px 18px; box-shadow: none; max-width: none; }
.install.code-block code { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 0.84rem; }
.install.code-block button { padding: 9px 16px; }

/* stage: soft gradient frame around a terminal */
.stage {
  margin-top: 56px; padding: 32px; border-radius: 32px;
  background: linear-gradient(135deg, #ffe8cc 0%, #fff6ec 42%, #f1edff 100%);
  border: 1px solid #f6e7d6;
}
.stage.soft { margin-top: 28px; }
.stage-note { margin: 14px 0 0; text-align: center; font-size: 0.86rem; color: var(--ink-2); }
.demo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 860px; margin: 0 auto; }

.term { background: var(--term); color: var(--term-text); border-radius: 18px; overflow: hidden; box-shadow: 0 24px 50px rgb(17 17 17 / 0.18); min-width: 0; }
.term.wide { max-width: 880px; margin: 0 auto; }
.term-bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; min-height: 46px; background: var(--term-2); border-bottom: 1px solid var(--term-line); color: var(--term-dim); font: 400 0.82rem var(--mono); }
.term-bar > span:nth-child(2) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #4a4b52; }
.prompt { color: var(--amber); }
.term-tag { border: 1px solid var(--term-line); border-radius: 999px; padding: 4px 10px; font-size: 0.74rem; }
.term pre { margin: 0; padding: 18px 20px; font: 400 0.8rem/1.65 var(--mono); overflow-x: auto; white-space: pre; }
.term-foot { margin: 0; padding: 14px 20px 18px; border-top: 1px solid var(--term-line); color: var(--term-dim); font-size: 0.9rem; }
.term-foot code { color: var(--term-text); }
#out { min-height: 17.5em; }
#tx { white-space: pre-wrap; overflow-wrap: anywhere; }
.d { color: var(--term-dim); }
.b { color: #fff; font-weight: 500; }
.h { color: var(--t-high); }
.m { color: var(--t-med); }
.l { color: var(--t-low); }
.key { border-radius: 4px; padding: 2px 8px; margin-left: 2px; transition: background-color 0.35s, color 0.35s; }
.key.found { background: var(--amber); color: #1a1a1a; }
.replay { background: transparent; border: 1px solid var(--term-line); color: var(--term-text); border-radius: 999px; padding: 8px 14px; font: 500 0.76rem var(--mono); cursor: pointer; flex: none; }
.replay:hover:not(:disabled) { background: #33343a; }
.replay:disabled { opacity: 0.45; cursor: default; }
.bar { display: inline-block; width: 20ch; height: 0.78em; background: #44454c; border-radius: 2px; vertical-align: -0.08em; overflow: hidden; }
.bar i { display: block; height: 100%; width: 77%; background: var(--amber); }

/* sections */
.sec { padding: clamp(64px, 9vw, 112px) 0 0; }
.sec.tight { padding-top: clamp(56px, 7vw, 88px); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.1; letter-spacing: -0.04em; text-wrap: balance; }
.strip-title { font-size: 1.2rem; font-weight: 500; letter-spacing: -0.01em; margin: 0; }
.statement { font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.15; }
.sub { color: var(--ink-2); font-size: 1.1rem; margin-top: 20px; }
.muted { color: var(--ink-2); margin: 2px 0 0; }
.kicker { color: var(--amber-deep); font-weight: 500; font-size: 0.95rem; margin: 0 0 10px; }
.kicker.light { color: rgb(255 255 255 / 0.92); }

.feats { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; }
.feats li { display: flex; align-items: center; gap: 14px; font-size: 1.08rem; font-weight: 500; }
.ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none; color: #fff; }
.ic .i { width: 17px; height: 17px; }
.ic.ink { background: var(--ink); }
.ic.amber { background: var(--amber); color: #1a1a1a; }
.ic.indigo { background: var(--indigo); }

/* tabs */
.tabs { display: flex; width: fit-content; max-width: 100%; margin: 32px auto 0; padding: 5px; gap: 4px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); overflow-x: auto; }
.tabs button { border: 0; background: transparent; padding: 10px 18px; border-radius: 999px; font: 500 0.95rem/1.2 var(--sans); color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(0 0 0 / 0.1); }
.tabs code { font-size: 0.92em; }
.panel[hidden] { display: none; }

.perks { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; text-align: center; }
.perks .i { width: 22px; height: 22px; margin-bottom: 10px; }
.perks h3 { margin-bottom: 6px; }
.perks p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }

.logos { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; color: var(--ink-2); font-size: 1.1rem; }
.logos li { display: inline-flex; align-items: center; gap: 9px; }

/* grey cards */
.card { background: var(--card); border-radius: 32px; padding: 44px; }
.card.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center; }
.card h2 { margin-bottom: 8px; }
.inset { background: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 12px 30px rgb(17 17 17 / 0.06); }
.inset-title { font-weight: 500; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.steps li { position: relative; padding-left: 46px; }
.steps li::before {
  counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line); font: 500 0.85rem/1 var(--mono); color: var(--amber-deep);
}
.steps p { color: var(--ink-2); margin: 4px 0 0; }

.grades { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.grades li { display: flex; align-items: center; gap: 16px; padding: 10px 16px; border-radius: 14px; background: var(--card); }
.grades b { font-weight: 600; font-size: 1.4rem; width: 1.2em; }
.grades li:first-child b { color: #15803d; }
.grades li:last-child b { color: var(--sev-high); }
.grades span { color: var(--ink-2); font-size: 0.95rem; }
.sevs { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 0.95rem; }
.sevs li { display: flex; align-items: center; gap: 10px; }
.sev { font: 500 0.74rem/1.2 var(--mono); padding: 4px 10px; border: 1px solid currentColor; border-radius: 999px; white-space: nowrap; min-width: 5.4em; text-align: center; }
.sev.high { color: var(--sev-high); }
.sev.medium { color: var(--sev-med); }
.sev.low { color: var(--sev-low); }
.term-bar .sev.high { color: var(--t-high); }
.term-bar .sev.medium { color: var(--t-med); }
.term-bar .sev.low { color: var(--t-low); }

/* trust */
.promises { list-style: none; padding: 0; margin: 36px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.promises li { background: var(--card); border-radius: 24px; padding: 24px; }
.promises .ic { margin-bottom: 16px; }
.promises p { color: var(--ink-2); font-size: 0.95rem; margin: 6px 0 0; }

/* fit */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.duo h3 { font-size: 1.3rem; margin-bottom: 16px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; color: var(--ink-2); }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks .i { color: #15803d; margin-top: 3px; }
.ticks.plain li { display: block; }
.ticks.plain li::before { content: "–"; color: var(--ink-3); margin-right: 10px; }

/* roadmap */
.issues { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.issues a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: #fff; text-decoration: none; transition: transform 0.15s; }
.issues a:hover { transform: translateX(3px); }
.num { font: 400 0.85rem var(--mono); color: var(--ink-3); }

/* Evalogical card */
.eva {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: center;
  padding: 48px; border-radius: 32px; color: #fff;
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 55%, #6d28d9 100%);
}
.eva h2 { margin-bottom: 18px; }
.eva p { color: rgb(255 255 255 / 0.88); }
.services { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.services li { padding: 14px 18px; border-radius: 14px; background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.22); font-weight: 500; }

/* faq */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq h2 { position: sticky; top: 110px; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
details:first-child { padding-top: 0; }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-weight: 500; font-size: 1.1rem; line-height: 1.35; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 1.4rem/1 var(--sans); color: var(--ink-3); flex: none; }
details[open] summary::after { content: "–"; }
details p { color: var(--ink-2); margin: 12px 0 0; }
details a { color: var(--indigo); }

/* footer */
footer { background: var(--card); margin-top: clamp(64px, 9vw, 112px); padding: 56px 0 28px; color: var(--ink-2); font-size: 0.95rem; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.foot .brand { padding: 0; margin-bottom: 14px; }
.foot h3 { font-size: 0.95rem; color: var(--ink); margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--card-2); }

@media (max-width: 900px) {
  .card.split, .eva, .faq, .duo { grid-template-columns: minmax(0, 1fr); }
  .perks { grid-template-columns: 1fr 1fr; }
  .promises { grid-template-columns: minmax(0, 1fr); }
  .faq h2 { position: static; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .feats { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .nav .pill { padding: 10px 14px; font-size: 0.88rem; }
  .nav .pill .i { display: none; }
  .perks { grid-template-columns: minmax(0, 1fr); }
  .install { padding-left: 16px; }
  .install code { font-size: 0.9rem; }
  .stage, .card, .eva { border-radius: 24px; }
  .stage { padding: 14px; }
  .card, .eva { padding: 24px; }
  .inset { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* agents section */
.agent-card { margin-top: 16px; }
.agent-card .panel > p { margin-bottom: 14px; }
.agent-card .install.code-block { margin-bottom: 12px; background: #fff; }
