:root {
  color-scheme: dark;
  --ink-950: #030711;
  --ink-900: #050b1b;
  --ink-850: #081227;
  --ink-800: #0b1931;
  --blue-500: #168cff;
  --blue-400: #42b8ff;
  --cyan-300: #76e4ff;
  --violet-500: #795cff;
  --violet-400: #9a7dff;
  --text: #f3f7ff;
  --muted: #9aaac2;
  --line: rgba(151, 190, 255, 0.15);
  --line-strong: rgba(112, 202, 255, 0.34);
  --surface: rgba(9, 20, 42, 0.7);
  --surface-strong: rgba(11, 25, 50, 0.92);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius-lg: 28px;
  --radius-md: 20px;
  --max-width: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(52, 89, 255, 0.18), transparent 30rem),
    radial-gradient(circle at 16% 36%, rgba(0, 172, 255, 0.1), transparent 28rem),
    var(--ink-950);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(96, 158, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96, 158, 255, 0.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.project-credit {
  position: absolute;
  top: 3px;
  right: clamp(10px, 2vw, 28px);
  z-index: 250;
  display: flex;
  align-items: center;
  gap: 0.32rem;
  margin: 0;
  color: rgba(175, 193, 220, 0.7);
  font-size: 0.56rem;
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-credit a {
  color: #d9eaff;
  text-decoration: none;
  border-bottom: 1px solid rgba(118, 228, 255, 0.35);
}

.project-credit a:hover { color: var(--cyan-300); border-color: currentColor; }

@media (pointer: fine) {
  body { cursor: url("../cursor-north.svg") 4 3, auto; }
  a,
  button,
  [role="button"],
  .docs-card,
  .docs-dialog-backdrop { cursor: pointer; }
  input,
  textarea { cursor: text; }
}

:focus-visible {
  outline: 3px solid var(--cyan-300);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: white;
  color: #061023;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(3, 7, 17, 0.82);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
  text-decoration: none;
}

.brand-logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  filter: drop-shadow(0 0 16px rgba(73, 191, 255, 0.22));
}

.brand-copy { display: grid; line-height: 1.06; }
.brand-name { font-size: 0.98rem; font-weight: 800; letter-spacing: 0.12em; }
.brand-label { margin-top: 0.2rem; color: var(--blue-400); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.28em; }

.nav-shell { display: flex; align-items: center; gap: 1.4rem; }
.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { color: #b9c6d9; font-size: 0.92rem; font-weight: 650; text-decoration: none; transition: color 160ms ease; }
.site-nav a:hover { color: white; }
.site-nav .nav-status { padding: 0.48rem 0.78rem; border: 1px solid rgba(67, 220, 255, 0.3); border-radius: 9px; background: linear-gradient(135deg, rgba(22, 140, 255, 0.16), rgba(122, 92, 255, 0.14)); color: #eaf7ff; }
.site-nav .nav-status:hover { border-color: rgba(67, 220, 255, 0.58); background: linear-gradient(135deg, rgba(22, 140, 255, 0.25), rgba(122, 92, 255, 0.22)); }
.site-nav .nav-account { padding: 0.48rem 0.7rem; border: 1px solid rgba(104, 207, 255, 0.22); border-radius: 9px; background: rgba(22, 140, 255, 0.07); color: #ddecff; }

.site-nav .nav-guard {
  padding: 0.62rem 0.85rem;
  border: 1px solid rgba(121, 196, 255, 0.28);
  border-radius: 11px;
  background: linear-gradient(120deg, rgba(22, 140, 255, 0.12), rgba(121, 92, 255, 0.13));
  color: #d7ecff;
}

.site-nav .nav-guard:hover {
  border-color: rgba(118, 228, 255, 0.52);
  background: linear-gradient(120deg, rgba(22, 140, 255, 0.2), rgba(121, 92, 255, 0.21));
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
}

.language-switch a {
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.language-switch a[aria-current="page"] { background: rgba(66, 184, 255, 0.15); color: var(--cyan-300); }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: white;
  cursor: pointer;
}

.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 850px;
  padding: 175px 0 100px;
  isolation: isolate;
}

.hero::after {
  position: absolute;
  right: -18%;
  bottom: -18rem;
  z-index: -2;
  width: 52rem;
  height: 52rem;
  border: 1px solid rgba(98, 172, 255, 0.1);
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 100px rgba(26, 109, 255, 0.06);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  align-items: center;
  gap: 4rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.2rem;
  color: var(--cyan-300);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before { width: 30px; height: 1px; background: linear-gradient(90deg, var(--blue-500), var(--cyan-300)); content: ""; }

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.25rem, 6.4vw, 6.35rem);
  font-weight: 850;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.gradient-text {
  display: block;
  padding-bottom: 0.08em;
  background: linear-gradient(100deg, #f4fbff 4%, #62d7ff 46%, #8c72ff 94%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead { max-width: 650px; margin: 1.75rem 0 0; color: #aebdd1; font-size: clamp(1.05rem, 1.8vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.25rem; }

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(115deg, var(--blue-500), #4a66ff 58%, var(--violet-500)); box-shadow: 0 14px 34px rgba(35, 105, 255, 0.3); }
.button-primary:hover { box-shadow: 0 18px 44px rgba(35, 105, 255, 0.42); }
.button-secondary { border-color: var(--line-strong); background: rgba(14, 31, 60, 0.52); color: #dceaff; }
.button-secondary:hover { border-color: rgba(118, 228, 255, 0.58); background: rgba(18, 42, 78, 0.75); }
.button svg { width: 18px; height: 18px; }

.hero-meta { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin: 2.2rem 0 0; padding: 0; list-style: none; }
.hero-meta li { display: flex; align-items: center; gap: 0.55rem; color: #8fa1ba; font-size: 0.83rem; font-weight: 650; }
.hero-meta li::before { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-400); box-shadow: 0 0 14px var(--blue-400); content: ""; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 500px; }
.logo-stage {
  position: relative;
  display: grid;
  width: min(100%, 470px);
  aspect-ratio: 1;
  place-items: center;
}

.logo-stage::before,
.logo-stage::after {
  position: absolute;
  border: 1px solid rgba(95, 181, 255, 0.2);
  border-radius: 50%;
  content: "";
}

.logo-stage::before { inset: 2%; animation: spin 30s linear infinite; border-top-color: var(--blue-400); border-right-color: transparent; }
.logo-stage::after { inset: 11%; animation: spin 20s linear infinite reverse; border-bottom-color: var(--violet-400); border-left-color: transparent; }

.hero-logo {
  position: relative;
  z-index: 2;
  width: 76%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 26px 60px rgba(0, 0, 0, 0.52)) drop-shadow(0 0 34px rgba(47, 159, 255, 0.15));
}

.orbit-dot { position: absolute; z-index: 3; width: 9px; height: 9px; border: 2px solid #dff8ff; border-radius: 50%; background: var(--blue-500); box-shadow: 0 0 20px var(--cyan-300); }
.orbit-dot.one { top: 5%; left: 48%; }
.orbit-dot.two { right: 8%; bottom: 28%; width: 7px; height: 7px; background: var(--violet-500); }

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(7, 18, 38, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.floating-card.top { top: 15%; right: -1%; }
.floating-card.bottom { bottom: 13%; left: -3%; }
.floating-icon { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: rgba(55, 154, 255, 0.14); color: var(--cyan-300); }
.floating-icon svg { width: 18px; height: 18px; }
.floating-copy { display: grid; line-height: 1.3; }
.floating-copy strong { font-size: 0.8rem; }
.floating-copy span { color: var(--muted); font-size: 0.7rem; }

.signal-strip { position: relative; z-index: 5; margin-top: -52px; }
.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(7, 17, 36, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.signal-item { padding: 1.35rem 1.5rem; border-right: 1px solid var(--line); }
.signal-item:last-child { border-right: 0; }
.signal-item strong { display: block; font-size: 1rem; }
.signal-item span { display: block; margin-top: 0.15rem; color: var(--muted); font-size: 0.78rem; }

.section { position: relative; padding: 118px 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.6fr); align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 3rem; }
.section-heading h2 { max-width: 760px; margin: 0; font-size: clamp(2.2rem, 4.5vw, 4.4rem); letter-spacing: -0.05em; line-height: 1; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1rem; }

.product-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2rem; }
.product-card {
  position: relative;
  grid-column: span 4;
  min-height: 345px;
  overflow: hidden;
  padding: 1.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(14, 30, 59, 0.82), rgba(5, 12, 26, 0.92));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card:hover { transform: translateY(-6px); border-color: rgba(92, 198, 255, 0.38); box-shadow: 0 28px 75px rgba(0, 0, 0, 0.35); }
.product-card.featured { grid-column: span 8; background: radial-gradient(circle at 83% 18%, rgba(75, 76, 255, 0.2), transparent 18rem), linear-gradient(145deg, rgba(13, 34, 69, 0.92), rgba(6, 13, 28, 0.96)); }
.product-card::after { position: absolute; right: -70px; bottom: -100px; width: 210px; height: 210px; border: 1px solid rgba(80, 177, 255, 0.12); border-radius: 50%; content: ""; box-shadow: 0 0 60px rgba(68, 103, 255, 0.08); }

.product-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.product-icon { display: grid; width: 50px; height: 50px; place-items: center; border: 1px solid rgba(105, 200, 255, 0.24); border-radius: 15px; background: rgba(27, 113, 255, 0.1); color: var(--cyan-300); }
.product-icon svg { width: 24px; height: 24px; }
.status { padding: 0.36rem 0.55rem; border: 1px solid var(--line); border-radius: 999px; color: #94a8c3; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase; }
.status.future { border-color: rgba(147, 112, 255, 0.25); background: rgba(121, 92, 255, 0.08); color: #b8a8ff; }
.product-card h3 { margin: 1.4rem 0 0.55rem; font-size: 1.35rem; letter-spacing: -0.025em; }
.product-card p { max-width: 580px; margin: 0; color: var(--muted); font-size: 0.91rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.3rem 0 0; padding: 0; list-style: none; }
.tag-list li { padding: 0.35rem 0.55rem; border-radius: 8px; background: rgba(112, 180, 255, 0.07); color: #adc5e5; font-size: 0.68rem; font-weight: 750; }

.product-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.35rem;
  color: var(--cyan-300);
  font-size: 0.76rem;
  font-weight: 850;
  text-decoration: none;
}

.product-link::after { content: "→"; transition: transform 160ms ease; }
.product-link:hover::after { transform: translateX(4px); }

.principles { overflow: hidden; }
.principles::before { position: absolute; top: 15%; left: -15rem; width: 32rem; height: 32rem; border-radius: 50%; background: rgba(32, 95, 255, 0.09); filter: blur(80px); content: ""; }
.principle-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 5rem; align-items: center; }
.principle-copy h2 { margin: 0; font-size: clamp(2.3rem, 4.4vw, 4.35rem); letter-spacing: -0.05em; line-height: 1.02; }
.principle-copy > p { margin: 1.4rem 0 0; color: var(--muted); }
.principle-list { display: grid; gap: 0.9rem; margin-top: 2rem; }
.principle-item { display: grid; grid-template-columns: auto 1fr; gap: 0.9rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.principle-number { color: var(--blue-400); font-size: 0.72rem; font-weight: 850; letter-spacing: 0.12em; }
.principle-item strong { display: block; font-size: 0.95rem; }
.principle-item span { display: block; margin-top: 0.2rem; color: var(--muted); font-size: 0.82rem; }

.code-panel { position: relative; overflow: hidden; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(5, 13, 29, 0.9); box-shadow: var(--shadow); }
.panel-bar { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.panel-dots { display: flex; gap: 0.4rem; }
.panel-dots i { width: 8px; height: 8px; border-radius: 50%; background: #24415f; }
.panel-dots i:first-child { background: var(--blue-500); }
.panel-label { color: #7186a1; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.code-lines { display: grid; gap: 0.75rem; padding: 1.5rem 0.25rem 0.4rem; font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace; font-size: 0.82rem; }
.code-line { display: grid; grid-template-columns: 24px 1fr; gap: 0.9rem; color: #8295ad; }
.code-line i { color: #3c5774; font-style: normal; text-align: right; }
.token-blue { color: #55c7ff; }
.token-purple { color: #a68bff; }
.token-green { color: #6ee7b7; }
.token-white { color: #dbe9f8; }
.panel-status { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.2rem; padding: 0.8rem 1rem; border: 1px solid rgba(70, 208, 166, 0.15); border-radius: 12px; background: rgba(22, 163, 116, 0.06); color: #92dfc3; font-size: 0.75rem; font-weight: 750; }
.panel-status::before { width: 7px; height: 7px; border-radius: 50%; background: #4adeb0; box-shadow: 0 0 12px #4adeb0; content: ""; }

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 5rem);
  border: 1px solid rgba(92, 184, 255, 0.24);
  border-radius: 32px;
  background: radial-gradient(circle at 90% 15%, rgba(121, 92, 255, 0.24), transparent 22rem), linear-gradient(130deg, rgba(13, 42, 83, 0.92), rgba(6, 13, 29, 0.96));
  box-shadow: var(--shadow);
}
.cta-panel::after { position: absolute; right: -8%; bottom: -70%; width: 32rem; height: 32rem; border: 1px solid rgba(112, 210, 255, 0.18); border-radius: 50%; content: ""; }
.cta-content { position: relative; z-index: 2; max-width: 720px; }
.cta-panel h2 { margin: 0; font-size: clamp(2.2rem, 4.5vw, 4.3rem); letter-spacing: -0.05em; line-height: 1; }
.cta-panel p { max-width: 610px; margin: 1.3rem 0 0; color: #afbed2; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

.site-footer { padding: 2.2rem 0 2.8rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; }
.footer-brand { display: flex; align-items: center; gap: 0.8rem; }
.footer-brand img { width: 40px; height: 40px; border-radius: 50%; }
.footer-brand strong { display: block; font-size: 0.85rem; letter-spacing: 0.08em; }
.footer-brand span { display: block; margin-top: 0.1rem; color: var(--muted); font-size: 0.7rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 1rem 1.4rem; }
.footer-links a, .footer-links span { color: #8193ac; font-size: 0.76rem; text-decoration: none; }
.footer-links a:hover { color: white; }
.footer-legal-note { cursor: not-allowed; opacity: 0.72; }

.footer-links .footer-portal-link {
  order: 99;
  padding: 0.35rem 0.6rem;
  border: 1px solid rgba(99, 193, 255, 0.22);
  border-radius: 8px;
  background: rgba(38, 105, 199, 0.08);
  color: #a9c9ed;
}

.footer-links .footer-portal-link:hover { border-color: rgba(113, 211, 255, 0.44); background: rgba(38, 105, 199, 0.16); color: white; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms ease; }
[data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }

.language-gateway {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 8%, rgba(37, 119, 255, 0.22), transparent 30rem),
    radial-gradient(circle at 86% 80%, rgba(121, 92, 255, 0.12), transparent 28rem),
    var(--ink-950);
}

.language-gateway-main {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px 20px;
}

.language-card {
  position: relative;
  width: min(100%, 650px);
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(12, 29, 58, 0.9), rgba(4, 10, 23, 0.96));
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5);
  text-align: center;
  backdrop-filter: blur(22px);
}

.language-card::before {
  position: absolute;
  top: -12rem;
  right: -10rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(109, 197, 255, 0.13);
  border-radius: 50%;
  content: "";
}

.language-logo-shell {
  position: relative;
  display: grid;
  width: 132px;
  height: 132px;
  margin: 0 auto 1.6rem;
  place-items: center;
}

.language-logo-shell img {
  position: relative;
  z-index: 2;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.45)) drop-shadow(0 0 18px rgba(66, 184, 255, 0.2));
}

.language-orbit {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(91, 191, 255, 0.32);
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 18s linear infinite;
}

.language-card .eyebrow { justify-content: center; margin-bottom: 0.9rem; }
.language-card h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.55rem); letter-spacing: -0.05em; line-height: 1.04; }
.language-card h1 span { display: block; margin-top: 0.35rem; background: linear-gradient(100deg, var(--cyan-300), var(--violet-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.language-intro { max-width: 480px; margin: 1.25rem auto 0; color: var(--muted); font-size: 0.92rem; }

.language-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin-top: 2rem; text-align: left; }

.language-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(17, 37, 70, 0.52);
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.language-option:hover {
  border-color: rgba(106, 212, 255, 0.5);
  background: rgba(24, 54, 99, 0.72);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
  transform: translateY(-3px);
}

.language-code { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: linear-gradient(130deg, rgba(22, 140, 255, 0.2), rgba(121, 92, 255, 0.2)); color: var(--cyan-300); font-size: 0.73rem; font-weight: 900; letter-spacing: 0.08em; }
.language-option-copy { display: grid; min-width: 0; line-height: 1.25; }
.language-option-copy strong { font-size: 0.9rem; }
.language-option-copy small { overflow: hidden; margin-top: 0.2rem; color: var(--muted); font-size: 0.66rem; text-overflow: ellipsis; white-space: nowrap; }
.language-option svg { width: 17px; height: 17px; color: var(--blue-400); }
.language-note { margin: 1.7rem 0 0; color: #647893; font-size: 0.68rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }

.guard-placeholder {
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 15%, rgba(26, 116, 255, 0.2), transparent 32rem),
    radial-gradient(circle at 78% 78%, rgba(121, 92, 255, 0.14), transparent 28rem),
    var(--ink-950);
}

.guard-placeholder-main {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 110px 20px 40px;
}

.guard-placeholder-card {
  position: relative;
  width: min(100%, 760px);
  overflow: hidden;
  padding: clamp(2.2rem, 7vw, 5rem);
  border: 1px solid var(--line-strong);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(12, 31, 62, 0.9), rgba(4, 10, 23, 0.97));
  box-shadow: var(--shadow);
  text-align: center;
}

.guard-placeholder-card::after {
  position: absolute;
  right: -9rem;
  bottom: -13rem;
  width: 28rem;
  height: 28rem;
  border: 1px solid rgba(116, 203, 255, 0.14);
  border-radius: 50%;
  content: "";
}

.guard-mark {
  position: relative;
  z-index: 1;
  display: grid;
  width: 92px;
  height: 92px;
  margin: 0 auto 1.8rem;
  place-items: center;
  border: 1px solid rgba(107, 206, 255, 0.35);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(22, 140, 255, 0.16), rgba(121, 92, 255, 0.18));
  color: var(--cyan-300);
  box-shadow: 0 18px 48px rgba(24, 103, 255, 0.2);
}

.guard-mark svg { width: 46px; height: 46px; }
.guard-placeholder-card h1 { position: relative; z-index: 1; margin: 0; font-size: clamp(2.5rem, 7vw, 5rem); letter-spacing: -0.055em; line-height: 1; }
.guard-placeholder-card h1 span { display: block; margin-top: 0.5rem; background: linear-gradient(100deg, var(--cyan-300), var(--violet-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.guard-placeholder-card > p { position: relative; z-index: 1; max-width: 580px; margin: 1.35rem auto 0; color: var(--muted); }
.guard-placeholder-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 2rem; }

.docs-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 8%, rgba(65, 79, 255, 0.15), transparent 30rem),
    radial-gradient(circle at 12% 35%, rgba(20, 161, 255, 0.1), transparent 28rem),
    var(--ink-950);
}

.docs-main { padding: 155px 0 90px; }
.docs-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr); align-items: end; gap: 3rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line); }
.docs-hero h1 { max-width: 780px; margin: 0; font-size: clamp(3rem, 7vw, 6.2rem); letter-spacing: -0.065em; line-height: 0.95; }
.docs-hero h1 span { display: block; background: linear-gradient(100deg, #edf9ff, var(--cyan-300) 48%, var(--violet-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.docs-hero-copy { margin: 0; color: var(--muted); }

.docs-section { padding-top: 3.5rem; }
.docs-section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.5rem; }
.docs-section-head h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -0.04em; }
.docs-section-head p { max-width: 460px; margin: 0; color: var(--muted); font-size: 0.86rem; }
.docs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }

.docs-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 142px;
  padding: 1.3rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(13, 29, 57, 0.8), rgba(5, 12, 26, 0.94));
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.docs-card:hover { border-color: rgba(103, 205, 255, 0.4); background: linear-gradient(145deg, rgba(17, 39, 76, 0.88), rgba(6, 15, 32, 0.96)); transform: translateY(-3px); }
.docs-card-icon { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid rgba(99, 197, 255, 0.22); border-radius: 15px; background: rgba(24, 126, 255, 0.1); color: var(--cyan-300); }
.docs-card-icon svg { width: 24px; height: 24px; }
.docs-card-copy { min-width: 0; }
.docs-card-copy strong { display: block; font-size: 1rem; }
.docs-card-copy span { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.76rem; }
.docs-card-arrow { width: 19px; height: 19px; color: var(--blue-400); }
.docs-status { display: inline-flex; margin-top: 0.55rem; padding: 0.25rem 0.45rem; border-radius: 7px; background: rgba(121, 92, 255, 0.1); color: #b7a8ff; font-size: 0.6rem; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }

.docs-help { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 3.5rem; padding: 1.5rem; border: 1px solid var(--line); border-radius: 20px; background: rgba(12, 27, 53, 0.66); }
.docs-help strong { display: block; }
.docs-help span { display: block; margin-top: 0.2rem; color: var(--muted); font-size: 0.8rem; }
.docs-help-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.dialog-open { overflow: hidden; }
.docs-dialog { position: fixed; inset: 0; z-index: 500; }
.docs-dialog[hidden] { display: none; }
.docs-dialog-backdrop { position: absolute; inset: 0; background: rgba(1, 5, 14, 0.78); backdrop-filter: blur(10px); }
.docs-dialog-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(calc(100% - 32px), 520px);
  padding: clamp(1.5rem, 5vw, 2.5rem);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(14, 33, 65, 0.98), rgba(5, 12, 27, 0.99));
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
  text-align: center;
  transform: translate(-50%, -50%);
}
.docs-dialog-icon { display: grid; width: 54px; height: 54px; margin: 0 auto 1.2rem; place-items: center; border: 1px solid rgba(104, 207, 255, 0.34); border-radius: 16px; background: linear-gradient(145deg, rgba(22, 140, 255, 0.16), rgba(121, 92, 255, 0.18)); color: var(--cyan-300); font-size: 1.35rem; font-weight: 900; }
.docs-dialog-panel h2 { margin: 0; font-size: clamp(1.6rem, 5vw, 2.3rem); letter-spacing: -0.04em; }
.docs-dialog-panel p { margin: 1rem 0 0; color: var(--muted); }
.docs-dialog-actions { display: flex; justify-content: center; gap: 0.75rem; margin-top: 1.7rem; }
.docs-dialog-actions button { cursor: pointer; }

.partners-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 76% 12%, rgba(76, 76, 255, 0.16), transparent 31rem),
    radial-gradient(circle at 10% 45%, rgba(25, 169, 255, 0.1), transparent 27rem),
    var(--ink-950);
}

.partners-main { padding: 155px 0 100px; }
.partners-heading { max-width: 780px; }
.partners-heading h1 { margin: 0; font-size: clamp(3rem, 7vw, 6rem); letter-spacing: -0.065em; line-height: 0.96; }
.partners-heading h1 span { display: block; background: linear-gradient(100deg, #f2fbff, var(--cyan-300) 50%, var(--violet-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.partners-heading > p:last-child { max-width: 620px; margin: 1.35rem 0 0; color: var(--muted); }

.partner-card {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  margin-top: 3.5rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: radial-gradient(circle at 94% 8%, rgba(121, 92, 255, 0.17), transparent 20rem), linear-gradient(145deg, rgba(13, 32, 63, 0.93), rgba(5, 12, 27, 0.98));
  box-shadow: var(--shadow);
}

.partner-card::after { position: absolute; right: -10rem; bottom: -14rem; width: 30rem; height: 30rem; border: 1px solid rgba(108, 207, 255, 0.11); border-radius: 50%; content: ""; }
.partner-identity { position: relative; z-index: 1; display: grid; align-content: start; justify-items: center; gap: 0.9rem; }
.partner-monogram { display: grid; width: 150px; height: 150px; place-items: center; border: 1px solid rgba(110, 205, 255, 0.32); border-radius: 28px; background: linear-gradient(145deg, rgba(22, 140, 255, 0.15), rgba(121, 92, 255, 0.2)); color: white; font-size: 2rem; font-weight: 900; letter-spacing: 0.08em; box-shadow: 0 22px 55px rgba(0, 0, 0, 0.3); }
.partner-logo { display: block; width: 180px; height: 180px; max-width: 100%; aspect-ratio: 1 / 1; border: 1px solid rgba(110, 205, 255, 0.28); border-radius: 22px; object-fit: cover; object-position: center; box-shadow: 0 22px 55px rgba(0, 0, 0, 0.3); }
.partner-type { color: var(--cyan-300); font-size: 0.65rem; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.partner-content { position: relative; z-index: 1; }
.partner-content h2 { margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.05em; }
.partner-content > p { max-width: 720px; margin: 1rem 0 0; color: #a9b9ce; }
.partner-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.partner-benefits li { display: flex; align-items: center; gap: 0.55rem; padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: 11px; background: rgba(44, 112, 205, 0.06); color: #bfd0e6; font-size: 0.8rem; font-weight: 700; }
.partner-benefits li::before { color: #69e2b6; font-weight: 900; content: "✓"; }
.partner-quote { margin-top: 1.5rem; padding-left: 1rem; border-left: 2px solid var(--blue-400); color: #d6e8fb; font-size: 0.88rem; font-weight: 750; }
.partner-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

@media (max-width: 1120px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed;
    top: 74px;
    right: 20px;
    left: 20px;
    display: grid;
    gap: 0;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(5, 12, 27, 0.97);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    visibility: hidden;
    opacity: 0;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transform: none; }
  .site-nav > a { padding: 0.9rem; border-bottom: 1px solid var(--line); }
  .site-nav > a:last-of-type { border-bottom: 0; }
  .site-nav .language-switch { margin-top: 0.6rem; justify-self: start; }
  body.menu-open { overflow: hidden; }
  .hero { min-height: auto; padding-top: 145px; }
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-copy { position: relative; z-index: 5; }
  .hero-visual { min-height: 420px; }
  .logo-stage { width: min(82vw, 430px); }
  .signal-strip { margin-top: 0; }
  .signal-grid { grid-template-columns: repeat(2, 1fr); }
  .signal-item:nth-child(2) { border-right: 0; }
  .signal-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 1.2rem; }
  .product-card, .product-card.featured { grid-column: span 6; }
  .principle-grid { grid-template-columns: 1fr; gap: 3rem; }
  .docs-hero { grid-template-columns: 1fr; gap: 1.25rem; }
  .partner-card { grid-template-columns: 1fr; }
  .partner-identity { justify-items: start; }
  .partner-monogram { width: 112px; height: 112px; border-radius: 22px; font-size: 1.55rem; }
  .partner-logo { width: 180px; height: 180px; }
}

@media (max-width: 680px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  .header-inner { min-height: 72px; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-label { display: none; }
  .hero { padding: 125px 0 70px; }
  .hero h1 { font-size: clamp(2.85rem, 15vw, 4.6rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions .button { width: 100%; }
  .hero-meta { display: grid; gap: 0.7rem; }
  .hero-visual { min-height: 345px; }
  .logo-stage { width: min(92vw, 360px); }
  .floating-card { padding: 0.65rem 0.75rem; }
  .floating-card.top { right: 0; }
  .floating-card.bottom { left: 0; }
  .floating-icon { width: 32px; height: 32px; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .signal-item:last-child { border-bottom: 0; }
  .section { padding: 82px 0; }
  .section-heading { margin-bottom: 2rem; }
  .product-grid { display: grid; grid-template-columns: 1fr; }
  .product-card, .product-card.featured { grid-column: auto; min-height: 320px; }
  .cta-panel { border-radius: 24px; }
  .cta-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .footer-links .footer-portal-link { margin-left: auto; }
  .language-card { padding: 2rem 1.25rem; border-radius: 24px; }
  .language-options { grid-template-columns: 1fr; }
  .docs-main { padding-top: 120px; }
  .docs-grid { grid-template-columns: 1fr; }
  .docs-section-head, .docs-help { align-items: flex-start; flex-direction: column; }
  .docs-help-actions, .docs-help-actions .button { width: 100%; }
  .docs-dialog-actions { flex-direction: column; }
  .docs-dialog-actions .button { width: 100%; }
  .partners-main { padding-top: 120px; }
  .partner-benefits { grid-template-columns: 1fr; }
  .partner-actions .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
