/* ==========================================================================
   ADOBEVN — Design System
   Advancing Digital Opportunities, Building Exceptional Value Networks.
   Single shared stylesheet for every page. Vanilla CSS, no build step.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens — change the theme here and it changes everywhere.
   -------------------------------------------------------------------------- */
:root {
  /* Palette */
  --midnight:        #050912;
  --navy-900:        #070d1c;
  --navy-800:        #0a1226;
  --navy-700:        #0e1830;
  --navy-600:        #14203f;
  --navy-500:        #1b2a4f;

  --line:            rgba(139, 163, 214, 0.16);
  --line-strong:     rgba(139, 163, 214, 0.30);

  --white:           #ffffff;
  --text:            #e9eefb;
  --text-muted:      #a3b0cc;
  --text-dim:        #7e8cab;

  --accent:          #3d8bff;
  --accent-bright:   #61a3ff;
  --accent-deep:     #1f5fd0;
  --violet:          #7b6cf6;
  --teal:            #35c2c8;

  --accent-soft:     rgba(61, 139, 255, 0.12);
  --violet-soft:     rgba(123, 108, 246, 0.12);

  /* Surfaces */
  --bg:              var(--midnight);
  --surface:         #0a1224;
  --surface-2:       #0d1730;
  --surface-3:       #101d3c;
  --surface-glass:   rgba(14, 24, 48, 0.72);

  /* Gradients */
  --grad-brand:      linear-gradient(135deg, var(--accent) 0%, var(--violet) 100%);
  --grad-text:       linear-gradient(120deg, #ffffff 10%, #b9d3ff 55%, #a99cff 100%);
  --grad-surface:    linear-gradient(160deg, rgba(61,139,255,0.10) 0%, rgba(123,108,246,0.05) 45%, rgba(10,18,36,0) 80%);

  /* Typography */
  --font-sans: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --fs-xs:   0.78rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.0625rem;
  --fs-lg:   1.1875rem;
  --fs-xl:   1.4rem;
  --fs-2xl:  1.75rem;
  --fs-3xl:  2.1rem;
  --fs-4xl:  2.7rem;
  --fs-5xl:  3.4rem;

  /* Spacing */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.75rem;
  --sp-8: 3.5rem;
  --sp-9: 5rem;
  --sp-10: 7rem;

  /* Shape */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 999px;

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.35);
  --shadow:    0 12px 32px -16px rgba(0, 0, 0, 0.75);
  --shadow-lg: 0 32px 70px -32px rgba(2, 8, 22, 0.95);
  --glow:      0 0 0 1px rgba(61, 139, 255, 0.30), 0 18px 50px -22px rgba(61, 139, 255, 0.55);

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --header-h: 72px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 220ms;
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: 1.68;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Ambient background wash — pure CSS, no images. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(1000px 620px at 78% -8%, rgba(61, 139, 255, 0.16), transparent 62%),
    radial-gradient(820px 520px at 8% 4%, rgba(123, 108, 246, 0.13), transparent 60%),
    radial-gradient(1100px 700px at 50% 108%, rgba(31, 95, 208, 0.10), transparent 65%);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(139, 163, 214, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 163, 214, 0.045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(circle at 50% 0%, rgba(0, 0, 0, 0.85), transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, rgba(0, 0, 0, 0.85), transparent 78%);
  pointer-events: none;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--sp-4);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.022em;
  color: var(--white);
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 1.35rem + 3.4vw, 3.4rem); letter-spacing: -0.033em; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.5rem); letter-spacing: -0.028em; }
h3 { font-size: clamp(1.15rem, 1.02rem + 0.5vw, 1.35rem); }
h4 { font-size: var(--fs-base); }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a {
  color: var(--accent-bright);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}
a:hover { color: var(--white); }

ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.15rem; }
li { margin-bottom: var(--sp-2); }
li:last-child { margin-bottom: 0; }

strong, b { color: var(--white); font-weight: 620; }

hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: var(--sp-7) 0;
}

code {
  font-family: var(--font-mono);
  font-size: 0.86em;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  padding: 0.12em 0.42em;
  color: #cfe0ff;
}

:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

::selection { background: rgba(61, 139, 255, 0.32); color: var(--white); }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3.5rem, 2rem + 6vw, 6.5rem); position: relative; }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
.section--edge { border-top: 1px solid var(--line); }
.section--panel { background: linear-gradient(180deg, rgba(10, 18, 36, 0.85), rgba(5, 9, 18, 0)); }

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -140%);
  z-index: 200;
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); color: var(--white); }

/* Section headings */
.section__head { max-width: 780px; margin-bottom: clamp(2rem, 1rem + 3vw, 3.25rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head p { color: var(--text-muted); font-size: var(--fs-lg); }
.section__head--center p { margin-inline: auto; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--fs-xs);
  font-weight: 620;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.section__head--center .eyebrow::before { display: none; }

.lead {
  font-size: clamp(1.05rem, 1rem + 0.4vw, 1.28rem);
  color: var(--text-muted);
  line-height: 1.66;
}

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted { color: var(--text-muted); }
.small { font-size: var(--fs-sm); }
.center { text-align: center; }

/* Grids */
.grid { display: grid; gap: clamp(1rem, 0.6rem + 1.2vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.grid--sidebar { grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.5rem, 1rem + 3vw, 3rem); align-items: start; }

.stack > * + * { margin-top: var(--sp-4); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.5rem;
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 620;
  letter-spacing: 0.012em;
  line-height: 1.2;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-align: center;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }

.btn--primary {
  --btn-fg: var(--white);
  --btn-bd: transparent;
  background: var(--grad-brand);
  box-shadow: 0 14px 34px -18px rgba(61, 139, 255, 0.9);
}
.btn--primary:hover { box-shadow: 0 20px 44px -18px rgba(61, 139, 255, 1); }

.btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.03);
  --btn-fg: var(--text);
}
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.07); border-color: var(--line-strong); color: var(--white); }

.btn--sm { padding: 0.58rem 1.1rem; font-size: var(--fs-xs); }
.btn--lg { padding: 0.98rem 1.9rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }

.btn__arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}
.btn-row--center { justify-content: center; }

/* Inline text link with arrow */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--accent-bright);
}
.arrow-link svg { transition: transform var(--dur) var(--ease); }
.arrow-link:hover svg { transform: translateX(3px); }

/* --------------------------------------------------------------------------
   5. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* The translucent blur lives on a pseudo-element rather than on .site-header
   itself. An element with backdrop-filter becomes the containing block for its
   fixed-position descendants, which would collapse the fixed mobile nav drawer
   into the height of the header. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 9, 18, 0.68);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  pointer-events: none;
}
.site-header.is-scrolled::before {
  background: rgba(5, 9, 18, 0.93);
  border-bottom-color: var(--line);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.06rem;
  flex-shrink: 0;
}
.brand:hover { color: var(--white); }
.brand__mark { width: 32px; height: 32px; flex-shrink: 0; }
.brand__name { line-height: 1; }

/* Primary nav */
.nav { margin-left: auto; }
.nav__list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__item { position: relative; margin: 0; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 550;
  color: var(--text-muted);
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav__link:hover { color: var(--white); background: rgba(255, 255, 255, 0.05); }
.nav__link[aria-current="page"],
.nav__item.is-active > .nav__link { color: var(--white); }
.nav__link[aria-current="page"]::after,
.nav__item.is-active > .nav__link::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
}
.nav__caret { transition: transform var(--dur) var(--ease); opacity: 0.7; }
.nav__link[aria-expanded="true"] .nav__caret { transform: rotate(180deg); }

/* Dropdown */
.nav__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 306px;
  padding: 0.55rem;
  margin: 0;
  list-style: none;
  background: var(--surface-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}
