:root {
  color-scheme: light;
  --bg: #f4f8f8;
  --bg-elevated: #ffffff;
  --bg-soft: #eaf1f2;
  --ink: #0a2230;
  --ink-soft: #526873;
  --ink-faint: #7b8d95;
  --line: rgba(8, 39, 53, .13);
  --line-strong: rgba(8, 39, 53, .25);
  --navy: #071a28;
  --cyan: #23c7cf;
  --cyan-bright: #61e1df;
  --lime: #a7d94f;
  --violet: #7569f2;
  --orange: #f0a443;
  --shadow: 0 20px 60px rgba(11, 43, 58, .1);
  --header-bg: rgba(244, 248, 248, .88);
  --radius-lg: 28px;
  --radius-md: 18px;
  --page: min(1240px, calc(100vw - 48px));
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #06141e;
  --bg-elevated: #0a1d29;
  --bg-soft: #0c2432;
  --ink: #edf8f7;
  --ink-soft: #9bb1b9;
  --ink-faint: #728994;
  --line: rgba(187, 224, 226, .12);
  --line-strong: rgba(187, 224, 226, .24);
  --navy: #020b12;
  --shadow: 0 24px 80px rgba(0, 0, 0, .28);
  --header-bg: rgba(6, 20, 30, .88);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 3%, rgba(35, 199, 207, .09), transparent 24rem),
    var(--bg);
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(35, 199, 207, .42);
  outline-offset: 3px;
}

img {
  display: block;
  max-width: 100%;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  color: #041118;
  background: var(--cyan-bright);
  border-radius: 9px;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
  background: var(--header-bg);
  backdrop-filter: blur(20px);
}

.header-inner {
  width: var(--page);
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-symbol {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: block;
  border: 1px solid rgba(74, 220, 218, .4);
  border-radius: 12px;
  overflow: hidden;
  background: #071a28;
  box-shadow: inset 0 0 18px rgba(35, 199, 207, .12);
}

.brand-symbol::before,
.brand-symbol::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(97, 225, 223, .55);
  border-radius: 50%;
  transform: rotate(-24deg);
}

.brand-symbol::before {
  width: 31px;
  height: 13px;
  left: 3px;
  top: 12px;
}

.brand-symbol::after {
  width: 16px;
  height: 29px;
  left: 10px;
  top: 3px;
  border-color: rgba(117, 105, 242, .7);
}

.brand-symbol > span,
.brand-symbol > i,
.brand-symbol > b {
  position: absolute;
  z-index: 2;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 10px rgba(97, 225, 223, .8);
}

.brand-symbol > span {
  top: 7px;
  left: 17px;
}

.brand-symbol > i {
  right: 4px;
  top: 16px;
  background: var(--lime);
}

.brand-symbol > b {
  left: 7px;
  bottom: 5px;
  background: #8b78ff;
}

.brand-copy {
  display: grid;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: .03em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--ink-faint);
  font-size: .69rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav a {
  position: relative;
  padding: 9px 16px;
  color: var(--ink-soft);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--ink);
  background: var(--bg-soft);
}

.primary-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--cyan);
}

.header-actions {
  justify-self: end;
  display: flex;
  gap: 8px;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--bg-elevated);
  cursor: pointer;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.icon-button:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
}

main {
  display: block;
  min-height: 64vh;
  outline: none;
}

.page-section {
  width: var(--page);
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 19px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: .71rem;
  font-weight: 750;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.section-kicker > span {
  width: 26px;
  height: 1px;
  background: var(--cyan);
}

.hero {
  min-height: 700px;
  padding: 92px 0 76px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(480px, .94fr);
  align-items: center;
  gap: 70px;
}

.hero h1,
.page-hero h1,
.detail-heading h1,
.not-found h1,
.load-error h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 6.4vw, 6.8rem);
  font-weight: 400;
  line-height: .91;
  letter-spacing: -.055em;
}

.hero h1 em,
.page-hero h1 em {
  color: var(--cyan);
  font-weight: 400;
}

.hero-lead {
  max-width: 650px;
  margin: 31px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.7;
}

.hero-actions,
.detail-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: .88rem;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #05161d;
  background: var(--cyan-bright);
  box-shadow: 0 12px 30px rgba(35, 199, 207, .22);
}

.button-primary:hover {
  box-shadow: 0 17px 36px rgba(35, 199, 207, .3);
}

