:root {
  --bg: #f7f8f5;
  --paper: #ffffff;
  --paper-soft: #eef3f0;
  --paper-blue: #edf6fb;
  --ink: #0b0d0e;
  --ink-soft: #293136;
  --muted: #647078;
  --line: #d9dfdc;
  --line-strong: #aeb9b5;
  --green: #526b58;
  --green-dark: #263f32;
  --blue: #006fbb;
  --blue-dark: #073f66;
  --warning: #9a6a26;
  --shadow: 0 24px 70px rgba(20, 32, 39, 0.09);
  --radius: 8px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

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

figure {
  margin: 0;
}

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

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: top 0.2s ease;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(174, 185, 181, 0.75);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 126px;
}

.brand img {
  width: 108px;
  max-height: 48px;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 650;
}

.nav-links a {
  border-radius: 999px;
  padding: 9px 9px;
  transition: background 0.18s ease, color 0.18s ease;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 0 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: #1f2528;
}

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

.btn.secondary:hover {
  border-color: var(--ink);
}

.btn.blue {
  background: var(--blue);
  border-color: var(--blue);
}

.btn.blue:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 1px;
  background: var(--green);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 98px 0 46px;
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 52%, #f2f7f8 100%);
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
  opacity: 0.45;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(430px, 0.82fr);
  gap: 58px;
  align-items: center;
}

.hero-logo {
  width: min(360px, 72vw);
  margin-bottom: 28px;
}

.hero h1 {
  max-width: 660px;
  font-size: clamp(2.45rem, 4vw, 4.05rem);
  font-weight: 690;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 640px;
  margin-top: 24px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.72;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.program-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(14, 27, 34, 0.08);
  padding: 30px;
}

.program-panel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.program-panel-header span,
.program-stage span {
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.program-panel-header strong {
  color: var(--ink);
  font-size: 1.55rem;
  line-height: 1;
}

.program-panel > p {
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.program-facts {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.program-facts div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.program-facts dt {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
}

.program-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.program-stage {
  margin-top: 24px;
  border-left: 2px solid var(--blue);
  padding-left: 16px;
}

.hero-showcase {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 24px 70px rgba(14, 27, 34, 0.09);
}

.hero-showcase img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.showcase-info {
  padding: 24px;
}

.visual-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-info strong {
  display: block;
  color: var(--ink);
  font-size: clamp(1.24rem, 2vw, 1.75rem);
  line-height: 1.08;
}

.showcase-info p {
  margin-top: 12px;
  color: var(--ink-soft);
}

.showcase-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.showcase-pills span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper-soft);
  color: var(--ink-soft);
  padding: 8px 10px;
  font-size: 0.78rem;
  font-weight: 800;
}

.program-stage strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.45;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 34px rgba(14, 27, 34, 0.035);
}

.hero-proof div {
  min-height: 112px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 1.08rem;
}

.hero-proof span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.section {
  padding: 86px 0;
}

.section.compact {
  padding: 62px 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.58);
  border-block: 1px solid var(--line);
}

.section.bluewash {
  background: linear-gradient(180deg, rgba(237, 246, 251, 0.82), rgba(255, 255, 255, 0.7));
  border-block: 1px solid var(--line);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.7fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 36px;
}

.section-header.center {
  display: block;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.section-header.center .eyebrow {
  justify-content: center;
}

.section-header.center .eyebrow::before {
  display: none;
}

.section h2 {
  font-size: clamp(1.9rem, 3.1vw, 3.15rem);
  font-weight: 700;
}

.section-lede {
  font-size: 1.04rem;
}

.page-hero {
  padding: 78px 0 64px;
  background:
    linear-gradient(90deg, rgba(0, 111, 187, 0.055) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(0deg, rgba(82, 107, 88, 0.07) 1px, transparent 1px) 0 0 / 58px 58px,
    linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: 48px;
  align-items: end;
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(2.35rem, 4.5vw, 4.25rem);
  font-weight: 720;
}

.page-hero p {
  margin-top: 22px;
  font-size: 1.1rem;
}

.page-badge {
  border-left: 2px solid var(--blue);
  padding-left: 18px;
}

.page-badge img {
  width: 240px;
  margin-bottom: 18px;
}

.page-badge.visual-badge {
  border-left: 0;
  padding-left: 0;
}

.page-badge.visual-badge img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(14, 27, 34, 0.08);
}

.page-badge.visual-badge p {
  border-left: 2px solid var(--blue);
  padding-left: 18px;
}

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

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

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

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

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

.card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 28px;
  box-shadow: 0 12px 38px rgba(14, 27, 34, 0.045);
}

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  opacity: 0.8;
}

.card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.18rem, 2vw, 1.5rem);
}

.card p {
  font-size: 0.98rem;
}