.nav__item.is-open > .nav__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nav__menu li { margin: 0; }
.nav__menu-link {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: var(--fs-sm);
  font-weight: 590;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav__menu-link span {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 450;
  color: var(--text-dim);
  margin-top: 2px;
  line-height: 1.45;
}
.nav__menu-link:hover { background: rgba(61, 139, 255, 0.12); color: var(--white); }
.nav__menu-link:hover span { color: var(--text-muted); }

.header__cta { flex-shrink: 0; }

/* The in-drawer CTA is mobile-only; the header CTA covers desktop. */
.nav__mobile-cta { display: none; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle__bars { position: relative; width: 18px; height: 12px; }
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.8px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .header__cta { display: none; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    margin: 0;
    background: rgba(5, 9, 18, 0.98);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: var(--sp-5) clamp(1.15rem, 4vw, 2rem) var(--sp-8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0.1rem; }
  .nav__item { width: 100%; }
  .nav__link {
    width: 100%;
    justify-content: space-between;
    padding: 0.9rem 0.4rem;
    font-size: var(--fs-md);
    color: var(--text);
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav__link:hover { background: none; }
  .nav__link[aria-current="page"]::after,
  .nav__item.is-active > .nav__link::after { display: none; }
  .nav__item.is-active > .nav__link { color: var(--accent-bright); }

  .nav__menu {
    position: static;
    transform: none;
    min-width: 0;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
    background: rgba(255, 255, 255, 0.02);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0.4rem 0 0.7rem 0.4rem;
  }
  .nav__item.is-open > .nav__menu { display: block; transform: none; }

  .nav__mobile-cta { display: block; margin-top: var(--sp-6); }
  .nav__mobile-cta .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 1.5rem + 7vw, 6.5rem) clamp(3rem, 2rem + 5vw, 5.5rem);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: center;
}
.hero__content { position: relative; z-index: 2; }
.hero h1 { margin-bottom: var(--sp-5); }
.hero__lead { max-width: 46ch; margin-bottom: var(--sp-6); }
.hero__visual { position: relative; z-index: 1; }

.hero--page { padding-block: clamp(2rem, 1rem + 4vw, 3.5rem) clamp(2.25rem, 1.5rem + 3vw, 3.75rem); }
.hero--page .hero__inner { display: block; }
.hero--page .hero__content { max-width: 830px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.9rem 0.42rem 0.55rem;
  margin-bottom: var(--sp-5);
  font-size: var(--fs-xs);
  font-weight: 570;
  letter-spacing: 0.01em;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.pill__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 3px rgba(61, 139, 255, 0.20);
  margin-left: 0.25rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--text-dim);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__meta svg { color: var(--accent); flex-shrink: 0; }

/* Animated network figure */
.netfig { position: relative; width: 100%; }
.netfig svg { width: 100%; height: auto; overflow: visible; }
.netfig__glow {
  position: absolute;
  inset: 12% 8%;
  background: radial-gradient(circle at 50% 50%, rgba(61, 139, 255, 0.22), transparent 68%);
  filter: blur(28px);
  z-index: -1;
  pointer-events: none;
}
.netfig .node { animation: node-pulse 4.2s var(--ease) infinite; transform-box: fill-box; transform-origin: center; }
.netfig .node--1 { animation-delay: 0s; }
.netfig .node--2 { animation-delay: 0.5s; }
.netfig .node--3 { animation-delay: 1.05s; }
.netfig .node--4 { animation-delay: 1.6s; }
.netfig .node--5 { animation-delay: 2.15s; }
.netfig .node--6 { animation-delay: 2.7s; }
.netfig .node--7 { animation-delay: 3.2s; }

.netfig .link { stroke-dasharray: 4 7; animation: dash-flow 5.5s linear infinite; }
.netfig .link--slow { animation-duration: 8s; }
.netfig .orbit { animation: spin 42s linear infinite; transform-box: fill-box; transform-origin: center; }
.netfig .orbit--rev { animation-duration: 60s; animation-direction: reverse; }

@keyframes node-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.28); }
}
@keyframes dash-flow { to { stroke-dashoffset: -110; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* --------------------------------------------------------------------------
   7. Cards & surfaces
   -------------------------------------------------------------------------- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.35rem, 1rem + 1vw, 1.85rem);
  background: linear-gradient(165deg, rgba(20, 32, 63, 0.62), rgba(10, 18, 36, 0.55));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-surface);
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card h3 { margin-bottom: var(--sp-3); }
.card p { color: var(--text-muted); font-size: var(--fs-base); }
.card__footer { margin-top: auto; padding-top: var(--sp-5); }

