:root {
  color-scheme: light;
  --green-950:#073d27;
  --green-800:#0b5b39;
  --green-700:#126b43;
  --green-100:#def3e7;
  --green-50:#eff9f3;
  --cream:#f7f5ef;
  --ink:#18231d;
  --muted:#5c6961;
  --line:#dce4df;
  --blue:#155eef;
  --amber:#8b5d00;
  --shadow:0 16px 45px rgba(7,61,39,.09);
}
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--ink); background:#fff; font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; line-height:1.62; }
a { color:var(--green-700); }
code,pre { font-family:"SFMono-Regular",Consolas,"Liberation Mono",monospace; }
.topbar { position:sticky; top:0; z-index:30; display:flex; align-items:center; justify-content:space-between; gap:26px; min-height:70px; padding:12px 30px; color:#fff; background:linear-gradient(120deg,var(--green-950),var(--green-700)); box-shadow:0 3px 16px #0002; }
.brand { display:flex; align-items:center; gap:12px; color:#fff; text-decoration:none; min-width:230px; }
.mark { display:grid; place-items:center; width:40px; height:40px; border:2px solid #d8f3e4; border-radius:12px; font-size:18px; font-weight:850; }
.brand strong,.brand span { display:block; }
.brand strong { font-size:17px; line-height:1.2; }
.brand span { margin-top:3px; color:#d8f3e4; font-size:12px; }
.topbar nav { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:7px; }
.topbar nav a { padding:8px 11px; border-radius:8px; color:#f5fff9; text-decoration:none; font-size:13px; font-weight:680; }
.topbar nav a:hover,.topbar nav a.active { background:#ffffff1d; }
.topbar nav a.download { border:1px solid #ffffff55; }
.page { width:min(1180px,calc(100% - 36px)); margin:0 auto; }
.hero { padding:72px 0 58px; background:radial-gradient(circle at 82% 10%,#d9f3e5 0,transparent 32%),linear-gradient(180deg,var(--green-50),#fff); border-bottom:1px solid var(--line); }
.eyebrow { display:inline-flex; align-items:center; gap:8px; padding:5px 10px; border:1px solid #9dd7b5; border-radius:999px; color:var(--green-800); background:#fff; font-size:12px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.dot { width:8px; height:8px; border-radius:50%; background:#16a05d; box-shadow:0 0 0 4px #16a05d20; }
h1 { max-width:830px; margin:19px 0 16px; font-size:clamp(38px,6vw,66px); line-height:1.04; letter-spacing:-.045em; }
.lead { max-width:790px; margin:0; color:#415047; font-size:clamp(17px,2.2vw,21px); }
.endpoint { display:flex; align-items:center; flex-wrap:wrap; gap:10px; width:max-content; max-width:100%; margin-top:28px; padding:11px 14px; border:1px solid #bcd7c7; border-radius:10px; background:#fff; box-shadow:var(--shadow); }
.endpoint span { color:var(--muted); font-size:12px; font-weight:780; text-transform:uppercase; }
.endpoint code { overflow-wrap:anywhere; color:var(--green-950); font-size:14px; font-weight:700; }
.actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:26px; }
.button { display:inline-flex; align-items:center; justify-content:center; padding:11px 16px; border:1px solid var(--green-700); border-radius:9px; color:#fff; background:var(--green-700); text-decoration:none; font-size:14px; font-weight:750; }
.button.secondary { color:var(--green-800); background:#fff; }
.section { padding:58px 0; }
.section.alt { background:var(--cream); border-block:1px solid #ebe8df; }
.section h2,.doc h1 { margin:0 0 10px; color:var(--green-950); font-size:clamp(28px,4vw,40px); line-height:1.15; letter-spacing:-.025em; }
.section-intro { max-width:760px; margin:0 0 28px; color:var(--muted); font-size:17px; }
.grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.grid.two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.card { padding:22px; border:1px solid var(--line); border-radius:14px; background:#fff; box-shadow:0 7px 25px #073d2708; }
.card h3 { margin:0 0 8px; color:var(--green-950); font-size:18px; }
.card p { margin:0; color:var(--muted); }
.number { display:grid; place-items:center; width:31px; height:31px; margin-bottom:14px; border-radius:9px; color:#fff; background:var(--green-700); font-size:13px; font-weight:850; }
.flow { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; counter-reset:step; }
.flow article { position:relative; min-height:150px; padding:18px 16px; border:1px solid var(--line); border-radius:13px; background:#fff; }
.flow article::before { counter-increment:step; content:counter(step); display:grid; place-items:center; width:28px; height:28px; margin-bottom:14px; border-radius:50%; color:#fff; background:var(--green-700); font-weight:800; }
.flow strong { display:block; margin-bottom:5px; color:var(--green-950); }
.flow span { color:var(--muted); font-size:14px; }
.status-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.status { padding:15px; border-left:4px solid var(--green-700); border-radius:7px; background:var(--green-50); }
.status code { display:block; margin-bottom:4px; color:var(--green-950); font-weight:800; }
.status span { color:var(--muted); font-size:13px; }
.callout { margin:24px 0; padding:18px 20px; border-left:4px solid var(--green-700); border-radius:8px; background:var(--green-50); }
.callout.warning { border-color:#d29a16; background:#fff8e7; }
.callout strong { color:var(--green-950); }
.doc-layout { display:grid; grid-template-columns:245px minmax(0,1fr); gap:42px; padding:42px 0 70px; }
.toc { position:sticky; top:94px; align-self:start; max-height:calc(100vh - 118px); overflow-y:auto; overscroll-behavior:contain; padding:18px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.toc strong { display:block; margin-bottom:9px; color:var(--green-950); }
.toc a { display:block; padding:6px 2px; color:var(--muted); text-decoration:none; font-size:13px; }
.toc a:hover { color:var(--green-700); }
.doc { min-width:0; }
.doc h1 { margin-top:0; }
.doc h2 { scroll-margin-top:95px; margin:46px 0 12px; padding-bottom:8px; border-bottom:1px solid var(--line); color:var(--green-950); font-size:27px; }
.doc h3 { scroll-margin-top:95px; margin:30px 0 8px; color:var(--green-950); font-size:20px; }
.doc p,.doc li { color:#39463f; }
.doc table { width:100%; border-collapse:collapse; margin:18px 0 26px; font-size:14px; }
.doc th,.doc td { padding:11px 13px; border:1px solid var(--line); text-align:left; vertical-align:top; }
.doc th { color:var(--green-950); background:var(--green-50); }
.doc pre { overflow:auto; margin:16px 0 24px; padding:17px 18px; border-radius:11px; color:#e5f8ed; background:#10261a; font-size:13px; line-height:1.55; box-shadow:var(--shadow); }
.doc :not(pre)>code { padding:2px 6px; border-radius:5px; color:#174f34; background:#edf3ef; }
.artifact { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:22px 0; padding:18px; border:1px solid var(--line); border-radius:12px; background:#fff; }
.artifact strong,.artifact span { display:block; }
.artifact span { color:var(--muted); font-size:13px; }
.artifact a { flex:none; }
.api-shell { padding-top:0; }
.api-shell .topbar { position:relative; }
.api-intro { padding:28px 30px; border-bottom:1px solid var(--line); background:var(--cream); }
.api-intro h1 { margin:0 0 6px; color:var(--green-950); font-size:28px; }
.api-intro p { max-width:900px; margin:0; color:var(--muted); }
#redoc-container { min-height:75vh; }
@media (min-width:801px) {
  .api-shell #redoc-container .menu-content { position:sticky!important; top:0!important; height:100vh!important; max-height:100vh!important; overflow-y:auto!important; overscroll-behavior:contain; }
}
.footer { padding:28px 0 38px; border-top:1px solid var(--line); color:var(--muted); font-size:13px; }
@media (max-width:900px) { .grid,.grid.two,.status-list { grid-template-columns:1fr 1fr; } .flow { grid-template-columns:1fr 1fr; } .doc-layout { grid-template-columns:1fr; } .toc { position:static; max-height:none; overflow:visible; } }
@media (max-width:640px) { .topbar { position:static; align-items:flex-start; flex-direction:column; padding:15px 18px; } .topbar nav { justify-content:flex-start; } .page { width:min(100% - 28px,1180px); } .hero { padding:48px 0 40px; } .grid,.grid.two,.status-list,.flow { grid-template-columns:1fr; } .section { padding:42px 0; } .artifact { align-items:flex-start; flex-direction:column; } }
