:root {
  --primary: #ffffff;
  --secondary: #ffffff;
  --accent: #a9d0e5;
  --accent-bright: #d8effa;
  --night: #020b14;
  --control-background: rgba(4, 18, 29, 0.42);
  --control-border: rgba(226, 235, 240, 0.72);
  --control-foreground: #ffffff;
  --control-hover-background: #d8effa;
  --control-hover-foreground: #07111a;
}

/* Rich module-reference pages */
.module-detail-card { display:flex; width:min(100%,1120px); min-height:calc(100svh - 170px); align-items:center; flex-direction:column; }
.module-technical-content { display:grid; width:min(100%,900px); gap:0; color:rgba(255,255,255,.78); text-align:left; }
.module-technical-content h2,.module-technical-content h3 { max-width:none; color:#fff; letter-spacing:-.02em; line-height:1.15; text-wrap:balance; }
.module-technical-content h2 { margin:44px 0 14px; font-size:clamp(25px,3.1vw,38px); font-weight:610; }
.module-technical-content h3 { margin:30px 0 10px; font-size:clamp(20px,2.4vw,27px); font-weight:650; }
.module-technical-content>:first-child { margin-top:0; }
.module-technical-content p,.module-technical-content li { font-size:clamp(16px,1.7vw,19px); line-height:1.68; }
.module-technical-content p { margin:0 0 20px; }
.module-technical-content ul,.module-technical-content ol { margin:2px 0 26px; padding-left:1.5em; }
.module-technical-content li+li { margin-top:7px; }
.module-technical-content figure { width:100%; margin:30px 0; overflow:hidden; border:1px solid rgba(216,239,250,.16); border-radius:16px; background:#fff; }
.module-technical-content img { display:block; width:100%; height:auto; max-height:none; object-fit:contain; }
.module-technical-content img[src$=".svg"] { aspect-ratio:1/1; }
.module-technical-content figcaption { padding:12px 16px 14px; border-top:1px solid rgba(7,17,26,.1); color:#315f76; font-size:13px; line-height:1.45; }
.module-detail-actions { margin-top:auto; padding-top:56px; }
.theme-day .module-technical-content { color:rgba(7,17,26,.76); }
.theme-day .module-technical-content h2,.theme-day .module-technical-content h3 { color:#07111a; }
.theme-day .module-technical-content figure { border-color:rgba(25,72,95,.16); box-shadow:0 16px 44px rgba(29,65,82,.1); }

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--night);
}

body {
  color: var(--primary);
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.brochure-page {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background-color: var(--night);
  touch-action: none;
}

.brochure-page.theme-day {
  --primary: #07131d;
  --secondary: #0a1823;
  --accent: #245f78;
  --accent-bright: #0d4d67;
  --control-background: rgba(250, 252, 253, 0.76);
  --control-border: rgba(8, 33, 48, 0.44);
  --control-foreground: #07131d;
  --control-hover-background: #07131d;
  --control-hover-foreground: #ffffff;
  background-color: #dfe8ed;
}

.background-gallery {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.background-track {
  will-change: transform;
  transition: transform 760ms cubic-bezier(0.76, 0, 0.24, 1);
}

.background-track.restoring-model {
  transition: none;
  visibility: hidden;
}

.background-slide {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}

.background-layer {
  position: absolute;
  inset: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transition: opacity 620ms ease;
}

.background-night {
  opacity: 1;
}

.background-day {
  opacity: 0;
}

.theme-day .background-night {
  opacity: 0;
}

.theme-day .background-day {
  opacity: 1;
}

.background-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(1, 8, 15, 0.56) 0%, rgba(1, 8, 15, 0.12) 58%, rgba(1, 7, 12, 0.24) 100%),
    linear-gradient(90deg, rgba(1, 9, 17, 0.54) 0%, rgba(1, 9, 17, 0.14) 68%, transparent 100%);
  pointer-events: none;
  transition: background 620ms ease;
}

.theme-day .background-shade {
  background:
    linear-gradient(180deg, rgba(248, 251, 252, 0.48) 0%, rgba(248, 251, 252, 0.08) 58%, rgba(248, 251, 252, 0.12) 100%),
    linear-gradient(90deg, rgba(248, 251, 252, 0.72) 0%, rgba(248, 251, 252, 0.22) 67%, transparent 100%);
}

.brochure-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  padding: clamp(18px, 2.4vw, 38px) clamp(20px, 2.5vw, 48px) clamp(18px, 2vw, 34px);
}

header {
  position: relative;
  flex: 0 0 auto;
  text-align: center;
}

header h1 {
  margin: 0;
  color: var(--primary);
  font-size: clamp(32px, 3.35vw, 56px);
  font-weight: 650;
  letter-spacing: 0.18em;
  line-height: 1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.76);
  transition: color 360ms ease, text-shadow 360ms ease;
}