a.card, .card--link { color: inherit; }
a.card:hover, .card--link:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  color: inherit;
}
a.card h3 { transition: color var(--dur) var(--ease); }
a.card:hover h3 { color: var(--accent-bright); }

.card--feature { padding: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); }
.card--flat { background: rgba(255, 255, 255, 0.02); }
.card--accent { border-color: rgba(61, 139, 255, 0.35); background: linear-gradient(165deg, rgba(61, 139, 255, 0.12), rgba(10, 18, 36, 0.6)); }

.card__index {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: var(--sp-3);
}

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: var(--sp-4);
  border-radius: var(--radius-sm);
  background: rgba(61, 139, 255, 0.12);
  border: 1px solid rgba(61, 139, 255, 0.24);
  color: var(--accent-bright);
  flex-shrink: 0;
}
.icon-box--violet { background: var(--violet-soft); border-color: rgba(123, 108, 246, 0.26); color: #a99cff; }

.panel {
  padding: clamp(1.6rem, 1.1rem + 2vw, 2.75rem);
  background: linear-gradient(165deg, rgba(20, 32, 63, 0.55), rgba(10, 18, 36, 0.5));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
}
.panel--plain { background: rgba(255, 255, 255, 0.02); }

/* Feature list with check marks */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.7rem;
  color: var(--text-muted);
  font-size: var(--fs-base);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 15px;
  height: 8px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
  border-radius: 1px;
}
.check-list--tight li { margin-bottom: 0.45rem; font-size: var(--fs-sm); }

/* Simple tag chips */
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; list-style: none; }
.tags li { margin: 0; }
.tag {
  display: inline-block;
  padding: 0.32rem 0.72rem;
  font-size: var(--fs-xs);
  font-weight: 550;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.tag--accent { color: var(--accent-bright); border-color: rgba(61, 139, 255, 0.3); background: var(--accent-soft); }

/* Numbered process steps */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: var(--sp-4); }
.steps--row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.steps li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: clamp(1.3rem, 1rem + 1vw, 1.7rem);
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--sp-3);
  letter-spacing: 0.08em;
}
.steps h3 { font-size: var(--fs-base); margin-bottom: var(--sp-2); }
.steps p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }

/* Definition-style rows */
.deflist { display: grid; gap: 0; border-top: 1px solid var(--line); margin: 0; }
.deflist__row {
  display: grid;
  grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
  gap: clamp(0.5rem, 0.3rem + 1.5vw, 2rem);
  padding: clamp(1.1rem, 0.9rem + 0.6vw, 1.5rem) 0;
  border-bottom: 1px solid var(--line);
}
.deflist__row dt { font-weight: 620; color: var(--white); margin: 0; }
.deflist__row dd { margin: 0; color: var(--text-muted); font-size: var(--fs-base); }

