:root {
  color-scheme: dark;
  --bg: #06100d;
  --bg-2: #0a1714;
  --panel: rgba(10, 24, 20, 0.74);
  --panel-strong: rgba(11, 29, 24, 0.92);
  --panel-soft: rgba(216, 240, 182, 0.08);
  --line: rgba(176, 218, 122, 0.24);
  --line-strong: rgba(215, 239, 174, 0.42);
  --leaf: #a8d65c;
  --leaf-deep: #5c8f31;
  --gold: #e5c776;
  --copper: #c58752;
  --mist: #f4f8ee;
  --soft: #d8e4d2;
  --muted: #93a69b;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
  --shadow-soft: 0 18px 55px rgba(0, 0, 0, 0.28);
  --radius-xl: 2rem;
  --radius-lg: 1.25rem;
  --radius-md: 0.9rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--mist);
  background:
    radial-gradient(circle at 13% 10%, rgba(168, 214, 92, 0.12), transparent 28rem),
    radial-gradient(circle at 84% 8%, rgba(229, 199, 118, 0.09), transparent 34rem),
    linear-gradient(135deg, #06100d 0%, #0a1518 46%, #071c15 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.33;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(168, 214, 92, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 214, 92, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 88%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 18%, rgba(255, 255, 255, 0.025) 18% 18.2%, transparent 18.2% 42%, rgba(168, 214, 92, 0.035) 42% 42.2%, transparent 42.2%),
    radial-gradient(circle at var(--cursor-x, 50%) var(--cursor-y, 20%), rgba(168, 214, 92, 0.1), transparent 18rem);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img {
  max-width: 100%;
}

.page-shell {
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid transparent;
  background: rgba(6, 16, 13, 0.64);
  backdrop-filter: blur(24px);
  transition: background 180ms ease, border-color 180ms ease;
}

.site-header[data-elevated="true"] {
  border-color: var(--line);
  background: rgba(6, 16, 13, 0.94);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 3.1rem;
  height: 3.1rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(216, 240, 182, 0.28);
  border-radius: 1rem;
  color: #e7f8d2;
  background:
    linear-gradient(145deg, rgba(71, 119, 52, 0.94), rgba(20, 47, 34, 0.94)),
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.22), transparent 34%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 16px 34px rgba(0, 0, 0, 0.32);
}

.brand-mark svg {
  width: 1.95rem;
  height: 1.95rem;
}

.brand strong,
.site-footer strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  line-height: 1;
}

.brand small,
.site-footer span,
.eyebrow,
.section-kicker,
.label,
.panel-label,
.card-number {
  font-family: "JetBrains Mono", Consolas, "Courier New", monospace;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.brand small,
.site-footer span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.56rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.72rem 0.92rem;
  color: #c9d7cf;
  font-size: 0.84rem;
  font-weight: 850;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-links a:hover {
  color: var(--mist);
  border-color: var(--line);
  background: rgba(168, 214, 92, 0.08);
  transform: translateY(-1px);
}

.nav-links .nav-launch {
  margin-left: 0.35rem;
  color: #06100d;
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #f4f8d5, var(--leaf) 55%, var(--leaf-deep));
  box-shadow: 0 12px 34px rgba(168, 214, 92, 0.2);
}

.nav-toggle {
  display: none;
  width: 2.85rem;
  height: 2.85rem;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: rgba(10, 24, 20, 0.86);
}

.nav-toggle span {
  display: block;
  width: 1.12rem;
  height: 2px;
  margin: 0.26rem auto;
  background: var(--mist);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(21rem, 28rem);
  gap: clamp(1.4rem, 4vw, 4rem);
  min-height: 96svh;
  align-items: center;
  overflow: hidden;
  padding: 8.2rem clamp(1rem, 5vw, 5rem) 6.2rem;
}

.hero-media,
.hero-media img,
.hero-scrim,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(6, 16, 13, 0.98) 0%, rgba(6, 16, 13, 0.88) 34%, rgba(6, 16, 13, 0.28) 72%, rgba(6, 16, 13, 0.72) 100%),
    linear-gradient(0deg, #06100d 0%, rgba(6, 16, 13, 0.72) 13%, transparent 44%, rgba(6, 16, 13, 0.36) 100%);
}

.hero-grid {
  opacity: 0.42;
  background:
    linear-gradient(rgba(168, 214, 92, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 214, 92, 0.06) 1px, transparent 1px);
  background-size: 82px 82px;
  mask-image: radial-gradient(circle at 72% 42%, black, transparent 54%);
}

.hero-content,
.hero-console,
.hero-bottom {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 55rem;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--leaf);
  font-size: 0.72rem;
  font-weight: 950;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 11.6ch;
  margin-bottom: 1.35rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.7rem, 8vw, 8.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.25rem, 2vw, 1.58rem);
  line-height: 1.12;
}

