:root {
  --bg: #ffffff;
  --bg-alt: #f3f5f9;
  --ink: #0b1220;
  --muted: #566074;
  --line: #e2e6ee;
  --accent: #1d4ed8;
  --accent-ink: #ffffff;
  --accent-soft: #e8eefc;
  --card: #ffffff;
  --band: #0b1220;
  --band-ink: #f3f5f9;
  --band-muted: #a7b0c2;
  --radius: 14px;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0f1a;
    --bg-alt: #101827;
    --ink: #eef1f7;
    --muted: #9aa4b8;
    --line: #1f2a3d;
    --accent: #5b8cff;
    --accent-ink: #0a0f1a;
    --accent-soft: #15213a;
    --card: #0e1522;
    --band: #101827;
    --band-ink: #eef1f7;
    --band-muted: #9aa4b8;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: "Archivo", "Inter", system-ui, sans-serif; line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 800 19px/1 "Archivo", sans-serif; letter-spacing: 0.06em; }
.brand:hover { text-decoration: none; }
.brand svg { width: 28px; height: 28px; flex: none; }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { color: var(--muted); }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* Hero */
.hero { padding: 96px 0 88px; border-bottom: 1px solid var(--line); }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 20px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 800; max-width: 15ch; }
.hero .lede { margin-top: 24px; font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 46ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 1px solid var(--line); color: var(--ink); background: var(--card); }
.btn:hover { text-decoration: none; border-color: var(--muted); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { filter: brightness(1.08); }

/* Sections */
section { padding: 88px 0; }
.alt { background: var(--bg-alt); }
.head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 640px; }
.head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.head p { color: var(--muted); }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 20px; }
.card .ico svg { width: 22px; height: 22px; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; }

/* Product */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--card); }
.product .text { padding: 44px; display: grid; gap: 16px; align-content: center; }
.product h3 { font-size: 30px; font-weight: 800; }
.product p { color: var(--muted); }
.tag { justify-self: start; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
.product .visual { background: #070b1e; display: grid; place-items: center; padding: 48px 24px; min-height: 300px; }
.product .visual svg { width: 120px; height: 120px; }
.product .visual .name { margin-top: 18px; color: #ffd15c; font: 700 24px/1 "Archivo", sans-serif; letter-spacing: -0.01em; }
.product .visual .stack { display: grid; justify-items: center; }

/* Company facts */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.facts dl { margin: 0; }
.facts div.row { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; font-weight: 500; }

/* Contact band */
.band { background: var(--band); color: var(--band-ink); }
.band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.band h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
.band p { color: var(--band-muted); margin-top: 10px; }
.band .btn.primary { background: #ffffff; border-color: #ffffff; color: #0b1220; }

/* Footer */
footer { padding: 32px 0 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
footer nav { display: flex; gap: 22px; }
footer a { color: var(--muted); }

/* Legal pages */
.doc { padding: 72px 0 96px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(32px, 4.4vw, 46px); font-weight: 800; margin-bottom: 10px; }
.doc .sub { color: var(--muted); margin-bottom: 40px; }
.doc h2 { font-size: 21px; font-weight: 700; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--ink); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; margin: 10px 0 0; }
.doc table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.doc td { padding: 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
.doc td:first-child { color: var(--muted); width: 42%; padding-right: 16px; }

@media (max-width: 820px) {
  .nav { display: none; }
  .hero { padding: 64px 0 60px; }
  section { padding: 64px 0; }
  .product { grid-template-columns: 1fr; }
  .product .text { padding: 28px; }
  .product .visual { min-height: 220px; order: -1; }
  .facts { grid-template-columns: 1fr; }
  .facts div.row { grid-template-columns: 1fr; gap: 2px; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .card { padding: 22px; }
  .btn { width: 100%; }
}
