/* Uxame Network v7 — resilient web */
:root {
  --bg: #05070f;
  --bg-deep: #03050c;
  --surface: #0c1220;
  --surface-2: #111a2e;
  --surface-3: #182338;
  --text: #eef3fc;
  --muted: #98a5bd;
  --muted-2: #6f7d94;
  --border: rgba(255,255,255,.075);
  --border-strong: rgba(255,255,255,.14);
  --accent: #6ea8ff;
  --accent-2: #8b6aff;
  --accent-soft: rgba(110,168,255,.10);
  --violet-soft: rgba(139,106,255,.10);
  --shadow: 0 30px 80px rgba(0,0,0,.40);
  --max: 1200px;
  --header: 76px;
  --radius: 22px;
}

*,:before,:after { box-sizing: border-box }
html { min-width: 320px; background: var(--bg); scroll-behavior: smooth }
body {
  margin: 0; min-width: 320px; color: var(--text);
  background:
    radial-gradient(1200px 700px at 12% -10%, rgba(70,110,220,.18), transparent 70%),
    radial-gradient(900px 640px at 96% 4%, rgba(139,106,255,.14), transparent 68%),
    radial-gradient(700px 420px at 50% 55%, rgba(70,100,180,.06), transparent 72%),
    linear-gradient(180deg,#05070f 0%,#06090f 55%,#04060c 100%);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.62; text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body:before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  opacity: .38;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, rgba(0,0,0,.7) 40%, transparent 88%);
  mask-image: linear-gradient(to bottom, #000 0, rgba(0,0,0,.7) 40%, transparent 88%);
}
img, svg { max-width: 100% }
img { height: auto }
a { color: inherit }
button { font: inherit }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px }
::selection { background: rgba(110,168,255,.30); color: var(--text) }

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

/* Skip link — WebAIM pattern.
   Hidden via absolute-positioned off-document offset (NOT fixed,
   NOT transform) so macOS/iOS rubber-band overscroll cannot reveal it. */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  padding: 9px 13px;
  border-radius: 9px;
  background: #fff;
  color: #07101b;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
  z-index: 100;
}
.skip-link:focus,
.skip-link:focus-visible {
  position: fixed;
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  overflow: visible;
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  min-height: var(--header);
  border-bottom: 1px solid transparent;
  background: rgba(5,7,15,.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(5,7,15,.86);
  box-shadow: 0 10px 40px rgba(0,0,0,.28);
}
.navbar {
  display: flex; align-items: center; gap: 20px;
  min-height: var(--header);
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  color: var(--text); font-size: 1rem; font-weight: 740;
  letter-spacing: -.02em; text-decoration: none; white-space: nowrap;
  margin-right: 8px;
}
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px }
.brand-mark .brand-logo { display: block; width: 34px; height: 34px; object-fit: contain }
.brand-name { display: inline-block }

.site-nav { margin-left: auto }
.site-nav ul {
  display: flex; align-items: center; gap: 2px;
  margin: 0; padding: 0; list-style: none;
}
.site-nav a {
  position: relative;
  display: inline-flex; align-items: center;
  min-height: 40px; padding: 8px 14px;
  border-radius: 10px;
  color: #a7b3c8; font-size: .9rem; font-weight: 560;
  text-decoration: none;
  transition: color .16s, background .16s;
}
.site-nav a:hover { color: var(--text); background: rgba(255,255,255,.035) }
.site-nav a[aria-current=page] { color: var(--text); background: rgba(255,255,255,.045) }
.site-nav a[aria-current=page]:after {
  content: ""; position: absolute; right: 14px; bottom: 4px; left: 14px;
  height: 2px; border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}
.header-cta { margin-left: 6px; white-space: nowrap }

.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--border); border-radius: 12px;
  background: rgba(255,255,255,.03); color: var(--text); cursor: pointer;
}
.nav-toggle:hover { background: rgba(255,255,255,.06); border-color: var(--border-strong) }
.nav-toggle-icon {
  position: relative; display: block; width: 18px; height: 14px; margin: auto;
}
.nav-toggle-icon:before, .nav-toggle-icon:after, .nav-toggle-icon span {
  position: absolute; left: 0; width: 100%; height: 2px;
  border-radius: 99px; background: currentColor;
  content: ""; transition: transform .18s, top .18s, opacity .18s;
}
.nav-toggle-icon:before { top: 0 }
.nav-toggle-icon span { top: 6px }
.nav-toggle-icon:after { top: 12px }
.nav-toggle[aria-expanded=true] .nav-toggle-icon:before { top: 6px; transform: rotate(45deg) }
.nav-toggle[aria-expanded=true] .nav-toggle-icon span { opacity: 0 }
.nav-toggle[aria-expanded=true] .nav-toggle-icon:after { top: 6px; transform: rotate(-45deg) }