p {
  color: #b8c8bd;
  line-height: 1.75;
}

.hero-copy {
  max-width: 47rem;
  color: #d0ded2;
  font-size: clamp(1.08rem, 1.7vw, 1.38rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.88rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  font-weight: 950;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

.button.primary {
  color: #06100d;
  background: linear-gradient(135deg, #f5fad7, var(--leaf) 52%, #5f9432);
  box-shadow: 0 20px 64px rgba(168, 214, 92, 0.25);
}

.button.primary:hover {
  box-shadow: 0 24px 72px rgba(168, 214, 92, 0.34);
}

.button.secondary {
  border: 1px solid rgba(244, 248, 238, 0.2);
  color: var(--mist);
  background: rgba(6, 16, 13, 0.56);
  backdrop-filter: blur(12px);
}

.button.large {
  min-width: 10.75rem;
  min-height: 3.55rem;
}

.hero-console {
  align-self: center;
  min-width: 0;
  border: 1px solid rgba(216, 240, 182, 0.28);
  border-radius: var(--radius-xl);
  padding: 1rem;
  background:
    linear-gradient(160deg, rgba(10, 24, 20, 0.82), rgba(5, 14, 13, 0.62)),
    radial-gradient(circle at 12% 0%, rgba(168, 214, 92, 0.18), transparent 22rem);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.console-topline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.console-topline strong {
  margin-left: auto;
  color: var(--gold);
  font-size: 0.68rem;
}

.status-dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: var(--leaf);
  box-shadow: 0 0 0 0 rgba(168, 214, 92, 0.48);
  animation: pulse 2.4s infinite;
}

.console-card {
  border: 1px solid rgba(168, 214, 92, 0.16);
  border-radius: 1.05rem;
  padding: 1rem;
  background: rgba(6, 16, 13, 0.58);
}

.console-card + .console-card {
  margin-top: 0.72rem;
}

.console-card.active {
  border-color: rgba(229, 199, 118, 0.38);
  background: linear-gradient(135deg, rgba(168, 214, 92, 0.16), rgba(6, 16, 13, 0.64));
}

.label,
.panel-label,
.card-number {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--leaf);
  font-size: 0.62rem;
  font-weight: 950;
}

.console-card strong {
  display: block;
  font-size: 1.08rem;
}

.console-card small {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  line-height: 1.5;
}

.console-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.62rem;
  margin-top: 0.85rem;
}

.console-metrics span {
  display: grid;
  min-height: 5.15rem;
  align-content: center;
  border: 1px solid rgba(168, 214, 92, 0.15);
  border-radius: 1rem;
  padding: 0.75rem;
  color: var(--muted);
  background: rgba(6, 16, 13, 0.48);
  font-size: 0.68rem;
}

.console-metrics strong {
  color: var(--mist);
  font-size: 1.6rem;
}

.hero-bottom {
  position: absolute;
  right: clamp(1rem, 5vw, 5rem);
  bottom: 1.5rem;
  left: clamp(1rem, 5vw, 5rem);
  overflow: hidden;
  border: 1px solid rgba(168, 214, 92, 0.22);
  border-radius: 999px;
  background: rgba(6, 16, 13, 0.62);
  backdrop-filter: blur(14px);
}

.ticker {
  display: flex;
  width: max-content;
  gap: 1rem;
  padding: 0.85rem 1rem;
  animation: ticker 28s linear infinite;
}

.ticker span {
  position: relative;
  color: #d6e4d4;
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
}

.ticker span::before {
  content: "";
  display: inline-block;
  width: 0.42rem;
  height: 0.42rem;
  margin-right: 0.7rem;
  border-radius: 999px;
  background: var(--gold);
  vertical-align: 0.08rem;
}

.section {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(4.5rem, 8vw, 7.4rem) 0;
}

.section-kicker {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 950;
}

.mission {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 2rem;
  align-items: start;
}

.mission-copy h2 {
  max-width: 15ch;
}

.mission-copy p {
  max-width: 45rem;
  font-size: 1.08rem;
}

.mission-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  grid-column: 1 / -1;
}

.mission-stats article,
.os-card,
.timeline-step,
.role-stage,
.trust-board article,
.signal-grid article,
.launch-section {
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(11, 29, 24, 0.9), rgba(6, 16, 13, 0.72)),
    radial-gradient(circle at 90% 0%, rgba(168, 214, 92, 0.1), transparent 18rem);
  box-shadow: var(--shadow-soft);
}

.mission-stats article {
  min-height: 10.5rem;
  border-radius: var(--radius-lg);
  padding: 1.2rem;
}

