:root {
  color-scheme: light;
  --navy-950: #030b18;
  --navy-900: #07162f;
  --navy-800: #0c2348;
  --blue-500: #3d83d6;
  --blue-300: #8fc5ff;
  --ice-100: #eaf5ff;
  --ice-50: #f5faff;
  --paper: #ffffff;
  --ink: #0b1830;
  --muted: #55657b;
  --line: rgba(7, 22, 47, 0.16);
  --amber: #efb957;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

a { color: inherit; }
.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: -5rem;
  padding: .75rem 1rem;
  color: #fff;
  background: var(--navy-900);
  border: 1px solid var(--blue-300);
}
.skip-link:focus { top: 1rem; }

.sky {
  position: relative;
  min-height: 620px;
  color: #f4f9ff;
  background:
    radial-gradient(circle at 72% 38%, rgba(69, 128, 196, .24), transparent 25%),
    radial-gradient(circle at 24% 75%, rgba(37, 81, 138, .22), transparent 32%),
    linear-gradient(155deg, #0a2349 0%, #06142d 48%, #020815 100%);
  overflow: hidden;
}

.sky::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: auto -15% -34% 35%;
  height: 430px;
  background: radial-gradient(ellipse at center, rgba(94, 167, 237, .14), transparent 64%);
  transform: rotate(-7deg);
}

