:root {
  --ink: #071427;
  --navy: #061d38;
  --deep: #030815;
  --blue: #1688ff;
  --cyan: #58d4ff;
  --chrome: #dceeff;
  --mint: #30d5a3;
  --muted: #668096;
  --line: rgba(124, 199, 255, .2);
  --panel: rgba(255, 255, 255, .96);
  --shadow: 0 24px 70px rgba(3, 8, 21, .18);
  --chrome-edge: #edf8ff;
  --chrome-mid: #b8d6ed;
  --chrome-deep: #6f93b5;
  --font-display: "Space Age Orion", Arial, Helvetica, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
}

@font-face {
  font-family: "Space Age Orion";
  src: url("assets/fonts/space-age.ttf") format("truetype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(22, 136, 255, .055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(220, 238, 255, .052) 1px, transparent 1px),
    linear-gradient(180deg, #031225 0, #061d38 360px, #e9f3fb 360px, #f8fbff 100%);
  background-size: 42px 42px, 42px 42px, auto;
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

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

.enterprise-shell {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 18px;
}

.enterprise-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(220, 238, 255, .34);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .15), transparent 22%),
    linear-gradient(90deg, #030815, #061d38 48%, #0d4f8f 78%, #1688ff);
  box-shadow: 0 18px 48px rgba(3, 8, 21, .32), inset 0 1px 0 rgba(255, 255, 255, .22);
  padding: 10px 14px;
  backdrop-filter: blur(12px);
}

.brand-lockup,
.enterprise-nav,
.hero-actions,
.status-line,
.metric-row,
.phase-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-lockup {
  min-width: 0;
}

.brand-lockup img {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(220, 238, 255, .38);
  border-radius: 8px;
  background: #030815;
  object-fit: contain;
  box-shadow: 0 0 0 1px rgba(22, 136, 255, .16), 0 12px 28px rgba(0, 0, 0, .24);
}

.brand-lockup span {
  display: grid;
  min-width: 0;
}

.brand-lockup small,
.eyebrow {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand-lockup strong {
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  line-height: 1.05;
}

.enterprise-nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.enterprise-nav a {
  min-height: 34px;
  border: 1px solid rgba(220, 238, 255, .3);
  border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  color: #e8f6ff;
  padding: 8px 12px;
  font-size: 13px;
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16);
}

.enterprise-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
  gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
  margin-top: clamp(14px, 1.5vw, 22px);
  border: 1px solid rgba(220, 238, 255, .34);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .12), transparent 18%, rgba(88, 212, 255, .16) 58%, transparent 80%),
    linear-gradient(135deg, #030815 0, #061d38 42%, #0d4f8f 76%, #1688ff 100%);
  box-shadow: 0 30px 90px rgba(3, 8, 21, .36), inset 0 1px 0 rgba(255, 255, 255, .18);
  padding: clamp(28px, 4vw, 56px);
  color: #ffffff;
}

.enterprise-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 5px;
  background: linear-gradient(90deg, transparent, var(--chrome-edge), #58d4ff, #1688ff, var(--chrome-edge), transparent);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 18px;
}

.hero-copy h1,
.section-head h2,
.hero-panel h2,
.policy-card h3,
.phase-card h3 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.05;
}

.hero-copy h1 {
  max-width: 940px;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: clamp(34px, 4.2vw, 50px);
  font-weight: 400;
  line-height: .92;
  text-wrap: balance;
  overflow-wrap: normal;
}

.hero-copy p {
  max-width: 870px;
  margin: 0;
  color: #cfe4f8;
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.48;
}

.hero-panel,
.section-band,
.policy-card,
.phase-card,
.status-component,
.metric-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(237, 248, 255, .92) 46%, rgba(255, 255, 255, .98)),
    #ffffff;
  color: var(--ink);
  box-shadow: 0 18px 46px rgba(6, 29, 56, .13), inset 0 1px 0 rgba(255, 255, 255, .72);
}