.theme-day header h1 {
  text-shadow:
    0 1px 1px rgba(255, 255, 255, 0.98),
    0 2px 18px rgba(255, 255, 255, 0.78);
}

header::after {
  display: block;
  width: 48px;
  height: 1px;
  margin: clamp(13px, 1.5vh, 20px) auto 0;
  background: rgba(169, 208, 229, 0.9);
  content: "";
}

.message {
  width: min(92vw, 1640px);
  margin-top: clamp(15px, 1.8vh, 24px);
  color: var(--secondary);
  font-size: clamp(17px, 1.45vw, 25px);
  font-weight: 500;
  letter-spacing: 0.002em;
  line-height: 1.27;
  text-shadow:
    0 2px 9px rgba(0, 0, 0, 1),
    0 0 20px rgba(0, 0, 0, 0.68);
  transition: color 360ms ease, text-shadow 360ms ease;
}

.theme-day .message {
  text-shadow:
    0 1px 1px rgba(255, 255, 255, 0.98),
    0 2px 18px rgba(255, 255, 255, 0.86);
}

.message p {
  margin: 0 0 0.32em;
}

.message p:nth-child(3) {
  margin-top: 0.58em;
  margin-bottom: 0.58em;
  color: var(--primary);
  font-weight: 650;
}

.contact-area {
  display: flex;
  width: fit-content;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: clamp(10px, 1.3vh, 18px);
}

.phone-number {
  display: block;
  width: fit-content;
  color: var(--primary);
  font-size: clamp(44px, 5.2vw, 84px);
  font-weight: 500;
  letter-spacing: 0.025em;
  line-height: 1;
  text-shadow:
    0 3px 10px rgba(0, 0, 0, 0.92),
    0 0 26px rgba(0, 0, 0, 0.5);
  transition: color 160ms ease, transform 160ms ease;
}

.theme-day .phone-number {
  text-shadow:
    0 1px 1px rgba(255, 255, 255, 0.98),
    0 2px 22px rgba(255, 255, 255, 0.86);
}

.phone-number:hover,
.phone-number:focus-visible {
  color: var(--accent-bright);
  transform: translateY(-2px);
}

.social-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.4vw, 24px);
  margin-top: clamp(14px, 1.7vh, 24px);
}

.social-link {
  display: grid;
  width: clamp(50px, 4.6vw, 76px);
  height: clamp(50px, 4.6vw, 76px);
  place-items: center;
  border: 1px solid var(--control-border);
  border-radius: 22%;
  background: var(--control-background);
  color: var(--control-foreground);
  backdrop-filter: blur(6px);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.8));
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.social-link:hover,
.social-link:focus-visible {
  border-color: var(--accent-bright);
  background: var(--control-hover-background);
  color: var(--control-hover-foreground);
  transform: translateY(-3px);
}

.instagram-glyph {
  position: relative;
  display: block;
  width: 57%;
  height: 57%;
  border: 3px solid currentColor;
  border-radius: 27%;
}

.instagram-glyph::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 43%;
  height: 43%;
  border: 3px solid currentColor;
  border-radius: 50%;
  content: "";
  transform: translate(-50%, -50%);
}

.instagram-glyph::after {
  position: absolute;
  top: 14%;
  right: 14%;
  width: 12%;
  height: 12%;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.facebook {
  border-radius: 50%;
}

.facebook span {
  align-self: end;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(47px, 4.5vw, 75px);
  font-weight: 700;
  line-height: 0.86;
}

.feature-links {
  position: absolute;
  z-index: 3;
  top: clamp(22px, 2.4vw, 38px);
  right: clamp(20px, 2.5vw, 48px);
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1vw, 16px);
}

