/* Precision display system — 2026-11-24.
   Native vector artwork, bounded type, responsive composition. Loaded last.
   No fixed-resolution background bitmap, canvas, or runtime dependency. */
:root {
  --precision-width: 1500px;
  --precision-gutter: clamp(1rem, 3.5vw, 4rem);
  --precision-ink: #080d15;
  --precision-panel: #101b28;
  --precision-line: #304253;
  --precision-copy: #b9c8d6;
  --precision-accent: var(--page-accent, #70d9f6);
  --precision-radius: 18px;
}
body.enterprise-elevated {
  color: #edf4fb;
  background: radial-gradient(ellipse at 88% 0%, color-mix(in srgb, var(--precision-accent) 9%, transparent), transparent 45rem), var(--precision-ink);
}
body.theme-home { --precision-accent: #79dbf4; }
body.theme-product { --precision-accent: #86c7ff; }
body.theme-topology { --precision-accent: #75e4cb; }
body.theme-infrastructure { --precision-accent: #e7b775; }
body.theme-security { --precision-accent: #b6a4ff; }
body.theme-federation { --precision-accent: #a5b7ff; }
body.theme-database { --precision-accent: #80cfbb; }
body.theme-developers { --precision-accent: #95d6ff; }
body.theme-docs { --precision-accent: #a6c1d9; }
body.theme-trust { --precision-accent: #9fd9bb; }
body.enterprise-elevated .container,
body.enterprise-elevated .nav-shell {
  width: min(calc(100% - 2 * var(--precision-gutter)), var(--precision-width)) !important;
  max-width: var(--precision-width) !important;
  margin-inline: auto;
}
body.enterprise-elevated .nav-shell { gap: 1rem; }
body.enterprise-elevated .brand { flex-shrink: 0; }
body.enterprise-elevated .nav-links a { letter-spacing: 0; }
@media (min-width: 1041px) {
  body.enterprise-elevated .nav-links {
    display: flex !important; flex-wrap: wrap; justify-content: flex-end;
    gap: .15rem; min-width: 0; visibility: visible; opacity: 1;
  }
  body.enterprise-elevated .nav-links a {
    padding: .65rem .48rem !important; font-size: .82rem !important;
  }
  body.enterprise-elevated .menu-toggle { display: none !important; }
}
@media (min-width: 1440px) {
  body.enterprise-elevated .nav-links a { font-size: .9rem !important; padding-inline: .7rem !important; }
}
@media (max-width: 1040px) {
  body.enterprise-elevated .nav-links { display: none !important; }
  body.enterprise-elevated .nav-links.open,
  body.enterprise-elevated .nav-links[data-open="true"] { display: flex !important; }
  body.enterprise-elevated .menu-toggle { display: inline-flex !important; min-height: 44px; }
}
body.enterprise-elevated .home-hero,
body.enterprise-elevated .visual-page-hero {
  padding-block: clamp(2.5rem, 5vw, 5.5rem) !important;
  min-height: 0 !important;
  border-bottom: 1px solid var(--precision-line);
}
body.enterprise-elevated .hero-grid,
body.enterprise-elevated .page-hero-grid {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr) !important;
  gap: clamp(1.75rem, 3.5vw, 4.5rem) !important;
  align-items: center;
}
body.enterprise-elevated .hero-grid > *,
body.enterprise-elevated .page-hero-grid > *,
body.enterprise-elevated .visual-heading > *,
body.enterprise-elevated .developer-heading > * { min-width: 0; }
body.enterprise-elevated .hero-copy { max-width: none !important; }
body.enterprise-elevated .home-hero h1,
body.enterprise-elevated .page-hero h1,
body.enterprise-elevated .visual-page-hero h1,
body.enterprise-elevated .map-intro h1 {
  font-size: clamp(2rem, 3.4vw, 3.8rem) !important;
  line-height: 1.11 !important;
  letter-spacing: -.04em !important;
  max-width: 24ch !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  text-wrap: balance;
}
body.enterprise-elevated .hero-summary,
body.enterprise-elevated .experience-lead {
  color: var(--precision-copy) !important;
  font-size: clamp(1rem, 1.15vw, 1.15rem) !important;
  line-height: 1.7 !important;
  max-width: 68ch !important;
}
body.enterprise-elevated .hero-subline { line-height: 1.55; }
body.enterprise-elevated .eyebrow,
body.enterprise-elevated .section-kicker,
body.enterprise-elevated .experience-kicker { color: var(--precision-accent) !important; }
body.enterprise-elevated .visual-heading h2,
body.enterprise-elevated .developer-heading h2,
body.enterprise-elevated .closing-cta h2 {
  font-size: clamp(1.65rem, 2.5vw, 2.65rem) !important;
  line-height: 1.18 !important;
  max-width: 32ch !important;
  overflow-wrap: break-word !important;
}
body.enterprise-elevated .visual-section {
  padding-block: clamp(2rem, 4vw, 4.25rem) !important;
}
body.enterprise-elevated .visual-heading,
body.enterprise-elevated .developer-heading {
  gap: clamp(1rem, 3vw, 3rem);
  align-items: end;
}
body.enterprise-elevated .visual-heading p,
body.enterprise-elevated .developer-heading p { max-width: 66ch; color: var(--precision-copy); }
body.enterprise-elevated .identity-stage {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: clamp(.55rem, 1vw, 1rem);
  padding: clamp(.75rem, 1.5vw, 1.5rem);
  border-radius: 24px;
  background: linear-gradient(155deg, #142737, #080f18 65%);
  border-color: #3b566b;
  box-shadow: 0 18px 55px #0005, inset 0 1px 0 #ffffff12;
}
body.enterprise-elevated .identity-stage::before {
  background-size: 24px 24px;
  opacity: .7;
}
body.enterprise-elevated .stage-node,
body.enterprise-elevated .bridge-core { padding: clamp(.7rem, 1.1vw, 1.1rem); min-width: 0; }
body.enterprise-elevated .stage-node small,
body.enterprise-elevated .bridge-core small,
body.enterprise-elevated .stage-evidence small {
  font-size: .69rem; line-height: 1.4; letter-spacing: .065em; color: #b1c3d2;
}
body.enterprise-elevated .stage-node strong,
body.enterprise-elevated .bridge-core strong { font-size: clamp(1rem, 1.3vw, 1.35rem); }
body.enterprise-elevated .stage-node span,
body.enterprise-elevated .bridge-core p { font-size: .88rem; line-height: 1.55; color: #b9cbd8; overflow-wrap: anywhere; }
body.enterprise-elevated .bridge-core {
  min-height: 230px;
  background: radial-gradient(ellipse at 50% 25%, #24536a55, transparent 65%), #101f2e;
  border-color: #5796b0;
}
body.enterprise-elevated .bridge-core .bridge-mark {
  width: 60px; height: 60px;
  background: #101f2e url('/brand/freescim-mark.svg') center / 82% no-repeat;
  color: transparent; border: 1px solid #4d829b; box-shadow: none;
}
body.enterprise-elevated .stage-evidence {
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem; padding: .85rem;
}
body.enterprise-elevated .stage-evidence > small { grid-column: 1 / -1; }
body.enterprise-elevated .stage-evidence b { font-size: .83rem; }
body.enterprise-elevated .stage-evidence em { font-size: .72rem; color: #a6bbca; overflow-wrap: anywhere; }
body.enterprise-elevated .truth-grid,
body.enterprise-elevated .contract-grid,
body.enterprise-elevated .boundary-grid { gap: clamp(.85rem, 1.6vw, 1.5rem); }
body.enterprise-elevated .truth-card,
body.enterprise-elevated .contract-card,
body.enterprise-elevated .boundary-card,
body.enterprise-elevated .truth-strip > article,
body.enterprise-elevated .flow-step {
  border-radius: var(--precision-radius) !important;
  border-color: var(--precision-line) !important;
  background: linear-gradient(155deg, color-mix(in srgb, var(--precision-accent) 5%, #111c29), #0c141e) !important;
  padding: clamp(1rem, 1.7vw, 1.65rem) !important;
  min-width: 0;
}
body.enterprise-elevated .truth-card {
  border-top: 2px solid var(--card-accent, var(--precision-accent)) !important;
}
body.enterprise-elevated .truth-card h3,
body.enterprise-elevated .contract-card h3,
body.enterprise-elevated .boundary-card h3 { font-size: clamp(1.1rem, 1.4vw, 1.35rem); line-height: 1.35; }
body.enterprise-elevated .truth-card p,
body.enterprise-elevated .truth-card li,
body.enterprise-elevated .contract-card p,
body.enterprise-elevated .boundary-card p,
body.enterprise-elevated .truth-strip p,
body.enterprise-elevated .truth-strip span:not(.status-label),
body.enterprise-elevated .flow-step p { color: var(--precision-copy); font-size: .95rem; line-height: 1.65; }
body.enterprise-elevated .map-console,
body.enterprise-elevated .dev-console,
body.enterprise-elevated .code-panel,
body.enterprise-elevated .table-wrap {
  border-color: var(--precision-line); border-radius: var(--precision-radius);
}
body.enterprise-elevated .map-canvas,
body.enterprise-elevated .map-console-body,
body.enterprise-elevated .map-telemetry { min-width: 0; max-width: 100%; }
body.enterprise-elevated .map-canvas img,
body.enterprise-elevated .map-canvas svg { display: block; max-width: 100%; height: auto; }
body.enterprise-elevated .table-wrap,
body.enterprise-elevated .code-panel pre { max-width: 100%; overflow-x: auto; }
body.enterprise-elevated a:focus-visible,
body.enterprise-elevated button:focus-visible { outline: 2px solid var(--precision-accent); outline-offset: 4px; }
@media (min-width: 1920px) {
  :root { --precision-width: 1740px; }
}
@media (min-width: 3000px) {
  :root { --precision-width: 2000px; }
}
@media (max-width: 1180px) {
  body.enterprise-elevated .hero-grid,
  body.enterprise-elevated .page-hero-grid { grid-template-columns: minmax(0, 1fr) !important; }
  body.enterprise-elevated .hero-copy { max-width: 800px !important; }
}
@media (max-width: 900px) {
  body.enterprise-elevated .visual-heading,
  body.enterprise-elevated .developer-heading { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  body.enterprise-elevated .identity-stage {
    grid-template-columns: minmax(0, 1fr); grid-template-rows: auto;
  }
  body.enterprise-elevated .stage-flow { display: none; }
  body.enterprise-elevated .stage-evidence { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.enterprise-elevated .bridge-core { min-height: 145px; }
  body.enterprise-elevated .home-hero h1,
  body.enterprise-elevated .page-hero h1,
  body.enterprise-elevated .visual-page-hero h1,
  body.enterprise-elevated .map-intro h1 { font-size: clamp(1.9rem, 6.5vw, 2.65rem) !important; max-width: none !important; }
  body.enterprise-elevated .truth-grid,
  body.enterprise-elevated .contract-grid,
  body.enterprise-elevated .boundary-grid { grid-template-columns: minmax(0, 1fr) !important; }
}
@media (prefers-reduced-motion: reduce) {
  body.enterprise-elevated *, body.enterprise-elevated *::before, body.enterprise-elevated *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
}

/* Domain2Realm: conceptual architecture, not a live deployment claim. */
.domain2realm {
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(1.25rem, 3vw, 3rem); align-items: center;
  padding: clamp(1.2rem, 3vw, 3rem); border: 1px solid #385767;
  border-radius: 24px; background: linear-gradient(125deg,#10232d,#0b1522 65%);
}
.domain2realm-copy { min-width: 0; }
.domain2realm h2 { font-size: clamp(1.65rem, 3vw, 2.75rem); line-height: 1.2; margin: .5rem 0 .9rem; max-width: 24ch; }
.domain2realm p { color: #c0d0dc; line-height: 1.65; max-width: 64ch; }
.domain2realm-note { font-size: .89rem; margin-top: 1rem; }
.domain2realm-flow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .6rem; }
.domain2realm-flow > div { min-width: 0; padding: .85rem; display: grid; align-content: center; gap: .4rem; border: 1px solid #3b566b; border-radius: 12px; background: #101f2b; overflow-wrap: anywhere; }
.domain2realm-flow small { color: #91c9e0; font-size: .7rem; letter-spacing: .09em; }
.domain2realm-flow strong { color: #f0f7ff; font-size: .96rem; }
.domain2realm-flow span { color: #b8cbd8; font-size: .82rem; line-height: 1.45; }
.domain2realm-flow .domain2realm-bridge { border-color: #6ca9b3; background: #142d36; }
.domain2realm-bridge img { width: 42px; height: 42px; }
@media (max-width: 1080px) { .domain2realm { grid-template-columns: minmax(0,1fr); } }
@media (max-width: 600px) { .domain2realm-flow { grid-template-columns: minmax(0,1fr); } }