.hero-panel {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 18px;
  border-color: rgba(220, 238, 255, .2);
  padding: clamp(20px, 3vw, 34px);
}

.hero-panel img {
  width: min(190px, 68%);
  height: auto;
  object-fit: contain;
}

.hero-panel h2 {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 400;
  line-height: 1.08;
}

.hero-panel p,
.section-head p,
.policy-card p,
.phase-card p,
.status-component p,
.metric-card span,
.fine-print {
  color: var(--muted);
  line-height: 1.55;
}

.btn {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(124, 147, 170, .36);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0, #edf8ff 45%, #d8eaf8 100%);
  color: #0d4f8f;
  padding: 10px 14px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  box-shadow: 0 10px 22px rgba(6, 29, 56, .1), inset 0 1px 0 rgba(255, 255, 255, .8);
}

.btn.primary {
  border-color: rgba(220, 238, 255, .74);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, .3), transparent 24%),
    linear-gradient(135deg, #061d38 0, #0d4f8f 38%, #1688ff 70%, #58d4ff 100%);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(22, 136, 255, .28), inset 0 1px 0 rgba(255, 255, 255, .24);
}

.section-head {
  display: grid;
  gap: 10px;
  padding: 28px 0 16px;
}

.section-head h2 {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(24px, 2.7vw, 40px);
  font-weight: 400;
  line-height: 1.18;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.section-head p {
  max-width: 920px;
  margin: 0;
  font-size: 17px;
}

.section-band {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.8vw, 30px);
  margin: 14px 0;
}

.grid {
  display: grid;
  gap: 14px;
}

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.grid.four {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.policy-card,
.phase-card,
.status-component,
.metric-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  min-width: 0;
}

.policy-card h3,
.phase-card h3,
.status-component h3 {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(21px, 1.7vw, 26px);
  font-weight: 400;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.policy-card ul,
.phase-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: #244660;
  line-height: 1.5;
}

.metric-card strong {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.status-line {
  justify-content: space-between;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid rgba(48, 213, 163, .32);
  border-radius: 999px;
  background: rgba(48, 213, 163, .12);
  color: #0b6d55;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
}

.status-pill.review {
  border-color: rgba(22, 136, 255, .26);
  background: rgba(22, 136, 255, .1);
  color: #0d4f8f;
}

.enterprise-hero .eyebrow {
  display: inline-flex;
  width: fit-content;
  border: 1px solid rgba(88, 212, 255, .36);
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
  color: #eaf8ff;
  padding: 8px 10px 7px;
  font-family: var(--font-display);
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 400;
}

.metric-card strong {
  font-family: var(--font-display);
  font-weight: 400;
}

.phase-meta span:first-child,
.status-pill {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(237, 248, 255, .82)),
    #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .76);
}

.policy-card,
.phase-card,
.status-component,
.metric-card {
  border-color: rgba(124, 199, 255, .32);
}

.section-band {
  border-color: rgba(124, 199, 255, .24);
}

.policy-card p,
.phase-card p,
.status-component p,
.metric-card span,
.policy-card li,
.phase-card li,
.timeline-item span,
.fine-print {
  line-height: 1.42;
}

.enterprise-shell,
.enterprise-shell p,
.enterprise-shell li,
.enterprise-shell span,
.enterprise-shell small,
.enterprise-shell code,
.enterprise-shell button,
.enterprise-shell input,
.enterprise-shell select,
.enterprise-shell textarea {
  font-family: var(--font-body);
  letter-spacing: 0;
}