.mission-stats strong,
.mission-stats span {
  display: block;
}

.mission-stats strong {
  margin-bottom: 0.75rem;
  color: var(--mist);
  font-size: 1.25rem;
}

.mission-stats span {
  color: var(--muted);
  line-height: 1.65;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading h2 {
  max-width: 13ch;
}

.section-heading p:last-child {
  max-width: 36rem;
  margin-bottom: 0.35rem;
}

.os-section {
  width: min(1280px, calc(100% - 2rem));
}

.os-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.os-card {
  min-height: 18rem;
  border-radius: var(--radius-lg);
  padding: clamp(1.2rem, 3vw, 1.7rem);
}

.os-card.highlight {
  grid-row: span 2;
  display: flex;
  min-height: 37rem;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(160deg, rgba(20, 54, 37, 0.92), rgba(6, 16, 13, 0.76)),
    url("./assets/agrivesta-hero.png");
  background-position: center;
  background-size: cover;
  box-shadow: var(--shadow);
}

.os-card h3 {
  max-width: 16ch;
  font-size: clamp(1.6rem, 3vw, 3.1rem);
}

.os-card:not(.highlight) h3 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.workflow {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 2rem;
  align-items: start;
}

.workflow-intro {
  position: sticky;
  top: 7rem;
}

.workflow-intro h2 {
  max-width: 10ch;
}

.timeline {
  display: grid;
  gap: 0.75rem;
}

.timeline-step {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 1rem;
  min-height: 8rem;
  align-items: center;
  border-radius: var(--radius-lg);
  padding: 1.05rem;
}

.timeline-step span {
  display: grid;
  width: 3.3rem;
  height: 3.3rem;
  place-items: center;
  border: 1px solid rgba(244, 248, 238, 0.18);
  border-radius: 999px;
  color: #06100d;
  background: linear-gradient(135deg, #eff8d8, var(--leaf));
  font-weight: 950;
}

.timeline-step h3 {
  margin-bottom: 0.35rem;
}

.timeline-step p {
  margin-bottom: 0;
}

.roles {
  width: min(1120px, calc(100% - 2rem));
}

.roles-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.3rem;
}

.roles-heading h2 {
  max-width: 12ch;
}

.role-stage {
  border-radius: var(--radius-xl);
  padding: 1rem;
  overflow: hidden;
}

.role-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.8rem;
}

.role-tabs button {
  min-height: 3rem;
  border: 1px solid rgba(168, 214, 92, 0.18);
  border-radius: 999px;
  color: var(--soft);
  background: rgba(6, 16, 13, 0.66);
  font-weight: 900;
  cursor: pointer;
}