/* Typography */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  margin: 0 0 20px;
  color: #a9bce0; font-size: .72rem; font-weight: 720;
  letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow:before { content: none }
.eyebrow-split { gap: 10px }
.eyebrow-split i { font-style: normal; color: #55627a; font-weight: 400 }
h1, h2, h3, h4 {
  margin: 0; color: var(--text); font-weight: 720;
  letter-spacing: -.045em; line-height: 1.05;
  text-wrap: balance;
}
h1 { max-width: 760px; font-size: clamp(2.9rem, 5.6vw, 5rem) }
h2 { font-size: clamp(2rem, 3.6vw, 3rem) }
h3 { font-size: 1.08rem; letter-spacing: -.025em }
.grad-text {
  background: linear-gradient(105deg, #8ec8ff 0%, #7aa8ff 40%, #a58aff 90%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  min-height: 46px; padding: 10px 20px;
  border: 1px solid transparent; border-radius: 12px;
  font-size: .9rem; font-weight: 680; text-decoration: none;
  transition: transform .16s, background .18s, border-color .18s, box-shadow .2s;
}
.button-pill { border-radius: 999px }
.button:hover { transform: translateY(-1px) }
.button-primary {
  background: linear-gradient(135deg, #8ab4ff 0%, #7590e8 45%, #9a83ff 100%);
  color: #07101b;
  box-shadow: 0 14px 36px rgba(110,140,230,.28), inset 0 1px 0 rgba(255,255,255,.35);
}
.button-primary:hover { box-shadow: 0 20px 48px rgba(110,140,230,.38) }
.button-secondary {
  border-color: var(--border-strong);
  background: rgba(255,255,255,.025);
  color: var(--text);
}
.button-secondary:hover {
  background: rgba(110,168,255,.06);
  border-color: rgba(110,168,255,.28);
}

/* HERO */
.hero {
  position: relative; overflow: hidden;
  padding: 90px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 78% 42%, rgba(110,168,255,.14), transparent 68%),
    radial-gradient(620px 420px at 88% 68%, rgba(139,106,255,.12), transparent 72%);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 560px);
  align-items: center;
  gap: 66px;
}
.hero-copy h1 { max-width: 640px }
.hero .lead {
  max-width: 560px; margin: 26px 0 0;
  color: var(--muted); font-size: 1.02rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px }
.hero-actions-inline { margin-top: 0 }

/* ============================================
   HERO ORB — static sphere + orbiting satellites
   ============================================ */

.hero-orb {
  position: relative;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  isolation: isolate;
}

.orb-glow {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 44% 42%, rgba(150,190,255,.48), transparent 46%),
    radial-gradient(circle at 62% 66%, rgba(139,106,255,.42), transparent 54%);
  filter: blur(60px);
  opacity: .85;
  animation: glow-pulse 7.5s ease-in-out infinite;
}

.orb-scene {
  position: absolute;
  inset: 0;
}

.orb-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.orb-landmass {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  overflow: visible;
}

.orb-svg-back  { z-index: 1; }
.orb-sphere    { z-index: 2; }
.orb-landmass  { z-index: 3; }
.orb-svg-front { z-index: 4; }
.orb-logo      { z-index: 5; }

.orb-sphere {
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%,
      #dbe6ff 0%,
      #9bb5f7 10%,
      #6a83d8 26%,
      #455aa8 50%,
      #273070 74%,
      #131a48 100%);
  box-shadow:
    0 0 50px  rgba(130,160,255,.55),
    0 0 120px rgba(139,106,255,.45),
    0 0 220px rgba(139,106,255,.22),
    inset -34px -30px 80px rgba(6,8,28,.72),
    inset  -8px  -6px 28px rgba(6,8,28,.40),
    inset  20px  24px 60px rgba(220,235,255,.34);
}
.orb-sphere::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 28% 24%,
      rgba(248,251,255,.98) 0%,
      rgba(210,230,255,.55) 10%,
      rgba(170,205,255,.18) 20%,
      transparent 34%);
  mix-blend-mode: screen;
  pointer-events: none;
}
.orb-sphere::after {
  content: "";
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 76% 42% at 70% 80%,
      rgba(170,130,255,.48),
      rgba(120,80,220,.18) 44%,
      transparent 72%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.orb-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 106px;
  height: 106px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(24,32,58,.96), rgba(10,14,26,.98));
  border: 1px solid rgba(180,210,255,.22);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 -8px 22px rgba(0,0,0,.60),
    0 12px 34px rgba(0,0,0,.55),
    0 0 40px rgba(130,160,255,.44);
}
.orb-logo img {
  display: block;
  width: 68px;
  height: 68px;
  filter: drop-shadow(0 0 10px rgba(140,190,255,.55));
}

