:root{
  --olive:#7A8B3E; --olive-muted:#9BA86C; --olive-dark:#4A5D23; --olive-wash:#F0F2E9;
  --ink:#141414; --surface:#ffffff; --border:#E4E8D6;
  --text-muted:#6B6B60; --text-secondary:#4b5563;
  --mono:ui-monospace,SFMono-Regular,"SF Mono",Menlo,monospace;
  --sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--sans);color:var(--ink);background:var(--surface);line-height:1.55;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
.container{max-width:1080px;margin:0 auto;padding:0 24px}

/* Nav */
.nav{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.85);backdrop-filter:saturate(180%) blur(12px);border-bottom:1px solid var(--border)}
.nav-inner{display:flex;align-items:center;justify-content:space-between;height:64px}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:18px}
.brand img{width:30px;height:30px;border-radius:8px}
.nav-links{display:flex;align-items:center;gap:22px;font-size:14px;font-weight:500;color:var(--text-secondary)}
.nav-links a:hover{color:var(--ink)}
.btn{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:14px;padding:10px 18px;border-radius:10px;border:1px solid transparent;cursor:pointer}
.btn-primary{background:var(--olive);color:#fff}
.btn-primary:hover{background:var(--olive-dark)}
.btn-ghost{background:var(--olive-wash);color:var(--olive-dark)}
.btn-ghost:hover{background:#e7ebd8}

/* Hero */
.hero{text-align:center;padding:72px 0 56px}
.hero-row{display:flex;justify-content:center;align-items:flex-end;gap:18px;flex-wrap:wrap;margin:0 auto 24px}
.hero-row img{height:128px;width:auto;object-fit:contain}
@media(max-width:520px){.hero-row img{height:84px;gap:10px}}
.hero h1{font-size:clamp(34px,6vw,56px);line-height:1.05;letter-spacing:-.02em;margin:0 0 16px;font-weight:800}
.hero h1 .accent{color:var(--olive)}
.hero p.sub{font-size:clamp(16px,2.4vw,20px);color:var(--text-muted);max-width:620px;margin:0 auto 28px}
.cta-row{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.hero .mono-note{margin-top:18px;font-family:var(--mono);font-size:12px;color:var(--olive-dark)}

/* Sections */
.section{padding:56px 0}
.section h2{font-size:clamp(26px,4vw,36px);letter-spacing:-.02em;margin:0 0 10px;font-weight:800;text-align:center}
.section .lead{color:var(--text-muted);text-align:center;max-width:560px;margin:0 auto 40px}

/* Features */
.grid{display:grid;grid-template-columns:1fr;gap:18px}
@media(min-width:680px){.grid{grid-template-columns:1fr 1fr}}
@media(min-width:980px){.grid{grid-template-columns:1fr 1fr 1fr}}
.card{border:1px solid var(--border);border-radius:14px;padding:22px;background:#fff;transition:border-color .15s,transform .15s}
.card:hover{border-color:var(--olive-muted);transform:translateY(-2px)}
.card .ic{width:38px;height:38px;border-radius:10px;background:var(--olive-wash);display:flex;align-items:center;justify-content:center;color:var(--olive-dark);font-size:18px;margin-bottom:14px}
.card h3{margin:0 0 6px;font-size:17px;font-weight:700}
.card p{margin:0;font-size:14px;color:var(--text-muted)}

/* Code sample */
.codewrap{max-width:760px;margin:0 auto;border:1px solid var(--border);border-radius:14px;overflow:hidden;background:var(--olive-wash)}
.codewrap .bar{display:flex;gap:6px;padding:12px 14px;border-bottom:1px solid var(--border)}
.codewrap .bar i{width:11px;height:11px;border-radius:50%;background:var(--olive-muted)}
.codewrap pre{margin:0;padding:18px 20px;overflow:auto;font-family:var(--mono);font-size:13px;line-height:1.7}
.tok-k{color:var(--olive-dark);font-weight:600}.tok-s{color:var(--olive)}.tok-c{color:var(--text-muted)}

/* CTA band */
.band{background:var(--olive-wash);border-top:1px solid var(--border);border-bottom:1px solid var(--border);text-align:center;padding:56px 0}
.band h2{margin:0 0 8px}
.band p{color:var(--text-muted);margin:0 0 22px}

/* Legal pages */
.legal{padding:56px 0 24px;max-width:780px}
.legal h1{font-size:34px;letter-spacing:-.02em;margin:0 0 6px}
.legal .updated{color:var(--text-muted);font-size:14px;margin:0 0 28px}
.legal h2{font-size:20px;margin:32px 0 8px}
.legal p,.legal li{color:#2b2b25;font-size:15px}
.legal a{color:var(--olive-dark);text-decoration:underline}

/* Footer (brand standard) */
.footer{background:var(--surface);border-top:1px solid var(--border);padding:40px 0 32px;margin-top:32px}
.footer-inner{display:grid;grid-template-columns:1fr;gap:24px}
.footer-brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:16px}
.footer-brand img{width:24px;height:24px;border-radius:6px}
.footer p{margin:0;font-size:13px;color:var(--text-muted)}
.footer-links{display:flex;flex-wrap:wrap;gap:18px}
.footer-links a{color:var(--text-secondary);font-size:14px;font-weight:500}
.footer-links a:hover{color:var(--ink)}
.footer a.co{color:var(--olive-dark)}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;padding-top:20px;margin-top:8px;border-top:1px solid var(--border)}
@media(min-width:720px){.footer-inner{grid-template-columns:1fr auto;align-items:center}}
