:root {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1b2c29;
  background: #f7f8f2;
  font-synthesis: none;
  --green: #19694f;
  --ink: #1b2c29;
  --lime: #d9ef9d;
  --line: #dfe5db;
  --muted: #66766d;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .46; cursor: default; }
button, a, select { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, select:focus-visible {
  outline: 3px solid #29846a; outline-offset: 4px;
}
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.nav {
  position: sticky; top: 16px; z-index: 10; min-height: 76px;
  margin-top: 18px; padding: 15px 22px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; border: 1px solid #dce3d7;
  border-radius: 16px; background: #ffffffed; backdrop-filter: blur(18px);
  box-shadow: 0 6px 24px #243b2b05;
}
.brand { display: inline-flex; align-items: center; gap: 6px; font-size: 21px; font-weight: 760; letter-spacing: -.8px; white-space: nowrap; }
.brand-light { font-weight: 450; color: #708075; }
.brand-mark {
  background: var(--ink); color: #fff; width: 34px; height: 34px; display: inline-flex;
  align-items: center; justify-content: center; border-radius: 9px;
  margin-right: 5px; font-size: 27px; font-style: italic;
}
.brand-mark span { font-size: 19px; color: var(--lime); align-self: flex-start; }
nav { display: flex; align-items: center; gap: 25px; font-size: 13px; font-weight: 600; }
nav > a { transition: color .15s; padding-block: 7px; }
nav > a:hover, .text-link:hover { color: var(--green); }
.github { padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fafbf7; }
.language-picker select { color: #394d41; background: transparent; border: 0; font-size: 12px; padding: 7px 0; max-width: 108px; cursor: pointer; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 62px; align-items: center; padding-block: 86px 76px; }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; gap: 9px; align-items: center; font: 600 10px/1.5 var(--mono); letter-spacing: 1.3px; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #3c9c73; flex-shrink: 0; }
.version { font: 10px var(--mono); color: #4c6553; letter-spacing: 0; padding: 4px 6px; border: 1px solid #d5dfce; border-radius: 5px; background: #edf3e4; }
h1 { font-size: clamp(48px, 5.25vw, 76px); line-height: 1.08; letter-spacing: -3.7px; font-weight: 760; margin: 27px 0 24px; }
.accent { color: var(--green); }
.intro { color: var(--muted); font-size: 15px; line-height: 1.85; margin: 0 0 27px; max-width: 515px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.primary { background: var(--lime); border: 1px solid #cadd99; color: #253a22; font-weight: 650; transition: background .15s, box-shadow .15s; }
.primary:hover:not(:disabled) { background: #cce58b; box-shadow: 0 4px 16px #61804018; }
.link-button { display: inline-flex; gap: 29px; align-items: center; padding: 14px 19px; border-radius: 9px; font-size: 12px; }
.install { display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff; color: #3b5143; border: 1px solid var(--line); border-radius: 9px; font: 11px var(--mono); }
.prompt { color: #7b8e7a; }
.small { font-size: 11px; color: var(--muted); min-height: 14px; margin: 7px 0; }
.features { display: flex; flex-wrap: wrap; gap: 23px; margin-top: 13px; font-size: 10px; color: var(--muted); }
.features b { font-size: 12px; color: #3c5342; margin-right: 5px; }
.release-link { display: inline-flex; gap: 9px; align-items: center; font-size: 11px; color: #607253; margin-top: 27px; }
.release-link:hover { color: var(--green); }
.new-label { font: 700 8px var(--mono); padding: 4px 5px; background: #e7eddb; border: 1px solid #d5dfc4; border-radius: 4px; letter-spacing: .5px; }
.hero-code { min-width: 0; color: #dce7df; background: #1b2926; border: 1px solid #2d4036; border-radius: 14px; overflow: hidden; box-shadow: 0 28px 65px -30px #233d3855; }
.code-bar { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: #ffffff03; border-bottom: 1px solid #ffffff10; color: #a4b4aa; font: 10px var(--mono); }
.code-bar > :last-child { margin-left: auto; font-size: 9px; }
.window-dots { letter-spacing: 3px; color: #6c8172; font-size: 8px; }
.hero-code pre { margin: 0; padding: 24px 23px; font: 12px/1.95 var(--mono); overflow: auto; }
.purple { color: #c7c3ec; }
.green { color: #bcdb9b; }
.blue { color: #95c4d2; }
.orange { color: #e2bc88; }
.muted-code { color: #91a497; }
.sample-response { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0 20px 20px; padding: 15px; background: #111c1959; border: 1px solid #ffffff0c; border-radius: 8px; }
.sample-label { display: block; font: 8px var(--mono); letter-spacing: 1px; color: #9aaf9d; margin-bottom: 8px; }
.sample-response code { font: 10px var(--mono); color: #d5e3cd; }
.http-status { color: #b9db97; font: 9px var(--mono); white-space: nowrap; }
.code-footer { display: flex; align-items: center; gap: 8px; border-top: 1px solid #ffffff10; padding: 12px 21px; font: 9px var(--mono); color: #a3b4a5; }
.code-footer > :last-child { margin-left: auto; }
.compatibility { display: flex; align-items: center; justify-content: space-between; gap: 25px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 24px; }
.compatibility > span { font: 9px var(--mono); letter-spacing: 1px; color: #7a8978; }
.compatibility > div { display: flex; flex-wrap: wrap; gap: 36px; color: #53674f; font-size: 13px; font-weight: 600; }
.playground { padding-top: 72px; }
.quickstart { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding-top: 72px; align-items: center; }
.quickstart .eyebrow { color: var(--green); }
.quickstart-steps { padding-left: 20px; font-size: 12px; line-height: 1.8; color: var(--muted); }
.quickstart-steps li { padding-left: 5px; margin-block: 12px; }
.quickstart-steps code { display: block; font: 11px/1.8 var(--mono); color: var(--ink); margin-top: 5px; overflow-wrap: anywhere; }
.quickstart-note { font-size: 11px; line-height: 1.8; color: var(--muted); }
.quickstart .fixture-panel pre { height: auto; }
.quickstart-status { min-height: 20px; margin: 14px 22px 18px; color: #bbd5a5; font-size: 10px; line-height: 1.7; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 27px; }
.section-heading .eyebrow { color: var(--green); }
h2 { font-size: clamp(27px, 3vw, 37px); line-height: 1.2; letter-spacing: -1.3px; margin: 12px 0; font-weight: 710; }
.section-heading p { color: var(--muted); font-size: 12px; line-height: 1.7; margin: 0; }
.connection { display: flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid #d9e4d0; background: #eff4e7; border-radius: 20px; font-size: 9px; color: #5f7351; white-space: nowrap; }
.workspace { display: grid; grid-template-columns: 220px minmax(0, 1fr); border: 1px solid #d7e0d4; border-radius: 14px; background: #fff; box-shadow: 0 14px 35px -24px #23472a2b; overflow: hidden; }
.scenario-nav { display: flex; flex-direction: column; background: #f0f4ed; border-right: 1px solid var(--line); padding: 22px 12px; }
.sidebar-title { display: flex; justify-content: space-between; padding: 0 10px 19px; font-size: 10px; color: #778571; }
.sidebar-title > span:last-child { font-family: var(--mono); }
.scenario { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 10px; margin-bottom: 4px; text-align: left; font-size: 12px; line-height: 1.5; color: #5d705d; border: 1px solid transparent; border-radius: 7px; background: transparent; }
.scenario-number { color: #84977e; font: 9px var(--mono); }
.scenario:hover { background: #e7eddf; }
.scenario[aria-pressed=true] { background: #fff; color: var(--green); border-color: #d5e1cb; box-shadow: 0 2px 5px #153d1d05; font-weight: 650; }
.scenario[aria-pressed=true] .scenario-number { color: var(--green); }
.scenario-indicator { margin-left: auto; font-size: 11px; }
.sidebar-note { color: #7c8e75; font-size: 9px; line-height: 1.9; padding: 25px 10px 0; margin-top: auto; }
.workspace-main { min-width: 0; }
.demo-heading { display: flex; justify-content: space-between; gap: 22px; padding: 27px; min-height: 148px; }
.tag { color: var(--green); font: 8px var(--mono); letter-spacing: 1px; }
.demo-heading h3 { font-size: 21px; margin: 10px 0 9px; letter-spacing: -.7px; }
.demo-heading p { margin: 0; font-size: 12px; line-height: 1.8; color: var(--muted); max-width: 620px; }
.outcome { font-size: 9px; white-space: nowrap; height: fit-content; padding: 6px 9px; border: 1px solid #e0e6dc; border-radius: 20px; color: #687c61; background: #f5f8f1; }
.outcome[data-outcome=passed] { color: #15664d; background: #edf5e4; border-color: #cfe2bd; }
.outcome[data-outcome=failed] { color: #a34432; background: #fff0eb; border-color: #efd0c6; }
.outcome[data-outcome=running] { color: #826217; background: #fff6dd; border-color: #ebdeb6; }
.demo-body { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.snippet { min-width: 0; background: #1b2926; color: #d5e0d7; }
.panel-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 19px; font-size: 10px; color: #b1c0b5; border-bottom: 1px solid #ffffff10; }
.panel-label > :last-child { font: 8px var(--mono); letter-spacing: .5px; color: #91a88e; }
.snippet pre { margin: 0; padding: 20px 19px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; font: 11px/1.95 var(--mono); }
.result-panel { min-width: 0; background: #fdfefa; border-left: 1px solid var(--line); }
.result-panel .panel-label { border-color: var(--line); color: #65775d; }
.result-panel pre { font: 11px/1.9 var(--mono); padding: 19px; margin: 0; height: 265px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; color: #406341; }
.runbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 23px; }
.run-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.runbar button, .fixture-actions button { padding: 10px 13px; border: 1px solid #d9e2d2; border-radius: 7px; background: #fff; color: #4e6249; font-size: 10px; }
.runbar button.primary, .fixture-actions button.primary { background: var(--lime); border-color: #cadd9d; color: #263d21; }
.runbar button.primary:hover, .fixture-actions button.primary:hover { background: #cce58b; }
.runbar > span { font: 9px var(--mono); color: #7d8e74; white-space: nowrap; }
.network { border-top: 1px solid var(--line); padding: 0 24px 15px; }
.network-heading { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.network-heading h4 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 10px; font-weight: 600; }
.network-heading h4 .dot { width: 5px; height: 5px; }
.network-heading h4 > span:last-child { font: 9px var(--mono); padding: 2px 5px; border-radius: 4px; background: #f0f4e9; color: #819375; }
.network-heading button { background: none; border: 0; color: #6c7f61; font-size: 10px; padding: 8px; }
.table-scroll { overflow: auto; max-height: 190px; }
table { border-collapse: collapse; width: 100%; text-align: left; font: 10px/1.65 var(--mono); }
th, td { padding: 8px 10px; border-bottom: 1px solid #edf0e8; }
th { position: sticky; top: 0; background: #f3f6ee; color: #71866a; font-weight: 400; }
td { color: #546b4d; overflow-wrap: anywhere; }
th:nth-child(2), td:nth-child(2) { width: 75px; }
th:nth-child(3), td:nth-child(3) { width: 85px; }
td.status-ok { color: #1b7655; }
td.status-error { color: #a05a33; }
.empty-row td { color: #7f9075; text-align: center; padding-block: 22px; }
.playground-note { font-size: 10px; line-height: 1.8; color: #7a8973; margin-top: 16px; max-width: 1000px; }
.feature-section { padding-top: 84px; }
.text-link { white-space: nowrap; font-size: 11px; color: var(--green); font-weight: 600; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.principles > div { padding: 27px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.principles > div > span { font: 9px var(--mono); letter-spacing: .6px; color: #79906a; }
.principles h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.5px; margin: 24px 0 13px; }
.principles p { font-size: 12px; line-height: 1.9; color: var(--muted); margin: 0; }
.recording-section { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; padding-block: 100px; align-items: center; }
.recording-copy > .eyebrow { color: var(--green); }
.recording-copy h2 { margin-block: 16px 18px; max-width: 420px; font-size: 40px; }
.recording-copy > p { font-size: 13px; color: var(--muted); line-height: 1.9; max-width: 440px; }
.recording-steps { list-style: none; padding: 0; margin: 26px 0; }
.recording-steps li { display: flex; gap: 16px; margin-block: 20px; align-items: flex-start; }
.recording-steps li > span { color: #62834d; font: 10px var(--mono); background: #ecf2e1; border: 1px solid #d8e3c9; border-radius: 6px; padding: 7px; }
.recording-steps b { font-size: 12px; }
.recording-steps p { margin: 5px 0 0; font-size: 11px; line-height: 1.6; color: var(--muted); }
.fixture-panel { min-width: 0; border: 1px solid #2d4036; border-radius: 14px; background: #1b2926; color: #d5e0d7; overflow: hidden; box-shadow: 0 20px 50px -30px #1b3e3a55; }
.fixture-badge { font-size: 8px; color: #aac78b; }
.fixture-panel pre { font: 11px/1.9 var(--mono); padding: 23px; margin: 0; height: 225px; overflow: auto; white-space: pre-wrap; overflow-wrap: anywhere; }
.fixture-actions { display: flex; gap: 8px; flex-wrap: wrap; padding: 0 22px; }
.fixture-actions button { font-size: 10px; }
.fixture-actions #fixture-copy { background: #ffffff06; color: #b5c6b0; border-color: #485c46; }
#fixture-status { margin: 15px 23px 0; min-height: 20px; font-size: 10px; line-height: 1.7; color: #bbd5a5; }
.fixture-note { padding: 0 23px 20px; margin: 5px 0 0; font-size: 9px; line-height: 1.8; color: #98ad95; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 30px; border-top: 1px solid var(--line); font-size: 10px; color: #73846b; }
footer .brand { font-size: 16px; color: var(--ink); }
footer > span { font-size: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; top: -100px; left: 20px; z-index: 20; padding: 12px 16px; color: #fff; background: var(--ink); border-radius: 8px; }
.skip:focus { top: 20px; }
[hidden] { display: none !important; }
#transfers { padding: 0 19px 17px; }
#transfers label { display: block; margin-top: 8px; font-size: 10px; color: #526e4a; }
#transfers label > span:last-of-type { float: right; }
progress { display: block; width: 100%; height: 5px; margin-top: 7px; accent-color: var(--green); }
@media (min-width: 1500px) { .hero { padding-block: 100px 90px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 48px); }
  .hero { gap: 32px; }
  h1 { font-size: 55px; letter-spacing: -2.7px; }
  nav { gap: 18px; }
  .workspace { grid-template-columns: 195px minmax(0, 1fr); }
  .demo-body { grid-template-columns: 1fr; }
  .result-panel { border-left: 0; border-top: 1px solid var(--line); }
  .result-panel pre { height: 225px; }
  .recording-section { gap: 35px; }
  .compatibility > div { gap: 20px; font-size: 11px; }
}
@media (max-width: 760px) {
  .quickstart { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-top: 48px; }
  html { scroll-padding-top: 140px; }
  .wrap { width: calc(100% - 32px); }
  .nav { position: relative; top: 0; margin-top: 12px; padding: 15px; flex-wrap: wrap; row-gap: 14px; }
  .brand { font-size: 19px; }
  .brand-mark { width: 30px; height: 30px; font-size: 24px; }
  nav { gap: 15px; font-size: 11px; flex-wrap: wrap; }
  .nav-features, nav > a[href*="#readme"] { display: none; }
  .github { padding: 8px 10px; }
  .language-picker select { font-size: 11px; }
  .hero { grid-template-columns: 1fr; padding-block: 50px; gap: 36px; }
  h1 { font-size: clamp(42px, 8vw, 62px); letter-spacing: -2.7px; margin-top: 23px; }
  .intro { font-size: 13px; max-width: 480px; }
  .hero-copy .eyebrow { font-size: 8px; letter-spacing: 1px; }
  .hero-code pre { padding: 21px 19px; font-size: 11px; }
  .hero-actions { gap: 9px; }
  .install { font-size: 10px; gap: 8px; padding: 13px 11px; }
  .link-button { padding: 13px 16px; gap: 20px; font-size: 11px; }
  .features { gap: 18px; font-size: 9px; }
  .release-link { font-size: 10px; }
  .compatibility { flex-direction: column; align-items: flex-start; gap: 17px; padding-block: 23px; }
  .compatibility > div { gap: 17px; font-size: 10px; }
  .compatibility > span { font-size: 8px; }
  .playground { padding-top: 48px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 17px; margin-bottom: 23px; }
  .section-heading h2 { font-size: 28px; }
  .section-heading p { font-size: 11px; }
  .connection { font-size: 9px; }
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .scenario-nav { padding: 19px 12px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  #scenarios { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
  .sidebar-title { padding-bottom: 13px; }
  .scenario { font-size: 11px; padding: 10px 7px; gap: 7px; }
  .scenario-number { font-size: 8px; }
  .sidebar-note { display: none; }
  .demo-heading { padding: 23px 18px; gap: 12px; }
  .demo-heading h3 { font-size: 19px; }
  .demo-heading p { font-size: 11px; }
  .outcome { font-size: 8px; padding: 5px 7px; }
  .demo-body { grid-template-columns: minmax(0, 1fr); }
  .runbar { align-items: flex-start; flex-direction: column; padding: 16px; gap: 12px; }
  .runbar button { padding: 10px; font-size: 10px; }
  .network { padding-inline: 15px; }
  .feature-section { padding-top: 54px; }
  .principles { grid-template-columns: 1fr; gap: 12px; }
  .principles > div { padding: 24px; }
  .principles h3 { margin-top: 18px; }
  .recording-section { grid-template-columns: minmax(0, 1fr); padding-block: 55px; gap: 27px; }
  .recording-copy h2 { font-size: 32px; }
  .recording-copy > p { font-size: 12px; }
  .fixture-panel pre { height: 230px; padding: 19px; font-size: 10px; }
  footer { flex-wrap: wrap; padding-block: 23px; }
  footer > span { display: none; }
}
@media (max-width: 380px) {
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .features { gap: 14px; }
  .compatibility > div { gap: 12px; font-size: 9px; }
  .sample-response { margin-inline: 14px; padding: 12px; }
  .sample-response code { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.not-found { min-height: 100svh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 45px; }
.not-found > .brand { margin-bottom: 65px; }
.error-code { font: 11px var(--mono); color: var(--green); padding: 8px 11px; border: 1px solid #d5e2c7; border-radius: 6px; background: #edf3e4; }
.not-found h1 { max-width: 780px; }
.not-found > p { font-size: 15px; color: var(--muted); line-height: 1.9; max-width: 540px; margin-bottom: 30px; }
.not-found .language-picker { margin-left: 10px; }