.orb-side-label {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  padding-top: 30px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: #8a9bb8;
  font-size: .72rem;
  font-weight: 620;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.orb-side-label::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 28px;
  height: 1px;
  margin-left: -14px;
  background: rgba(255,255,255,.16);
}

@keyframes glow-pulse {
  0%, 100% { opacity: .82; }
  50%      { opacity: 1;   }
}

/* PRINCIPLES STRIP */
.principles-strip { position: relative; padding: 26px 0 88px }
.principle-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
  padding: 34px 8px 6px;
  border-top: 1px solid rgba(255,255,255,.05);
}
.principle { display: flex; flex-direction: column; align-items: flex-start }
.principle .icon-box {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  margin-bottom: 22px;
  border-radius: 13px;
  color: #b8cdf0;
  background: linear-gradient(180deg, rgba(110,168,255,.14), rgba(139,106,255,.06));
  border: 1px solid rgba(140,180,255,.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 8px 24px rgba(70,110,220,.15);
}
.principle .icon-box svg { width: 20px; height: 20px }
.principle h3 { font-size: 1rem; letter-spacing: -.02em }
.principle p { margin: 12px 0 0; color: var(--muted); font-size: .88rem; line-height: 1.6 }

/* ARCHITECTURE */
.architecture { position: relative; padding: 96px 0 110px; overflow: hidden }
.architecture-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 22% 60%, rgba(90,140,255,.16), transparent 66%),
    radial-gradient(700px 420px at 88% 40%, rgba(139,106,255,.10), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
}
.architecture-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
.layer-stack { position: relative; width: 320px; height: 320px }
.layer {
  position: absolute; left: 0;
  width: 100%; height: 74px;
  border-radius: 50% / 34%;
  background: linear-gradient(180deg, rgba(120,180,255,.14) 0%, rgba(100,120,220,.04) 60%, rgba(90,60,190,.02) 100%);
  border: 1px solid rgba(150,190,255,.38);
  box-shadow:
    inset 0 1px 0 rgba(200,225,255,.35),
    inset 0 -14px 30px rgba(90,60,190,.15),
    0 20px 44px rgba(70,110,220,.22),
    0 0 60px rgba(110,168,255,.18);
  display: grid; place-items: center;
  transition: transform .35s ease, box-shadow .35s ease;
}
.layer-1 { top: 0; color: #cfe2ff }
.layer-1 svg { width: 26px; height: 26px; opacity: .9; filter: drop-shadow(0 0 8px rgba(150,200,255,.6)) }
.layer-2 { top: 62px; opacity: .82 }
.layer-3 { top: 124px; opacity: .68 }
.layer-4 { top: 186px; opacity: .52 }
.layer-stack:hover .layer-1 { transform: translateY(-4px) }
.layer-stack:hover .layer-2 { transform: translateY(-2px) }
.layer-stack:hover .layer-4 { transform: translateY(2px) }
.layer-labels i:before {
  content: "";
  position: absolute; right: -3px; top: 50%;
  width: 6px; height: 6px; margin-top: -3px;
  border-radius: 50%;
  background: #8fb6ff;
  box-shadow: 0 0 10px rgba(140,190,255,.85);
}
.architecture-copy .section-kicker {
  margin: 0 0 12px; color: #7b93bd;
  font-size: .7rem; font-weight: 720;
  letter-spacing: .18em; text-transform: uppercase;
}
.architecture-copy h2 { margin-bottom: 18px }
.architecture-copy .section-intro { font-size: .96rem; max-width: 460px }
.architecture-mark {
  margin: 26px 0 0; color: #8195b3;
  font-size: .78rem; font-weight: 620;
  letter-spacing: .12em; text-transform: uppercase;
}

/* SECTION base */
.section { padding: 96px 0 }
.section-tight { padding: 80px 0 }
.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: 56px; align-items: end;
  margin-bottom: 46px;
}
.section-kicker {
  margin: 0 0 12px; color: #7b93bd;
  font-size: .7rem; font-weight: 720;
  letter-spacing: .18em; text-transform: uppercase;
}
.section-intro { max-width: 620px; margin: 0; color: var(--muted); font-size: .96rem }

