:root {
  --bg: #0b1020;
  --bg-2: #11182c;
  --card: #161e36;
  --line: #2a3558;
  --text: #e8edf8;
  --muted: #93a0c2;
  --accent: #7ee0c5;
  --accent-2: #6ea8ff;
  --warn: #f5c16c;
  --danger: #ff7d7d;
  --ok: #6ee7a8;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(110,168,255,.16), transparent 50%),
    radial-gradient(900px 500px at 90% 0%, rgba(126,224,197,.12), transparent 45%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
header {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(11,16,32,.72);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; letter-spacing: .2px; }
.brand:hover { text-decoration: none; }
.logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; color: #082018; font-weight: 800;
}
.links { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.links a { color: var(--muted); font-size: 14px; }
.links a:hover { color: var(--text); text-decoration: none; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--card); color: var(--text);
  border-radius: 10px; padding: 10px 14px; font-weight: 600; cursor: pointer;
}
.btn:hover { text-decoration: none; border-color: #3d4c78; }
.btn.primary { background: linear-gradient(135deg, #6ee7c2, #6ea8ff); color: #08131c; border: 0; }
.hero { padding: 72px 0 36px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 36px; align-items: center; }
h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.08; margin: 0 0 16px; letter-spacing: -1px; }
.lead { color: var(--muted); font-size: 18px; margin: 0 0 24px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; }
.panel {
  background: linear-gradient(180deg, rgba(255,255,255,.03), transparent 40%), var(--card);
  border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
  overflow: hidden;
}
.panel-h { display: flex; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.term { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; padding: 16px; color: #c9d6f5; }
.term .k { color: var(--accent); }
.term .s { color: #f5c16c; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 28px 0 8px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.card h3 { margin: 0 0 8px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.section { padding: 28px 0 64px; }
.kicker { color: var(--accent); font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: 700; margin-bottom: 8px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.pill { display: inline-block; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.pill.ok { background: rgba(110,231,168,.12); color: var(--ok); }
.pill.warn { background: rgba(245,193,108,.12); color: var(--warn); }
.muted { color: var(--muted); }
.form { display: grid; gap: 10px; max-width: 420px; }
input, textarea {
  width: 100%; background: #0e1528; border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 10px 12px; font: inherit;
}
footer { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); font-size: 13px; }
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
code { background: #0e1528; padding: 1px 6px; border-radius: 6px; }
pre { background: #0e1528; border: 1px solid var(--line); border-radius: 12px; padding: 14px; overflow: auto; }
@media (max-width: 860px) {
  .hero, .grid { grid-template-columns: 1fr; }
  .links { display: none; }
}
