:root {
  color-scheme: dark;
  --bg: #05070d;
  --bg-elevated: #0c1019;
  --surface: rgba(15, 19, 29, 0.92);
  --surface-strong: rgba(10, 14, 23, 0.98);
  --surface-soft: rgba(255, 255, 255, 0.045);
  --surface-border: rgba(167, 177, 203, 0.14);
  --surface-border-strong: rgba(141, 119, 247, 0.28);
  --ink: #f5f7ff;
  --muted: #a7b0c6;
  --muted-strong: #dce2f1;
  --violet: #8d77f7;
  --violet-soft: #b0a2ff;
  --jade: #74deb0;
  --danger: #ff8f98;
  --shadow: 0 28px 76px rgba(0, 0, 0, 0.42);
  --radius: 28px;
  --radius-sm: 18px;
  --shell-border: rgba(167, 177, 203, 0.13);
  --shell-shadow: 0 24px 68px rgba(0, 0, 0, 0.4);
  --panel-pad: 34px;
  --card-pad: 28px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
          radial-gradient(circle at top left, rgba(141, 119, 247, 0.18), transparent 28%),
          radial-gradient(circle at 88% 10%, rgba(116, 222, 176, 0.1), transparent 18%),
          linear-gradient(180deg, #03050a 0%, #060912 42%, #05070d 100%);
  line-height: 1.72;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

code {
  padding: 0.16em 0.42em;
  border-radius: 0.45em;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-strong);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--jade);
  color: #06110d;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 84px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(5, 7, 13, 0.82);
  border-bottom: 1px solid rgba(167, 177, 203, 0.12);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 96px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  min-width: 0;
  padding: 10px 0;
  text-decoration: none;
}

.brand-mark {
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-name {
  font-size: 1.06rem;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.brand-line {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-shell {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.nav-toggle {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  padding: 7px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.028);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.site-nav a {
  padding: 10px 15px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 600;
  text-decoration: none;
  transition:
          transform 0.16s ease,
          color 0.16s ease,
          background-color 0.16s ease,
          border-color 0.16s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(141, 119, 247, 0.18);
}

.site-nav a:hover {
  transform: translateY(-1px);
}

.nav-cta {
  margin-left: 8px;
  padding-inline: 18px !important;
  color: #06110d !important;
  background: linear-gradient(135deg, var(--violet-soft), var(--jade)) !important;
  border-color: transparent !important;
  box-shadow: 0 16px 34px rgba(116, 222, 176, 0.14);
}

.page-shell {
  overflow: clip;
}

.hero {
  padding: 112px 0 72px;
}

.hero-grid,
.feature-grid,
.problem-grid,
.about-grid,
.footer-grid,
.flow-grid,
.proof-grid,
.usecase-grid,
.integration-grid,
.summary-grid,
.detail-grid,
.doc-grid,
.contact-grid,
.legacy-card {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  align-items: center;
  gap: 48px;
}

.hero .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.74fr);
  align-items: start;
  gap: 56px;
}

.hero-grid.hero-grid-text-only,
.hero .hero-grid.hero-grid-text-only {
  grid-template-columns: 1fr;
  gap: 0;
}

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

.proof-grid,
.about-grid,
.summary-grid,
.detail-grid,
.doc-grid,
.contact-grid,
.usecase-grid,
.flow-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.panel,
.card,
.hero-media,
.terminal-shell,
.lane-card,
.identity-shell,
.cta-band,
.footer-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--shell-border);
  background: linear-gradient(180deg, rgba(16, 20, 32, 0.92), rgba(8, 12, 19, 0.98));
  box-shadow: var(--shell-shadow);
}

.panel::before,
.card::before,
.hero-media::before,
.terminal-shell::before,
.lane-card::before,
.identity-shell::before,
.cta-band::before,
.footer-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), transparent 48%);
  pointer-events: none;
}

.hero-media,
.panel,
.identity-shell {
  padding: var(--panel-pad);
}

.card,
.lane-card {
  padding: var(--card-pad);
}

.terminal-shell {
  padding: 0;
}

