:root {
  --bg: #0b1020;
  --panel: #0f162e;
  --text: #e8ebf7;
  --muted: #b8bfd9;
  --link: #9cc2ff;
  --brand: linear-gradient(135deg, #6ea8fe, #b692ff 60%, #f7a9f7);
  --accent: #6ea8fe;
  --card: #121a35;
  --border: #223059;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}
:root.light {
  --bg: #f7f8fc;
  --panel: #ffffff;
  --text: #111321;
  --muted: #5a6080;
  --link: #2a64d6;
  --brand: linear-gradient(135deg, #2a64d6, #7a5af8 60%, #e14eca);
  --accent: #2a64d6;
  --card: #ffffff;
  --border: #e6e8f0;
  --shadow: 0 10px 25px rgba(20, 27, 65, 0.08);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font: 16px/1.6 "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 80% -10%, rgba(158,149,255,.15), transparent 60%), var(--bg);
  background-attachment: fixed;
}
.container { width: min(1100px, 92%); margin: 0 auto; }
.section { padding: 64px 0; }
.section.alt { background: linear-gradient(to bottom, transparent, rgba(255,255,255,.02)); }

.site-header { position: sticky; top: 0; backdrop-filter: saturate(120%) blur(10px); background: color-mix(in oklab, var(--bg) 70%, transparent); border-bottom: 1px solid var(--border); z-index: 50; }
.header-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 700; }
.brand-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--brand); color: #0b0f1c; box-shadow: var(--shadow); }
.brand-text { letter-spacing: .2px; }

.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 22px; }
.nav .btn-ghost { background: transparent; border: 1px solid var(--border); padding: 8px 10px; border-radius: 10px; }
.nav-list { display: flex; gap: 16px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--text); text-decoration: none; padding: 10px 12px; border-radius: 10px; }
.nav a:hover { background: color-mix(in oklab, var(--panel) 70%, transparent); }
.nav a.active { outline: 2px solid color-mix(in oklab, var(--accent) 35%, transparent); }

.btn { display: inline-block; padding: 12px 16px; border-radius: 12px; text-decoration: none; font-weight: 600; border: 1px solid transparent; transition: transform .05s ease; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #0b0f1c; }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost { color: var(--text); }

.hero { position: relative; padding: 80px 0 72px; }
.hero-inner { text-align: center; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin: 0 0 12px; }
.hero p { color: var(--muted); margin: 0 auto 24px; }
.cta-row { display: inline-flex; gap: 12px; flex-wrap: wrap; }
.hero-bg { pointer-events: none; position: absolute; inset: 0; background: radial-gradient(800px 350px at 20% -10%, rgba(110,168,254,.18), transparent 65%); }

.cards { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.stack-mobile { align-items: center; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.card.highlight { border-color: color-mix(in oklab, var(--accent) 40%, var(--border)); }

.list-check, .list-dash { padding-left: 0; list-style: none; }
.list-check li::before { content: "✔"; margin-right: 10px; color: var(--accent); }
.list-dash li::before { content: "—"; margin-right: 10px; color: var(--muted); }

.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 14px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pill { padding: 6px 10px; border-radius: 999px; background: color-mix(in oklab, var(--accent) 20%, transparent); border: 1px solid var(--border); color: var(--text); }

.subsidiary .subtle-illustration { font-size: clamp(40px, 8vw, 72px); display: grid; place-items: center; background: linear-gradient(180deg, color-mix(in oklab, var(--accent) 30%, transparent), transparent); border: 1px dashed var(--border); border-radius: 16px; min-height: 140px; }

form.stack { display: grid; gap: 12px; }
label span { display: inline-block; margin-bottom: 6px; color: var(--muted); font-weight: 600; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  background: var(--panel); border: 1px solid var(--border); color: var(--text);
}
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in oklab, var(--accent) 35%, transparent); outline-offset: 1px; }
.fineprint { color: var(--muted); font-size: 13px; }

.site-footer { border-top: 1px solid var(--border); padding: 24px 0; margin-top: 40px; }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.muted { color: var(--muted); }
a.link, .link { color: var(--link); text-decoration: none; }
a.link:hover, .link:hover { text-decoration: underline; }

@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-block; }
  .nav-list {
    position: absolute; right: 4%; top: 62px; padding: 12px; background: var(--panel);
    border: 1px solid var(--border); border-radius: 12px; display: none; flex-direction: column; gap: 8px;
  }
  .nav-list.open { display: flex; }
}
