:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --surface-alt: #f1f5f4;
  --ink: #0f172a;
  --ink-muted: #475569;
  --border: #dbe3e0;
  --accent: #0f766e;
  --accent-hover: #115e59;
  --accent-soft: #ccfbf1;
  --code-bg: #0b1220;
  --code-ink: #e2e8f0;
  --radius: 12px;
  --max-w: 1080px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
a { color: var(--accent); text-decoration: none; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
header { position: sticky; top: 0; z-index: 20; background: rgba(250, 250, 248, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 0.85rem; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 20px; font-size: 0.92rem; }
.nav-links a { color: var(--ink-muted); font-weight: 500; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 9px; border: 1px solid transparent; font-weight: 600; font-size: 0.95rem; cursor: pointer; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-sm { padding: 8px 14px; font-size: 0.88rem; }
.hero { padding: 64px 0 44px; display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 36px; align-items: center; }
.pill { display: inline-block; background: var(--accent-soft); color: var(--accent-hover); padding: 4px 12px; border-radius: 999px; font-size: 0.82rem; font-weight: 700; margin-bottom: 14px; }
h1 { margin: 0 0 16px; font-size: clamp(1.9rem, 3.3vw, 2.75rem); line-height: 1.15; letter-spacing: -0.02em; }
.lead { color: var(--ink-muted); font-size: 1.06rem; margin: 0 0 24px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.code-card { background: var(--code-bg); color: var(--code-ink); border-radius: var(--radius); overflow: hidden; border: 1px solid #1e293b; }
.tabs { display: flex; border-bottom: 1px solid #1e293b; padding: 8px 10px; gap: 6px; }
.tab-btn { background: transparent; color: #94a3b8; border: 0; padding: 6px 10px; border-radius: 6px; cursor: pointer; font-size: 0.82rem; font-weight: 600; }
.tab-btn.active { background: #1e293b; color: #fff; }
.code-card pre { margin: 0; padding: 16px; font-size: 0.82rem; overflow-x: auto; line-height: 1.5; }
section { padding: 44px 0; }
h2 { margin: 0 0 12px; font-size: 1.65rem; letter-spacing: -0.015em; }
.sub { color: var(--ink-muted); margin: 0 0 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--ink-muted); font-size: 0.94rem; }
.sample-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid var(--border); }
th { background: var(--surface-alt); font-weight: 600; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.b-err { background: #fee2e2; color: #991b1b; }
.b-warn { background: #fef3c7; color: #92400e; }
.b-ok { background: #dcfce7; color: #166534; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.price-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.price-card.featured { border: 2px solid var(--accent); box-shadow: 0 8px 24px rgba(15, 118, 110, 0.08); }
.price-num { font-size: 2rem; font-weight: 800; margin: 10px 0 4px; }
.price-card ul { padding-left: 18px; margin: 14px 0 22px; color: var(--ink-muted); font-size: 0.93rem; }
.price-card li { margin-bottom: 6px; }
footer { border-top: 1px solid var(--border); padding: 28px 0 44px; color: var(--ink-muted); font-size: 0.88rem; text-align: center; }
.modal { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55); display: none; align-items: center; justify-content: center; padding: 20px; z-index: 50; }
.modal.open { display: flex; }
.modal-card { background: var(--surface); border-radius: var(--radius); max-width: 460px; width: 100%; padding: 24px; position: relative; }
.modal-close { position: absolute; right: 14px; top: 12px; border: 0; background: transparent; font-size: 1.4rem; cursor: pointer; color: var(--ink-muted); }
label { display: block; font-size: 0.86rem; font-weight: 600; margin: 12px 0 4px; }
input, select, textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--border); border-radius: 8px; font: inherit; font-size: 0.92rem; }
.status-msg { margin-top: 12px; font-size: 0.88rem; min-height: 20px; }
.status-msg.ok { color: #166534; }
.status-msg.err { color: #991b1b; }
@media (max-width: 820px) { .hero { grid-template-columns: 1fr; padding-top: 36px; } .nav-links { display: none; } }
