@font-face{font-family:"Fraunces";src:url(/assets/fraunces.177ff6c0f1.ttf) format("truetype");font-weight:100 900;font-display:swap}
@font-face{font-family:"Manrope";src:url(/assets/manrope.3ae11c49db.ttf) format("truetype");font-weight:200 800;font-display:swap}
@font-face{font-family:"JetBrains Mono";src:url(/assets/jetbrainsmono.63ca1e6b6e.ttf) format("truetype");font-weight:400;font-display:swap}
:root{--accent:#0d6b63;--accent-soft:#d2ebe6}
:root[data-theme=dark]{--accent:#62cbbb;--accent-soft:#163330}
:root {
  --paper: #f6f1e5;
  --surface: #fffbf2;
  --ink: #1c231f;
  --muted: #596157;
  --line: #d8cfbb;
  --line-strong: #b9ae95;
  --term: #1b221e;
  --term-ink: #e8e2d2;
  --term-muted: #98a094;
  --term-line: #323c35;
  --add: #2f6b3c;
  --add-bg: #e0eedb;
  --del: #9b2f22;
  --del-bg: #f6dfd8;
  --on-accent: #fff;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #121815;
  --surface: #19211d;
  --ink: #ece6d7;
  --muted: #a9ad9f;
  --line: #2e3832;
  --line-strong: #46524a;
  --term: #0c110e;
  --term-ink: #e8e2d2;
  --term-muted: #8f978b;
  --term-line: #26302a;
  --add: #9fd6a4;
  --add-bg: #1c3022;
  --del: #ffaa9a;
  --del-bg: #3a1f1a;
  --on-accent: #121815;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    17px/1.68 Manrope,
    "Iowan Old Style",
    Georgia,
    serif;
  font-feature-settings: "ss01";
}
a {
  color: var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
h1,
h2,
h3,
p,
ul,
ol {
  margin-top: 0;
}
figure {
  margin: 0;
}
.walk {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 56px;
  margin: 34px 0 36px;
}
.walk > div {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.walk h3 {
  margin-top: 0;
}
.walk p {
  color: var(--muted);
}
h1,
h2,
h3 {
  font-family: Fraunces, Georgia, serif;
  font-optical-sizing: auto;
  color: var(--ink);
}
h1 {
  font-size: clamp(2.6rem, 5.6vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 560;
  margin-bottom: 24px;
  max-width: 14ch;
}
h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 560;
  margin-bottom: 18px;
  max-width: 22ch;
}
h3 {
  font-size: 1.32rem;
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 600;
  margin-bottom: 10px;
}
p {
  max-width: 66ch;
}
code,
kbd,
pre {
  font-family: "JetBrains Mono", ui-monospace, Menlo, monospace;
}
code {
  font-size: 0.84em;
  background: var(--accent-soft);
  color: var(--ink);
  padding: 1px 5px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 5;
}
.skip:focus {
  left: 12px;
}
.top,
main,
.foot {
  width: min(1180px, calc(100% - 64px));
  margin: 0 auto;
}
.top {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.mark {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
}
.mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}
.brand-domain {
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.brand-by {
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 600;
}
.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 650;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
}
.nav a:hover {
  color: var(--accent);
}
.theme {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  border-radius: 99px;
  padding: 6px 14px;
  cursor: pointer;
}
.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0 72px;
}
.kicker {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 18px;
}
.lead {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 36em;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin: 30px 0 22px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 780;
  text-decoration: none;
  font-size: 0.98rem;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 -3px var(--accent-soft);
}
.text-link {
  font-weight: 750;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 650;
}
.facts li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
  margin-right: 9px;
  vertical-align: 1px;
}
.section {
  padding: 76px 0;
  border-top: 1px solid var(--line);
}
.section-intro {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 38px;
}
.section-intro p {
  color: var(--muted);
  margin-bottom: 6px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.prose p {
  margin-bottom: 18px;
}
.prose h3 {
  margin-top: 30px;
}
.prose ul {
  padding-left: 20px;
}
.prose li {
  margin-bottom: 8px;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 36px;
}
.steps li {
  counter-increment: step;
  border-top: 2px solid var(--ink);
  padding-top: 18px;
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font:
    500 2.4rem/1 Fraunces,
    Georgia,
    serif;
  color: var(--accent);
  display: block;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
}
.steps h3 {
  font-size: 1.2rem;
}
.steps p {
  color: var(--muted);
  font-size: 0.97rem;
}
.steps.four {
  grid-template-columns: repeat(4, 1fr);
  gap: 0 28px;
}
/* agent session */
.session {
  background: var(--term);
  color: var(--term-ink);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 1px 0 var(--line),
    0 30px 60px -38px rgba(20, 25, 20, 0.55);
  font-size: 0.94rem;
  border: 1px solid var(--term-line);
}
.session-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--term-line);
  font:
    0.76rem/1.4 "JetBrains Mono",
    monospace;
  color: var(--term-muted);
}
.session-bar .dots {
  display: flex;
  gap: 6px;
}
.session-bar .dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--term-line);
  display: block;
}
.session-bar .label {
  margin-left: auto;
  border: 1px solid var(--term-line);
  border-radius: 99px;
  padding: 2px 10px;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.session-body {
  padding: 22px 22px 8px;
}
.turn {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.turn > :not(.who) {
  grid-column: 2;
  min-width: 0;
}
.turn .who {
  font:
    0.72rem/1.9 "JetBrains Mono",
    monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--term-muted);
}
.turn.you .who {
  color: var(--accent);
}
.turn p {
  margin: 0 0 8px;
  max-width: none;
  line-height: 1.6;
}
.turn.you p {
  color: #fff;
}
:root[data-theme="dark"] .turn.you p {
  color: var(--term-ink);
}
.turn .note {
  color: var(--term-muted);
  font-size: 0.86rem;
}
.diff {
  margin: 6px 0 10px;
  border: 1px solid var(--term-line);
  border-radius: 10px;
  overflow: hidden;
  font:
    0.8rem/1.65 "JetBrains Mono",
    monospace;
}
.diff-file {
  padding: 7px 12px;
  border-bottom: 1px solid var(--term-line);
  color: var(--term-muted);
  background: rgba(255, 255, 255, 0.03);
}
.diff-line {
  padding: 2px 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.diff-line.ctx {
  color: var(--term-muted);
}
.diff-line.add {
  background: rgba(110, 190, 120, 0.14);
  color: #c8eccb;
}
.diff-line.del {
  background: rgba(230, 110, 90, 0.14);
  color: #f4c3b8;
}
.diff-line .sign {
  display: inline-block;
  width: 1.4em;
  opacity: 0.7;
}
.tok {
  color: #f2c28d;
}
/* light code panels */
.codeblock {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  overflow: hidden;
}
.codeblock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 750;
}
.codeblock pre {
  margin: 0;
  padding: 20px;
  font-size: 0.84rem;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.copy {
  font: inherit;
  font-size: 0.78rem;
  font-weight: 750;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  border-radius: 8px;
  padding: 5px 12px;
  cursor: pointer;
  white-space: nowrap;
}
.copy:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.copy[data-state="done"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
/* q&a */
.qa {
  border-top: 1px solid var(--line);
}
.qa details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.qa summary {
  cursor: pointer;
  font:
    600 1.18rem/1.35 Fraunces,
    Georgia,
    serif;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.qa summary::-webkit-details-marker {
  display: none;
}
.qa summary::after {
  content: "+";
  color: var(--accent);
  font-family: Manrope, sans-serif;
  font-weight: 700;
}
.qa details[open] summary::after {
  content: "–";
}
.qa details p {
  margin: 12px 0 0;
  color: var(--muted);
}
/* tabs */
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.tablist button {
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  padding: 10px 14px;
  margin-bottom: -1px;
  cursor: pointer;
}
.tablist button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
/* offer */
.offer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  margin: 12px 0 84px;
  padding: 52px;
  border-radius: 22px;
  background: var(--accent-soft);
}
.offer h2 {
  max-width: 16ch;
}
.offer-price {
  background: var(--surface);
  border-radius: 16px;
  padding: 30px;
  border: 1px solid var(--line);
}
.price {
  font:
    560 4.4rem/1 Fraunces,
    Georgia,
    serif;
  letter-spacing: -0.05em;
  margin-bottom: 18px;
}
.price span {
  font:
    600 1rem Manrope,
    sans-serif;
  letter-spacing: 0;
  color: var(--muted);
  margin-left: 4px;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}
.ticks li {
  padding: 9px 0 9px 28px;
  border-top: 1px solid var(--line);
  position: relative;
  font-weight: 600;
  font-size: 0.97rem;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 17px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.fine {
  font-size: 0.84rem;
  color: var(--muted);
  margin: 0;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 34px 0 48px;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--muted);
}
.foot p {
  margin-bottom: 6px;
}
.foot-brand {
  font-weight: 800;
  color: var(--ink);
}
.foot-brand span {
  font-weight: 500;
  color: var(--muted);
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-content: flex-start;
  justify-content: flex-end;
  max-width: 420px;
}
.foot nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
}
.foot nav a:hover {
  color: var(--accent);
}
.pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 3px 10px;
  background: var(--accent-soft);
  color: var(--ink);
}
.example-note {
  font-size: 0.84rem;
  color: var(--muted);
  margin-top: 12px;
}
/* motion: one load-time reveal for the hero */
@media (prefers-reduced-motion: no-preference) {
  .hero > * {
    animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero > *:nth-child(2) {
    animation-delay: 0.2s;
  }
  .session .turn {
    animation: rise 0.5s ease both;
  }
  .session .turn:nth-child(2) {
    animation-delay: 0.6s;
  }
  .session .turn:nth-child(3) {
    animation-delay: 1.1s;
  }
  .session .turn:nth-child(4) {
    animation-delay: 1.5s;
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 44px 0 56px;
  }
  .section-intro,
  .split {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .steps,
  .steps.four,
  .walk {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .offer {
    grid-template-columns: 1fr;
    padding: 34px;
    gap: 30px;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .top,
  main,
  .foot {
    width: calc(100% - 36px);
  }
  .top {
    gap: 12px;
    padding: 16px 0;
  }
  .nav {
    display: none;
  }
  .theme {
    margin-left: auto;
  }
  .mark {
    width: 36px;
    height: 36px;
  }
  .brand-domain {
    font-size: 0.88rem;
  }
  h1 {
    font-size: clamp(2.35rem, 10.5vw, 3.2rem);
  }
  .lead {
    font-size: 1.06rem;
  }
  .section {
    padding: 52px 0;
  }
  .steps,
  .steps.four,
  .walk {
    grid-template-columns: 1fr;
  }
  .session-bar .dots {
    display: none;
  }
  .session-body {
    padding: 16px 14px 4px;
  }
  .turn {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .turn > :not(.who) {
    grid-column: auto;
  }
  .offer {
    padding: 24px 20px;
    margin-bottom: 56px;
  }
  .offer-price {
    padding: 22px;
  }
  .price {
    font-size: 3.6rem;
  }
  .foot {
    flex-direction: column;
    gap: 18px;
  }
  .foot nav {
    justify-content: flex-start;
  }
  .button {
    width: 100%;
    justify-content: center;
  }
}
.not-found {
  grid-template-columns: 1fr;
  min-height: 50vh;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.chain {
  list-style: none;
  margin: 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  position: relative;
}
.chain-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--muted);
}
.chain-node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.chain-node.you {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
}
.chain-node b {
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}
.chain-node small {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
  font-weight: 600;
}
.chain-node .dot {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font:
    600 1rem Fraunces,
    serif;
  background: var(--accent-soft);
  color: var(--ink);
  flex: none;
}
.chain-node.you .dot {
  background: var(--on-accent);
  color: var(--accent);
}
.chain-link {
  position: relative;
  margin: 0 0 0 34px;
  padding: 14px 0 14px 30px;
  border-left: 2px dashed var(--line-strong);
  font-size: 0.9rem;
  color: var(--muted);
}
.chain-link::after {
  content: "";
  position: absolute;
  left: -7px;
  bottom: -1px;
  border: 6px solid transparent;
  border-top: 8px solid var(--line-strong);
}
.chain-link strong {
  color: var(--ink);
}
.chain-foot {
  margin: 22px 0 0;
  font-size: 0.86rem;
  color: var(--muted);
}
.cases [role="tabpanel"] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.cases [role="tabpanel"][hidden] {
  display: none;
}
.passage {
  font:
    1.12rem/1.65 Fraunces,
    Georgia,
    serif;
  margin: 0 0 14px;
  padding: 22px 24px;
  border-left: 4px solid var(--accent);
  background: var(--surface);
  border-radius: 0 12px 12px 0;
}
.passage mark {
  background: var(--accent-soft);
  color: var(--ink);
  padding: 0 3px;
  border-radius: 3px;
}
.passage s {
  color: var(--muted);
}
.verdict {
  font-weight: 800;
  font-size: 1.05rem;
}
@media (max-width: 980px) {
  .cases [role="tabpanel"] {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
@media (max-width: 640px) {
  .chain {
    padding: 20px;
  }
  .chain-link {
    margin-left: 16px;
    padding-left: 20px;
  }
}
.judge-prompt {
  margin-top: 36px;
}
.any-request {
  margin-top: 56px;
}