.feature-link {
  position: relative;
  display: grid;
  width: clamp(50px, 4.25vw, 68px);
  height: clamp(50px, 4.25vw, 68px);
  place-items: center;
  border: 1px solid var(--control-border);
  border-radius: 22%;
  background: var(--control-background);
  color: var(--control-foreground);
  backdrop-filter: blur(6px);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.8));
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.feature-link svg {
  width: 62%;
  height: 62%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
}

.feature-link::before {
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  padding: 7px 10px;
  border: 1px solid rgba(226, 235, 240, 0.38);
  border-radius: 6px;
  background: rgba(2, 11, 20, 0.88);
  color: #ffffff;
  content: attr(data-tooltip);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transform: translate(7px, -50%);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.feature-link:hover,
.feature-link:focus-visible {
  border-color: var(--accent-bright);
  background: var(--control-hover-background);
  color: var(--control-hover-foreground);
  transform: translateY(-2px);
}

.feature-link:hover::before,
.feature-link:focus-visible::before {
  opacity: 1;
  transform: translate(0, -50%);
}

.theme-controls {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 2.5vw, 48px);
  bottom: clamp(14px, 1.8vw, 28px);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 7px;
}

.theme-toggle {
  position: relative;
  display: grid;
  width: clamp(44px, 3.7vw, 58px);
  height: clamp(44px, 3.7vw, 58px);
  padding: 0;
  place-items: center;
  border: 1px solid var(--control-border);
  border-radius: 50%;
  background: var(--control-background);
  color: var(--control-foreground);
  cursor: pointer;
  backdrop-filter: blur(7px);
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.48));
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.theme-toggle svg {
  width: 58%;
  height: 58%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3.2;
}

.theme-toggle::before {
  position: absolute;
  top: 50%;
  right: calc(100% + 12px);
  padding: 7px 10px;
  border: 1px solid rgba(226, 235, 240, 0.38);
  border-radius: 6px;
  background: rgba(2, 11, 20, 0.88);
  color: #ffffff;
  content: attr(data-tooltip);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translate(7px, -50%);
  transition: opacity 160ms ease, transform 160ms ease;
  white-space: nowrap;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: var(--control-hover-background);
  color: var(--control-hover-foreground);
  transform: translateY(-2px);
}

.theme-toggle:hover::before,
.theme-toggle:focus-visible::before {
  opacity: 1;
  transform: translate(0, -50%);
}

.sun-data-credit {
  color: var(--primary);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.035em;
  opacity: 0.58;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
  transition: opacity 160ms ease;
}

.theme-day .sun-data-credit {
  text-shadow: 0 1px 5px rgba(255, 255, 255, 0.92);
}

.sun-data-credit:hover,
.sun-data-credit:focus-visible {
  opacity: 1;
}

.resource-page {
  position: relative;
  display: grid;
  width: 100vw;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 15%, rgba(47, 90, 118, 0.23), transparent 38%),
    linear-gradient(145deg, #020b14 0%, #07131d 55%, #02070c 100%);
}

.resource-page::before {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  pointer-events: none;
}

.resource-panel {
  position: relative;
  z-index: 1;
  width: min(92vw, 680px);
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid rgba(216, 239, 250, 0.24);
  border-radius: 18px;
  background: rgba(3, 13, 22, 0.72);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  text-align: center;
  backdrop-filter: blur(12px);
}

.resource-brand {
  color: #ffffff;
  font-size: clamp(25px, 4vw, 38px);
  font-weight: 650;
  letter-spacing: 0.18em;
}

.resource-divider {
  width: 48px;
  height: 1px;
  margin: 20px auto 34px;
  background: rgba(169, 208, 229, 0.9);
}

.resource-eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.resource-panel h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 7vw, 64px);
  font-weight: 580;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.resource-placeholder {
  margin: clamp(32px, 6vh, 56px) 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 2.5vw, 24px);
  letter-spacing: 0.025em;
}

.resource-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid rgba(216, 239, 250, 0.44);
  border-radius: 8px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.resource-back:hover,
.resource-back:focus-visible {
  background: var(--accent-bright);
  color: #07111a;
  transform: translateY(-2px);
}