/* Region cards */
.region-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.022);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.region-card:hover { border-color: var(--line-strong); transform: translateY(-3px); background: rgba(255, 255, 255, 0.04); }
.region-card__code {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.region-card__city { font-size: var(--fs-lg); font-weight: 640; color: var(--white); line-height: 1.3; }
.region-card__meta { font-size: var(--fs-sm); color: var(--text-dim); }
.region-card--primary { border-color: rgba(61, 139, 255, 0.4); background: linear-gradient(160deg, rgba(61, 139, 255, 0.14), rgba(10, 18, 36, 0.4)); }

/* Spec / configuration table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255, 255, 255, 0.018); }
table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: var(--fs-sm); }
caption { text-align: left; padding: 1rem 1.25rem 0; color: var(--text-dim); font-size: var(--fs-sm); }
th, td { padding: 0.95rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th {
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 620;
  background: rgba(255, 255, 255, 0.025);
}
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { color: var(--white); font-weight: 620; white-space: nowrap; }
td { color: var(--text-muted); }

/* Split media block */
.media-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
.media-split--reverse .media-split__figure { order: -1; }

/* --------------------------------------------------------------------------
   8. Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs {
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 9, 18, 0.4);
}
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem 0.55rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--fs-sm);
  color: var(--text-dim);
}
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.55rem; margin: 0; }
.breadcrumbs li + li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 1.5px solid var(--text-dim);
  border-right: 1.5px solid var(--text-dim);
  transform: rotate(45deg);
  opacity: 0.7;
}
.breadcrumbs a { color: var(--text-muted); font-weight: 500; }
.breadcrumbs a:hover { color: var(--accent-bright); }
.breadcrumbs [aria-current="page"] { color: var(--white); font-weight: 560; }

/* --------------------------------------------------------------------------
   9. FAQ (details/summary — works without JS)
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 0.75rem; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.022);
  transition: border-color var(--dur) var(--ease);
}
.faq__item[open] { border-color: var(--line-strong); background: rgba(255, 255, 255, 0.035); }
.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.35rem;
  font-weight: 610;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  font-size: var(--fs-base);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur) var(--ease);
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg) translateY(-2px); }
.faq__a { padding: 0 1.35rem 1.25rem; color: var(--text-muted); font-size: var(--fs-base); }

/* --------------------------------------------------------------------------
   10. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: clamp(2.25rem, 1.5rem + 4vw, 4rem);
  border: 1px solid rgba(61, 139, 255, 0.28);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(700px 300px at 15% 0%, rgba(61, 139, 255, 0.22), transparent 70%),
    radial-gradient(600px 320px at 85% 100%, rgba(123, 108, 246, 0.20), transparent 70%),
    linear-gradient(160deg, rgba(20, 32, 63, 0.9), rgba(8, 14, 30, 0.9));
  text-align: center;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 163, 214, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 163, 214, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 72%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: var(--sp-4); }
.cta-band p { max-width: 62ch; margin-inline: auto; color: var(--text-muted); font-size: var(--fs-lg); }
.cta-band .btn-row { margin-top: var(--sp-6); justify-content: center; }

/* --------------------------------------------------------------------------
   11. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--sp-5); }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
.field { display: flex; flex-direction: column; gap: 0.45rem; }
.field--full { grid-column: 1 / -1; }

.field label { font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.field__hint { font-size: var(--fs-xs); color: var(--text-dim); }
.req { color: var(--accent-bright); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: var(--fs-base);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  appearance: none;
}
.field textarea { min-height: 168px; resize: vertical; line-height: 1.6; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23a3b0cc' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.field select option { background: var(--navy-800); color: var(--text); }

.field input::placeholder,
.field textarea::placeholder { color: var(--text-dim); opacity: 0.8; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(61, 139, 255, 0.6);
  background: rgba(61, 139, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(61, 139, 255, 0.15);
}

.checkbox {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
}
.checkbox input {
  width: 20px;
  height: 20px;
  margin: 0.18rem 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}
.checkbox label { font-size: var(--fs-sm); font-weight: 450; color: var(--text-muted); line-height: 1.55; }
.checkbox label a { font-weight: 550; }

.form__note {
  font-size: var(--fs-sm);
  color: var(--text-dim);
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--radius-xs);
}

.form-status {
  display: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  border: 1px solid rgba(61, 139, 255, 0.35);
  background: var(--accent-soft);
  color: var(--text);
}
.form-status.is-visible { display: block; }

/* Contact detail block */
.contact-item { display: flex; gap: 0.9rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: 0; }
.contact-item svg { color: var(--accent); flex-shrink: 0; margin-top: 0.25rem; }
.contact-item h3 { font-size: var(--fs-sm); margin-bottom: 0.15rem; }
.contact-item p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
.placeholder-value {
  font-family: var(--font-mono);
  font-size: 0.82em;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-xs);
  padding: 0.1em 0.45em;
}

