:root {
  --bg-primary: #05070a;
  --bg-secondary: #080d14;
  --bg-elevated: rgba(10, 17, 27, 0.86);
  --bg-card: rgba(13, 22, 34, 0.84);
  --bg-card-strong: rgba(8, 14, 24, 0.96);
  --text-primary: #f8fbff;
  --text-muted: #c4d2df;
  --text-subtle: #8fa3b4;
  --text-on-accent: #031111;
  --border: rgba(144, 176, 198, 0.24);
  --line: rgba(144, 176, 198, 0.18);
  --accent: #67e8f9;
  --accent-2: #2dd4bf;
  --accent-3: #facc15;
  --danger: #fb7185;
  --success: #86efac;
  --radius-lg: 8px;
  --radius-md: 8px;
  --focus: rgba(103, 232, 249, 0.45);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
  background:
    linear-gradient(rgba(103, 232, 249, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.028) 1px, transparent 1px),
    radial-gradient(circle at 50% -10%, rgba(45, 212, 191, 0.16), transparent 34%),
    var(--bg-primary);
  background-size: 48px 48px, 48px 48px, auto, auto;
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 7, 10, 0.45), transparent 22%, transparent 78%, rgba(5, 7, 10, 0.45));
  z-index: 0;
}

h1,
h2,
h3,
.brand,
.eyebrow {
  font-family: "Space Grotesk", "Trebuchet MS", sans-serif;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

a {
  color: var(--accent);
}

#main-content,
.site-header,
.site-footer {
  position: relative;
  z-index: 2;
}

.bg-glow {
  position: fixed;
  inset: -20% -10%;
  background:
    radial-gradient(circle at 14% 12%, rgba(103, 232, 249, 0.14), transparent 28%),
    radial-gradient(circle at 86% 30%, rgba(45, 212, 191, 0.11), transparent 30%),
    radial-gradient(circle at 50% 88%, rgba(250, 204, 21, 0.07), transparent 25%);
  pointer-events: none;
  z-index: 0;
}

.skip-link {
  position: absolute;
  left: 0;
  top: -50px;
  background: var(--accent);
  color: #041016;
  font-weight: 700;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  z-index: 100;
}

.skip-link:focus {
  top: 0;
}

.container {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
}

nav {
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  background: rgba(5, 8, 14, 0.72);
  border-bottom: 1px solid rgba(144, 176, 198, 0.12);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  z-index: 10;
}

nav.scrolled {
  border-color: rgba(103, 232, 249, 0.25);
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.26);
  background: rgba(5, 8, 14, 0.9);
}

.nav-shell {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(103, 232, 249, 0.46);
  border-radius: 8px;
  color: var(--accent);
  background: rgba(103, 232, 249, 0.08);
  font-size: 0.82rem;
}

.nav-links {
  margin-left: auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0.18rem;
}

.nav-links a {
  color: var(--text-subtle);
  text-decoration: none;
  padding: 0.42rem 0.48rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text-primary);
  background: rgba(103, 232, 249, 0.08);
  outline: none;
}

.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--text-primary);
  background: rgba(45, 212, 191, 0.11);
  border-color: rgba(45, 212, 191, 0.34);
}

.menu-toggle {
  margin-left: auto;
  display: none;
  border: 1px solid var(--line);
  background: rgba(8, 14, 24, 0.72);
  color: var(--text-primary);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  background: var(--text-primary);
}

.page-hero {
  padding: 3.5rem 0 2.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(144, 176, 198, 0.1);
}

.home-hero {
  min-height: calc(100svh - 70px);
  display: grid;
  align-items: center;
  padding: 3.4rem 0 2.2rem;
  border-bottom: 1px solid rgba(144, 176, 198, 0.12);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-copy {
  max-width: 620px;
}

.hero-logo {
  width: min(280px, 72vw);
  max-height: 92px;
  object-fit: contain;
  object-position: left center;
  display: block;
  margin: 0 0 1.2rem;
  filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.28));
}

.eyebrow {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  margin: 0 0 0.8rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2.55rem, 5.8vw, 6.05rem);
  line-height: 0.94;
  letter-spacing: 0;
  max-width: 10ch;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  max-width: 14ch;
}

h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 3rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  line-height: 1.12;
}

.hero-summary {
  max-width: 62ch;
  margin: 1.25rem 0 0;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  margin-top: 1.35rem;
  flex-wrap: wrap;
}