.role-tabs button[aria-selected="true"] {
  color: #06100d;
  background: linear-gradient(135deg, #f4f8d5, var(--leaf));
}

.role-panel {
  min-height: 23rem;
  border: 1px solid rgba(168, 214, 92, 0.16);
  border-radius: 1.45rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  background:
    linear-gradient(135deg, rgba(6, 16, 13, 0.58), rgba(6, 16, 13, 0.2)),
    radial-gradient(circle at 84% 18%, rgba(229, 199, 118, 0.12), transparent 22rem);
}

.role-panel h3 {
  max-width: 19ch;
  font-size: clamp(2rem, 4vw, 4.35rem);
  line-height: 0.98;
}

.role-panel p {
  max-width: 46rem;
  font-size: 1.08rem;
}

.role-panel a {
  display: inline-flex;
  margin-top: 1rem;
  border-bottom: 1px solid rgba(168, 214, 92, 0.56);
  color: var(--leaf);
  font-weight: 950;
}

.trust {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.2rem;
  align-items: start;
}

.trust-copy h2 {
  max-width: 12ch;
}

.trust-board {
  display: grid;
  gap: 0.85rem;
}

.trust-board article {
  border-radius: var(--radius-lg);
  padding: 1.3rem;
}

.trust-board span {
  display: inline-flex;
  margin-bottom: 1rem;
  border: 1px solid rgba(168, 214, 92, 0.28);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  color: var(--leaf);
  font-size: 0.72rem;
  font-weight: 950;
}

.trust-board p {
  margin-bottom: 0;
}

.investor-signal {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1rem;
  align-items: start;
}

.investor-signal h2 {
  max-width: 13ch;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.signal-grid article {
  min-height: 11rem;
  border-radius: var(--radius-lg);
  padding: 1.2rem;
}

.signal-grid strong,
.signal-grid span {
  display: block;
}

.signal-grid strong {
  margin-bottom: 0.8rem;
  color: var(--mist);
  font-size: 1.35rem;
}

.signal-grid span {
  color: var(--muted);
  line-height: 1.65;
}

.launch-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  width: min(1120px, calc(100% - 2rem));
  align-items: center;
  margin: 2rem auto 0;
  border-color: rgba(216, 240, 182, 0.36);
  border-radius: 2.25rem;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    linear-gradient(135deg, rgba(17, 45, 31, 0.96), rgba(6, 16, 13, 0.82)),
    radial-gradient(circle at 90% 30%, rgba(229, 199, 118, 0.16), transparent 25rem);
  box-shadow: var(--shadow);
}

.launch-section h2 {
  max-width: 12ch;
}

.launch-section p {
  max-width: 44rem;
  margin-bottom: 0;
}

.launch-button {
  min-width: 13rem;
  min-height: 4rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.2rem 0 3rem;
  color: var(--muted);
}

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

.footer-actions {
  display: flex;
  align-items: center;
  gap: 1.05rem;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(216, 240, 182, 0.18);
  border-radius: 999px;
  padding: 0.38rem;
  background:
    linear-gradient(135deg, rgba(11, 29, 24, 0.76), rgba(6, 16, 13, 0.54)),
    radial-gradient(circle at 12% 0%, rgba(229, 199, 118, 0.12), transparent 10rem);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
}

.social-links a {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(168, 214, 92, 0.16);
  border-radius: 999px;
  color: #d9ead2;
  background: rgba(6, 16, 13, 0.5);
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.social-links a:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 199, 118, 0.42);
  color: #06100d;
  background: linear-gradient(135deg, #f6f9dc, var(--leaf));
  box-shadow: 0 12px 32px rgba(168, 214, 92, 0.2);
}

.social-links svg {
  width: 1.18rem;
  height: 1.18rem;
  fill: currentColor;
}

.footer-links {
  display: flex;
  gap: 1rem;
  font-weight: 900;
}

.footer-links a:last-child {
  color: var(--leaf);
}

.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(168, 214, 92, 0.46);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(168, 214, 92, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(168, 214, 92, 0);
  }
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@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;
  }
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 7rem;
  }

  .hero-content {
    padding-top: 4rem;
  }

  .hero-console {
    max-width: 43rem;
  }

  .mission,
  .section-heading,
  .workflow,
  .trust,
  .investor-signal,
  .launch-section {
    grid-template-columns: 1fr;
  }

  .workflow-intro {
    position: static;
  }

  .os-grid {
    grid-template-columns: 1fr;
  }

  .os-card.highlight {
    grid-row: auto;
    min-height: 28rem;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 5rem;
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    padding: 0.75rem;
    background: var(--panel-strong);
    box-shadow: var(--shadow);
  }

  .site-header[data-open="true"] .nav-links {
    display: flex;
  }

  .nav-links .nav-launch {
    margin-left: 0;
  }

  .mission-stats,
  .role-tabs {
    grid-template-columns: 1fr;
  }

  .roles-heading {
    display: block;
  }

  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(6, 16, 13, 0.96), rgba(6, 16, 13, 0.62)),
      linear-gradient(0deg, #06100d 0%, rgba(6, 16, 13, 0.68) 24%, transparent 70%);
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0.8rem;
  }

  .brand small {
    display: none;
  }

  .hero {
    display: block;
    max-width: 100vw;
    padding-inline: 1rem;
  }

  .hero-content,
  .hero-console {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
    overflow: hidden;
  }

  .hero-console {
    margin-top: 1.4rem;
  }

  .eyebrow {
    max-width: 100%;
    font-size: 0.62rem;
    line-height: 1.7;
    letter-spacing: 0.18em;
    overflow-wrap: anywhere;
  }

  h1 {
    max-width: 7.8ch;
    font-size: clamp(2.95rem, 13vw, 3.75rem);
    line-height: 0.94;
  }

  .hero-copy {
    width: calc(100vw - 2rem);
    max-width: 100%;
    font-size: 1rem;
  }

  .hero-actions,
  .site-footer {
    display: grid;
  }

  .site-footer {
    align-items: start;
  }

  .footer-actions {
    display: grid;
    justify-items: start;
  }

  .social-links {
    max-width: 100%;
    flex-wrap: wrap;
    border-radius: 1rem;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .hero-actions .button {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
  }

  .launch-section {
    overflow: hidden;
    padding: clamp(1.5rem, 7vw, 2rem);
  }

  .launch-section .button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .console-metrics,
  .signal-grid {
    grid-template-columns: 1fr;
  }

  .console-topline {
    flex-wrap: wrap;
  }

  .console-topline strong {
    margin-left: 0;
  }

  .timeline-step {
    grid-template-columns: 1fr;
  }

  .hero-bottom {
    border-radius: 1rem;
  }
}