.card .meta {
  display: block;
  margin-bottom: 12px;
  color: var(--blue-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-link {
  display: inline-flex;
  margin-top: 20px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.card-link:hover {
  color: var(--blue);
}

.card.media-card {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.card.media-card::before {
  z-index: 1;
}

.card-media {
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.card.media-card:hover .card-media img {
  transform: scale(1.02);
}

.card-body {
  flex: 1;
  padding: 24px 26px 28px;
}

.card-body .mission-list {
  margin-top: 18px;
}

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

.metric {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  padding: 20px;
}

.metric strong {
  display: block;
  margin-bottom: 7px;
  color: var(--ink);
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1;
}

.metric span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.notice {
  border-left: 3px solid var(--warning);
  background: #fff9ed;
  color: var(--ink-soft);
  padding: 18px 20px;
  border-radius: var(--radius);
  line-height: 1.6;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.data-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 16px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  color: var(--ink);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--paper-soft);
}

.data-table td {
  color: var(--muted);
  line-height: 1.55;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.architecture {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.arch-layer {
  min-height: 156px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(238, 243, 240, 0.82)),
    var(--paper);
  padding: 22px;
}

.arch-layer:nth-child(even) {
  background:
    linear-gradient(180deg, rgba(237, 246, 251, 0.92), rgba(255, 255, 255, 0.78)),
    var(--paper-blue);
}

.arch-layer span {
  display: block;
  margin-bottom: 18px;
  color: var(--blue-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.arch-layer strong {
  display: block;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1.18;
}

.arch-layer p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.flow-step {
  position: relative;
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 18px;
}

.flow-step::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 50%;
  width: 10px;
  height: 1px;
  background: var(--line-strong);
}

.flow-step:last-child::after {
  display: none;
}

.flow-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  font-weight: 850;
}

.flow-step strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  line-height: 1.25;
}

.signal-band {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 36px;
  align-items: center;
}

.system-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(0, 111, 187, 0.08) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(0deg, rgba(82, 107, 88, 0.11) 1px, transparent 1px) 0 0 / 34px 34px,
    #ffffff;
  min-height: 410px;
  padding: 28px;
}

.system-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.system-cell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  padding: 16px;
}

.system-cell strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.system-cell span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.mission-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.mission-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.mission-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 111, 187, 0.1);
}

.strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.strip-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 750;
  min-height: 88px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.proof-list {
  display: grid;
  gap: 18px;
}

.proof-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
}

.proof-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--blue-dark);
  font-weight: 850;
}

.proof-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 1.05rem;
}

.cta-band {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(circle at 88% 10%, rgba(0, 111, 187, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff, var(--paper-soft));
  padding: 84px 0;
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.5fr);
  gap: 36px;
  align-items: center;
}

.cta-inner h2 {
  font-size: clamp(2rem, 3.8vw, 3.55rem);
  font-weight: 700;
}

.cta-logo {
  width: min(320px, 75vw);
  justify-self: end;
}

.footer {
  border-top: 1px solid var(--line);
  background: var(--paper);
  padding: 44px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr;
  gap: 40px;
}

.footer-logo {
  width: 190px;
  margin-bottom: 18px;
}

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

.footer-links h4 {
  margin-bottom: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.layered-stack {
  display: grid;
  gap: 12px;
}

.stack-layer {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 18px;
}

.stack-layer strong {
  color: var(--ink);
}

.stack-layer span {
  color: var(--muted);
  line-height: 1.55;
}

.article-card {
  display: grid;
  min-height: 270px;
  align-content: space-between;
}

.article-card time {
  color: var(--blue-dark);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form {
  display: grid;
  gap: 16px;
}

.form.card h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 750;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  padding: 13px 14px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-status {
  min-height: 24px;
  color: var(--green-dark);
  font-weight: 750;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 28px;
}

.contact-panel img {
  width: 230px;
  margin-bottom: 24px;
}

.contact-list {
  display: grid;
  gap: 18px;
}

.contact-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.contact-list span,
.contact-list a {
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .hero-grid,
  .page-hero-inner,
  .feature-gallery,
  .signal-band,
  .split,
  .cta-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .mission-visual {
    min-height: 440px;
  }

  .cta-logo {
    justify-self: start;
  }

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

  .architecture,
  .flow,
  .strip,
  .hero-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-proof div:nth-child(2) {
    border-right: 0;
  }

  .hero-proof div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .flow-step::after {
    display: none;
  }
}

@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: 78px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.98);
    padding: 14px 20px 22px;
    box-shadow: var(--shadow);
  }

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

  .nav-links a {
    border-radius: var(--radius);
    padding: 14px 12px;
  }

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

  .nav-actions .btn {
    display: none;
  }

  .section-header {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 920px) {
  .grid.three {
    grid-template-columns: 1fr;
  }
}

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

  .brand img {
    width: 104px;
  }

  .nav-wrap {
    min-height: 70px;
  }

  .nav-links {
    inset: 70px 0 auto;
  }

  .hero,
  .page-hero {
    padding: 54px 0 50px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 11vw, 3.35rem);
    line-height: 1.02;
  }

  .page-hero h1 {
    font-size: clamp(2.05rem, 10vw, 3.2rem);
  }

  .section {
    padding: 62px 0;
  }

  .program-panel {
    padding: 22px;
  }

  .program-panel-header,
  .program-facts div {
    grid-template-columns: 1fr;
    display: grid;
  }

  .program-panel-header {
    gap: 10px;
    align-items: start;
  }

  .architecture,
  .flow,
  .strip,
  .hero-proof,
  .grid.two,
  .grid.four,
  .grid.five,
  .metric-grid,
  .system-row,
  .form-grid,
  .footer-links,
  .stack-layer {
    grid-template-columns: 1fr;
  }

  .hero-proof div,
  .hero-proof div:nth-child(2) {
    border-right: 0;
  }

  .hero-proof div {
    border-bottom: 1px solid var(--line);
  }

  .hero-proof div:last-child {
    border-bottom: 0;
  }

  .card,
  .card-body,
  .contact-panel,
  .system-panel {
    padding: 22px;
  }

  .card.media-card {
    padding: 0;
  }

  .hero-showcase img,
  .page-badge.visual-badge img,
  .card-media {
    aspect-ratio: 4 / 3;
  }

  .showcase-info {
    padding: 22px;
  }

  .page-badge.visual-badge p {
    padding-left: 14px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
