:root {
  --ink: #0b1220;
  --ink-2: #111a2e;
  --line: rgba(148, 170, 210, 0.14);
  --text: #e6ebf5;
  --muted: #9aa7bf;
  --accent: #5eead4;
  --accent-2: #f5b84b;
  --paper: #f6f7f9;
  --paper-text: #1a2233;
  --radius: 14px;
  --max: 1120px;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: 0.02em; }
.brand svg { width: 30px; height: 30px; }
.brand span b { color: var(--accent); font-weight: 700; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 0.95rem; transition: color .2s; }
.nav a:hover { color: var(--text); }
.nav .cta { color: var(--ink); background: var(--accent); padding: 8px 16px; border-radius: 999px; font-weight: 600; }
.nav .cta:hover { color: var(--ink); filter: brightness(1.08); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: 120px 0 110px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 70% 40%, rgba(94, 234, 212, 0.10), transparent 70%),
              linear-gradient(180deg, transparent 60%, var(--ink));
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.eyebrow {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px; display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); line-height: 1.08; letter-spacing: -0.025em; font-weight: 750; }
h1 em { font-style: normal; color: var(--accent); }
.lead { margin-top: 24px; font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: transform .15s, filter .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }

.diagram { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(17, 26, 46, 0.7); padding: 22px; }
.diagram .label { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); letter-spacing: 0.08em; margin-bottom: 12px; }

/* Sections */
section { padding: 96px 0; }
.section-head { max-width: 680px; margin-bottom: 52px; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.15; letter-spacing: -0.02em; font-weight: 720; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.07rem; }

.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: border-color .2s, transform .2s;
}
.card:hover { border-color: rgba(94, 234, 212, 0.4); transform: translateY(-2px); }
.card .num { font-family: var(--mono); font-size: 0.78rem; color: var(--accent); letter-spacing: 0.1em; }
.card h3 { font-size: 1.25rem; margin: 12px 0 10px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card ul { list-style: none; margin-top: 18px; display: grid; gap: 8px; }
.card li { font-size: 0.93rem; color: var(--text); padding-left: 18px; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border: 1.5px solid var(--accent); border-radius: 2px; }

.alt { background: var(--ink-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.alt .card { background: var(--ink); }

.step { padding: 26px; border-left: 2px solid var(--line); }
.step .num { font-family: var(--mono); color: var(--accent-2); font-size: 0.82rem; letter-spacing: 0.1em; }
.step h3 { margin: 10px 0 8px; font-size: 1.12rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

.stack { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip { font-family: var(--mono); font-size: 0.82rem; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); }

.about { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
.about p { color: var(--muted); margin-top: 16px; }
.facts { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--line); font-size: 0.94rem; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--muted); }
.facts dd { text-align: right; font-weight: 500; }

.contact-box {
  border: 1px solid rgba(94, 234, 212, 0.35); border-radius: 20px; padding: 56px;
  background: radial-gradient(ellipse at top right, rgba(94, 234, 212, 0.10), transparent 60%), var(--ink-2);
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center;
}
.contact-box p { color: var(--muted); margin-top: 14px; }
.contact-lines { display: grid; gap: 14px; }
.contact-lines a, .contact-lines span { display: block; font-size: 1.02rem; text-decoration: none; }
.contact-lines small { display: block; font-family: var(--mono); color: var(--muted); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 2px; }
.contact-lines a:hover { color: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 0.88rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Legal pages */
.legal { background: var(--paper); color: var(--paper-text); padding: 72px 0 96px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.6rem); color: var(--ink); }
.legal .updated { color: #5b667c; margin-top: 10px; font-size: 0.92rem; }
.legal h2 { font-size: 1.3rem; margin: 44px 0 12px; color: var(--ink); }
.legal p, .legal li { color: #333d52; margin-top: 10px; }
.legal ul { padding-left: 22px; }
.legal a { color: #0f766e; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #dde1e8; vertical-align: top; }
.legal th { width: 38%; color: #5b667c; font-weight: 500; }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap, .about, .contact-box { grid-template-columns: 1fr; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .contact-box { padding: 36px; }
}
@media (max-width: 680px) {
  .nav a:not(.cta) { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 72px; }
  section { padding: 72px 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