.hero-actions a,
.simple-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  padding: 0.63rem 1rem;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid transparent;
}

.hero-actions a.primary,
.simple-form button {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: var(--text-on-accent);
}

.hero-actions a.secondary {
  border-color: rgba(255, 255, 255, 0.24);
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.identity-fabric {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-radius: 8px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 50%, rgba(45, 212, 191, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(103, 232, 249, 0.08), rgba(45, 212, 191, 0.035)),
    rgba(5, 8, 14, 0.82);
  box-shadow: var(--shadow);
}

.fabric-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(103, 232, 249, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 249, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle, black, transparent 74%);
}

.fabric-core,
.authority-node,
.lifecycle-rail {
  position: absolute;
  z-index: 2;
}

.fabric-core {
  left: 50%;
  top: 44%;
  width: 178px;
  min-height: 142px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  gap: 0.2rem;
  padding: 1rem;
  border: 1px solid rgba(103, 232, 249, 0.72);
  background: rgba(4, 12, 18, 0.92);
  box-shadow: 0 0 42px rgba(103, 232, 249, 0.18);
}

.fabric-core strong {
  font-size: 1.55rem;
  line-height: 1;
}

.fabric-core span {
  color: var(--text-subtle);
  font-size: 0.82rem;
}

.fabric-core .core-kicker {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.authority-node {
  width: 154px;
  min-height: 78px;
  display: grid;
  align-content: center;
  gap: 0.12rem;
  padding: 0.85rem;
  border: 1px solid rgba(144, 176, 198, 0.28);
  background: rgba(8, 14, 24, 0.9);
}

.authority-node span {
  color: var(--text-subtle);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.authority-node strong {
  color: var(--text-primary);
  font-size: 1.02rem;
}

.node-okta {
  left: 8%;
  top: 12%;
  border-color: rgba(103, 232, 249, 0.42);
}

.node-ldap {
  right: 8%;
  top: 12%;
  border-color: rgba(103, 232, 249, 0.42);
}

.node-linux {
  left: 8%;
  bottom: 24%;
  border-color: rgba(45, 212, 191, 0.42);
}

.node-windows {
  right: 8%;
  bottom: 24%;
  border-color: rgba(45, 212, 191, 0.42);
}

.fabric-line {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(103, 232, 249, 0.72), transparent);
  transform-origin: center;
}

.line-okta {
  width: 31%;
  left: 21%;
  top: 31%;
  transform: rotate(20deg);
}

.line-ldap {
  width: 31%;
  right: 21%;
  top: 31%;
  transform: rotate(-20deg);
}

.line-linux {
  width: 31%;
  left: 21%;
  bottom: 37%;
  transform: rotate(-20deg);
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.72), transparent);
}

.line-windows {
  width: 31%;
  right: 21%;
  bottom: 37%;
  transform: rotate(20deg);
  background: linear-gradient(90deg, transparent, rgba(45, 212, 191, 0.72), transparent);
}

.lifecycle-rail {
  left: 50%;
  bottom: 6%;
  width: calc(100% - 2rem);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.45rem;
}

.lifecycle-rail span {
  text-align: center;
  color: var(--text-primary);
  border: 1px solid rgba(250, 204, 21, 0.26);
  background: rgba(250, 204, 21, 0.07);
  padding: 0.55rem 0.35rem;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 700;
}

.proof-band {
  margin-top: -2rem;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(144, 176, 198, 0.2);
  background: rgba(8, 14, 24, 0.9);
  box-shadow: var(--shadow);
}

.proof-tile {
  min-height: 176px;
  padding: 1rem;
  color: var(--text-primary);
  text-decoration: none;
  border-right: 1px solid rgba(144, 176, 198, 0.16);
  transition: background 0.2s ease, transform 0.2s ease;
}

.proof-tile:last-child {
  border-right: none;
}

.proof-tile span {
  display: block;
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
}

.proof-tile strong {
  display: block;
  margin-top: 0.6rem;
  font-size: 1.26rem;
  line-height: 1.08;
}

.proof-tile p {
  color: var(--text-muted);
  margin: 0.65rem 0 0;
}

.proof-tile:hover,
.proof-tile:focus-visible {
  background: rgba(103, 232, 249, 0.06);
  transform: translateY(-2px);
}

