:root {
  --bg: #061321;
  --bg-soft: #0a1c31;
  --bg-deep: #030b15;
  --panel: rgba(12, 27, 48, 0.88);
  --panel-solid: #0c1b30;
  --panel-2: rgba(18, 39, 68, 0.94);
  --panel-3: rgba(25, 50, 82, 0.72);
  --border: rgba(130, 173, 220, 0.22);
  --border-strong: rgba(93, 170, 255, 0.42);
  --text: #f3f8ff;
  --text-soft: #d4e4f8;
  --muted: #9bb1cc;
  --muted-2: #718aa8;
  --accent: #1688ff;
  --accent-2: #00c2ff;
  --accent-3: #86a9ff;
  --accent-soft: rgba(22, 136, 255, 0.13);
  --cyan-soft: rgba(0, 194, 255, 0.11);
  --success: #36d399;
  --success-soft: rgba(54, 211, 153, 0.12);
  --warning: #f5b942;
  --danger: #fb7185;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.2);
  --glow: 0 0 50px rgba(22, 136, 255, 0.2);
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 36px;
  --header-height: 84px;
  --shell: 1200px;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

:root[data-theme="light"] {
  --bg: #eef5fb;
  --bg-soft: #f8fbff;
  --bg-deep: #e6f0f8;
  --panel: rgba(255, 255, 255, 0.9);
  --panel-solid: #ffffff;
  --panel-2: rgba(246, 250, 255, 0.97);
  --panel-3: rgba(235, 245, 255, 0.9);
  --border: rgba(36, 60, 91, 0.16);
  --border-strong: rgba(15, 95, 255, 0.34);
  --text: #0b1726;
  --text-soft: #253b55;
  --muted: #51657d;
  --muted-2: #718198;
  --accent: #0f5fff;
  --accent-2: #008bd6;
  --accent-3: #4f6fd6;
  --accent-soft: rgba(15, 95, 255, 0.09);
  --cyan-soft: rgba(0, 139, 214, 0.08);
  --success: #15803d;
  --success-soft: rgba(21, 128, 61, 0.09);
  --warning: #a25a00;
  --danger: #d92d4e;
  --shadow: 0 24px 65px rgba(25, 55, 91, 0.12);
  --shadow-soft: 0 14px 36px rgba(25, 55, 91, 0.1);
  --glow: 0 0 45px rgba(15, 95, 255, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 8% -4%, rgba(22, 136, 255, .19), transparent 31rem),
    radial-gradient(circle at 92% 5%, rgba(0, 194, 255, .09), transparent 28rem),
    linear-gradient(145deg, var(--bg), var(--bg-soft));
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background .25s ease, color .25s ease;
}
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
p, h1, h2, h3, h4, ul, ol, blockquote { margin-top: 0; }
::selection { background: rgba(22, 136, 255, .38); color: #fff; }
:focus-visible { outline: 3px solid rgba(0, 194, 255, .78); outline-offset: 3px; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(118, 157, 199, .42); border: 3px solid var(--bg-deep); border-radius: 99px; }

.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.section { position: relative; padding: 112px 0; }
.section-heading { max-width: 720px; margin-bottom: 48px; }
.section-heading--center { text-align: center; margin-inline: auto; }
.section-heading > span,
.legal-hero .shell > span,
.solution-intro-grid > div:first-child > span,
.about-manifesto > span,
.contact-form-card__header > span,
.responsible-use > div > span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent-2);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(3rem, 6.2vw, 5.8rem); font-weight: 850; }
h2 { font-size: clamp(2.25rem, 4.2vw, 3.75rem); font-weight: 810; }
h3 { font-size: 1.25rem; font-weight: 760; }
.section-heading h2 { margin-bottom: 18px; }
.section-heading p { max-width: 660px; margin: 0; color: var(--muted); font-size: 1.08rem; }
.section-heading--center p { margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 11px;
  border: 1px solid rgba(59, 163, 255, .27);
  border-radius: 999px;
  background: rgba(22, 136, 255, .09);
  color: #a9dcff;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
:root[data-theme="light"] .eyebrow { color: #075cb5; }
.icon { flex: 0 0 auto; }

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: #0f5fff;
  transform: translateY(-160%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.utility-bar {
  position: relative;
  z-index: 101;
  border-bottom: 1px solid rgba(130, 173, 220, .12);
  background: rgba(3, 11, 21, .84);
  color: #9eb6d1;
  font-size: .72rem;
}
:root[data-theme="light"] .utility-bar { background: #e7f0f8; color: #526c87; }
.utility-bar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 20px; }
.utility-bar span, .utility-bar a { display: inline-flex; align-items: center; gap: 7px; }
.utility-bar a:hover { color: var(--text); }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid transparent;
  background: rgba(6, 19, 33, .66);
  backdrop-filter: blur(22px) saturate(135%);
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
:root[data-theme="light"] .site-header { background: rgba(248, 251, 255, .78); }
.site-header.is-scrolled { border-color: var(--border); background: rgba(6, 19, 33, .93); box-shadow: 0 10px 34px rgba(0, 0, 0, .14); }
:root[data-theme="light"] .site-header.is-scrolled { background: rgba(248, 251, 255, .95); }
.site-header__inner { display: flex; align-items: center; min-height: var(--header-height); }
.brand { display: inline-flex; align-items: center; min-width: 138px; }
.brand-mark { display: inline-flex; align-items: center; }
.theme-logo { position: relative; display: inline-grid; place-items: center; flex: 0 0 auto; }
.theme-logo__image { grid-area: 1 / 1; display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; }
.theme-logo__image--light { display: none; }
:root[data-theme="light"] .theme-logo__image--dark { display: none; }
:root[data-theme="light"] .theme-logo__image--light { display: block; }
.brand-logo { width: 108px; height: 78px; transition: transform .18s ease, filter .18s ease; filter: drop-shadow(0 9px 20px rgba(22, 136, 255, .2)); }
.brand:hover .brand-logo { transform: translateY(-1px); filter: drop-shadow(0 12px 24px rgba(22, 136, 255, .27)); }
.brand-mark--footer .brand-logo { width: 142px; height: 104px; }
.desktop-nav { display: flex; align-items: stretch; justify-content: center; align-self: stretch; gap: 5px; margin: 0 auto; }
.nav-group { display: flex; align-items: stretch; position: relative; }
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 14px;
  color: var(--text-soft);
  font-size: .9rem;
  font-weight: 700;
}
.nav-link::after { position: absolute; right: 14px; bottom: 0; left: 14px; height: 2px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); content: ""; transform: scaleX(0); transition: transform .2s ease; }
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-mega {
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  display: grid;
  grid-template-columns: .82fr 1.55fr;
  width: 670px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 0 0 22px 22px;
  background: rgba(7, 20, 36, .98);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .18s ease, transform .18s ease;
}
:root[data-theme="light"] .nav-mega { background: rgba(255, 255, 255, .99); }
.nav-group:hover .nav-mega, .nav-group:focus-within .nav-mega { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.nav-mega__intro { display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border-radius: 16px; background: radial-gradient(circle at 0 0, rgba(22, 136, 255, .23), transparent 70%), var(--panel-2); }
.nav-mega__intro > span { color: var(--accent-2); font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.nav-mega__intro strong { margin: 18px 0; font-size: 1.25rem; line-height: 1.25; }
.nav-mega__intro a { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-2); font-size: .8rem; font-weight: 800; }
.nav-mega__links { display: grid; gap: 5px; padding: 5px; }
.nav-mega__links a { display: grid; gap: 3px; padding: 13px 15px; border-radius: 13px; transition: background .18s ease, transform .18s ease; }
.nav-mega__links a:hover { background: var(--accent-soft); transform: translateX(3px); }
.nav-mega__links span { font-size: .87rem; font-weight: 760; }
