:root {
  --ink: #eaf0f6;
  --muted: #8f9cac;
  --bg: #080c11;
  --panel: #111922;
  --panel-2: #151f2a;
  --line: rgba(234, 240, 246, .13);
  --blue: #58c7ff;
  --amber: #ffbf63;
  --green: #76f7b1;
  --body-bg: radial-gradient(circle at 74% 0%, rgba(88,199,255,.18), transparent 32rem), linear-gradient(135deg, #070a0f 0%, #0b1118 48%, #05070a 100%);
  --soft-panel: rgba(255,255,255,.055);
  --soft-panel-2: rgba(255,255,255,.075);
  --panel-glass: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.028));
  --tile-tall: linear-gradient(180deg, rgba(88,199,255,.14), rgba(255,255,255,.045));
  --tile-accent: linear-gradient(135deg, rgba(255,191,99,.19), rgba(88,199,255,.07));
  --manifesto-bg: #101820;
  --grid-opacity: var(--grid-opacity);
  --max: 1180px;
}

:root[data-theme="light"] {
  --ink: #121827;
  --muted: #596579;
  --bg: #ffffff;
  --panel: #ffffff;
  --panel-2: #f3f6fb;
  --line: rgba(18, 24, 39, .14);
  --blue: #2556d9;
  --amber: #b96716;
  --green: #168a55;
  --body-bg: radial-gradient(circle at 80% 0%, rgba(37,86,217,.12), transparent 30rem), linear-gradient(135deg, #ffffff 0%, #f7f9fc 54%, #ffffff 100%);
  --soft-panel: rgba(255,255,255,.62);
  --soft-panel-2: rgba(255,255,255,.78);
  --panel-glass: linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.54));
  --tile-tall: linear-gradient(180deg, rgba(37,86,217,.12), rgba(255,255,255,.72));
  --tile-accent: linear-gradient(135deg, rgba(185,103,22,.16), rgba(37,86,217,.08));
  --manifesto-bg: #ffffff;
  --grid-opacity: .16;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--body-bg);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: background .25s ease, color .25s ease;
}
a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.65; }
.grain { position: fixed; inset: 0; pointer-events: none; opacity: var(--grid-opacity); background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E"); mix-blend-mode: soft-light; }
.blueprint { position: fixed; inset: 0; pointer-events: none; background: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 96px 96px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 72%); }
.topbar { position: sticky; top: 0; z-index: 10; max-width: calc(var(--max) + 48px); margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; backdrop-filter: blur(18px); }
.identity { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: -.03em; }
.identity img { width: 40px; height: 40px; object-fit: contain; }
.main-nav { display: flex; gap: 6px; color: var(--muted); font-size: .86rem; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: color-mix(in srgb, var(--panel) 42%, transparent); }
.main-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 999px; transition: background .18s ease, color .18s ease, transform .18s ease; }
.main-nav a span { color: var(--amber); font-size: .68rem; font-weight: 950; letter-spacing: .08em; }
.main-nav a:hover { color: var(--ink); background: var(--soft-panel-2); transform: translateY(-1px); }
.footer a:hover { color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.support-pill, .btn { border: 1px solid var(--line); border-radius: 999px; }
.support-pill { padding: 10px 16px; background: var(--soft-panel); }
.theme-toggle { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 5px 10px 5px 6px; border: 1px solid var(--line); border-radius: 999px; background: var(--soft-panel); color: var(--ink); cursor: pointer; font: inherit; font-size: .86rem; font-weight: 800; }
.toggle-track { width: 38px; height: 24px; border-radius: 999px; padding: 3px; background: color-mix(in srgb, var(--ink) 12%, transparent); position: relative; }
.toggle-thumb { display: block; width: 18px; height: 18px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--amber)); transform: translateX(0); transition: transform .22s ease; }
:root[data-theme="light"] .toggle-thumb { transform: translateX(14px); }
.toggle-label { min-width: 38px; text-align: left; color: var(--muted); }
.hero-layout { max-width: var(--max); margin: 0 auto; padding: 78px 24px 90px; display: grid; grid-template-columns: 92px minmax(0, 1fr) 365px; gap: 34px; align-items: stretch; }
.hero-index { writing-mode: vertical-rl; transform: rotate(180deg); display: flex; justify-content: space-between; color: var(--muted); font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; border-left: 1px solid var(--line); padding-left: 18px; }
.kicker { margin: 0 0 18px; color: var(--blue); font-size: .74rem; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; }
h1, h2, h3 { margin: 0; line-height: .98; letter-spacing: -.06em; }
h1 { max-width: 840px; font-size: clamp(4rem, 9vw, 8.8rem); }
h2 { font-size: clamp(2.4rem, 5.2vw, 5.4rem); }
h3 { font-size: 1.45rem; letter-spacing: -.04em; }
.lead { max-width: 740px; margin: 30px 0 0; font-size: clamp(1.1rem, 1.7vw, 1.32rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; font-weight: 900; transition: transform .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { color: #071018; background: linear-gradient(135deg, var(--blue), var(--amber)); border: none; }
.btn.secondary { background: rgba(255,255,255,.045); }
.ops-stack { align-self: end; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ops-panel { min-height: 520px; border: 1px solid var(--line); background: var(--panel-glass); border-radius: 34px; padding: 26px; box-shadow: 0 30px 90px rgba(0,0,0,.38); display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.ops-panel:before { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -70px; border-radius: 50%; background: rgba(88,199,255,.18); filter: blur(8px); }
.panel-brand { display: flex; justify-content: center; width: 100%; }
.panel-brand img { width: min(260px, 78%); height: auto; object-fit: contain; filter: drop-shadow(0 22px 34px rgba(88,199,255,.20)); }
:root[data-theme="light"] .panel-brand img { filter: drop-shadow(0 18px 28px rgba(37,86,217,.16)); }
.panel-head { display: flex; gap: 10px; align-items: center; color: var(--muted); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); box-shadow: 0 0 24px var(--green); }
dl { margin: 0; display: grid; gap: 12px; }
dl div { padding: 18px; border: 1px solid var(--line); border-radius: 22px; background: color-mix(in srgb, var(--panel) 64%, transparent); }
dt { font-weight: 950; font-size: 1.3rem; } dd { margin: 6px 0 0; color: var(--muted); }
.statement, .platform-zone, .method-strip, .manifesto, .contact-block, .footer { max-width: var(--max); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.statement { padding-top: 18px; padding-bottom: 90px; }
.statement p { margin: 0; max-width: 980px; color: var(--ink); font-size: clamp(1.55rem, 3.4vw, 3.6rem); line-height: 1.08; letter-spacing: -.055em; }
.zone-title { display: grid; grid-template-columns: .75fr 1.25fr; gap: 40px; align-items: end; margin-bottom: 28px; }
.platform-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.tile { min-height: 260px; grid-column: span 2; padding: 24px; border-radius: 28px; border: 1px solid var(--line); background: var(--soft-panel); display: flex; flex-direction: column; justify-content: space-between; }
.tile.tall { grid-row: span 2; min-height: 534px; background: var(--tile-tall); }
.tile.wide { grid-column: span 4; }
.tile.accent { background: var(--tile-accent); }
.tile span { color: var(--amber); font-weight: 950; }
.tile p { margin: 18px 0 0; }
.method-strip { padding-top: 100px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 46px; }
.steps { display: grid; gap: 14px; }
.steps div { border-left: 3px solid var(--blue); padding: 18px 0 18px 22px; background: linear-gradient(90deg, rgba(88,199,255,.08), transparent); }
.steps b { color: var(--amber); display: block; margin-bottom: 8px; } .steps strong { font-size: 1.18rem; }
.steps p { margin: 8px 0 0; }
.manifesto { padding-top: 95px; padding-bottom: 95px; }
.manifesto p { border: 1px solid var(--line); border-radius: 34px; padding: 42px; margin: 0; font-size: clamp(2rem, 4.2vw, 4.2rem); line-height: 1.04; letter-spacing: -.06em; color: var(--ink); background: var(--manifesto-bg); }
.contact-block { display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; align-items: center; padding-top: 44px; padding-bottom: 58px; }
.contact-block h2 { text-transform: none; }
.contact-card { border: 1px solid var(--line); border-radius: 30px; padding: 26px; background: var(--soft-panel-2); display: grid; gap: 14px; }
.footer { padding-top: 34px; padding-bottom: 42px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); }
.social-links { display: flex; gap: 10px; align-items: center; }
.social-links a { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 14px; background: var(--soft-panel); color: var(--muted); transition: color .18s ease, background .18s ease, transform .18s ease; }
.social-links a:hover { color: var(--ink); background: var(--soft-panel-2); transform: translateY(-2px); }
.social-links svg { width: 19px; height: 19px; fill: currentColor; }
@media (max-width: 1020px) {
  .main-nav { display: none; }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-index { display: none; }
  .ops-stack { align-self: stretch; }
  .ops-panel { min-height: auto; width: 100%; }
  .zone-title, .method-strip, .contact-block { grid-template-columns: 1fr; }
  .platform-grid { grid-template-columns: repeat(2, 1fr); }
  .tile, .tile.wide, .tile.tall { grid-column: auto; grid-row: auto; min-height: 260px; }
}
@media (max-width: 640px) {
  .support-pill { display: none; }
  .toggle-label { display: none; }
  .theme-toggle { padding-right: 6px; }
  .topbar, .hero-layout, .statement, .platform-zone, .method-strip, .manifesto, .contact-block, .footer { padding-left: 18px; padding-right: 18px; }
  .hero-layout { padding-top: 50px; }
  h1 { font-size: 3.35rem; }
  .platform-grid { grid-template-columns: 1fr; }
  .manifesto p { padding: 28px; }
  .footer { flex-direction: column; gap: 18px; }
}