.enterprise-shell .brand-lockup strong,
.enterprise-shell .enterprise-nav a,
.enterprise-shell .enterprise-hero .eyebrow,
.enterprise-shell .hero-copy h1,
.enterprise-shell .hero-panel h2,
.enterprise-shell .section-head h2,
.enterprise-shell .policy-card h3,
.enterprise-shell .phase-card h3,
.enterprise-shell .status-component h3,
.enterprise-shell .metric-card strong {
  font-family: var(--font-display);
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline-item {
  display: grid;
  gap: 5px;
  border-left: 3px solid var(--blue);
  padding-left: 12px;
}

.timeline-item strong {
  color: var(--navy);
}

.timeline-item span,
.phase-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.code-box {
  overflow-wrap: anywhere;
  border: 1px solid rgba(124, 199, 255, .24);
  border-radius: 8px;
  background: #061d38;
  color: #e8f6ff;
  padding: 12px;
  font-size: 13px;
}

.fine-print {
  margin: 20px 0 8px;
  font-size: 13px;
}

@media (max-width: 980px) {
  .enterprise-topbar,
  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .enterprise-topbar {
    position: relative;
  }

  .enterprise-nav {
    justify-content: flex-start;
  }

  .enterprise-hero {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 760px;
    font-size: 36px;
    line-height: .96;
  }
}

@media (max-width: 620px) {
  .enterprise-shell {
    padding: 12px;
  }

  .enterprise-hero,
  .hero-panel,
  .section-band,
  .policy-card,
  .phase-card,
  .status-component,
  .metric-card {
    padding: 14px;
  }

  .enterprise-nav a,
  .btn {
    width: 100%;
  }

  .enterprise-nav,
  .hero-actions {
    width: 100%;
  }

  .hero-copy h1 {
    font-size: 29px;
    line-height: 1;
  }

  .brand-lockup {
    width: 100%;
  }

  .enterprise-topbar {
    align-items: stretch;
  }
}

/* OrionOS public mobile polish: same blue/chrome theme, cleaner phone layout. */
@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .enterprise-shell {
    padding: 10px;
  }

  .enterprise-topbar {
    position: sticky;
    top: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    min-height: 0;
    padding: 12px;
    border-radius: 10px;
  }

  .brand-lockup {
    width: 100%;
    gap: 12px;
  }

  .brand-lockup img {
    width: 66px;
    height: 66px;
    min-width: 66px;
    border-radius: 10px;
  }

  .brand-lockup small {
    font-size: 11px;
    line-height: 1.1;
  }

  .brand-lockup strong {
    font-size: clamp(26px, 8vw, 34px);
    line-height: 1;
  }

  .enterprise-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    justify-content: stretch;
  }

  .enterprise-nav a {
    display: flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 9px 10px;
    text-align: center;
    white-space: normal;
    line-height: 1.14;
  }

  .enterprise-hero {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 10px;
    padding: 18px 14px;
  }

  .hero-copy {
    gap: 14px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(30px, 8.4vw, 39px);
    line-height: 1.08;
    overflow-wrap: normal;
    text-wrap: balance;
  }

  .hero-copy p,
  .section-head p,
  .fine-print {
    max-width: 100%;
    font-size: 15.5px;
    line-height: 1.42;
  }

  .hero-actions,
  .status-line,
  .metric-row,
  .phase-meta {
    flex-wrap: wrap;
    width: 100%;
    gap: 8px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .hero-actions .btn,
  .btn {
    width: 100%;
    min-height: 44px;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.15;
  }

  .hero-panel,
  .section-band,
  .policy-card,
  .phase-card,
  .status-component,
  .metric-card {
    min-width: 0;
    overflow: hidden;
    padding: 14px;
  }

  .section-head {
    margin: 22px 0 12px;
  }

  .section-head h2,
  .hero-panel h2 {
    font-size: clamp(24px, 7vw, 31px);
    line-height: 1.14;
  }

  .policy-grid,
  .phase-grid,
  .status-grid,
  .metric-grid {
    grid-template-columns: 1fr !important;
    gap: 12px;
  }

  .timeline-item,
  .policy-card p,
  .policy-card li,
  .phase-card p,
  .phase-card li,
  .status-component p,
  .metric-card span,
  .code-box {
    overflow-wrap: anywhere;
  }
}

@media (max-width: 360px) {
  .enterprise-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .hero-copy h1 {
    font-size: 29px;
    line-height: 1.1;
  }
}
