/* Scout public website */
:root {
  --bg: #020a18;
  --bg-2: #061430;
  --card: rgba(13, 31, 60, .55);
  --line: rgba(120, 160, 230, .16);
  --text: #eef4ff;
  --muted: #9db0d0;
  --blue: #2a7bff;
  --blue-2: #5aa2ff;
  --teal: #22d3bd;
  --purple: #9a5cff;
  --pink: #ff5c9a;
  --green: #2ad795;
  --display: "Space Grotesk", Inter, system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); letter-spacing: -.02em; margin: 0; }
p { margin: 0; }
img { display: block; }
:focus-visible { outline: 2px solid var(--blue-2); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 18px clamp(16px, 4vw, 56px); transition: background .3s, padding .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(2, 10, 24, .78); backdrop-filter: blur(14px); padding-top: 12px; padding-bottom: 12px; border-color: var(--line); }
.nav nav { display: flex; gap: 26px; margin-left: auto; }
.nav nav a { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav nav a:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; font-weight: 600; font-size: 14.5px; border: 1px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 12px; }
.btn-primary { background: linear-gradient(180deg, #3a8bff, #1a62f2); color: #fff; box-shadow: 0 10px 30px -10px #1a6dffcc, inset 0 1px 0 #ffffff40; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px #1a6dff; }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line); color: #dbe7fb; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(150, 190, 255, .35); }

/* hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
#globe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-glow { position: absolute; inset: 0; z-index: -2; background: radial-gradient(900px 600px at 72% 45%, #0e2f66 0%, transparent 60%), radial-gradient(700px 500px at 10% 90%, #11214d 0%, transparent 70%), linear-gradient(180deg, #030d1e, var(--bg)); }
.hero-inner { width: 100%; max-width: 1240px; margin: 0 auto; padding: 120px clamp(16px, 4vw, 56px) 80px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 40px; }
.hero-copy { max-width: 620px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(10, 30, 64, .6); color: #c9daf6; font-size: 13.5px; font-weight: 500; margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #2ad79533; animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px #2ad79500; } }
.hero h1 { font-size: clamp(40px, 6.2vw, 76px); line-height: 1.02; font-weight: 700; }
.grad { background: linear-gradient(100deg, #6fb2ff 0%, #8f7bff 45%, #2ee6c9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shine 8s ease-in-out infinite alternate; }
@keyframes shine { to { background-position: 100% 0; } }
.lead { margin-top: 22px; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 540px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.note { margin-top: 22px; display: flex; align-items: center; gap: 8px; color: #8fa4c6; font-size: 13.5px; }

.hero-cards { position: relative; height: 420px; perspective: 1200px; pointer-events: none; }
.fcard { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; background: rgba(12, 28, 56, .62); border: 1px solid rgba(140, 180, 255, .22); backdrop-filter: blur(12px); box-shadow: 0 30px 60px -30px #000, inset 0 1px 0 #ffffff1a; transform-style: preserve-3d; animation: float 7s ease-in-out infinite; }
.fcard b { display: block; font-size: 14px; }
.fcard small { display: block; color: var(--muted); font-size: 12px; }
.fcard .ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-weight: 700; }
.fcard .ic.ok { background: #0c3d2c; color: var(--green); border: 1px solid #146147; }
.c1 { top: 6%; right: 0; --r: -14deg; }
.c2 { top: 44%; right: 36%; --r: 10deg; animation-delay: -2.4s; }
.c3 { bottom: 4%; right: 2%; --r: -8deg; animation-delay: -4.6s; flex-direction: column; align-items: stretch; width: 200px; }
@keyframes float { 0%, 100% { transform: rotateY(var(--r)) rotateX(6deg) translateY(0); } 50% { transform: rotateY(calc(var(--r) * -.4)) rotateX(-4deg) translateY(-14px); } }
.ring { --v: 80; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(var(--green) calc(var(--v) * 1%), #1a3254 0); position: relative; flex: none; }
.ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #0c1d38; }
.ring b { position: relative; font-size: 13px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-top: 8px; }
.bars i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #5aa2ff, #1a5ee6); animation: grow 2.4s ease-in-out infinite alternate; transform-origin: bottom; }
.bars i:nth-child(2) { animation-delay: -.4s; } .bars i:nth-child(3) { animation-delay: -.8s; } .bars i:nth-child(4) { animation-delay: -1.2s; } .bars i:nth-child(5) { animation-delay: -1.6s; }
@keyframes grow { from { transform: scaleY(.6); } to { transform: scaleY(1); } }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(180, 205, 255, .4); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #cfe0ff; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* marquee */
.marquee { border-block: 1px solid var(--line); background: rgba(6, 20, 48, .6); overflow: hidden; padding: 18px 0; }
.track { display: flex; gap: 48px; width: max-content; animation: marquee 38s linear infinite; }
.track span { font-family: var(--display); font-size: 20px; font-weight: 600; color: #7f95ba; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.track span::after { content: "✦"; color: #2a7bff; font-size: 13px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* sections */
.section { max-width: 1240px; margin: 0 auto; padding: clamp(80px, 11vw, 140px) clamp(16px, 4vw, 56px) 0; }
.head { max-width: 760px; margin-bottom: 48px; }
.kicker { color: var(--blue-2); font-weight: 600; font-size: 13.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.section h2, .cta-band h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.1; font-weight: 700; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; perspective: 1000px; }
.feature, .portal, .step { position: relative; padding: 28px; border-radius: 20px; background: linear-gradient(180deg, rgba(16, 38, 74, .66), rgba(9, 24, 50, .6)); border: 1px solid var(--line); transform-style: preserve-3d; transition: transform .25s ease, border-color .25s, box-shadow .25s; overflow: hidden; }
.feature::before, .portal::before, .step::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px 200px at var(--mx, 50%) var(--my, 0%), rgba(90, 162, 255, .16), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.tilt:hover { border-color: rgba(120, 175, 255, .4); box-shadow: 0 30px 60px -30px #0008; }
.tilt:hover::before { opacity: 1; }
.fi { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, #2a7dff, #6b34e0); box-shadow: 0 12px 30px -10px #3a6dff; margin-bottom: 20px; transform: translateZ(30px); }
.fi svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3, .portal h3, .step h3 { font-size: 21px; margin-bottom: 10px; transform: translateZ(20px); }
.feature p, .portal p, .step p { color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.split-copy > p { color: var(--muted); margin: 18px 0 8px; font-size: 17px; }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--muted); }
.ticks li b { color: #fff; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: #0c3d2c; color: var(--green); border: 1px solid #146147; }
.split-visual { perspective: 1400px; display: grid; place-items: center; min-height: 420px; }
.stack3d { position: relative; width: min(420px, 100%); height: 360px; transform-style: preserve-3d; transform: rotateX(52deg) rotateZ(-34deg); animation: stack 10s ease-in-out infinite alternate; }
@keyframes stack { to { transform: rotateX(48deg) rotateZ(-26deg); } }
.layer { position: absolute; left: 0; right: 0; height: 120px; padding: 20px 22px; border-radius: 18px; border: 1px solid rgba(140, 180, 255, .28); background: rgba(12, 30, 60, .82); backdrop-filter: blur(8px); box-shadow: 0 40px 50px -30px #000; display: flex; flex-direction: column; gap: 6px; }
.layer b { font-family: var(--display); font-size: 20px; }
.layer small { color: var(--muted); }
.l1 { top: 0; transform: translateZ(120px); }
.l2 { top: 120px; transform: translateZ(60px); }
.l3 { top: 240px; transform: translateZ(0); opacity: .9; }
.chip { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.chip.purple { background: #2c1f5e; color: #c3a2ff; } .chip.blue { background: #13366c; color: #7cb4ff; } .chip.slate { background: #1a2f50; color: #b8c9e6; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.num { font-family: var(--display); font-size: 46px; font-weight: 700; line-height: 1; background: linear-gradient(180deg, #5aa2ff, #1a3f7a); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 18px; }

.portals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tag { display: inline-block; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.t1 { background: #2c1f5e; color: #c3a2ff; } .t2 { background: #13366c; color: #7cb4ff; } .t3 { background: #0c4243; color: #3ce8d0; } .t4 { background: #4a3c0b; color: #ffd659; }
.fine { margin-top: 22px; color: #7d92b5; font-size: 14px; }

.cta-band { max-width: 1128px; margin: clamp(80px, 11vw, 140px) auto 0; padding: 44px clamp(24px, 4vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-radius: 24px; border: 1px solid rgba(120, 170, 255, .28); background: radial-gradient(600px 300px at 0% 0%, #1b3f8a, transparent 70%), radial-gradient(500px 300px at 100% 100%, #3a1f7a, transparent 70%), #081a3a; width: calc(100% - 2 * clamp(16px, 4vw, 56px)); }
.cta-band p { color: #b9c9e6; margin-top: 8px; }

.foot { max-width: 1240px; margin: 0 auto; padding: 70px clamp(16px, 4vw, 56px) 40px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: var(--muted); }
.foot .small { font-size: 13px; color: #6f84a8; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.features .reveal:nth-child(2), .portals .reveal:nth-child(2), .steps .reveal:nth-child(2) { transition-delay: .08s; }
.features .reveal:nth-child(3), .portals .reveal:nth-child(3), .steps .reveal:nth-child(3) { transition-delay: .16s; }
.features .reveal:nth-child(5), .portals .reveal:nth-child(4) { transition-delay: .08s; }
.features .reveal:nth-child(6) { transition-delay: .16s; }

/* responsive */
@media (max-width: 1060px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-cards { display: none; }
  .features, .portals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}
@media (max-width: 720px) {
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .features, .portals, .steps { grid-template-columns: minmax(0, 1fr); }
  .hero-inner { padding-top: 110px; }
  .stack3d { transform: rotateX(48deg) rotateZ(-24deg) scale(.82); }
  .cta-band { width: calc(100% - 32px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ===== multi-page additions ===== */
.nav nav { align-items: center; }
.nav nav a[aria-current="page"] { color: #fff; }
.nav-login { color: #fff !important; height: 38px; margin-left: 6px; }
.menu-btn { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.04); flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.menu-btn span { width: 18px; height: 2px; background: #dbe7fb; border-radius: 2px; transition: transform .25s, opacity .2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
a.text-link, .prose a, .answer a, .lead a, .note a, .disclaimer a { color: #8ec0ff; text-decoration: underline; text-decoration-color: rgba(142,192,255,.4); text-underline-offset: 3px; }
a.text-link:hover, .prose a:hover, .answer a:hover { text-decoration-color: currentColor; }
.text-link::after { content: " →"; }

/* breadcrumbs */
.crumbs { max-width: 1240px; margin: 0 auto; padding: 104px clamp(16px, 4vw, 56px) 0; display: flex; gap: 8px; font-size: 13.5px; color: #7f95ba; }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current] { color: #c9daf6; }

/* inner page hero with floating orbs */
.page-hero { position: relative; overflow: hidden; isolation: isolate; }
.page-hero-inner { max-width: 1240px; margin: 0 auto; padding: 28px clamp(16px, 4vw, 56px) 30px; }
.page-hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.06; max-width: 900px; margin-top: 6px; }
.page-hero .lead { max-width: 720px; }
.page-hero .meta { margin-top: 18px; font-size: 13.5px; color: #7f95ba; }
.page-hero .cta { margin-top: 26px; }
.hero-orbs { position: absolute; inset: 0; z-index: -1; pointer-events: none; perspective: 900px; }
.hero-orbs i { position: absolute; border-radius: 50%; background: radial-gradient(circle at 32% 30%, rgba(160,200,255,.9), rgba(58,120,255,.55) 35%, rgba(40,30,120,.15) 70%, transparent 72%); filter: blur(.3px); animation: orb 14s ease-in-out infinite; opacity: .55; }
.hero-orbs i:nth-child(1) { width: 300px; height: 300px; right: 6%; top: -60px; }
.hero-orbs i:nth-child(2) { width: 140px; height: 140px; right: 26%; top: 150px; animation-delay: -5s; background: radial-gradient(circle at 32% 30%, rgba(170,255,240,.9), rgba(30,200,180,.45) 40%, transparent 72%); }
.hero-orbs i:nth-child(3) { width: 80px; height: 80px; right: 12%; top: 260px; animation-delay: -9s; background: radial-gradient(circle at 32% 30%, rgba(230,200,255,.9), rgba(150,90,255,.5) 40%, transparent 72%); }
@keyframes orb { 0%, 100% { transform: translate3d(0, 0, 0) rotateY(0deg); } 50% { transform: translate3d(-24px, 18px, 60px) rotateY(20deg); } }

/* article text */
.prose { max-width: 820px; }
.section.prose { padding-top: 40px; }
.prose h2 { font-size: clamp(24px, 3vw, 32px); margin: 46px 0 14px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 19px; margin-bottom: 10px; }
.prose p { color: #c3d1ea; margin: 0 0 16px; font-size: 17px; line-height: 1.75; }
.prose .answer { font-size: 18.5px; color: #eef4ff; border-left: 3px solid var(--blue); padding: 4px 0 4px 18px; margin-bottom: 18px; }
.prose em { color: #fff; }
.list { padding-left: 0; list-style: none; margin: 0 0 18px; display: flex; flex-direction: column; gap: 12px; }
.list li { position: relative; padding-left: 26px; color: #c3d1ea; font-size: 17px; line-height: 1.65; }
.list li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--blue-2); box-shadow: 0 0 0 4px rgba(90,162,255,.15); }
.list li b, .prose b { color: #fff; }
.prose .ticks li { font-size: 17px; }
.callout { background: rgba(42, 123, 255, .1); border: 1px solid rgba(90, 162, 255, .3); border-radius: 14px; padding: 16px 18px !important; font-size: 15.5px !important; }
.split-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 22px; }
.mini { padding: 20px 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.mini ul { margin: 0; padding-left: 18px; color: #c3d1ea; display: flex; flex-direction: column; gap: 8px; }
.toc { float: right; width: 270px; margin: 0 -320px 20px 40px; position: sticky; top: 96px; padding: 18px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); font-size: 14.5px; }
.toc h2 { font-size: 14px !important; margin: 0 0 10px !important; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-2); }
.toc ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 7px; color: var(--muted); }
.toc a { color: #c3d1ea; text-decoration: none; }
.toc a:hover { color: #fff; }
.sources { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); }
.sources h2 { font-size: 20px !important; margin-top: 0 !important; }
.sources ul { color: var(--muted); padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }

/* cards on home */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; perspective: 1000px; }
.card-link { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: 22px; background: linear-gradient(180deg, rgba(16, 38, 74, .7), rgba(9, 24, 50, .6)); border: 1px solid var(--line); transition: transform .25s, border-color .25s; position: relative; overflow: hidden; }
.card-link h3 { font-size: 24px; line-height: 1.2; }
.card-link p { color: var(--muted); }
.card-link .tag { align-self: flex-start; margin: 0; }
.card-link .more { margin-top: auto; color: #8ec0ff; font-weight: 600; }
.card-link .more::after { content: " →"; transition: margin .2s; }
.card-link:hover .more::after { margin-left: 4px; }
.portals.compact { grid-template-columns: 1fr 1fr; margin: 10px 0 20px; }
.portals.compact .portal { padding: 20px; }
.portals.compact .portal p { font-size: 15px; }

/* FAQ */
.faq-block { padding-top: clamp(60px, 8vw, 100px); }
.faq-block > h2 { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 22px; }
.faqs { display: flex; flex-direction: column; gap: 10px; max-width: 900px; }
.faq { border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.faq[open] { border-color: rgba(120, 175, 255, .38); background: rgba(16, 38, 74, .7); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 54px 18px 22px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-family: Inter, sans-serif; font-size: 17px; font-weight: 600; letter-spacing: 0; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid #8ec0ff; border-bottom: 2px solid #8ec0ff; transform: rotate(45deg); transition: transform .25s; }
.faq[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.answer { padding: 0 22px 18px; color: #c3d1ea; }
.answer p { margin: 0 0 10px; }

/* footer */
.foot { align-items: stretch; text-align: left; border-top: 1px solid var(--line); margin-top: clamp(70px, 9vw, 110px); max-width: none; padding-left: 0; padding-right: 0; }
.foot-grid { max-width: 1240px; width: 100%; margin: 0 auto; padding: 0 clamp(16px, 4vw, 56px); display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.foot-grid h2 { font-family: Inter, sans-serif; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: #7f95ba; margin-bottom: 12px; }
.foot-grid a { display: block; color: #c3d1ea; padding: 4px 0; font-size: 15px; }
.foot-grid a:hover { color: #fff; }
.foot-brand p { margin-top: 12px; font-size: 14.5px; max-width: 300px; }
.disclaimer, .foot .small { max-width: 1240px; width: 100%; margin: 26px auto 0; padding: 0 clamp(16px, 4vw, 56px); font-size: 13px; color: #7f95ba; }
.foot .small { margin-top: 10px; }

@media (max-width: 1300px) { .toc { float: none; width: auto; margin: 0 0 30px; position: static; } }
@media (max-width: 960px) {
  .nav nav { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 20px; background: rgba(3, 12, 28, .97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); display: none; }
  .menu-open .nav nav { display: flex; }
  .nav nav a { padding: 12px 6px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav-login { margin: 14px 0 0 !important; height: 46px; border: 0 !important; }
  .menu-btn { display: inline-flex; }
  .menu-open .nav { background: rgba(3, 12, 28, .97); }
  .two, .split-cards, .portals.compact { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) { .nav nav { display: none; } .menu-open .nav nav { display: flex; } .crumbs { padding-top: 90px; } .foot-grid { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .hero-orbs { opacity: .35; } .hero-orbs i:nth-child(1) { width: 200px; height: 200px; right: -40px; } }
.foot .small a, .foot-brand a { color: #8ec0ff; }
.foot .small a:hover { text-decoration: underline; }

/* theme toggle */
.theme-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-left: 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: #dbe7fb; cursor: pointer; flex: none; transition: background .2s, border-color .2s; }
.theme-btn:hover { background: rgba(255, 255, 255, .09); border-color: rgba(150, 190, 255, .35); }
.theme-btn .i-moon, [data-theme="light"] .theme-btn .i-sun { display: none; }
[data-theme="light"] .theme-btn .i-moon { display: block; }
@media (max-width: 960px) { .theme-btn { margin-left: auto; } .menu-btn { margin-left: 8px; } }