/* SERVICE grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.service-card {
  display: flex; flex-direction: column;
  min-height: 268px; padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(255,255,255,.032), rgba(255,255,255,.008));
  transition: transform .18s, border-color .18s, box-shadow .22s, background .22s;
}
.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(110,168,255,.25);
  background: linear-gradient(155deg, rgba(110,168,255,.055), rgba(255,255,255,.012));
  box-shadow: 0 24px 60px rgba(0,0,0,.24), 0 0 0 1px rgba(110,168,255,.06);
}
.icon-box {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(140,180,255,.18);
  background: rgba(110,168,255,.055);
  color: #a9c0ec;
}
.icon-box svg { width: 18px; height: 18px }
.service-card .icon-box { margin-bottom: 22px }
.service-card h3 { margin: 0 }
.service-card p { margin: 10px 0 0; color: var(--muted); font-size: .88rem }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: auto; padding-top: 22px;
  color: #bfd2f4; font-size: .82rem; font-weight: 660;
  text-decoration: none;
}
.text-link svg { transition: transform .15s }
.text-link:hover svg { transform: translateX(3px) }

/* SPLIT CALLOUT */
.split-callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: 16px;
}
.callout {
  padding: 28px;
  border: 1px solid rgba(110,168,255,.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 15%, rgba(139,106,255,.10), transparent 22rem),
    rgba(12,18,32,.62);
}
.callout p { margin: 12px 0 0; color: var(--muted) }
.callout .button { margin-top: 22px }
.callout-list { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none }
.callout-list li { display: flex; gap: 10px; align-items: flex-start; color: #c3cedf; font-size: .87rem }
.callout-list svg { flex: 0 0 17px; margin-top: 3px; color: #8eb0ed }
.content-card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(255,255,255,.030), rgba(255,255,255,.008));
}
.content-card h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 15px }
.content-card h3 span { color: #65738a; font-size: .68rem; font-weight: 720; letter-spacing: .12em; text-transform: uppercase }
.content-card p { margin: 10px 0 0; color: var(--muted); font-size: .88rem }

/* CTA band */
.cta-band {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 85% 15%, rgba(139,106,255,.10), transparent 24rem),
    radial-gradient(circle at 10% 100%, rgba(110,168,255,.08), transparent 22rem),
    rgba(255,255,255,.016);
}
.cta-band .inner { display: flex; align-items: center; justify-content: space-between; gap: 26px }
.cta-band p { margin: 8px 0 0; color: var(--muted) }

/* FOOTER */
.site-footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--border);
  background: rgba(3,5,12,.55);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  gap: 46px;
}
.footer-brand p { max-width: 350px; margin: 12px 0 0; color: #79869a; font-size: .84rem }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px }
.footer-col h3 { color: #65738b; font-size: .66rem; font-weight: 740; letter-spacing: .14em; text-transform: uppercase }
.footer-col ul { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none }
.footer-col a { color: #9ca8ba; font-size: .79rem; text-decoration: none }
.footer-col a:hover { color: var(--text) }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; margin-top: 40px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.045);
  color: #647188; font-size: .72rem;
}
.footer-bottom a { color: inherit; text-decoration: none }
.footer-bottom a:hover { color: #b5c0d2 }

/* PAGE HERO (inner pages) */
.page-hero {
  padding: 78px 0 66px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 18% 25%, rgba(110,168,255,.10), transparent 24rem),
    radial-gradient(circle at 82% 4%, rgba(139,106,255,.08), transparent 24rem);
}
.page-hero-inner { max-width: 800px }
.page-hero h1 { max-width: 800px; font-size: clamp(2.6rem, 5.2vw, 4.4rem) }
.page-hero p { max-width: 720px; margin: 20px 0 0; color: var(--muted); font-size: 1rem }

/* PAGE LAYOUT */
.page-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 48px; align-items: start }
.side-nav { position: sticky; top: calc(var(--header) + 22px) }
.side-nav a {
  display: flex; padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,.04);
  color: #7d8ba1; font-size: .78rem; text-decoration: none;
}
.side-nav a:hover { color: #c7d2e1 }
.prose { max-width: 830px }
.prose > section + section { margin-top: 50px }
.prose h2 { font-size: clamp(1.55rem, 2.6vw, 2.05rem) }
.prose h3 { margin-top: 27px }
.prose p, .prose li { color: var(--muted); font-size: .93rem }
.prose p { margin: 12px 0 0 }
.prose ul { margin: 14px 0 0; padding-left: 20px }

/* SERVICES detail */
.service-detail { scroll-margin-top: calc(var(--header) + 26px) }
.service-detail + .service-detail {
  margin-top: 34px; padding-top: 34px;
  border-top: 1px solid var(--border);
}
.service-detail .detail-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 16px; margin-top: 18px;
}
.detail-block {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(255,255,255,.012);
}
.detail-block h3 { margin: 0; color: #71809a; font-size: .68rem; font-weight: 740; letter-spacing: .12em; text-transform: uppercase }
.detail-block p, .detail-block ul { margin: 10px 0 0; color: var(--muted); font-size: .86rem }
.detail-block ul { padding-left: 18px }
.detail-subhead { margin-top: 20px !important }

/* SECURITY grid */
.security-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px }
.security-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(255,255,255,.032), rgba(255,255,255,.008));
}
.security-card h3 { margin-top: 18px }
.security-card p { margin: 10px 0 0; color: var(--muted); font-size: .88rem }