.button-secondary {
  color: var(--ink);
  border-color: var(--line-strong);
  background: transparent;
}

.button-secondary:hover,
.button-quiet:hover {
  border-color: var(--cyan);
}

.button-quiet {
  color: var(--ink);
  border-color: var(--line);
  background: var(--bg-elevated);
}

.hero-stats {
  margin: 50px 0 0;
  display: flex;
  gap: 0;
}

.hero-stats div {
  min-width: 128px;
  padding: 0 24px;
  border-left: 1px solid var(--line);
}

.hero-stats div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-stats dt {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.hero-stats dd {
  max-width: 110px;
  margin: 7px 0 0;
  color: var(--ink-faint);
  font-size: .72rem;
  line-height: 1.35;
}

.ecosystem-orbit {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  max-width: 590px;
  justify-self: end;
}

.ecosystem-orbit::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 199, 207, .14), rgba(35, 199, 207, .025) 47%, transparent 68%);
  filter: blur(2px);
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-17deg);
}

.orbit-ring::before,
.orbit-ring::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 16px rgba(97, 225, 223, .65);
}

.orbit-ring-one {
  width: 77%;
  height: 48%;
}

.orbit-ring-one::before {
  top: 7%;
  left: 15%;
}

.orbit-ring-one::after {
  right: 5%;
  bottom: 22%;
  background: var(--violet);
}

.orbit-ring-two {
  width: 53%;
  height: 88%;
  transform: translate(-50%, -50%) rotate(36deg);
}

.orbit-ring-two::before {
  right: 1%;
  top: 35%;
  background: var(--lime);
}

.orbit-ring-two::after {
  left: 10%;
  bottom: 18%;
}

.orbit-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 142px;
  height: 142px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #f3ffff;
  border: 1px solid rgba(97, 225, 223, .28);
  border-radius: 50%;
  background: #071a28;
  box-shadow: 0 26px 70px rgba(4, 30, 43, .35), inset 0 0 40px rgba(35, 199, 207, .08);
  transform: translate(-50%, -50%);
}

.brand-symbol-large {
  width: 44px;
  height: 44px;
  margin-bottom: 9px;
}

.orbit-core strong {
  font-size: .83rem;
  letter-spacing: .05em;
}

.orbit-core small {
  margin-top: 2px;
  color: #83a2ad;
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.orbit-node {
  position: absolute;
  z-index: 4;
  width: 82px;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: .66rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: transform .24s ease, color .2s ease;
}

.orbit-node:hover {
  z-index: 6;
  color: var(--ink);
  transform: translateY(-5px);
}

.system-brand-orbit {
  width: 58px;
  height: 58px;
  border-radius: 19px;
  box-shadow: 0 12px 30px rgba(7, 26, 40, .18);
}

.node-one { left: 12%; top: 15%; }
.node-two { right: 7%; top: 19%; }
.node-three { left: 2%; top: 56%; }
.node-four { right: 2%; top: 57%; }
.node-five { left: 29%; bottom: 0; }
.node-six { right: 23%; bottom: -2%; }

.intro-strip {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  color: rgba(239, 255, 255, .84);
  background: var(--navy);
  overflow: hidden;
}

.intro-strip p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.intro-strip p span {
  margin-right: 10px;
  color: var(--cyan-bright);
  font-family: "Segoe UI", sans-serif;
  font-size: .63rem;
  letter-spacing: .12em;
}

.intro-strip > i {
  color: #3e5863;
  font-size: .7rem;
}

.featured-section,
.catalog-section,
.related-section,
.area-section {
  padding: 108px 0;
}

.section-heading {
  margin-bottom: 42px;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  align-items: end;
  gap: 40px;
}

.section-heading h2,
.evolution-copy h2,
.detail-main h2,
.source-note h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.045em;
}