.star-field,
.star-field::before,
.star-field::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-repeat: repeat;
}
.star-field {
  z-index: 1;
  opacity: .72;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.95) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(142,197,255,.75) 0 1px, transparent 1.8px);
  background-size: 93px 79px, 151px 137px;
  background-position: 17px 11px, 70px 35px;
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.8) 72%, transparent 100%);
}
.star-field::before {
  opacity: .45;
  background-image: radial-gradient(circle, #fff 0 1.2px, transparent 1.8px);
  background-size: 211px 181px;
  background-position: 120px 60px;
  transform: rotate(4deg) scale(1.08);
}

.topbar {
  position: relative;
  z-index: 10;
  width: min(calc(100% - 4rem), var(--max));
  height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(203, 229, 255, .18);
  font-size: .76rem;
  letter-spacing: .13em;
}
.wordmark,
.lumos-mark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  font-weight: 700;
}
.wordmark-glyph {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(186, 221, 255, .58);
  border-radius: 50%;
  color: var(--blue-300);
  letter-spacing: -.08em;
}
.topbar-links { display: flex; gap: clamp(1.5rem, 3vw, 3rem); }
.topbar-links a {
  color: rgba(234, 245, 255, .74);
  text-decoration: none;
  transition: color .2s ease;
}
.topbar-links a:hover,
.topbar-links a:focus-visible { color: #fff; }
.lumos-mark {
  justify-self: end;
  padding: 12px;
  margin: -12px;
  border-radius: 50%;
  cursor: default;
  outline: none;
}
.lumos-orbit {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(222, 238, 255, .44);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(180, 221, 255, .42), 0 0 36px rgba(81, 159, 231, .55);
  transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease;
}
.lumos-orbit::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(150, 207, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 35px rgba(120, 192, 255, .32);
  transition: inset .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.lumos-orbit::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: #e8f5ff;
  box-shadow: 0 0 12px #b7deff, 0 0 28px rgba(114, 190, 255, .8);
  transition: background .28s ease, box-shadow .28s ease, transform .28s ease;
}
.lumos-mark:hover .lumos-orbit,
.lumos-mark:focus-visible .lumos-orbit {
  border-color: rgba(239, 249, 255, .9);
  box-shadow: 0 0 18px rgba(225, 245, 255, .95), 0 0 48px rgba(112, 190, 255, .92), 0 0 88px rgba(58, 139, 226, .58);
  transform: scale(1.08);
}
.lumos-mark:hover .lumos-orbit::before,
.lumos-mark:focus-visible .lumos-orbit::before {
  inset: -13px;
  border-color: rgba(190, 226, 255, .38);
  box-shadow: 0 0 54px rgba(149, 211, 255, .68);
}
.lumos-mark:hover .lumos-orbit::after,
.lumos-mark:focus-visible .lumos-orbit::after {
  background: #fff;
  box-shadow: 0 0 14px #fff, 0 0 34px #b9e2ff, 0 0 58px rgba(104, 184, 255, .92);
  transform: scale(1.16);
}

.owl-shell {
  position: fixed;
  z-index: 4;
  left: max(-6vw, -80px);
  top: 88px;
  width: min(50vw, 690px);
  aspect-ratio: 3 / 2;
  pointer-events: none;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .32));
  transform: rotate(-2deg);
  transform-origin: 25% 30%;
  transition: width .42s cubic-bezier(.2,.8,.2,1), left .42s ease, top .42s ease, transform .42s ease, opacity .2s ease;
}
.owl-shell img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.is-scrolled .owl-shell {
  z-index: 40;
  top: 72px;
  left: 8px;
  width: 100px;
  opacity: .94;
  transform: rotate(-5deg);
  filter: drop-shadow(0 12px 20px rgba(3, 11, 24, .28));
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: min(52vw, 670px);
  margin: 0 max(4vw, calc((100vw - var(--max)) / 2)) 0 auto;
  padding-top: clamp(5rem, 9vh, 7rem);
}
.eyebrow {
  margin: 0 0 1.2rem;
  font-size: .75rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #3271b7;
}
.sky .eyebrow,
.section-dark .eyebrow,
.blackhole .eyebrow { color: var(--blue-300); }
.hero-copy h1 {
  max-width: 780px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 5.5vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .96;
}
.hero-lead {
  max-width: 590px;
  margin: 2rem 0 2.3rem;
  color: rgba(232, 243, 255, .72);
  font-size: clamp(1.05rem, 1.45vw, 1.25rem);
}
.hero-link {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  padding-bottom: .45rem;
  border-bottom: 1px solid rgba(170, 215, 255, .58);
  text-decoration: none;
  font-size: .79rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero-link span { font-size: 1.2rem; }
.content-section { position: relative; border-bottom: 1px solid var(--line); }
.section-light { background: var(--paper); }
.section-ice { background: var(--ice-100); }
.section-dark { color: #eaf4ff; background: var(--navy-900); }
.section-inner {
  width: min(calc(100% - 4rem), var(--max));
  margin: 0 auto;
  padding: clamp(6rem, 10vw, 10rem) 0;
}
.section-title {
  max-width: 980px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 5.2rem);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: 1.03;
}
.section-body {
  max-width: 760px;
  margin: 2rem 0 0 auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.65;
  white-space: pre-line;
}
.section-dark .section-body { color: rgba(228, 240, 252, .68); }
.statement-inner {
  display: grid;
  grid-template-columns: minmax(190px, .45fr) 1.55fr;
  gap: clamp(2rem, 8vw, 8rem);
  align-items: start;
}
.statement-inner .eyebrow { margin-top: .7rem; }
.statement-inner .section-title { grid-column: 2; font-size: clamp(2.8rem, 5.2vw, 5.6rem); }
.statement-inner .section-body { grid-column: 2; max-width: 720px; margin-left: 0; }

.block-products .section-title { max-width: 720px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 4.5rem;
  border-top: 1px solid rgba(7, 22, 47, .28);
  border-bottom: 1px solid rgba(7, 22, 47, .28);
}
.product-card {
  position: relative;
  min-height: 390px;
  padding: 2rem 2rem 2.5rem;
  border-right: 1px solid rgba(7, 22, 47, .2);
  transition: color .28s ease, background .28s ease, transform .28s ease;
}
.product-card:last-child { border-right: 0; }
.product-card:hover { color: #fff; background: var(--navy-900); transform: translateY(-8px); }
.product-index {
  display: block;
  color: #53708c;
  font: 600 .68rem/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .14em;
}
.product-code {
  margin: 5.5rem 0 .6rem;
  color: #2b6fae;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .16em;
}
.product-name { margin: 0; font: 400 2rem/1.15 Georgia, serif; }
.product-description { margin: 1.2rem 0 0; color: #66778a; }
.product-card:hover .product-index,
.product-card:hover .product-code,
.product-card:hover .product-description { color: rgba(223, 239, 255, .7); }

.protocol-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, .85fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}
.protocol-layout .section-title { font-size: clamp(2.6rem, 4.5vw, 4.7rem); }
.protocol-layout .section-body { margin-left: 0; }
.protocol-diagram {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  min-height: 360px;
  padding: 2rem;
  border: 1px solid rgba(157, 205, 249, .26);
  background:
    linear-gradient(rgba(137, 193, 244, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 193, 244, .07) 1px, transparent 1px);
  background-size: 30px 30px;
}
.protocol-node { display: grid; gap: .25rem; text-align: center; }
.protocol-node strong { font-size: .73rem; letter-spacing: .1em; }
.protocol-node small { color: rgba(227, 241, 255, .5); font-size: .65rem; }
.protocol-index { color: var(--blue-300); font: 600 .65rem/1 ui-monospace, monospace; }
.protocol-arrow { color: rgba(138, 199, 255, .58); }
.protocol-caption {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 1.4rem;
  margin: 0;
  color: rgba(210, 232, 252, .45);
  font: .68rem/1.4 ui-monospace, monospace;
  text-align: center;
  letter-spacing: .08em;
}

.media-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: center; }
.media-layout .section-title { font-size: clamp(2.3rem, 4vw, 4.2rem); }
.media-layout .section-body { margin-left: 0; }
.media-layout figure { margin: 0; }
.media-layout img,
.media-layout video { display: block; width: 100%; border: 1px solid var(--line); background: var(--navy-950); }
.media-layout figcaption { margin-top: .8rem; color: var(--muted); font-size: .82rem; }

.documentation-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.documentation .section-title { font-size: clamp(2.5rem, 4.4vw, 4.5rem); }
.documentation-grid { border-top: 1px solid rgba(7, 22, 47, .24); }
.documentation-grid article {
  display: grid;
  grid-template-columns: 110px 160px 1fr;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(7, 22, 47, .18);
}
.documentation-grid span { color: #51708f; font: 600 .65rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.documentation-grid h3 { margin: 0; font: 400 1.55rem/1.2 Georgia, serif; }
.documentation-grid p { margin: 0; color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(3rem, 7vw, 7rem); align-items: end; }
.contact-layout .section-title { font-size: clamp(2.7rem, 4.8vw, 5rem); }
.contact-caption { max-width: 420px; margin: 1.5rem 0 0; color: var(--muted); }
.contact-list { border-top: 1px solid rgba(7, 22, 47, .26); }
.contact-list a {
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(7, 22, 47, .18);
  text-decoration: none;
}
.contact-label { color: #51708f; font: 600 .67rem/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.contact-list strong { font: 400 clamp(1.25rem, 2vw, 1.8rem)/1.2 Georgia, serif; }
.contact-arrow { color: #3271b7; font-size: 1.2rem; transition: transform .2s ease; }
.contact-list a:hover .contact-arrow { transform: translate(3px, -3px); }

.blackhole {
  position: relative;
  min-height: 400px;
  color: #edf5fd;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .92) 0%, rgba(0, 0, 0, .76) 36%, rgba(0, 0, 0, .18) 70%, rgba(0, 0, 0, .08) 100%),
    url("/assets/blackhole-editorial.png?v=20260927-2") right center / auto 100% no-repeat,
    #000;
  overflow: hidden;
  isolation: isolate;
}
.blackhole::before,
.blackhole::after { content: none; }
.blackhole-rings { display: none; }
.blackhole-copy {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 4rem), var(--max));
  margin: 0 auto;
  min-height: 400px;
  padding: 3.2rem 0 1.2rem;
}
.blackhole-copy h2 {
  max-width: 700px;
  margin: 0;
  font: 400 clamp(2.35rem, 4.2vw, 4.2rem)/1.02 Georgia, serif;
  letter-spacing: -.05em;
}
.blackhole-note {
  max-width: 560px;
  margin: 1rem 0 0;
  color: rgba(218, 234, 249, .58);
  font: 600 .76rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-line {
  position: absolute;
  top: auto;
  bottom: 1rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(221, 237, 252, .18);
  color: rgba(219, 235, 250, .5);
  font-size: .7rem;
  letter-spacing: .13em;
}
.policy-link {
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  font: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
  cursor: pointer;
}
.policy-link:hover,
.policy-link:focus-visible { color: #fff; }
.admin-entry { color: inherit; text-decoration: none; font: 600 .66rem/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; }
.admin-entry:hover,
.admin-entry:focus-visible { color: #fff; }

.policy-banner {
  position: fixed;
  z-index: 90;
  right: 1rem;
  bottom: 1rem;
  width: min(520px, calc(100% - 2rem));
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.1rem;
  color: #eaf5ff;
  background: rgba(4, 14, 31, .96);
  border: 1px solid rgba(143, 197, 255, .34);
  box-shadow: 0 18px 60px rgba(0, 0, 0, .3);
  backdrop-filter: blur(16px);
}
.policy-banner[hidden] { display: none; }
.policy-banner p { flex: 1; margin: 0; font-size: .8rem; }
.policy-banner p button { padding: 0; color: var(--blue-300); background: none; border: 0; text-decoration: underline; cursor: pointer; }
.policy-accept,
.policy-dialog-accept {
  padding: .68rem 1rem;
  color: var(--navy-950);
  background: #eaf5ff;
  border: 0;
  font-weight: 800;
  cursor: pointer;
}
.policy-dialog {
  width: min(650px, calc(100% - 2rem));
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 0;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .5);
}
.policy-dialog::backdrop { background: rgba(1, 8, 18, .75); backdrop-filter: blur(5px); }
.policy-dialog form { position: relative; padding: clamp(1.5rem, 5vw, 3.5rem); }
.policy-dialog .eyebrow { margin-bottom: 1rem; }
.policy-dialog h2 { margin: 0 0 1.5rem; font: 400 clamp(2rem, 5vw, 3.2rem)/1.05 Georgia, serif; letter-spacing: -.04em; }
.policy-dialog p:not(.eyebrow) { color: var(--muted); }
.policy-close { position: absolute; top: 1rem; right: 1rem; width: 38px; height: 38px; color: var(--ink); background: transparent; border: 1px solid var(--line); font-size: 1.5rem; cursor: pointer; }
.policy-dialog-accept { margin-top: 1rem; color: #fff; background: var(--navy-900); }

@media (max-width: 980px) {
  .topbar { width: min(calc(100% - 2rem), var(--max)); }
  .topbar-links { display: none; }
  .topbar { grid-template-columns: 1fr 1fr; }
  .hero-copy { width: min(62vw, 650px); margin-right: 1.5rem; }
  .owl-shell { left: -18vw; width: 75vw; }
  .statement-inner { grid-template-columns: 1fr; gap: 1rem; }
  .statement-inner .section-title,
  .statement-inner .section-body { grid-column: 1; }
  .protocol-layout,
  .media-layout,
  .documentation-layout,
  .contact-layout { grid-template-columns: 1fr; }
  .protocol-diagram { min-height: 320px; }
}

@media (max-width: 720px) {
  .sky { min-height: 620px; }
  .topbar { height: 68px; }
  .wordmark { font-size: .68rem; }
  .lumos-mark { font-size: .65rem; }
  .lumos-orbit { width: 24px; height: 24px; }
  .owl-shell { top: 70px; left: -8%; width: 108%; opacity: .8; }
  .is-scrolled .owl-shell { top: 68px; left: 4px; width: 78px; opacity: .92; }
  .hero-copy {
    width: auto;
    margin: 0 1.25rem;
    padding-top: 270px;
  }
  .hero-copy h1 { font-size: clamp(2.9rem, 14vw, 4.4rem); }
  .hero-lead { margin: 1.35rem 0 1.8rem; }
  .section-inner { width: calc(100% - 2.5rem); padding: 5rem 0; }
  .section-title { font-size: clamp(2.3rem, 11vw, 3.5rem); }
  .section-body { margin-left: 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 300px; border-right: 0; border-bottom: 1px solid rgba(7,22,47,.2); }
  .product-card:last-child { border-bottom: 0; }
  .product-code { margin-top: 3.2rem; }
  .protocol-layout { gap: 2.5rem; }
  .protocol-layout .section-title { font-size: clamp(2.3rem, 11vw, 3.35rem); }
  .protocol-diagram {
    grid-template-columns: 1fr;
    gap: 0;
    min-height: 0;
    padding: .45rem;
    background-size: 24px 24px;
  }
  .protocol-node {
    grid-template-columns: 2.4rem minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: .9rem;
    padding: 1.15rem 1rem;
    border-bottom: 1px solid rgba(157, 205, 249, .18);
    text-align: left;
  }
  .protocol-node:nth-of-type(3) { border-bottom: 0; }
  .protocol-index {
    grid-row: 1 / 3;
    display: grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid rgba(157, 205, 249, .32);
    border-radius: 50%;
  }
  .protocol-node strong { align-self: end; font-size: .72rem; }
  .protocol-node small { align-self: start; margin-top: .1rem; font-size: .68rem; }
  .protocol-arrow { display: none; }
  .protocol-caption {
    position: static;
    padding: .9rem 1rem .8rem;
    border-top: 1px solid rgba(157, 205, 249, .18);
    text-align: left;
  }
  .blackhole { min-height: 360px; }
  .blackhole-copy { width: calc(100% - 2.5rem); min-height: 360px; padding-top: 2.6rem; }
  .blackhole-copy h2 { font-size: clamp(2rem, 9vw, 3rem); }
  .footer-line { bottom: .8rem; gap: .8rem; font-size: .56rem; }
  .documentation-grid article { grid-template-columns: 1fr; gap: .45rem; }
  .contact-list a { grid-template-columns: 1fr auto; }
  .contact-label { grid-column: 1 / -1; }
  .policy-banner { align-items: stretch; flex-direction: column; }
  .policy-accept { width: 100%; }
}

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