:root {
  --ink: #0b1f33;
  --ink-2: #3b4f63;
  --muted: #6b7c8f;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --line: #e2e8ef;
  --brand: #0f4c5c;
  --brand-2: #0d9488;
  --accent: #14b8a6;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 31, 51, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--brand-2); text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

#env-banner { background: #f59e0b; color: #1f1300; text-align: center; font-size: 14px; font-weight: 600; padding: 6px; }

.nav { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--brand); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a:not(.btn) { color: var(--ink-2); font-size: 15px; }
.nav-links a:not(.btn):hover { color: var(--ink); }

.btn { display: inline-block; background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 10px; font-weight: 600; border: 0; cursor: pointer; font-size: 16px; transition: transform .15s, background .15s; }
.btn:hover { background: #0a3a47; transform: translateY(-1px); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--brand); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--bg-alt); }

.hero { padding: 80px 0 72px; background: radial-gradient(1200px 500px at 85% -10%, #ccfbf1 0%, transparent 60%), var(--bg); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--brand-2); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; margin: 0 0 12px; }
h1 { font-size: clamp(38px, 5vw, 58px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 20px; }
.accent { color: var(--brand-2); }
h2 { font-size: clamp(28px, 3.4vw, 38px); letter-spacing: -.02em; margin: 0 0 28px; line-height: 1.15; }
h3 { font-size: 18px; margin: 0 0 8px; }
.lead { font-size: 18px; color: var(--ink-2); margin: 0 0 28px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.fine { font-size: 13px; color: var(--muted); margin: 12px 0 0; }

.demo { background: #0b1f33; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.demo-head { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: #0f2a44; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #3b5874; }
.demo-title { color: #9fb3c8; font-size: 13px; margin-left: 8px; font-family: ui-monospace, Menlo, Consolas, monospace; }
pre { margin: 0; padding: 18px 20px; overflow-x: auto; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13.5px; line-height: 1.6; color: #dbe7f3; }
.k { color: #7dd3fc; } .s { color: #a7f3d0; } .n { color: #fcd34d; } .c { color: #6b819a; }
.ok { color: #4ade80; } .warn { color: #fbbf24; }
.demo-note { color: #6b819a; font-size: 12px; margin: 0; padding: 0 20px 14px; }

.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.card p { color: var(--ink-2); margin: 0; }
.step { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #ccfbf1; color: var(--brand); font-weight: 800; margin-bottom: 14px; }
.tag { display: inline-block; margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--brand); background: #ccfbf1; padding: 3px 10px; border-radius: 99px; }
.tag-soon { background: #eef2f6; color: var(--muted); }

.dev-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 8px 0 8px 32px; position: relative; color: var(--ink-2); font-size: 17px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10l3 3 7-7' stroke='white' stroke-width='2.5' fill='none'/%3E%3C/svg%3E") center/12px no-repeat; }
.code { background: #0b1f33; border-radius: var(--radius); box-shadow: var(--shadow); }

.form { display: grid; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.form input, .form select { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); background: #fff; }
.form input:focus, .form select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
#form-status { margin: 0; font-size: 15px; min-height: 1.5em; }
#form-status.ok { color: #047857; } #form-status.err { color: #b91c1c; }

.footer { border-top: 1px solid var(--line); padding: 32px 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-inner p { max-width: 460px; }
.footer-links { display: flex; flex-direction: column; gap: 4px; text-align: right; }

@media (max-width: 860px) {
  .hero-grid, .dev-grid, .grid3 { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .form .row { grid-template-columns: 1fr; }
  .footer-links { text-align: left; }
  .hero { padding-top: 48px; }
}