/* NOTICES */
.notice {
  padding: 18px 20px;
  border-left: 2px solid #748fd2;
  border-radius: 0 13px 13px 0;
  background: rgba(116,143,210,.065);
}
.notice p { margin: 0; color: #b6c2d6; font-size: .87rem }
.notice-spaced { margin-top: 22px }
.content-stack-spaced { margin-top: 22px }

/* LEGAL */
.legal-section + .legal-section { margin-top: 40px }

/* 404 */
.not-found {
  min-height: calc(100dvh - var(--header));
  display: grid; place-items: center;
  padding: 80px 0;
}
.not-found-card { max-width: 720px; text-align: center }
.not-found-code {
  margin-bottom: 14px;
  color: #5d6e8d; font-size: clamp(4rem, 11vw, 7rem);
  font-weight: 760; letter-spacing: -.08em; line-height: .9;
}
.not-found p { max-width: 520px; margin: 18px auto 0; color: var(--muted) }
.not-found .hero-actions { justify-content: center }

/* REVEAL */
.reveal { opacity: 1; transform: none }
.js .reveal {
  opacity: 0; transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none }

/* RESPONSIVE */
@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 40px }
  .principle-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 30px }
  .architecture-grid { grid-template-columns: 1fr; gap: 48px; }
  .section-header { grid-template-columns: 1fr; gap: 14px }
  .page-layout { grid-template-columns: 1fr; gap: 28px }
  .side-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px 18px }
  .side-nav a { border: 0; padding: 0 }
  .footer-grid { grid-template-columns: 1fr }
}
@media (max-width: 860px) {
  .nav-toggle { display: grid; place-items: center; margin-left: auto }
  .site-nav {
    position: absolute; top: calc(100% + 8px); right: 20px; left: 20px;
    display: none; padding: 8px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(8,12,22,.97);
    box-shadow: 0 26px 70px rgba(0,0,0,.35);
  }
  .site-nav.is-open { display: block }
  .site-nav ul { display: grid; gap: 2px }
  .site-nav a { min-height: 46px; padding: 10px 14px }
  .site-nav a[aria-current=page]:after { left: 14px; right: auto; bottom: 11px; width: 22px }
  .header-cta { display: none }
  .hero-grid { grid-template-columns: 1fr }
  .hero-orb { max-width: 460px }
  .orb-side-label { display: none }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .split-callout { grid-template-columns: 1fr }
  }
@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)) }
  .hero { padding: 62px 0 44px }
  .hero .lead { font-size: .96rem }
  .hero-orb { max-width: 380px }
  .orb-logo { width: 64px; height: 64px; border-radius: 17px }
  .orb-logo img { width: 38px; height: 38px }
  .principles-strip { padding: 22px 0 60px }
  .principle-row { grid-template-columns: 1fr; gap: 30px; padding: 26px 4px 4px }
  .principle .icon-box { width: 44px; height: 44px; margin-bottom: 18px }
  .service-grid, .security-grid { grid-template-columns: 1fr }
  .service-detail .detail-grid { grid-template-columns: 1fr }
  .layer-stack { width: 260px; height: 260px }
  .layer { height: 60px }
  .layer-2 { top: 50px }
  .layer-3 { top: 100px }
  .layer-4 { top: 150px }
  .cta-band { padding: 24px }
  .cta-band .inner { align-items: flex-start; flex-direction: column }
  .footer-links { grid-template-columns: repeat(2, 1fr) }
  .footer-bottom { align-items: flex-start; flex-direction: column }
  .page-hero { padding: 62px 0 54px }
  .section { padding: 70px 0 }
  .section-tight { padding: 60px 0 }
}
@media (max-width: 390px) {
  .hero-actions .button { width: 100% }
}
@media (min-width: 1400px) {
  .hero { padding: 110px 0 96px }
  .hero-grid { grid-template-columns: minmax(0, 1fr) 560px; gap: 80px }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *:before, *:after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .js .reveal { opacity: 1; transform: none }
}