.page-content {
  display: grid;
  gap: 1.25rem;
  padding-bottom: 4rem;
}

.home-content {
  gap: 4rem;
}

.content-section {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  position: relative;
}

.container.page-content {
  padding-top: 0;
}

.page-content.container {
  margin-top: 0;
}

.feature-band {
  border-left: none;
  border-right: none;
  border-radius: 0;
  padding: 4.5rem 0;
  background: linear-gradient(90deg, rgba(103, 232, 249, 0.06), rgba(45, 212, 191, 0.035));
}

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

.content-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--accent), var(--accent-2));
  opacity: 0.8;
}

.content-section h2 {
  margin-top: 0;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.feature-band h2,
.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.content-section p,
.content-section li,
.content-section td,
.content-section th {
  color: var(--text-muted);
  letter-spacing: 0;
}

.content-section h3 {
  margin-top: 0;
  color: var(--text-primary);
}

.content-section p,
.content-section ul,
.content-section ol,
.content-section table,
.content-section pre {
  margin-bottom: 0;
}

.content-section table {
  margin-top: 0.8rem;
}

.split-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.evidence-list {
  display: grid;
  gap: 0.75rem;
}

.evidence-list p {
  margin: 0;
  color: var(--text-muted);
}

.evidence-list a {
  color: var(--text-primary);
  text-decoration: none;
  border: 1px solid rgba(144, 176, 198, 0.2);
  background: rgba(5, 8, 14, 0.42);
  padding: 0.85rem;
  border-radius: 8px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 1.35rem;
}

.lifecycle-section,
.api-proof {
  display: grid;
  gap: 1.1rem;
}

.operation-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.operation-grid article {
  border: 1px solid rgba(144, 176, 198, 0.2);
  background: rgba(8, 14, 24, 0.78);
  border-radius: 8px;
  padding: 1rem;
  min-height: 210px;
}

.operation-grid article span {
  color: var(--accent-3);
  font-family: "Source Code Pro", monospace;
  font-size: 0.82rem;
}

.operation-grid h3 {
  margin: 1.8rem 0 0.55rem;
  font-size: 1.35rem;
}

.operation-grid p {
  margin: 0;
  color: var(--text-muted);
}

.mixed-estate {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: center;
}

.mixed-estate p {
  color: var(--text-muted);
}

.estate-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.estate-matrix div {
  border: 1px solid rgba(144, 176, 198, 0.2);
  background: rgba(5, 8, 14, 0.45);
  border-radius: 8px;
  padding: 0.95rem;
}

.estate-matrix span {
  display: block;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 700;
}

.estate-matrix strong {
  display: block;
  margin-top: 0.35rem;
}

.terminal-panel {
  border: 1px solid rgba(103, 232, 249, 0.24);
  background: rgba(3, 8, 14, 0.92);
  border-radius: 8px;
  padding: 0.35rem;
  font-family: "Source Code Pro", monospace;
  color: var(--text-muted);
  overflow-x: auto;
}

.terminal-panel div {
  display: grid;
  grid-template-columns: 70px minmax(340px, 1fr) max-content;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(144, 176, 198, 0.12);
  white-space: nowrap;
}

.terminal-panel div:last-child {
  border-bottom: none;
}

.terminal-panel .method {
  color: var(--accent);
  font-weight: 700;
}

.terminal-panel strong {
  color: var(--accent-2);
  font-weight: 600;
}

.final-proof {
  margin-bottom: -4rem;
}

.breadcrumbs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  font-size: 0.94rem;
  margin: 0 0 1rem;
  color: var(--text-subtle);
}

.breadcrumbs a {
  color: var(--text-subtle);
  text-decoration: none;
}

.breadcrumbs span {
  color: var(--text-muted);
}

.breadcrumb-sep {
  color: var(--line);
}

.callout {
  border-left: 3px solid var(--accent-2);
  background: rgba(45, 212, 191, 0.07);
}

.callout.alert {
  border-left-color: var(--accent);
  background: rgba(103, 232, 249, 0.09);
}

.callout.warning {
  border-left-color: var(--accent-3);
  background: rgba(250, 204, 21, 0.1);
}

.callout.success {
  border-left-color: var(--success);
  background: rgba(134, 239, 172, 0.1);
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 0.85rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1rem;
  background: var(--bg-elevated);
  text-decoration: none;
  color: var(--text-primary);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.card h3 {
  margin: 0;
}

.card p {
  margin: 0.55rem 0 0;
}

.card:hover,
.card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(103, 232, 249, 0.55);
  background: rgba(12, 24, 36, 0.9);
}