.modules-page {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 56px) clamp(16px, 4vw, 58px) 42px;
  background:
    radial-gradient(circle at 8% 6%, rgba(60, 132, 170, 0.18), transparent 28%),
    radial-gradient(circle at 92% 42%, rgba(56, 113, 143, 0.1), transparent 30%),
    linear-gradient(155deg, #020b14 0%, #07131d 56%, #02070c 100%);
  color: #ffffff;
  scroll-behavior: smooth;
}

.modules-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
  pointer-events: none;
}

.modules-header,
.topology-section,
.module-list-section,
.modules-footer {
  position: relative;
  z-index: 1;
  width: min(100%, 1480px);
  margin-right: auto;
  margin-left: auto;
}

.modules-header { text-align: center; }
.modules-header::after { display:none; }
.modules-header h1 { margin: 0; color: #fff; font-size: clamp(42px, 7vw, 82px); font-weight: 590; letter-spacing: -0.045em; line-height: 0.98; }
.modules-intro { max-width: 680px; margin: 20px auto 0; color: rgba(255,255,255,.7); font-size: clamp(16px,2vw,20px); line-height: 1.55; text-wrap: balance; }
.model-switcher { display:flex; width:fit-content; max-width:100%; margin:28px auto 0; overflow-x:auto; border:1px solid rgba(216,239,250,.22); border-radius:999px; background:rgba(3,13,22,.64); scrollbar-width:none; }
.model-switcher::-webkit-scrollbar { display:none; }
.model-link { flex:0 0 auto; padding:11px clamp(14px,2.5vw,24px); border-radius:999px; color:rgba(255,255,255,.68); font-size:14px; font-weight:650; transition:background-color 160ms ease,color 160ms ease; }
.model-link:hover,.model-link:focus-visible,.model-link.active { background:#d8effa; color:#07111a; }
.topology-section,.module-list-section { margin-top:clamp(38px,6vw,74px); padding:clamp(18px,3vw,34px); border:1px solid rgba(216,239,250,.18); border-radius:22px; background:rgba(3,13,22,.72); box-shadow:0 24px 80px rgba(0,0,0,.32); backdrop-filter:blur(12px); }
.topology-section { padding-bottom:0; border-bottom:0; border-radius:22px 22px 0 0; }
.module-list-section { margin-top:0; padding-top:0; border-top:0; border-radius:0 0 22px 22px; }
.section-heading-row,.module-list-header { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:22px; }
.section-kicker { margin:0 0 7px; color:#a9d0e5; font-size:12px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; }
.section-heading-row h2,.module-list-header h2 { margin:0; color:#fff; font-size:clamp(26px,4vw,42px); font-weight:590; letter-spacing:-.025em; }
.map-help,.module-count { margin:0; color:rgba(255,255,255,.56); font-size:14px; line-height:1.5; }
.topology-shell { position:relative; overflow:hidden; border:1px solid rgba(216,239,250,.24); border-bottom:0; border-radius:16px 16px 0 0; background:#eef2f3; }
.topology-title { margin:0; padding:10px 16px; border-bottom:1px solid rgba(7,17,26,.14); background:rgba(250,252,253,.96); color:#07111a; font-size:clamp(13px,2vw,21px); font-weight:590; letter-spacing:-.012em; line-height:1.25; text-align:center; }
.topology-shell:fullscreen { display:flex; flex-direction:column; border-radius:0; background:#eef2f3; }
.topology-shell:fullscreen .topology-viewport { flex:1 1 auto; height:auto; max-height:none; }
.topology-controls { position:relative; z-index:2; display:flex; align-items:center; gap:8px; padding:10px; border-bottom:1px solid rgba(7,17,26,.14); background:rgba(250,252,253,.96); color:#07111a; }
.topology-controls button,.topology-controls output { display:grid; min-width:38px; height:38px; place-items:center; border:1px solid rgba(7,17,26,.17); border-radius:8px; background:#fff; color:#07111a; font:inherit; font-size:18px; }
.topology-controls button { cursor:pointer; }
.topology-controls button:hover:not(:disabled),.topology-controls button:focus-visible { border-color:#245f78; background:#d8effa; }
.topology-controls button:disabled { cursor:not-allowed; opacity:.38; }
.topology-controls output { min-width:62px; color:#33515f; font-size:12px; font-weight:700; }
.topology-controls .control-text { width:auto; padding:0 12px; font-size:12px; font-weight:700; }
.topology-viewport { position:relative; width:100%; height:min(62svh,680px); overflow:hidden; --topology-padding:clamp(10px,2vw,24px); background:linear-gradient(rgba(7,17,26,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(7,17,26,.035) 1px,transparent 1px),#f8fafb; background-size:28px 28px; cursor:default; touch-action:auto; user-select:none; }
.topology-viewport.is-zoomed { cursor:grab; }
.topology-viewport.is-zoomed:active { cursor:grabbing; }
.topology-image { position:absolute; inset:0; display:block; width:100%; height:100%; padding:var(--topology-padding); object-fit:contain; user-select:none; }
.topology-hotspots { position:absolute; z-index:2; inset:0; pointer-events:none; }
.topology-hotspot { position:absolute; display:block; min-width:4px; min-height:4px; border:1px solid transparent; border-radius:3px; background:transparent; cursor:pointer; pointer-events:auto; transition:background-color 120ms ease,border-color 120ms ease,box-shadow 120ms ease; }
.topology-hotspot:hover,.topology-hotspot:focus-visible { border-color:rgba(5,107,156,.95); outline:none; background:rgba(105,208,255,.18); box-shadow:0 0 0 2px rgba(105,208,255,.42),0 0 14px rgba(5,107,156,.48); }
.topology-viewport-stretch .topology-image { padding:0; object-fit:contain; }
.topology-viewport-stretch { height:auto; }
.topology-viewport-model-1 { aspect-ratio:2534/1474; }
.topology-viewport-model-2 { aspect-ratio:1476/817; }
.topology-viewport-model-3 { aspect-ratio:1532/1149; }
.topology-viewport-model-4 { aspect-ratio:1438/1237; }
.topology-coming-soon { display:grid; min-height:min(62vh,620px); place-items:center; align-content:center; padding:clamp(28px,6vw,70px); overflow:hidden; border:1px solid rgba(216,239,250,.18); border-radius:16px; background:radial-gradient(circle at center,rgba(80,160,198,.17),transparent 46%),linear-gradient(145deg,#06141f,#020a11); text-align:center; }
.topology-coming-soon[hidden] { display:none !important; }
.topology-coming-soon h3 { max-width:720px; margin:8px 0 12px; font-size:clamp(28px,5vw,54px); font-weight:590; letter-spacing:-.035em; text-wrap:balance; }
.topology-coming-soon>p:last-child { max-width:620px; margin:0; color:rgba(255,255,255,.62); font-size:clamp(15px,2vw,18px); line-height:1.55; text-wrap:balance; }
.topology-placeholder-graphic { position:relative; width:min(78vw,460px); height:clamp(190px,32vw,280px); margin-bottom:30px; }
.topology-placeholder-graphic::before,.topology-placeholder-graphic::after { position:absolute; top:50%; left:50%; width:72%; height:1px; background:rgba(169,208,229,.52); content:""; transform:translate(-50%,-50%) rotate(27deg); }
.topology-placeholder-graphic::after { transform:translate(-50%,-50%) rotate(-27deg); }
.topology-node,.topology-hub { position:absolute; z-index:1; display:grid; place-items:center; border:1px solid rgba(216,239,250,.48); background:#0a2636; color:#d8effa; box-shadow:0 10px 30px rgba(0,0,0,.38); font-size:12px; font-weight:750; letter-spacing:.08em; }
.topology-node { width:74px; height:42px; border-radius:8px; }
.topology-hub { top:50%; left:50%; width:84px; height:84px; border-radius:50%; background:#d8effa; color:#07111a; font-size:19px; transform:translate(-50%,-50%); }
.node-a { top:5%; left:6%; } .node-b { top:5%; right:6%; } .node-c { right:6%; bottom:5%; } .node-d { bottom:5%; left:6%; }
.module-list-header { align-items:center; }
.module-count { margin-top:5px; }
.module-search { display:grid; width:min(100%,430px); gap:7px; color:rgba(255,255,255,.7); font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.module-search input { width:100%; height:48px; padding:0 15px; border:1px solid rgba(216,239,250,.28); border-radius:10px; outline:none; background:rgba(255,255,255,.08); color:#fff; font:inherit; font-size:16px; font-weight:500; letter-spacing:normal; text-transform:none; }
.module-search input::placeholder { color:rgba(255,255,255,.4); }
.module-search input:focus { border-color:#a9d0e5; box-shadow:0 0 0 3px rgba(169,208,229,.14); }
.module-table { overflow:hidden; border:1px solid rgba(216,239,250,.16); border-top:0; border-radius:0 0 12px 12px; }
.module-table-head,.module-row { display:grid; grid-template-columns:minmax(130px,.38fr) minmax(0,1.62fr); align-items:center; gap:clamp(12px,3vw,28px); }
.module-table-head { padding:8px 18px; background:rgba(169,208,229,.12); color:rgba(255,255,255,.58); font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; }
.module-row { width:100%; padding:7px 18px; border:0; border-top:1px solid rgba(216,239,250,.1); background:transparent; color:#fff; font:inherit; text-align:left; text-decoration:none; cursor:pointer; transition:background-color 140ms ease,color 140ms ease; }
.module-row:hover,.module-row:focus-visible,.module-row.selected { background:rgba(169,208,229,.12); }
.module-row strong { color:#d8effa; font-size:15px; letter-spacing:.045em; }
.module-row span { color:rgba(255,255,255,.78); line-height:1.2; }
.module-row.selected strong,.module-row.selected span { color:#fff; }
.module-empty { padding:58px 24px; border:1px dashed rgba(216,239,250,.24); border-radius:12px; color:rgba(255,255,255,.66); text-align:center; }
.modules-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; padding-top:34px; }
.modules-footer p { margin:0; color:rgba(255,255,255,.42); font-size:12px; }

.modules-page.theme-day { background:radial-gradient(circle at 8% 6%,rgba(73,143,177,.2),transparent 28%),radial-gradient(circle at 92% 42%,rgba(124,170,193,.18),transparent 30%),linear-gradient(155deg,#f8fbfd 0%,#e8f1f5 56%,#f6fafc 100%); color:#10232e; }
.theme-day .modules-grid { background-image:linear-gradient(rgba(7,17,26,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(7,17,26,.045) 1px,transparent 1px); }
.theme-day .resource-brand,.theme-day .section-heading-row h2,.theme-day .module-list-header h2 { color:#07111a; }
.theme-day .topology-section,.theme-day .module-list-section { border-color:rgba(25,72,95,.18); background:rgba(255,255,255,.82); box-shadow:0 24px 70px rgba(29,65,82,.14); }
.theme-day .section-kicker { color:#315f76; }
.theme-day .module-count,.theme-day .module-search,.theme-day .modules-footer p { color:rgba(7,17,26,.66); }
.theme-day .module-search input { border-color:rgba(25,72,95,.25); background:rgba(255,255,255,.86); color:#07111a; }
.theme-day .module-search input::placeholder { color:rgba(7,17,26,.42); }
.theme-day .module-table { border-color:rgba(25,72,95,.18); }
.theme-day .module-table-head { background:rgba(84,145,174,.14); color:rgba(7,17,26,.62); }
.theme-day .module-row { border-top-color:rgba(25,72,95,.12); color:#07111a; }
.theme-day .module-row strong { color:#245f78; }
.theme-day .module-row span { color:rgba(7,17,26,.78); }
.theme-day .module-row:hover,.theme-day .module-row:focus-visible,.theme-day .module-row.selected { background:rgba(84,145,174,.14); }
.theme-day .module-row.selected strong,.theme-day .module-row.selected span { color:#07111a; }
.theme-day .topology-coming-soon { border-color:rgba(25,72,95,.18); background:radial-gradient(circle at center,rgba(80,160,198,.16),transparent 46%),linear-gradient(145deg,#f8fbfd,#e6f0f4); color:#07111a; }
.theme-day .topology-coming-soon>p:last-child,.theme-day .module-empty { color:rgba(7,17,26,.68); }
.theme-day .resource-back { border-color:rgba(25,72,95,.4); color:#07111a; }

.module-detail-page { min-height:100vh; min-height:100svh; }
.module-detail-card { position:relative; z-index:1; display:grid; width:min(100%,860px); min-height:min(68svh,650px); place-items:center; align-content:center; margin:clamp(34px,7vh,90px) auto 0; padding:clamp(34px,7vw,82px); border:1px solid rgba(216,239,250,.18); border-radius:22px; background:radial-gradient(circle at 50% 16%,rgba(103,180,219,.14),transparent 36%),rgba(2,12,20,.78); box-shadow:0 26px 90px rgba(0,0,0,.36); text-align:center; }
.module-detail-title { max-width:900px; margin:0; color:#fff; font-size:clamp(17px,1.7vw,21px); font-weight:750; letter-spacing:-.015em; line-height:1.35; text-wrap:balance; }
.module-detail-divider { width:54px; height:1px; margin:32px 0; background:#a9d0e5; }
.module-detail-status { margin:0; color:#d8effa; font-size:15px; font-weight:720; letter-spacing:.1em; text-transform:uppercase; }
.module-detail-copy { max-width:620px; margin:15px 0 0; color:rgba(255,255,255,.58); font-size:clamp(15px,2vw,18px); line-height:1.55; text-wrap:balance; }
.module-detail-actions { display:flex; align-items:center; justify-content:center; gap:22px; margin-top:42px; }
.module-home-link { color:rgba(255,255,255,.72); font-size:13px; font-weight:650; text-underline-offset:4px; }
.theme-day .module-detail-card { border-color:rgba(25,72,95,.18); background:radial-gradient(circle at 50% 16%,rgba(84,145,174,.17),transparent 36%),rgba(255,255,255,.84); box-shadow:0 26px 90px rgba(29,65,82,.15); }
.theme-day .module-detail-status { color:#315f76; }
.theme-day .module-detail-title { color:#07111a; }
.theme-day .module-detail-divider { background:#315f76; }
.theme-day .module-detail-copy { color:rgba(7,17,26,.65); }
.theme-day .module-home-link { color:#244f64; }

@media (max-width:760px) {
  .section-heading-row,.module-list-header,.modules-footer { align-items:stretch; flex-direction:column; }
  .module-search { width:100%; }
  .map-help { max-width:420px; }
  .topology-viewport { height:min(58svh,520px); --topology-padding:8px; }
  .topology-viewport.topology-viewport-stretch { height:auto; }
  .topology-controls { overflow-x:auto; }
  .topology-controls button,.topology-controls output { flex:0 0 auto; }
  .module-table-head,.module-row { grid-template-columns:minmax(95px,.45fr) minmax(0,1.55fr); }
  .modules-footer p { text-align:center; }
  .modules-footer .resource-back { justify-content:center; }
  .module-detail-actions { flex-direction:column; gap:18px; }
}

@media (max-width:460px) {
  .modules-page { padding-right:12px; padding-left:12px; }
  .resource-brand { font-size:24px; }
  .model-switcher { width:100%; }
  .model-link { flex:1 0 auto; padding-right:13px; padding-left:13px; }
  .topology-section { padding:14px 14px 0; border-radius:16px 16px 0 0; }
  .module-list-section { padding:0 14px 14px; border-radius:0 0 16px 16px; }
  .topology-controls .control-text { padding-right:10px; padding-left:10px; }
  .module-table-head,.module-row { grid-template-columns:1fr; gap:5px; }
  .module-table-head span:last-child { display:none; }
}

.construction-page {
  position: relative;
  display: grid;
  width: 100vw;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  overflow: auto;
  padding: clamp(18px, 4vw, 44px);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 154, 47, 0.15), transparent 32%),
    radial-gradient(circle at 82% 88%, rgba(63, 134, 172, 0.19), transparent 34%),
    linear-gradient(145deg, #020b14 0%, #07131d 58%, #02070c 100%);
}

.construction-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  pointer-events: none;
}

.construction-panel {
  position: relative;
  z-index: 1;
  width: min(94vw, 760px);
  padding: clamp(28px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(216, 239, 250, 0.24);
  border-radius: 22px;
  background: rgba(3, 13, 22, 0.78);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.5);
  text-align: center;
  backdrop-filter: blur(14px);
}

.construction-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: repeating-linear-gradient(135deg, #ff9f2e 0 18px, #07131d 18px 36px);
  content: "";
}

.construction-panel h1 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(34px, 7vw, 64px);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
}

.construction-art {
  display: block;
  width: min(100%, 430px);
  max-height: 38vh;
  margin: clamp(18px, 3vh, 30px) auto 10px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, 0.38));
}

.construction-copy {
  max-width: 580px;
  margin: 10px auto 26px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
  text-wrap: balance;
}

@media (max-height: 740px) {
  .construction-panel {
    padding-top: 26px;
    padding-bottom: 24px;
  }

  .construction-art {
    max-height: 30vh;
    margin-top: 14px;
  }

  .construction-copy {
    margin-bottom: 18px;
  }
}

a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

@media (max-aspect-ratio: 4 / 3) {
  .background-layer {
    background-position: 71% center;
  }

  .background-shade {
    background:
      linear-gradient(180deg, rgba(1, 8, 15, 0.72) 0%, rgba(1, 8, 15, 0.3) 68%, rgba(1, 7, 12, 0.27) 100%),
      linear-gradient(90deg, rgba(1, 9, 17, 0.48), transparent 100%);
  }
}

@media (max-width: 700px) {
  .brochure-content {
    padding: 15px 16px 16px;
  }

  header h1 {
    font-size: clamp(27px, 8.5vw, 39px);
  }

  .message {
    width: calc(100% - 62px);
    margin-top: 14px;
    font-size: clamp(13px, 3.5vw, 16px);
    line-height: 1.22;
  }

  .message p {
    margin-bottom: 0.32em;
  }

  .phone-number {
    font-size: clamp(34px, 10vw, 48px);
  }

  .social-link {
    width: 48px;
    height: 48px;
  }

  .facebook span {
    font-size: 45px;
  }

  .feature-links {
    top: 72px;
    right: 12px;
    gap: 9px;
  }

  .feature-link {
    width: 44px;
    height: 44px;
  }

  .feature-link::before {
    display: none;
  }

  .theme-controls {
    right: 12px;
    bottom: 10px;
  }

  .theme-toggle {
    width: 42px;
    height: 42px;
  }

  .theme-toggle::before {
    display: none;
  }

  .sun-data-credit {
    font-size: 9px;
  }
}

@media (max-height: 720px) and (min-width: 701px) {
  .brochure-content {
    padding-top: 16px;
    padding-bottom: 14px;
  }

  header h1 {
    font-size: 36px;
  }

  .message {
    margin-top: 13px;
    font-size: clamp(15px, 1.38vw, 21px);
    line-height: 1.2;
  }

  .phone-number {
    font-size: clamp(46px, 5.3vw, 78px);
  }

  .social-links {
    margin-top: 10px;
  }

  .social-link {
    width: 48px;
    height: 48px;
  }

  .facebook span {
    font-size: 45px;
  }
}

@media (max-height: 640px) {
  .message {
    font-size: clamp(12px, 2.55vh, 20px);
    line-height: 1.08;
  }

  .message p {
    margin-bottom: 0.12em;
  }

  .phone-number {
    font-size: clamp(34px, 7.2vh, 54px);
  }

  .social-links {
    margin-top: 7px;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .facebook span {
    font-size: 37px;
  }

  .feature-link {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .background-track,
  .background-layer,
  .background-shade,
  .phone-number,
  .social-link,
  .feature-link,
  .feature-link::before,
  .theme-toggle,
  .theme-toggle::before,
  .sun-data-credit,
  .resource-back {
    transition: none;
  }
}

.screen-reader-status {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Public business-card page */
.business-card-page .background-slide {
  height: 100svh;
}

.business-card-page .background-layer {
  background-position: 69% center;
}

.business-card-page .message {
  width: min(88vw, 1040px);
}

.technical-login {
  position: absolute;
  z-index: 3;
  right: clamp(20px, 2.5vw, 48px);
  bottom: clamp(18px, 2vw, 34px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border: 1px solid var(--control-border);
  border-radius: 9px;
  background: var(--control-background);
  color: var(--control-foreground);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.025em;
  backdrop-filter: blur(7px);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.technical-login svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.technical-login:hover,
.technical-login:focus-visible {
  background: var(--control-hover-background);
  color: var(--control-hover-foreground);
  transform: translateY(-2px);
}

@media (max-width: 700px) {
  .business-card-page .message {
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  .technical-login {
    right: 14px;
    bottom: 14px;
    padding: 10px 12px;
  }

  .technical-login span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

/* Keep the rich detail layout after legacy module-page rules. */
.module-detail-card { display:flex; width:min(100%,1120px); min-height:calc(100svh - 170px); align-items:center; flex-direction:column; }
.module-detail-actions { margin-top:auto; padding-top:56px; }