.section-heading > p,
.evolution-copy > p:not(.section-kicker),
.source-note > div > p:not(.section-kicker) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.featured-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.system-card {
  --system-accent: var(--cyan);
  position: relative;
  min-height: 360px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.system-card:hover {
  border-color: color-mix(in srgb, var(--system-accent) 50%, var(--line));
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.system-card[data-system="llevando"] { --system-accent: #55b948; }
.system-card[data-system="central-llevando"] { --system-accent: #36a9a2; }
.system-card[data-system="focim"] { --system-accent: #60c04f; }
.system-card[data-system="titulos-focim"] { --system-accent: #0793a7; }
.system-card[data-system="salud"] { --system-accent: #75bd43; }
.system-card[data-system="pulso"] { --system-accent: #f65d6c; }
.system-card[data-system="operam-increibles-redes"] { --system-accent: #f3a746; }
.system-card[data-system="operam-altecva"] { --system-accent: #e78154; }
.system-card[data-system="contabilidad"] { --system-accent: #16a8a6; }
.system-card[data-system="orion"] { --system-accent: #49dcef; }
.system-card[data-system="fichas"] { --system-accent: #4ddbef; }
.system-card[data-system="mercurio"] { --system-accent: #8b78ff; }
.system-card[data-system="hefesto"] { --system-accent: #ef9f3a; }
.system-card[data-system="libertad"] { --system-accent: #2fc7d9; }
.system-card[data-system="tr069"] { --system-accent: #6087f2; }
.system-card[data-system="cerberus"] { --system-accent: #725bff; }
.system-card[data-system="kronos"] { --system-accent: #4c8df6; }
.system-card[data-system="energynet24"] { --system-accent: #f2b233; }

.card-glow {
  position: absolute;
  top: -90px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--system-accent);
  filter: blur(80px);
  opacity: .09;
  pointer-events: none;
}

.card-topline {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.system-brand {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 10px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--system-accent) 32%, var(--line));
  border-radius: 18px;
  background: color-mix(in srgb, var(--system-accent) 9%, var(--bg-elevated));
}

.system-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.system-brand.brand-fallback {
  color: var(--system-accent);
  font-size: 1.45rem;
}

.stage {
  max-width: 155px;
  padding: 6px 10px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: .62rem;
  font-weight: 750;
  letter-spacing: .055em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.stage-future,
.stage-core {
  color: color-mix(in srgb, var(--cyan) 68%, var(--ink));
  border-color: rgba(35, 199, 207, .25);
  background: rgba(35, 199, 207, .08);
}

.stage-legacy {
  color: var(--ink-faint);
  border-style: dashed;
}

.stage-transition {
  color: color-mix(in srgb, var(--orange) 70%, var(--ink));
  border-color: rgba(240, 164, 67, .28);
  background: rgba(240, 164, 67, .08);
}

.card-body {
  position: relative;
  margin-top: 35px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--ink-faint);
  font-size: .66rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.card-body h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.card-body > p:last-child {
  margin: 15px 0 0;
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.65;
}

.card-footer {
  position: relative;
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.domain-link,
.detail-link,
.text-link,
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.domain-link {
  min-width: 0;
  color: var(--ink-faint);
  font-size: .72rem;
}

.domain-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.domain-link:hover {
  color: var(--system-accent);
}

.detail-link,
.text-link {
  flex: 0 0 auto;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.detail-link i,
.text-link i {
  transition: transform .2s ease;
}

.detail-link:hover i,
.text-link:hover i {
  transform: translateX(4px);
}

.section-cta {
  margin-top: 38px;
  text-align: right;
}

.evolution-section {
  margin-bottom: 108px;
  padding: 78px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  color: #ecfafa;
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(35, 199, 207, .08), transparent 44%),
    #071a28;
  box-shadow: 0 35px 100px rgba(3, 21, 31, .22);
}

.evolution-section .section-kicker,
.evolution-copy > p:not(.section-kicker) {
  color: #8aa6af;
}

.evolution-copy > p:not(.section-kicker) {
  margin-top: 24px;
}

.evolution-copy .button {
  margin-top: 28px;
  color: #ecfafa;
  border-color: rgba(236, 250, 250, .22);
}

.evolution-map {
  display: grid;
  align-content: center;
  gap: 17px;
}

.evolution-path {
  min-height: 126px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(204, 239, 240, .12);
  border-radius: 20px;
  background: rgba(255, 255, 255, .035);
}

.evolution-path > i {
  margin: 0 3px;
  color: #516b75;
  font-size: .6rem;
}

.path-number {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #79929b;
  border: 1px solid #34505c;
  border-radius: 50%;
  font-size: .63rem;
  font-weight: 750;
}

.path-number.path-current {
  color: #05161d;
  border-color: var(--cyan-bright);
  background: var(--cyan-bright);
}

.evolution-path div {
  min-width: 0;
}

.evolution-path strong,
.evolution-path small {
  display: block;
}

.evolution-path strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 400;
}

.evolution-path small {
  margin-top: 4px;
  color: #718c96;
  font-size: .63rem;
}

.page-hero {
  padding: 105px 0 74px;
  border-bottom: 1px solid var(--line);
}

.page-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, .7fr);
  align-items: end;
  gap: 70px;
}

.page-title-row h1 {
  font-size: clamp(3.4rem, 6vw, 6.2rem);
}

.page-title-row > p {
  margin: 0 0 5px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.75;
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.search-box {
  min-width: 300px;
  height: 50px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-faint);
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--bg-elevated);
}

.search-box:focus-within {
  color: var(--cyan);
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(35, 199, 207, .1);
}

.search-box input {
  width: 100%;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
}

.search-box input::placeholder {
  color: var(--ink-faint);
}

.filter-row {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.filter-pill {
  min-height: 40px;
  padding: 0 13px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: .72rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-pill span {
  margin-left: 5px;
  color: var(--ink-faint);
}

.filter-pill:hover,
.filter-pill.active {
  color: var(--ink);
  border-color: rgba(35, 199, 207, .32);
  background: rgba(35, 199, 207, .08);
}

.catalog-meta {
  margin: 38px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink-faint);
  font-size: .72rem;
}

.catalog-meta p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.catalog-grid .system-card {
  min-height: 370px;
}

.empty-state {
  min-height: 420px;
  padding: 50px;
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
}

.empty-state > i {
  color: var(--cyan);
  font-size: 2.2rem;
}

.empty-state h2 {
  margin: 20px 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.empty-state p {
  margin: 0 0 24px;
  color: var(--ink-soft);
}

.detail-hero {
  padding: 70px 0 82px;
}

.back-link {
  margin-bottom: 55px;
  color: var(--ink-soft);
  font-size: .8rem;
  font-weight: 700;
}

.back-link:hover {
  color: var(--cyan);
}

.detail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}

.detail-identity {
  display: flex;
  align-items: center;
  gap: 28px;
}

.system-brand-detail {
  --system-accent: var(--cyan);
  width: 112px;
  height: 112px;
  padding: 17px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.detail-identity h1 {
  font-size: clamp(3.7rem, 7vw, 7rem);
}

.detail-identity a {
  margin-top: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: .86rem;
  text-decoration: none;
}

.detail-identity a:hover {
  color: var(--cyan);
}

.detail-heading > .stage {
  margin-top: 12px;
}

.detail-summary {
  max-width: 860px;
  margin: 49px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2.7vw, 2.4rem);
  line-height: 1.35;
  letter-spacing: -.025em;
}

.detail-actions > span {
  color: var(--ink-faint);
  font-size: .72rem;
}

.detail-content {
  padding: 88px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .55fr);
  gap: 100px;
  border-top: 1px solid var(--line);
}

.purpose-copy {
  max-width: 760px;
  margin: 29px 0 55px;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.85;
}

.detail-main h3 {
  margin: 0 0 18px;
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.capability-list {
  margin: 0;
  padding: 0;
  display: grid;
  list-style: none;
  border-top: 1px solid var(--line);
}

.capability-list li {
  padding: 18px 0;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--line);
}

.capability-list li i {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #06151c;
  border-radius: 50%;
  background: var(--cyan-bright);
  font-size: .65rem;
}

.detail-aside {
  align-self: start;
  padding: 31px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
}

.aside-label {
  margin: 0 0 16px;
  color: var(--ink-faint);
  font-size: .66rem;
  font-weight: 750;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.detail-aside > p:not(.aside-label) {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  line-height: 1.5;
}

.detail-aside dl {
  margin: 28px 0 0;
}

.detail-aside dl div {
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

.detail-aside dt,
.detail-aside dd {
  font-size: .75rem;
}

.detail-aside dt {
  color: var(--ink-faint);
}

.detail-aside dd {
  margin: 0;
  text-align: right;
}

.related-section {
  border-top: 1px solid var(--line);
}

.related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.system-card-compact {
  min-height: 330px;
}

.about-hero {
  padding-bottom: 100px;
}

.manifesto {
  padding: 85px 0;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0 40px;
}

.manifesto-number {
  margin: 0;
  padding-top: 6px;
  color: var(--cyan);
  font-size: .68rem;
  font-weight: 750;
  letter-spacing: .13em;
}

.manifesto > div {
  padding: 0 0 55px;
  display: grid;
  grid-template-columns: minmax(240px, .6fr) minmax(300px, 1fr);
  gap: 50px;
  border-bottom: 1px solid var(--line);
}

.manifesto > div:not(:nth-last-child(1)) {
  margin-bottom: 55px;
}

.manifesto h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
}

.manifesto div p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.area-section {
  border-top: 1px solid var(--line);
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.area-card {
  min-height: 280px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-elevated);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.area-card:hover {
  border-color: var(--cyan);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.area-card > span {
  color: var(--ink-faint);
  font-size: .65rem;
}

.area-card > i {
  margin: 39px 0 22px;
  color: var(--cyan);
  font-size: 1.65rem;
}

.area-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 400;
}

.area-card p {
  margin: 5px 0 0;
  color: var(--ink-faint);
  font-size: .72rem;
}

.area-card b {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.source-note {
  margin-bottom: 108px;
  padding: 72px;
  display: grid;
  grid-template-columns: 200px 1fr;
  align-items: center;
  gap: 65px;
  color: #eafafa;
  border-radius: 34px;
  background: #071a28;
}

.source-mark {
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(97, 225, 223, .2);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 199, 207, .18), transparent 68%);
}

.source-mark i {
  color: var(--cyan-bright);
  font-size: 3.7rem;
}

.source-note .section-kicker,
.source-note > div > p:not(.section-kicker) {
  color: #8aa6af;
}

.source-note > div > p:not(.section-kicker) {
  max-width: 760px;
  margin-top: 22px;
}

.source-note .button {
  margin-top: 26px;
  color: #eafafa;
  border-color: rgba(234, 250, 250, .25);
}

.not-found,
.load-error {
  min-height: 670px;
  padding: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.not-found > span {
  margin-bottom: -28px;
  color: color-mix(in srgb, var(--cyan) 12%, transparent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(7rem, 20vw, 17rem);
  line-height: .6;
}

.not-found .section-kicker,
.load-error .section-kicker {
  margin-top: 30px;
}

.not-found h1,
.load-error h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}

.not-found > p:not(.section-kicker),
.load-error > p:not(.section-kicker) {
  margin: 23px 0 28px;
  color: var(--ink-soft);
}

.load-error > i {
  margin-bottom: 6px;
  color: var(--cyan);
  font-size: 3.5rem;
}

.boot-screen {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.boot-orbit {
  position: relative;
  width: 70px;
  height: 34px;
  margin-bottom: 22px;
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  animation: orbit-spin 1.4s linear infinite;
}

.boot-orbit i {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}

@keyframes orbit-spin {
  to { transform: rotate(360deg); }
}

.site-footer {
  color: #9eb3bb;
  background: #04121c;
}

.footer-inner {
  width: var(--page);
  min-height: 270px;
  margin: 0 auto;
  padding: 58px 0 34px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 20px 60px;
}

.footer-brand {
  color: #efffff;
}

.footer-inner > p:not(.copyright) {
  grid-column: 1;
  margin: 8px 0 0;
  color: #67838e;
  font-size: .8rem;
}

.footer-inner nav {
  grid-column: 2;
  grid-row: 1 / 3;
  display: flex;
  gap: 22px;
}

.footer-inner nav a {
  color: #9eb3bb;
  font-size: .78rem;
  text-decoration: none;
}

.footer-inner nav a:hover {
  color: var(--cyan-bright);
}

.copyright {
  grid-column: 1 / -1;
  margin: 45px 0 0;
  padding-top: 25px;
  color: #536e79;
  border-top: 1px solid rgba(190, 224, 226, .1);
  font-size: .68rem;
}

.noscript {
  position: fixed;
  z-index: 999;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 16px;
  color: #071a28;
  border-radius: 12px;
  background: #ffe898;
  text-align: center;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr 430px;
    gap: 34px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 6.2vw, 5.4rem);
  }

  .system-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .evolution-section {
    padding: 60px;
    gap: 50px;
  }

  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-row {
    justify-content: flex-start;
  }

  .area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --page: min(100% - 32px, 720px);
  }

  .header-inner {
    min-height: 70px;
    grid-template-columns: 1fr auto;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    padding: 12px 16px 18px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
    background: var(--bg-elevated);
    box-shadow: 0 18px 30px rgba(5, 28, 39, .12);
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav a {
    padding: 13px 16px;
  }

  .primary-nav a.active::after {
    left: auto;
    right: 16px;
    bottom: 50%;
    margin: 0 0 -2px;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .hero {
    padding: 72px 0 60px;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }

  .ecosystem-orbit {
    width: min(100%, 560px);
    margin: 10px auto 0;
    justify-self: center;
  }

  .section-heading,
  .page-title-row {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .evolution-section {
    margin-bottom: 70px;
    padding: 48px 32px;
    grid-template-columns: 1fr;
  }

  .detail-content {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .detail-aside {
    width: 100%;
  }

  .manifesto > div {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .source-note {
    padding: 50px;
    grid-template-columns: 140px 1fr;
    gap: 42px;
  }

  .source-mark {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 620px) {
  :root {
    --page: calc(100vw - 26px);
    --radius-lg: 22px;
  }

  .brand-copy small {
    display: none;
  }

  .header-actions {
    gap: 6px;
  }

  .icon-button {
    width: 39px;
    height: 39px;
  }

  .hero {
    min-height: 0;
    padding-top: 58px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .detail-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .detail-actions .button {
    width: 100%;
  }

  .hero-stats {
    gap: 0;
  }

  .hero-stats div {
    min-width: 0;
    padding: 0 13px;
    flex: 1;
  }

  .hero-stats dt {
    font-size: 1.55rem;
  }

  .hero-stats dd {
    font-size: .64rem;
  }

  .ecosystem-orbit {
    width: calc(100vw - 24px);
    margin-left: -1px;
  }

  .orbit-core {
    width: 112px;
    height: 112px;
  }

  .brand-symbol-large {
    width: 38px;
    height: 38px;
  }

  .system-brand-orbit {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .orbit-node {
    width: 64px;
    font-size: .58rem;
  }

  .node-one { left: 9%; }
  .node-two { right: 5%; }
  .node-three { left: 0; }
  .node-four { right: 0; }

  .intro-strip {
    min-height: 72px;
    gap: 12px;
  }

  .intro-strip p {
    font-size: .85rem;
  }

  .intro-strip p span {
    display: none;
  }

  .featured-section,
  .catalog-section,
  .related-section,
  .area-section {
    padding: 72px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .system-grid,
  .featured-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .system-card,
  .catalog-grid .system-card {
    min-height: 340px;
    padding: 22px;
  }

  .section-cta {
    text-align: left;
  }

  .evolution-section {
    width: calc(100vw - 20px);
    padding: 38px 20px;
    border-radius: 27px;
  }

  .evolution-path {
    min-height: auto;
    padding: 21px;
    align-items: flex-start;
    flex-direction: column;
  }

  .evolution-path > i {
    margin-left: 14px;
    transform: rotate(90deg);
  }

  .page-hero {
    padding: 76px 0 55px;
  }

  .page-title-row > p {
    font-size: .98rem;
  }

  .search-box {
    width: 100%;
    min-width: 0;
  }

  .filter-row {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 3px 3px 8px;
    scrollbar-width: thin;
  }

  .filter-pill {
    flex: 0 0 auto;
  }

  .catalog-meta span {
    display: none;
  }

  .detail-hero {
    padding-top: 45px;
  }

  .back-link {
    margin-bottom: 38px;
  }

  .detail-heading {
    flex-direction: column-reverse;
  }

  .detail-identity {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .system-brand-detail {
    width: 92px;
    height: 92px;
    border-radius: 25px;
  }

  .detail-identity h1 {
    font-size: clamp(3.1rem, 16vw, 5rem);
  }

  .detail-summary {
    margin-top: 36px;
  }

  .detail-content {
    padding: 66px 0;
  }

  .detail-aside {
    padding: 24px;
  }

  .manifesto {
    padding: 65px 0;
    grid-template-columns: 34px 1fr;
    gap: 0 14px;
  }

  .manifesto > div {
    padding-bottom: 40px;
  }

  .area-grid {
    grid-template-columns: 1fr;
  }

  .area-card {
    min-height: 230px;
  }

  .source-note {
    margin-bottom: 70px;
    padding: 34px 25px;
    grid-template-columns: 1fr;
    gap: 30px;
    border-radius: 26px;
  }

  .source-mark {
    width: 100px;
    height: 100px;
  }

  .source-mark i {
    font-size: 2.5rem;
  }

  .footer-inner {
    padding-top: 48px;
    grid-template-columns: 1fr;
  }

  .footer-inner nav {
    grid-column: 1;
    grid-row: auto;
    margin-top: 22px;
    flex-wrap: wrap;
  }

  .copyright {
    margin-top: 24px;
  }
}

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