.card em {
  color: var(--text-subtle);
  font-size: 0.88rem;
}

.card .metric {
  margin-top: 0.55rem;
  color: var(--accent-2);
  font-size: 0.9rem;
  font-weight: 700;
}

.diagram-card {
  margin: 1rem 0 0;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px dashed var(--line);
  background: rgba(4, 10, 18, 0.8);
}

.diagram-card code {
  font-family: "Source Code Pro", monospace;
  color: #e2e8f0;
}

.diagram-card pre {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  max-height: 200px;
  overflow: auto;
}

.diagram-card .diagram-caption {
  display: block;
  margin-top: 0.7rem;
  color: var(--text-subtle);
}

.diagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.9rem;
  margin-top: 0.8rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 0.75rem;
  text-align: left;
}

th {
  background: rgba(148, 163, 184, 0.08);
  color: var(--text-primary);
}

.simple-form {
  display: grid;
  gap: 0.9rem;
}

.simple-form label {
  display: grid;
  gap: 0.35rem;
}

.simple-form input,
.simple-form textarea,
.simple-form select {
  font: inherit;
  border-radius: 8px;
  border: 1px solid var(--line);
  padding: 0.65rem 0.8rem;
  background: rgba(8, 14, 24, 0.82);
  color: var(--text-primary);
}

.simple-form button {
  width: fit-content;
  cursor: pointer;
  border: none;
}

.site-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.15rem;
  background: rgba(4, 10, 18, 0.62);
}

.site-search label {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-search input {
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--text-primary);
  padding: 0.4rem 0.75rem;
  width: 150px;
  font-size: 0.93rem;
}

.site-search input:focus-visible {
  outline: none;
}

