:root {
  --bg: #07080c;
  --surface: #0f1118;
  --surface-2: #161923;
  --border: #262a37;
  --text: #f4f5f8;
  --muted: #a3a9b8;
  --accent: #3ee6c1;
  --accent-2: #8b7bff;
  --on-accent: #04130f;
  --radius: 16px;
  --max: 1160px;
  --font-head: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #7ff2d8; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 8, 12, 0.82);
  backdrop-filter: blur(12px);
  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; color: var(--text); text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.01em; }
.brand:hover { color: var(--text); }
.brand svg { flex: none; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--muted); text-decoration: none; border-radius: 10px; font-weight: 500; transition: color .2s, background-color .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface-2); }
.menu-btn { display: none; min-width: 44px; min-height: 44px; background: none; border: 1px solid var(--border); border-radius: 10px; color: var(--text); cursor: pointer; }

@media (max-width: 760px) {
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; padding: 8px 20px 16px; background: var(--bg); border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 80px; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(62, 230, 193, 0.18), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: auto auto -50% -15%; width: 640px; height: 640px;
  background: radial-gradient(closest-side, rgba(139, 123, 255, 0.16), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.eyebrow { display: block; overflow-wrap: anywhere; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 16px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 700; letter-spacing: -0.02em; max-width: 16ch; }
.hero p.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--muted); max-width: 60ch; margin: 20px 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .2s, background-color .2s, border-color .2s; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { color: var(--on-accent); background: #6befd1; }
.btn-ghost { border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 56px; padding: 0; list-style: none; }
.hero-stats strong { display: block; font-family: var(--font-head); font-size: 1.8rem; }
.hero-stats span { color: var(--muted); font-size: .92rem; }

/* Sections */
section { padding: 80px 0; scroll-margin-top: 64px; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { margin-bottom: 40px; max-width: 70ch; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; }
.section-head p { color: var(--muted); margin: 12px 0 0; }

/* Product grid */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); text-decoration: none;
  transition: border-color .2s, transform .2s;
}
a.card:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }
.card img { width: 64px; height: 64px; border-radius: 14px; flex: none; background: var(--bg); }
.card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.card p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.tag { display: inline-block; margin-top: 10px; font-size: .78rem; font-weight: 600; color: var(--accent); }
.tag.soon { color: var(--accent-2); }

/* Values */
.values { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.value { padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); }
.value svg { color: var(--accent); margin-bottom: 12px; }
.value h3 { font-size: 1.1rem; margin-bottom: 6px; }
.value p { margin: 0; color: var(--muted); }

/* Company table */
.company { display: grid; gap: 24px; grid-template-columns: 1.4fr 1fr; align-items: start; }
@media (max-width: 860px) { .company { grid-template-columns: 1fr; } }
.facts { width: 100%; border-collapse: collapse; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.facts th, .facts td { overflow-wrap: anywhere; text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.facts tr:last-child th, .facts tr:last-child td { border-bottom: 0; }
.facts th { width: 38%; color: var(--muted); font-weight: 500; font-size: .93rem; }
@media (max-width: 520px) {
  .facts th, .facts td { display: block; width: 100%; }
  .facts th { padding-bottom: 0; border-bottom: 0; }
}
.contact-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(160deg, rgba(62,230,193,.08), rgba(139,123,255,.06)); }
.contact-card h3 { font-size: 1.25rem; margin-bottom: 16px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { flex: none; margin-top: 3px; color: var(--accent); }
.contact-list small { display: block; color: var(--muted); font-size: .82rem; }

/* Footer */
.site-footer { padding: 40px 0; border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
.footer-row ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; }
.footer-row a { color: var(--muted); }
.footer-row a:hover { color: var(--text); }

/* Legal pages */
.legal { padding: 64px 0 80px; }
.legal .container { max-width: 800px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); max-width: none; }
.legal .updated { color: var(--muted); margin: 8px 0 32px; }
.legal h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.legal p, .legal li { color: #d5d8e0; }
.legal ul { padding-left: 22px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease-out, transform .6s ease-out; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn { transition: none; }
}