/* --------------------------------------------------------------------------
   12. Legal / long-form content
   -------------------------------------------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 { margin-top: var(--sp-8); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.7rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--sp-6); }
.prose p, .prose li { color: var(--text-muted); }
.prose ul { padding-left: 1.25rem; }
.prose__meta {
  font-size: var(--fs-sm);
  color: var(--text-dim);
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: var(--sp-7);
}

/* Table of contents */
.toc { position: sticky; top: calc(var(--header-h) + 24px); }
.toc h2 { font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dim); margin-bottom: var(--sp-3); }
.toc ol { list-style: none; padding: 0; margin: 0; counter-reset: toc; }
.toc li { counter-increment: toc; margin-bottom: 0.4rem; }
.toc a { display: block; font-size: var(--fs-sm); color: var(--text-muted); padding: 0.25rem 0; }
.toc a::before { content: counter(toc) ". "; color: var(--text-dim); font-family: var(--font-mono); font-size: 0.85em; }
.toc a:hover { color: var(--accent-bright); }

/* --------------------------------------------------------------------------
   13. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  margin-top: clamp(3rem, 2rem + 4vw, 5rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 14, 30, 0.6), rgba(5, 9, 18, 0.95));
  padding-block: clamp(2.75rem, 2rem + 3vw, 4.25rem) var(--sp-6);
}
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr));
  gap: clamp(1.75rem, 1rem + 3vw, 3rem);
  padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.footer__brand { max-width: 34ch; }
.footer__brand .brand { margin-bottom: var(--sp-4); }
.footer__tagline { font-size: var(--fs-sm); color: var(--text-muted); margin-bottom: var(--sp-4); }
.footer__meaning {
  font-size: var(--fs-xs);
  color: var(--text-dim);
  line-height: 1.65;
  padding-left: 0.85rem;
  border-left: 2px solid rgba(61, 139, 255, 0.4);
}

.footer__col h2 {
  font-size: var(--fs-xs);
  font-weight: 640;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--sp-4);
}
.footer__col ul { list-style: none; padding: 0; margin: 0; }
.footer__col li { margin-bottom: 0.6rem; }
.footer__col a { font-size: var(--fs-sm); color: var(--text-muted); }
.footer__col a:hover { color: var(--accent-bright); }
.footer__col p { font-size: var(--fs-sm); color: var(--text-muted); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--text-dim);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer__legal li { margin: 0; }
.footer__legal a { color: var(--text-dim); font-size: var(--fs-sm); }
.footer__legal a:hover { color: var(--text); }
.footer__note { font-size: var(--fs-xs); color: var(--text-dim); max-width: 70ch; margin-top: var(--sp-4); line-height: 1.6; }

/* --------------------------------------------------------------------------
   14. 404
   -------------------------------------------------------------------------- */
.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 62vh;
  padding-block: var(--sp-9);
}
.error-page__code {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 3rem + 9vw, 8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--sp-5);
}
.error-page p { max-width: 52ch; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   15. Scroll reveal (progressive enhancement; visible by default)
   -------------------------------------------------------------------------- */
.js-reveal { opacity: 1; }
.js .js-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.js .js-reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   16. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .steps--row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__top { grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: var(--sp-7); }
  .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--split, .media-split { grid-template-columns: minmax(0, 1fr); }
  .media-split--reverse .media-split__figure { order: 0; }
  .grid--sidebar { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
}

@media (max-width: 820px) {
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form__grid { grid-template-columns: minmax(0, 1fr); }
  .deflist__row { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
}

@media (max-width: 640px) {
  :root { --fs-md: 1rem; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0, 1fr); }
  .steps--row { grid-template-columns: minmax(0, 1fr); }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; max-width: none; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 400px) {
  .footer__top { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   17. Motion & print preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .js .js-reveal { opacity: 1; transform: none; }
  .btn:hover, .card:hover, .region-card:hover { transform: none; }
}

@media print {
  body::before, body::after { display: none; }
  .site-header, .site-footer, .cta-band, .nav-toggle { display: none; }
  body { background: #fff; color: #111; }
  h1, h2, h3 { color: #000; }
  a { color: #0b57d0; }
}