/* ============================================
   ARCHITECTURE — 3D layer stack + labels
   ============================================ */
.architecture {
  position: relative;
  padding: 96px 0 110px;
  overflow: hidden;
}
.architecture-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 520px at 22% 60%, rgba(90,140,255,.18), transparent 66%),
    radial-gradient(700px 420px at 88% 40%, rgba(139,106,255,.10), transparent 70%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
}
.architecture-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 60px;
  align-items: center;
}
.architecture-visual {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
}
.arch-stage {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  align-items: stretch;
}
.arch-svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 400 / 480;
  overflow: visible;
}

/* Labels aligned to disc centres — 70/180/290/400 of viewBox 480 */
.layer-labels {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  min-height: 100%;
}
.layer-labels li {
  position: absolute;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(-50%);
  color: #cdd9ea;
  font-size: clamp(.78rem, 1.35vw, .92rem);
  font-weight: 540;
  letter-spacing: -.005em;
  white-space: nowrap;
}
.layer-labels li:nth-child(1) { top: 14.58%; }
.layer-labels li:nth-child(2) { top: 37.50%; }
.layer-labels li:nth-child(3) { top: 60.42%; }
.layer-labels li:nth-child(4) { top: 83.33%; }

.layer-labels i {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 1px;
  background: linear-gradient(90deg, rgba(110,168,255,.05), rgba(160,200,255,.65));
}
.layer-labels i::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: radial-gradient(circle, #f0f6ff 0%, #8fb6ff 55%, rgba(140,190,255,0) 100%);
  box-shadow: 0 0 12px rgba(150,200,255,.95);
}

.architecture-copy .section-kicker {
  margin: 0 0 12px; color: #7b93bd;
  font-size: .7rem; font-weight: 720;
  letter-spacing: .18em; text-transform: uppercase;
}
.architecture-copy h2 { margin-bottom: 18px }
.architecture-copy .section-intro { font-size: .96rem; max-width: 460px }
.architecture-mark {
  margin: 26px 0 0; color: #8195b3;
  font-size: .78rem; font-weight: 620;
  letter-spacing: .12em; text-transform: uppercase;
}


/* Accessibility and progressive enhancement */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

html { scroll-padding-top: calc(var(--header) + 18px); }
[id] { scroll-margin-top: calc(var(--header) + 18px); }
.not-found .eyebrow { justify-content: center; }
.notice-spaced { margin-top: 22px; }
.content-stack-spaced { margin-top: 22px; }
.detail-subheading { margin-top: 18px; }
.security-card h3 { margin-top: 19px; }

/* FAQ: native disclosure widgets, no additional JavaScript required. */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.faq-intro h2 { margin-bottom: 16px; }
.faq-intro p:last-child { color: var(--muted); max-width: 46ch; }
.faq-list { border-top: 1px solid var(--border-strong); }
.faq-item { border-bottom: 1px solid var(--border-strong); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 18px 2px;
  color: var(--text);
  font-weight: 650;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 450;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item summary:focus-visible { outline-offset: 2px; border-radius: 6px; }
.faq-item p { max-width: 66ch; margin: 0 34px 22px 2px; color: var(--muted); }

@media (max-width: 860px) {
  .faq-layout { grid-template-columns: 1fr; gap: 22px; }
  /* Without JavaScript, expose the nav as a normal second header row. */
  html:not(.js) .navbar { flex-wrap: wrap; padding-block: 12px; }
  html:not(.js) .nav-toggle { display: none; }
  html:not(.js) .site-nav {
    position: static;
    display: block;
    flex: 1 0 100%;
    order: 3;
    margin: 0;
    padding: 10px 0 0;
    border: 0;
    border-top: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  html:not(.js) .site-nav ul { display: flex; flex-wrap: wrap; gap: 4px; }
}