.cta-band,
.footer-shell {
  padding: 32px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
  padding: 18px 18px 12px 0;
}

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

.hero-grid.hero-grid-text-only .hero-copy {
  max-width: none;
  width: 100%;
}

.hero-grid.hero-grid-text-only .hero-copy .lede,
.hero-grid.hero-grid-text-only .hero-copy > p:not(.eyebrow):not(.lede) {
  max-width: min(100%, 78ch);
}

.hero-grid.hero-grid-text-only .badge-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.hero-grid.hero-grid-text-only .badge {
  display: inline-flex;
  align-items: center;
  min-height: 100%;
}

.hero-grid.hero-grid-text-only .actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.hero-grid.hero-grid-text-only .button {
  width: 100%;
}

.hero-grid.hero-grid-text-only .kicker-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.hero-grid.hero-grid-text-only .kicker-metric {
  min-width: 0;
}

.hero-copy h1 {
  margin-bottom: 22px;
}

.hero-copy .lede {
  max-width: 32ch;
  margin-bottom: 18px;
}

.hero-copy > p:not(.eyebrow):not(.lede) {
  max-width: 62ch;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--jade);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0 0 16px;
  line-height: 1.06;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.4rem);
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.55rem);
}

h3 {
  font-size: 1.12rem;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.lede {
  font-size: clamp(1.08rem, 1.9vw, 1.34rem);
  color: var(--muted-strong);
}

.section-head {
  max-width: 780px;
  margin-bottom: 34px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.badge {
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(141, 119, 247, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero-copy .badge-row {
  margin-top: 24px;
}

.hero-copy .actions {
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition:
          transform 0.16s ease,
          border-color 0.16s ease,
          background-color 0.16s ease,
          box-shadow 0.16s ease;
}

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

.button.primary {
  color: #06110d;
  background: linear-gradient(135deg, var(--violet-soft), var(--jade));
  box-shadow: 0 16px 34px rgba(116, 222, 176, 0.14);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.button.secondary:hover {
  border-color: var(--surface-border-strong);
}

.hero-media {
  padding: 18px;
}

.home-hero-media {
  max-width: 500px;
  justify-self: end;
  padding: 14px;
  background: linear-gradient(180deg, rgba(12, 16, 26, 0.84), rgba(8, 12, 18, 0.96));
}

.home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 13, 0.02), rgba(5, 7, 13, 0.28));
  pointer-events: none;
}

.hero-media img,
.image-frame img,
.identity-shell img {
  width: 100%;
  border-radius: calc(var(--radius) - 10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-media img,
.image-frame img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.home-hero-media img {
  aspect-ratio: 4 / 5;
  object-position: center 16%;
  filter: saturate(0.82) contrast(0.94) brightness(0.84);
}

.proof-list,
.bullet-list,
.check-list {
  margin: 20px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.proof-list li,
.bullet-list li,
.check-list li {
  margin-bottom: 10px;
}

.kicker-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero .kicker-row {
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.kicker-metric {
  min-width: 150px;
}

.kicker-label {
  display: block;
  margin-bottom: 6px;
  color: var(--jade);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker-value {
  color: var(--muted-strong);
  font-weight: 700;
}

.terminal-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
}

.terminal-title {
  margin: 0 0 0 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.terminal-body {
  padding: 20px 22px 24px;
  overflow: auto;
}

.terminal-body pre {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.68;
  color: var(--muted-strong);
}

.terminal-body code {
  display: block;
  padding: 0;
  background: transparent;
}

.problem-card p:last-child,
.card p:last-child,
.lane-card p:last-child,
.identity-shell p:last-child,
.cta-band p:last-child {
  margin-bottom: 0;
}

.comparison-grid {
  display: grid;
  gap: 18px;
}

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

.comparison-cell {
  padding: 22px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.comparison-cell strong {
  display: block;
  margin-bottom: 8px;
}

.eyebrow-note {
  margin-top: 24px;
}

.architecture-note {
  max-width: 920px;
  margin: 18px 0 0;
  color: var(--muted-strong);
}

.homepage-architecture .section-head {
  max-width: 700px;
  margin-bottom: 28px;
}

.homepage-architecture .lane-card,
.homepage-architecture .architecture-summary-item {
  background: rgba(255, 255, 255, 0.028);
}

.homepage-architecture .architecture-summary {
  margin-top: 16px;
}

.homepage-architecture .architecture-note {
  max-width: 720px;
  margin-top: 14px;
}

.homepage-architecture .actions {
  margin-top: 22px;
}

.architecture-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 22px;
}

.architecture-summary-item {
  padding: 15px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.architecture-summary-item strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 0.95rem;
}

.architecture-summary-item span {
  display: block;
  color: var(--muted-strong);
  font-size: 0.91rem;
  line-height: 1.52;
}

.intro-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.intro-point {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 600;
}

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

.flow-lane {
  counter-reset: flow-step;
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.flow-node {
  position: relative;
  display: grid;
  gap: 4px;
  align-content: center;
  min-height: 58px;
  padding: 15px 17px 15px 62px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-weight: 600;
}

.flow-node strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.flow-node span {
  display: block;
  font-weight: 500;
  line-height: 1.52;
}

.flow-node::before {
  counter-increment: flow-step;
  content: counter(flow-step, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(141, 119, 247, 0.22);
  background: rgba(141, 119, 247, 0.08);
  color: var(--muted-strong);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.pipeline {
  counter-reset: pipeline-step;
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.pipeline-step {
  position: relative;
  min-height: 60px;
  padding: 16px 18px 16px 62px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted-strong);
}

.pipeline-step::before {
  counter-increment: pipeline-step;
  content: counter(pipeline-step, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(116, 222, 176, 0.2);
  background: rgba(116, 222, 176, 0.08);
  color: var(--muted-strong);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.pipeline-step strong {
  color: var(--ink);
}

.pipeline-intro {
  max-width: 56ch;
  margin-bottom: 0;
}

.how-hero-media img {
  aspect-ratio: 4 / 5;
  max-height: 560px;
  object-position: center top;
}

.track-card {
  height: 100%;
}

.role-card,
.integration-card,
.doc-card,
.contact-card {
  height: 100%;
}

.integration-tag {
  display: inline-flex;
  margin-top: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted-strong);
  font-size: 0.83rem;
}

.launch-path-card {
  border-color: rgba(116, 222, 176, 0.2);
  background: linear-gradient(180deg, rgba(17, 28, 31, 0.94), rgba(9, 14, 19, 0.99));
}

.launch-path-card .integration-tag {
  background: rgba(116, 222, 176, 0.1);
  border: 1px solid rgba(116, 222, 176, 0.18);
}

.secondary-context-card {
  background: linear-gradient(180deg, rgba(14, 18, 29, 0.88), rgba(8, 12, 19, 0.96));
}

.secondary-context-card .integration-tag {
  color: var(--muted);
}

.identity-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  align-items: center;
}

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

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

.architecture-roles {
  margin-top: 18px;
}

.identity-shell {
  padding: 18px;
}

.home-identity-panel {
  max-width: 980px;
  min-height: 500px;
  isolation: isolate;
  background:
          #05070d
          url("/assets/hero-air-home.jpg")
          right 28px bottom 18px / auto calc(100% - 42px)
          no-repeat;
}

.home-identity-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
          linear-gradient(90deg, rgba(5, 7, 13, 0.8) 0%, rgba(5, 7, 13, 0.66) 36%, rgba(5, 7, 13, 0.42) 100%),
          linear-gradient(180deg, rgba(8, 12, 19, 0.16), rgba(5, 7, 13, 0.56));
}

.home-identity-panel > * {
  position: relative;
  z-index: 1;
}

.home-identity-panel p:not(.eyebrow) {
  max-width: 35ch;
}

.identity-shell img {
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.about-foundation-grid {
  grid-template-columns: 1fr;
}

.about-foundation-panel {
  max-width: 940px;
  min-height: 520px;
  isolation: isolate;
  background: url("/assets/univers-foundation.jpg") center 34% / cover no-repeat;
}

.about-foundation-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
          linear-gradient(90deg, rgba(5, 7, 13, 0.78) 0%, rgba(5, 7, 13, 0.62) 38%, rgba(5, 7, 13, 0.38) 100%),
          linear-gradient(180deg, rgba(8, 12, 19, 0.18), rgba(5, 7, 13, 0.52));
}

.about-foundation-panel > * {
  position: relative;
  z-index: 1;
}

.about-foundation-panel p:not(.eyebrow) {
  max-width: 34ch;
}

.cta-band {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  background:
          radial-gradient(circle at top right, rgba(116, 222, 176, 0.1), transparent 26%),
          linear-gradient(180deg, rgba(16, 20, 32, 0.94), rgba(8, 12, 19, 0.98));
}

.cta-band .actions {
  margin-top: 0;
  justify-content: flex-end;
  align-items: center;
}

.docs-cta-band {
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 560px);
  align-items: start;
}

.docs-cta-band .actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: stretch;
  align-items: stretch;
  gap: 12px;
}

.docs-cta-band .button {
  width: 100%;
}

@media (max-width: 980px) {
  .docs-cta-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .docs-cta-band .actions {
    grid-template-columns: 1fr;
  }
}

.footer-shell {
  margin-top: 28px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

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

.footer-nav a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.footer-links {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.footer-legal {
  color: var(--muted);
  font-size: 0.92rem;
}

.docs-tabs-wrap {
  margin-top: 24px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.docs-tabs {
  display: flex;
  gap: 8px;
  width: max-content;
  min-width: 100%;
  padding: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.028);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.docs-tabs a {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition:
          transform 0.16s ease,
          color 0.16s ease,
          background-color 0.16s ease,
          border-color 0.16s ease;
}

.docs-tabs a:hover,
.docs-tabs a.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(141, 119, 247, 0.18);
}

.docs-tabs a:hover {
  transform: translateY(-1px);
}

.docs-sidecard {
  display: grid;
  gap: 18px;
  align-content: start;
}

.docs-hero-focus {
  max-width: 62ch;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.docs-hero-focus .bullet-list {
  margin-top: 16px;
}

.docs-hero-focus .docs-note {
  margin-top: 18px;
}

.docs-note {
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(116, 222, 176, 0.16);
  background: rgba(116, 222, 176, 0.08);
  color: var(--muted-strong);
}

.docs-note strong {
  color: var(--ink);
}

.docs-link-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.docs-link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  text-decoration: none;
  transition:
          transform 0.16s ease,
          color 0.16s ease,
          border-color 0.16s ease,
          background-color 0.16s ease;
}

.docs-link-list a:hover {
  transform: translateY(-1px);
  color: var(--ink);
  border-color: rgba(141, 119, 247, 0.18);
  background: rgba(255, 255, 255, 0.045);
}

.docs-link-copy {
  display: grid;
  gap: 3px;
}

.docs-link-copy strong {
  color: var(--ink);
  font-size: 0.96rem;
}

.docs-link-copy span {
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.45;
}

.docs-link-label {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.doc-step-list {
  counter-reset: doc-step;
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.doc-step-list li {
  position: relative;
  min-height: 58px;
  padding: 15px 17px 15px 60px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted-strong);
}

.doc-step-list li::before {
  counter-increment: doc-step;
  content: counter(doc-step, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(116, 222, 176, 0.18);
  background: rgba(116, 222, 176, 0.08);
  color: var(--muted-strong);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.doc-step-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.98rem;
}

.doc-code-block {
  margin-top: 18px;
  padding: 16px 18px 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  overflow: auto;
}

.doc-code-block pre {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--muted-strong);
}

.doc-code-block code {
  display: block;
  padding: 0;
  background: transparent;
}

.doc-card-link {
  display: block;
  height: 100%;
  text-decoration: none;
  transition:
          transform 0.16s ease,
          border-color 0.16s ease,
          background-color 0.16s ease;
}

.doc-card-link:hover {
  transform: translateY(-2px);
  border-color: rgba(141, 119, 247, 0.18);
  background: linear-gradient(180deg, rgba(18, 23, 36, 0.94), rgba(10, 14, 23, 0.98));
}

.doc-card-link .eyebrow {
  color: var(--jade);
}

.legacy-card {
  grid-template-columns: 1fr;
}

.legacy-card .card {
  max-width: 760px;
}

@media (max-width: 1100px) {
  .hero-grid,
  .problem-grid,
  .feature-grid,
  .proof-grid,
  .usecase-grid,
  .integration-grid,
  .summary-grid,
  .detail-grid,
  .doc-grid,
  .contact-grid,
  .identity-grid,
  .flow-grid,
  .footer-grid,
  .comparison-row,
  .lane-grid,
  .role-grid,
  .output-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-items: start;
  }

  .hero-copy {
    padding-right: 0;
    max-width: none;
  }

  .home-hero-media {
    max-width: 100%;
    justify-self: start;
  }
}

@media (max-width: 780px) {
  .container {
    width: min(var(--container), calc(100% - 20px));
  }

  .section {
    padding: 46px 0;
  }

  .header-inner {
    min-height: auto;
    padding: 10px 0;
    flex-wrap: wrap;
    gap: 10px;
  }

  .brand {
    width: auto;
    flex: 1 1 auto;
    gap: 12px;
    padding: 4px 0;
  }

  .brand-line {
    display: none;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .brand-name {
    font-size: 0.96rem;
    letter-spacing: 0.085em;
  }

  .nav-shell {
    width: auto;
    margin-left: auto;
    display: block;
  }

  .nav-shell[open] {
    width: 100%;
    margin-top: 2px;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: auto;
    min-width: 102px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 16, 25, 0.92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    color: var(--ink);
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 700;
    list-style: none;
  }

  .nav-shell[open] .nav-toggle {
    width: 100%;
  }

  .nav-toggle::-webkit-details-marker {
    display: none;
  }

  .nav-toggle::after {
    content: "+";
    font-size: 1rem;
    line-height: 1;
  }

  .nav-shell[open] .nav-toggle::after {
    content: "-";
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-top: 8px;
    padding: 8px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 16, 25, 0.96);
    box-shadow: var(--shell-shadow);
  }

  .nav-shell[open] .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 9px 12px;
    font-size: 0.9rem;
    text-align: left;
  }

  .nav-cta {
    margin-left: 0;
    text-align: center;
  }

  .hero-grid,
  .problem-grid,
  .proof-grid,
  .usecase-grid,
  .integration-grid,
  .summary-grid,
  .detail-grid,
  .doc-grid,
  .contact-grid,
  .identity-grid,
  .flow-grid,
  .comparison-row,
  .lane-grid,
  .role-grid,
  .output-grid {
    gap: 16px;
  }

  .hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-copy,
  .panel,
  .identity-shell,
  .card,
  .lane-card,
  .cta-band,
  .footer-shell {
    padding: 20px;
  }

  .hero-copy {
    max-width: none;
    padding: 0 0 4px;
  }

  .hero .hero-copy {
    max-width: none;
  }

  .hero-grid.hero-grid-text-only .hero-copy .lede,
  .hero-grid.hero-grid-text-only .hero-copy > p:not(.eyebrow):not(.lede) {
    max-width: none;
  }

  .hero-copy h1 {
    margin-bottom: 16px;
  }

  .hero-copy .lede,
  .hero-copy > p:not(.eyebrow):not(.lede) {
    max-width: none;
  }

  .hero-copy .lede {
    margin-bottom: 12px;
    font-size: 1rem;
  }

  .hero-copy > p:not(.eyebrow):not(.lede) {
    margin-bottom: 12px;
  }

  .hero-copy .badge-row {
    margin-top: 16px;
    gap: 8px;
  }

  .hero-grid.hero-grid-text-only .badge-row {
    grid-template-columns: 1fr;
  }

  .badge {
    padding: 7px 10px;
    font-size: 0.82rem;
  }

  .hero-copy .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .hero-copy .actions .button:last-child {
    grid-column: auto;
  }

  .hero-media,
  .artifact-shell,
  .identity-shell {
    padding: 12px;
  }

  .about-foundation-grid {
    gap: 16px;
  }

  .about-foundation-panel {
    min-height: 0;
    padding: 20px;
    background: url("/assets/univers-foundation.jpg") center 24% / cover no-repeat;
  }

  .about-foundation-panel::after {
    background:
            linear-gradient(180deg, rgba(5, 7, 13, 0.56) 0%, rgba(5, 7, 13, 0.68) 34%, rgba(5, 7, 13, 0.82) 100%),
            linear-gradient(90deg, rgba(5, 7, 13, 0.24), rgba(5, 7, 13, 0.08));
  }

  .about-foundation-panel p:not(.eyebrow) {
    max-width: none;
  }

  .home-hero-media img {
    max-height: 340px;
    object-position: center 14%;
  }

  .actions {
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
  }

  .cta-band .actions {
    margin-top: 8px;
    align-items: stretch;
  }

  .kicker-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
    padding-top: 12px;
  }

  .hero-grid.hero-grid-text-only .kicker-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .kicker-metric {
    min-width: 0;
  }

  .hero {
    padding: 72px 0 38px;
  }

  .button {
    width: 100%;
    min-height: 44px;
    padding: 0 16px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3.1rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(1.34rem, 6.3vw, 1.84rem);
    line-height: 1.08;
  }

  h3 {
    font-size: 1rem;
    line-height: 1.16;
  }

  p {
    margin-bottom: 12px;
    line-height: 1.58;
  }

  .section-head {
    margin-bottom: 20px;
  }

  .comparison-cell,
  .flow-node,
  .pipeline-step {
    padding: 14px;
  }

  .flow-node,
  .pipeline-step {
    min-height: 0;
    padding-left: 52px;
  }

  .flow-node::before,
  .pipeline-step::before {
    left: 12px;
    width: 28px;
    height: 28px;
    font-size: 0.71rem;
  }

  .terminal-top {
    padding: 12px 14px;
  }

  .terminal-body {
    padding: 16px 16px 18px;
  }

  .terminal-body pre {
    font-size: 0.84rem;
    line-height: 1.56;
  }

  .proof-list,
  .bullet-list,
  .check-list {
    margin-top: 14px;
    padding-left: 18px;
  }

  .proof-list li,
  .bullet-list li,
  .check-list li {
    margin-bottom: 8px;
  }

  .integration-tag {
    margin-top: 10px;
    padding: 6px 9px;
    font-size: 0.78rem;
  }

  .footer-nav {
    gap: 10px;
    margin-top: 14px;
  }

  .footer-links {
    gap: 8px;
  }

  .docs-tabs-wrap {
    margin-top: 18px;
  }

  .docs-tabs {
    min-width: max-content;
    padding: 7px;
  }

  .docs-tabs a {
    padding: 9px 12px;
    font-size: 0.84rem;
  }

  .docs-sidecard {
    gap: 14px;
  }

  .docs-hero-focus {
    margin-top: 22px;
    padding-top: 18px;
  }

  .docs-note {
    padding: 14px 15px;
  }

  .docs-link-list {
    gap: 8px;
    margin-top: 16px;
  }

  .docs-link-list a {
    padding: 11px 12px;
  }

  .docs-link-copy strong {
    font-size: 0.92rem;
  }

  .docs-link-copy span {
    font-size: 0.82rem;
  }

  .doc-step-list {
    gap: 10px;
    margin-top: 16px;
  }

  .doc-step-list li {
    min-height: 0;
    padding: 14px 14px 14px 52px;
  }

  .doc-step-list li::before {
    left: 12px;
    width: 26px;
    height: 26px;
    font-size: 0.69rem;
  }

  .doc-step-list strong {
    font-size: 0.93rem;
  }

  .doc-code-block {
    margin-top: 16px;
    padding: 14px 15px 16px;
  }

  .doc-code-block pre {
    font-size: 0.83rem;
    line-height: 1.56;
  }

  .intro-points {
    gap: 8px;
    margin-top: 16px;
  }

  .intro-point {
    padding: 7px 10px;
    font-size: 0.8rem;
  }

  .architecture-summary {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .architecture-summary-item {
    padding: 14px 15px;
  }

  .how-hero-media img {
    max-height: 320px;
  }

  .home-identity-panel {
    min-height: 0;
    background:
            #05070d
            url("/assets/hero-air-home.jpg")
            right 10px bottom 14px / auto 58%
            no-repeat;
  }

  .home-identity-panel::after {
    background:
            linear-gradient(180deg, rgba(5, 7, 13, 0.58) 0%, rgba(5, 7, 13, 0.7) 34%, rgba(5, 7, 13, 0.84) 100%),
            linear-gradient(90deg, rgba(5, 7, 13, 0.26), rgba(5, 7, 13, 0.08));
  }

  .home-identity-panel p:not(.eyebrow) {
    max-width: none;
  }
}
.recommended-path {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.recommended-primary {
  border-color: rgba(116, 222, 176, 0.22);
  background: linear-gradient(180deg, rgba(18, 27, 30, 0.92), rgba(10, 15, 20, 0.98));
}

.recommended-label {
  display: inline-flex;
  margin-top: 16px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(116, 222, 176, 0.1);
  border: 1px solid rgba(116, 222, 176, 0.18);
  color: var(--muted-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compact-link-list {
  margin-top: 0;
}

.compact-link-list a {
  align-items: flex-start;
}

.one-column-grid {
  grid-template-columns: 1fr;
}

.doc-code-block-large {
  padding: 18px 20px 20px;
}

.doc-code-block-large pre {
  font-size: 0.89rem;
  line-height: 1.64;
}

@media (max-width: 1100px) {
  .recommended-path {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .recommended-path {
    gap: 14px;
  }

  .recommended-label {
    margin-top: 12px;
    padding: 6px 9px;
    font-size: 0.72rem;
  }

  .doc-code-block-large {
    padding: 15px 16px 17px;
  }

  .doc-code-block-large pre {
    font-size: 0.82rem;
    line-height: 1.56;
  }
}

/* Append this block to the existing public/styles.css */

.reasoning-proof-grid {
  display: grid;
  gap: 24px;
}

.reasoning-proof-head {
  max-width: 760px;
  margin-bottom: 10px;
}

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

.reasoning-proof-card {
  height: 100%;
}

.reasoning-proof-actions {
  margin-top: 8px;
}

@media (max-width: 1100px) {
  .reasoning-proof-cards {
    grid-template-columns: 1fr;
  }
}

.stack-naming-section {
  padding: 7rem 0;
}

.stack-naming-section .container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.stack-naming-header {
  max-width: 820px;
}

.stack-naming-header h2 {
  margin: 0;
  max-width: 760px;
}

.stack-naming-header p {
  max-width: 760px;
}

.stack-naming-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stack-naming-card {
  min-width: 0;
  padding: 1.35rem;
  border: 1px solid rgba(170, 179, 197, 0.16);
  border-radius: 1.25rem;
  background: rgba(12, 16, 28, 0.72);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
}

.stack-naming-card h3 {
  margin: 0.55rem 0 0.85rem;
  font-size: 1.05rem;
  line-height: 1.25;
}

.stack-naming-card p {
  margin: 0;
  color: var(--muted, #aab3c5);
  font-size: 0.95rem;
  line-height: 1.65;
}

.stack-naming-note {
  margin: 1.5rem 0 0;
  max-width: 820px;
  color: var(--muted, #aab3c5);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .stack-naming-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .stack-naming-section {
    padding: 4rem 0;
  }

  .stack-naming-section .container {
    width: min(100% - 32px, 1120px);
  }

  .stack-naming-header h2 {
    font-size: clamp(2rem, 10vw, 2.85rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  .stack-naming-header p {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .stack-naming-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    margin-top: 1.5rem;
  }

  .stack-naming-card {
    padding: 1.15rem;
    border-radius: 1rem;
  }

  .stack-naming-card h3 {
    font-size: 1rem;
  }
}