.site-search button {
  border: 1px solid transparent;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  color: var(--text-on-accent);
  border-radius: 999px;
  padding: 0.38rem 0.75rem;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.search-results {
  position: absolute;
  top: 72px;
  right: 1.2rem;
  width: min(360px, calc(100% - 2.4rem));
  background: var(--bg-card-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.6rem;
  z-index: 15;
  max-height: 320px;
  overflow-y: auto;
  box-shadow: var(--shadow);
}

.search-result-item {
  display: block;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.55rem;
  margin-bottom: 0.45rem;
  background: rgba(15, 23, 45, 0.74);
}

.search-result-item strong {
  color: var(--text-primary);
}

.search-result-item p {
  margin: 0.35rem 0 0;
}

.search-result-item:hover,
.search-result-item:focus-visible {
  border-color: rgba(103, 232, 249, 0.56);
}

.search-results .no-results {
  margin: 0.55rem;
  color: var(--text-subtle);
}

.screenshot-mock {
  border: 1px dashed var(--line);
  border-radius: var(--radius-md);
  padding: 0.6rem;
  background: linear-gradient(130deg, rgba(8, 14, 24, 0.92), rgba(8, 14, 24, 0.45));
  min-height: 230px;
  display: grid;
  gap: 0.45rem;
}

.screenshot-mock::before {
  display: none;
}

.screenshot-mock p {
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
}

.screenshot-mock h3 {
  margin: 0;
}

.screenshot-mock .metric {
  margin-bottom: 0.15rem;
  color: var(--text-subtle);
}

.screen-row {
  display: grid;
  grid-template-columns: 2fr 0.9fr 0.9fr 0.9fr;
  gap: 0.35rem;
  padding: 0.35rem;
  border-bottom: 1px dashed var(--line);
  color: var(--text-muted);
}

.screen-row.header {
  color: var(--text-subtle);
  background: rgba(8, 14, 24, 0.64);
  font-size: 0.84rem;
}

.screen-row:last-child {
  border-bottom: none;
}

.screen-row .status {
  justify-self: end;
  color: var(--success);
  font-weight: 700;
}

.screen-row .status.warn {
  color: var(--accent-3);
}

.screen-row .status.fail {
  color: var(--danger);
}

.screenshot-meta {
  margin-top: 0.65rem;
}

.screenshot-meta p {
  margin: 0;
  color: var(--text-subtle);
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 0.85rem;
}

.kpi {
  background: rgba(5, 8, 14, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 0.72rem;
}

.kpi h4 {
  margin: 0 0 0.4rem;
  color: var(--text-primary);
}

.kpi p {
  margin: 0;
  color: var(--text-subtle);
}

.request-table {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.request-table th,
.request-table td {
  border-bottom: 1px solid var(--line);
}

.request-table pre {
  margin: 0;
  white-space: pre-wrap;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
}

.related-pages {
  border-top: 1px dashed var(--line);
  margin-top: 1rem;
  padding-top: 0.7rem;
}

.related-pages ul {
  margin: 0;
}

.related-pages h3 {
  margin-top: 0;
}

.fade-up {
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.55s ease, opacity 0.55s ease;
}

.fade-up.visible {
  transform: translateY(0);
  opacity: 1;
}

.fade-up.delay-1 {
  transition-delay: 0.07s;
}

.fade-up.delay-2 {
  transition-delay: 0.14s;
}

.fade-up.delay-3 {
  transition-delay: 0.21s;
}

.site-footer {
  margin-top: 2rem;
  padding: 2.2rem 0 3rem;
  border-top: 1px solid rgba(144, 176, 198, 0.14);
  background: rgba(5, 8, 14, 0.55);
}

.footer-grid {
  display: grid;
  gap: 1rem;
}

.footer-grid p {
  color: var(--text-muted);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text-primary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.copyright {
  color: var(--text-subtle);
}

@media (max-width: 1040px) {
  .nav-shell {
    width: min(100% - 1.6rem, 1180px);
  }

  .site-search {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(5, 8, 14, 0.98);
    border-bottom: 1px solid var(--line);
    border-top: 1px solid var(--line);
    padding: 0.7rem 1.2rem 0.8rem;
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .nav-links.open {
    max-height: 520px;
  }

  .nav-links a {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .split-proof,
  .mixed-estate {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
    padding: 2rem 0 3.5rem;
  }

  h1,
  .page-hero h1 {
    max-width: 100%;
  }

  .identity-fabric {
    min-height: 500px;
  }

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

  .proof-tile:nth-child(2) {
    border-right: none;
  }

  .proof-tile {
    border-bottom: 1px solid rgba(144, 176, 198, 0.16);
  }

  .proof-tile:nth-child(n+3) {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .container,
  .nav-shell {
    width: min(100% - 1.2rem, 1180px);
  }

  .page-hero {
    padding: 2rem 0 2.1rem;
  }

  .hero-logo {
    width: min(230px, 78vw);
  }

  h1 {
    font-size: clamp(2.15rem, 14vw, 4.2rem);
  }

  .hero-actions a {
    width: 100%;
  }

  .identity-fabric {
    min-height: 560px;
  }

  .fabric-core {
    top: 39%;
    width: 150px;
    min-height: 124px;
  }

  .fabric-core strong {
    font-size: 1.3rem;
  }

  .authority-node {
    width: min(136px, 42vw);
    min-height: 72px;
    padding: 0.7rem;
  }

  .node-okta,
  .node-linux {
    left: 4%;
  }

  .node-ldap,
  .node-windows {
    right: 4%;
  }

  .node-linux,
  .node-windows {
    bottom: 28%;
  }

  .line-okta,
  .line-ldap,
  .line-linux,
  .line-windows {
    opacity: 0.55;
  }

  .lifecycle-rail {
    grid-template-columns: 1fr;
    bottom: 3%;
  }

  .lifecycle-rail span {
    padding: 0.4rem;
  }

  .proof-band,
  .operation-grid,
  .estate-matrix,
  .kpi-grid,
  .table-wrap {
    grid-template-columns: 1fr;
  }

  .proof-tile {
    border-right: none;
    min-height: auto;
  }

  .proof-tile:nth-child(n) {
    border-bottom: 1px solid rgba(144, 176, 198, 0.16);
  }

  .proof-tile:last-child {
    border-bottom: none;
  }

  .feature-band {
    padding: 3rem 0;
  }

  .content-section {
    padding: 1rem;
  }

  .terminal-panel div {
    grid-template-columns: 58px minmax(260px, 1fr) max-content;
    font-size: 0.82rem;
  }

  .screen-row {
    grid-template-columns: 1.4fr 0.8fr;
  }

  .screen-row span:nth-child(3),
  .screen-row span:nth-child(4) {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .fade-up {
    opacity: 1;
    transform: none;
  }
}
