@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('/fonts/manrope-variable.woff2') format('woff2');
}

:root {
  color-scheme: dark;
  font-family: Manrope, Arial, sans-serif;
  font-synthesis: none;
  color: #f1f5ff;
  background: var(--background);
  --background: #1b2d45;
  --surface: #283e58;
  --text: #f4f7fc;
  --muted: #d1ddeb;
  --blue: #81b2ff;
  --line: #a9c6ff30;
  --accent: #8bb7ff;
  --accent-rgb: 139, 183, 255;
  --accent-solid: #2766d8;
  --accent-border: #528fee;
  --card-start: #254e7b;
  --card-end: #223c5a;
  --tag-background: #2457a0;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}

body {
  margin: 0;
  min-width: 280px;
  font-weight: 500;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection {
  color: #fff;
  background: #375caf;
}

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

button {
  font: inherit;
}

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

button, summary {
  cursor: pointer;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid #a7d1ff;
  outline-offset: 6px;
}

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

img {
  height: auto;
}

[hidden] {
  display: none !important;
}

h1, h2, h3, p, dl, dd {
  margin: 0;
}

h1, h2, h3 {
  font-weight: 700;
  text-wrap: balance;
}

.container {
  width: min(100% - 80px, 1200px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 24px;
  z-index: 100;
  padding: 12px 20px;
  color: #080b14;
  background: #fff;
  border-radius: 6px;
}

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

/* One icon family, with a restrained palette for the different domains. */
.tone-blue {
  --accent: #8ebeff;
  --accent-rgb: 139, 183, 255;
  --accent-solid: #2766d8;
  --accent-border: #528fee;
  --card-start: #254e7b;
  --card-end: #223c5a;
  --tag-background: #2457a0;
}

.tone-cyan {
  --accent: #64e7ed;
  --accent-rgb: 109, 216, 228;
  --accent-solid: #087b87;
  --accent-border: #27a9b9;
  --card-start: #205562;
  --card-end: #213e50;
  --tag-background: #096977;
}

.tone-violet {
  --accent: #c3a6ff;
  --accent-rgb: 180, 160, 255;
  --accent-solid: #7542cf;
  --accent-border: #a07aef;
  --card-start: #48396e;
  --card-end: #323854;
  --tag-background: #63419b;
}

.icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.icon-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  color: #fff;
  background: var(--accent-solid);
  border: 1px solid var(--accent-border);
  border-radius: 16px;
  box-shadow: 0 5px 14px #09152b30;
}

.icon-badge .icon {
  stroke-width: 1.8;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #1b2d45ed;
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.brand img {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.site-navigation {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}

.site-navigation a {
  color: #e0e9f5;
  transition: color 160ms;
}

.site-navigation a:hover {
  color: #fff;
}

.site-navigation .nav-accent {
  padding: 9px 20px;
  margin-left: 8px;
  border: 1px solid #739ee044;
  border-radius: 8px;
  color: #d5e6ff;
  background: #28436588;
}

/* Hero: an original nebula and star field, without external image requests. */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--background);
}

.hero-atmosphere {
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-nebula {
  position: absolute;
  inset: -30px -60px 0;
  background: url('/images/ambient-field.svg') center 40% / cover no-repeat;
  mix-blend-mode: screen;
  opacity: .85;
}

.hero-atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 35%, #28496c33 10%, transparent 55%), linear-gradient(0deg, #1b2d45, transparent 25% 80%, #1b2d4588);
}

.hero-horizon {
  position: absolute;
  bottom: -120px;
  left: 50%;
  width: 1400px;
  height: 180px;
  transform: translateX(-50%);
  border-top: 1px solid #588fe34d;
  border-radius: 50%;
  box-shadow: 0 -14px 80px #246adb18;
}

.hero-content {
  padding-top: 64px;
  padding-bottom: 40px;
  text-align: center;
}

.eyebrow {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 7px 15px;
  margin-bottom: 24px;
  border: 1px solid #7099e13d;
  border-radius: 30px;
  color: #a9cafa;
  background: #1b304bb3;
  font-size: 11px;
  letter-spacing: .09em;
}

.hero-eyebrow .icon {
  width: 20px;
  height: 20px;
}

h1 {
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -.045em;
}

.hero-name {
  display: block;
  font-size: clamp(76px, 8vw, 104px);
  line-height: 1.04;
  letter-spacing: -.065em;
}

.hero-promise {
  display: block;
  margin-top: 12px;
  font-size: clamp(34px, 3.5vw, 48px);
  line-height: 1.2;
}

.gradient-text {
  color: #a7cdff;
  background: linear-gradient(110deg, #eff6ff 20%, #93c4ff 52%, #7b92f4 80%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.muted-heading {
  color: #a7caff;
}

.hero-description {
  max-width: 780px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.9;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 600;
  transition: background 180ms, border-color 180ms, box-shadow 180ms;
}

.button-primary {
  color: #fff;
  background: linear-gradient(110deg, #3069de, #3a7bea);
  border-color: #78a7ff77;
  box-shadow: 0 5px 35px #2d6ce530, inset 0 1px #ffffff26;
}

.button-primary:hover {
  background: #417fef;
  box-shadow: 0 5px 40px #2d6ce54d;
}

.button-secondary {
  color: #d7e0ef;
  background: #2c4460;
  border-color: #7187b044;
}

.button-secondary:hover {
  background: #304b69;
  border-color: #7298cd;
}

.hero-caption {
  margin-top: 22px;
  font-size: 13px;
  color: #bccde2;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 940px;
  margin: 36px auto 0;
  padding-top: 26px;
  border-top: 1px solid #92b5ef22;
}

.hero-metrics > div {
  display: flex;
  flex-direction: column-reverse;
  gap: 9px;
  padding-inline: 18px;
}

.hero-metrics > div + div {
  border-left: 1px solid #92b5ef22;
}

.hero-metrics dt {
  color: #bccde2;
  font-size: 12px;
  line-height: 1.7;
}

.hero-metrics dd {
  color: var(--accent);
  font-size: 48px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.metric-prefix {
  font-size: .4em;
  font-weight: 500;
  letter-spacing: 0;
}

.metric-unit {
  font-size: .7em;
}

.hero-metrics-note {
  margin-top: 23px;
  color: #bccde2;
  font-size: 12px;
}

.hero-metrics-note a {
  color: #aec5e6;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Sections and atmosphere */
.section {
  position: relative;
  isolation: isolate;
  padding-block: 100px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 48px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

h2 {
  margin-top: 17px;
  font-size: clamp(30px, 3.1vw, 44px);
  line-height: 1.25;
  letter-spacing: -.035em;
}

.section-heading > p:last-child:not(.eyebrow) {
  max-width: 730px;
  margin: 23px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
  text-wrap: pretty;
}

h3 {
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -.02em;
}

.project-section::before, .research-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 10% 55%, #173e7b24, transparent 55%), radial-gradient(ellipse at 95% 65%, #5035791a, transparent 50%);
}

/* Domains */
.application-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.application-card {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 27px 23px;
  border: 1px solid var(--accent-border);
  border-radius: 16px;
  background: linear-gradient(145deg, var(--card-start), var(--card-end));
  transition: transform 200ms, border-color 200ms, box-shadow 200ms;
}

.application-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 12px 28px #09152b40;
}

.application-card .icon-badge {
  margin-bottom: 23px;
}

.application-card h3 {
  font-size: 18px;
  text-wrap: auto;
}

.application-card > p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.application-note {
  margin-top: 24px;
  color: #bccde2;
  font-size: 13px;
  text-align: center;
}

.domain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: auto 0 0;
  padding: 22px 0 0;
  list-style: none;
}

.domain-tags li {
  padding: 4px 8px;
  border: 1px solid var(--accent-border);
  border-radius: 5px;
  background: var(--tag-background);
  color: #f5f8ff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

/* A continuous, staggered field of original tool logos. */
.tools-section {
  padding: 20px 0 82px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 60%, #1a31552b, transparent 65%);
}

.tools-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.tools-heading h2 {
  margin-top: 14px;
  font-size: clamp(25px, 3.2vw, 38px);
}

.tools-description {
  max-width: 650px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
}

.tools-pause {
  flex-shrink: 0;
  padding: 9px 13px;
  border: 1px solid #a9c6ff30;
  border-radius: 7px;
  background: #22364f;
  color: #b9cbe5;
  font-size: 13px;
}

.tools-pause:hover {
  border-color: #81b2ff80;
  color: #fff;
}

.tools-belt {
  padding-block: 20px;
}

.tools-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 0;
  padding: 18px 24px;
  list-style: none;
}

/* Kali tool icons share a square canvas; keep the original proportions. */
.tool-item {
  flex: 0 0 176px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 112px;
  transform: translateY(-7px);
}

.tool-item:nth-child(3n + 2) {
  transform: translateY(10px);
}

.tool-item:nth-child(3n) {
  transform: translateY(-2px);
}

.tool-logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

/* The retained httpx wordmark is black; use a light rendering here. */
.tool-logo-monochrome {
  filter: invert(1);
}

.tool-name {
  color: #a9bad4;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.03em;
  text-align: center;
}

.tools-ready .tools-belt {
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.tools-ready .tools-track {
  display: flex;
  width: max-content;
  animation: tool-drift 127.5s linear infinite;
}

.tools-ready .tools-group {
  flex-wrap: nowrap;
  justify-content: flex-start;
  flex-shrink: 0;
  gap: 32px;
  padding: 18px 32px 18px 0;
}

.tools-row:nth-child(2) .tools-track {
  animation-duration: 150s;
  animation-delay: -38s;
}

.tools-row:nth-child(3) .tools-track {
  animation-duration: 138s;
  animation-delay: -19s;
}

.tools-section.is-paused .tools-track {
  animation-play-state: paused;
}

@keyframes tool-drift {
  to { transform: translateX(calc(-1 * var(--tool-loop-width))); }
}

@media (max-width: 760px) {
  .tools-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .tools-section { padding-bottom: 45px; }
  .tools-description { font-size: 16px; }
  .tool-item { flex-basis: 144px; width: 144px; height: 100px; }
  .tool-logo { width: 80px; height: 80px; }
  .tool-name { font-size: 16px; }
}

/* Workflow */
.workflow-section {
  padding-top: 40px;
  padding-bottom: 95px;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.workflow li {
  position: relative;
}

.workflow li:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 27px;
  left: 105px;
  right: -15px;
  height: 1px;
  background: linear-gradient(90deg, #587dba66, #40516b22);
}

.step-marker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 25px;
}

.step-number {
  color: #bccde2;
  font-size: 12px;
  letter-spacing: .05em;
}

.workflow h3 {
  min-height: 48px;
  font-size: 18px;
}

.workflow p {
  margin-top: 13px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

/* Technology: abstract illustration, not a diagram of the memory model. */
.technology-section {
  border-block: 1px solid var(--line);
  background: radial-gradient(ellipse at 20% 50%, #1c458940, transparent 58%), radial-gradient(ellipse at 85% 70%, #35305c33, transparent 60%), #20344e;
  padding-block: 76px;
}

.technology-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}

.technology-art {
  position: relative;
  min-width: 0;
  padding-block: 15px;
}

.technology-art img {
  width: 100%;
  filter: drop-shadow(0 0 34px #467bdb22);
}

.art-label {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  color: #bccde2;
  font-size: 9px;
  letter-spacing: .25em;
  white-space: nowrap;
}

.art-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: #678dc344;
  border-style: solid;
}

.art-corner-top {
  top: 25px;
  left: 12px;
  border-width: 1px 0 0 1px;
}

.art-corner-bottom {
  bottom: 25px;
  right: 12px;
  border-width: 0 1px 1px 0;
}

.technology-copy h2 {
  margin-bottom: 26px;
  font-size: clamp(27px, 2.5vw, 35px);
}

.technology-copy > p:not(.eyebrow) {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
}

.text-link {
  display: inline-block;
  margin-top: 28px;
  padding-bottom: 4px;
  color: #9ac5ff;
  border-bottom: 1px solid #7096cf66;
  font-size: 15px;
  font-weight: 600;
}

.text-link:hover {
  color: #fff;
  border-color: #b6d5ff;
}

/* Relative experimental effects */
.research-section::before {
  background: radial-gradient(ellipse at 75% 25%, #4332752b, transparent 50%), radial-gradient(ellipse at 15% 75%, #1649722e, transparent 55%);
}

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

.metric-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--accent-border);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--card-start), var(--card-end));
}

.metric-card-top {
  display: flex;
  align-items: center;
  gap: 13px;
}

.metric-card .icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.metric-card .icon {
  width: 25px;
  height: 25px;
}

.metric-context {
  color: #bccde2;
  font-size: 13px;
}

.metric-value {
  margin-block: 23px 13px;
  color: var(--accent);
  font-size: clamp(48px, 4.8vw, 68px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.065em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.metric-value-range {
  letter-spacing: -.07em;
}

.metric-value span {
  margin-left: 2px;
  font-size: .63em;
}

.metric-card h3 {
  font-size: 18px;
  text-wrap: auto;
}

.metric-card > p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.research-conditions {
  max-width: 850px;
  margin: 20px auto 0;
  padding: 17px 22px;
  border: 1px solid #a5bff31c;
  border-radius: 10px;
  background: #283e58;
}

.research-conditions summary {
  position: relative;
  padding-right: 25px;
  color: #afc6e7;
  list-style: none;
  font-size: 15px;
  font-weight: 500;
}

.research-conditions summary::-webkit-details-marker {
  display: none;
}

.research-conditions summary::before, .research-conditions summary::after {
  content: '';
  position: absolute;
  top: 10px;
  right: 0;
  width: 10px;
  height: 1px;
  background: #95b8e8;
}

.research-conditions summary::after {
  transform: rotate(90deg);
}

.research-conditions[open] summary::after {
  display: none;
}

.research-conditions-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

/* Project development */
.development-section {
  padding-block: 75px;
  border-block: 1px solid var(--line);
  background: linear-gradient(120deg, #29415c, #223750);
}

.development-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.development-layout .section-heading {
  margin-bottom: 0;
}

.development-layout h2 {
  font-size: 34px;
}

.development-copy > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.development-copy > p + p {
  margin-top: 18px;
}

.development-stage {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 27px;
  color: #bccde2;
  font-size: 13px;
}

.development-stage > span {
  border: 1px solid #557bb944;
  border-radius: 5px;
  padding: 4px 10px;
  color: #a6caff;
  background: #243b55;
}

/* Funding remains immediately after the hero; logos retain original colours. */
.funding-section {
  padding-block: 30px;
  background: #fff;
  color: #192239;
  color-scheme: light;
  border-bottom: 1px solid #e3e8f0;
}

.funding-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 70px;
}

.funding-copy h2 {
  margin: 0 0 12px;
  color: #192239;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -.015em;
}

.funding-copy p {
  color: #505d74;
  font-size: 14px;
  line-height: 1.85;
}

.funding-logos {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
}

.funding-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 14px 24px;
  border-radius: 10px;
  background: #fff;
  color-scheme: light;
}

.funding-logos img {
  width: 100%;
  max-width: 150px;
  max-height: 85px;
  object-fit: contain;
}

.site-footer {
  padding-block: 28px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand {
  font-size: 15px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
}

.footer-inner p, .footer-inner small {
  color: #bccde2;
  font-size: 12px;
}

/* Progressive enhancement for navigation */
.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  border: 1px solid #6789c33d;
  border-radius: 7px;
  padding: 9px 12px;
  color: #d2dced;
  background: #22364f;
  font-size: 12px;
}

.menu-toggle-icon {
  position: relative;
  width: 16px;
  height: 10px;
  border-block: 1px solid currentColor;
}

.menu-toggle[aria-expanded='true'] .menu-toggle-icon {
  border-color: transparent;
}

.menu-toggle[aria-expanded='true'] .menu-toggle-icon::before, .menu-toggle[aria-expanded='true'] .menu-toggle-icon::after {
  content: '';
  position: absolute;
  inset: 4px 0 auto;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded='true'] .menu-toggle-icon::after {
  transform: rotate(-45deg);
}

@media (min-width: 1600px) {
  .hero-content {
    padding-top: 90px;
    padding-bottom: 55px;
  }
}

@media (max-width: 1050px) {
  .container {
    width: min(100% - 48px, 1200px);
  }
  .site-navigation {
    gap: 20px;
  }
  .site-navigation .nav-accent {
    margin-left: 0;
  }
  .application-grid, .workflow, .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workflow li:nth-child(2)::after {
    display: none;
  }
  .workflow h3 {
    min-height: 0;
  }
  .technology-layout {
    gap: 28px;
  }
  .development-layout {
    gap: 40px;
  }
  .funding-layout {
    gap: 36px;
  }
  .funding-logos a {
    padding: 14px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 90px;
  }
  .container {
    width: calc(100% - 40px);
  }
  .header-inner {
    min-height: 72px;
    flex-wrap: wrap;
    gap: 0;
    padding-block: 15px;
  }
  .brand {
    font-size: 19px;
    gap: 9px;
  }
  .site-header .brand img {
    width: 40px;
    height: 40px;
  }
  .menu-toggle:not([hidden]) {
    display: flex;
  }
  .site-navigation {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 17px;
    font-size: 14px;
  }
  .site-navigation .nav-accent {
    padding: 6px 10px;
  }
  .js-enabled .site-navigation {
    display: none;
  }
  .js-enabled .site-navigation.is-open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 18px;
  }
  .js-enabled .site-navigation a {
    padding: 14px 4px;
    border-top: 1px solid var(--line);
  }
  .js-enabled .site-navigation .nav-accent {
    margin-top: 8px;
    text-align: center;
    border: 1px solid #485b7b;
  }
  .hero-content {
    padding-top: 52px;
    padding-bottom: 30px;
  }
  .hero-nebula {
    inset: 0 -170px;
  }
  .hero-eyebrow {
    font-size: 11px;
    letter-spacing: .065em;
    padding: 7px 12px;
    margin-bottom: 22px;
  }
  .hero-name {
    font-size: 78px;
  }
  .hero-promise {
    max-width: 520px;
    margin: 14px auto 0;
    font-size: clamp(28px, 5.6vw, 40px);
  }
  .hero-description {
    margin-top: 23px;
    font-size: 17px;
    max-width: 540px;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-caption {
    font-size: 13px;
  }
  .hero-metrics {
    margin-top: 28px;
    padding-top: 24px;
  }
  .hero-metrics > div {
    padding-inline: 10px;
  }
  .hero-metrics dd {
    font-size: 37px;
  }
  .hero-metrics dt {
    font-size: 12px;
    max-width: 130px;
    margin-inline: auto;
  }
  .hero-metrics-note {
    font-size: 12px;
  }
  .section {
    padding-block: 66px;
  }
  .section-heading {
    margin-bottom: 34px;
  }
  h2 {
    font-size: 32px;
  }
  .section-heading > p:last-child:not(.eyebrow) {
    font-size: 16px;
    margin-top: 20px;
  }
  .eyebrow {
    font-size: 12px;
  }
  .application-grid, .metric-grid {
    gap: 14px;
  }
  .application-card, .metric-card {
    padding: 24px;
  }
  .application-card h3 {
    font-size: 18px;
  }
  .application-card > p {
    font-size: 15px;
  }
  .workflow-section {
    padding-top: 15px;
  }
  .workflow {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .workflow li {
    padding-left: 76px;
  }
  .step-marker {
    position: absolute;
    top: 0;
    left: 0;
    flex-direction: column;
    gap: 8px;
    margin: 0;
  }
  .workflow li:not(:last-child)::after {
    top: 90px;
    left: 27px;
    width: 1px;
    height: calc(100% - 66px);
    background: linear-gradient(#405f96, #24344b33);
  }
  .workflow li:nth-child(2)::after {
    display: block;
  }
  .workflow h3 {
    min-height: 0;
  }
  .workflow p {
    margin-top: 10px;
  }
  .technology-layout, .development-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .technology-copy {
    grid-row: 1;
  }
  .technology-copy h2, .development-layout h2 {
    font-size: 30px;
  }
  .technology-art {
    max-width: 450px;
    width: 100%;
    margin-inline: auto;
  }
  .technology-art img {
    max-height: 340px;
  }
  .metric-value {
    font-size: 48px;
  }
  .metric-card-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .metric-card h3 {
    font-size: 18px;
  }
  .metric-card > p {
    font-size: 15px;
  }
  .research-conditions-copy {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .funding-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .funding-section {
    padding-block: 30px;
  }
  .funding-logos {
    max-width: 450px;
  }
  .footer-inner {
    flex-wrap: wrap;
    gap: 18px;
  }
  .footer-inner p {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 540px) {
  .application-grid, .metric-grid {
    grid-template-columns: 1fr;
  }
  .application-card {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 18px;
    align-items: start;
  }
  .application-card .icon-badge {
    grid-row: 1 / 3;
    margin-bottom: 0;
  }
  .application-card > p {
    grid-column: 2;
    margin-top: 9px;
  }
  .domain-tags {
    grid-column: 1 / -1;
    padding-top: 18px;
  }
  .metric-card-top {
    flex-direction: row;
    align-items: center;
    gap: 13px;
  }
  .metric-value {
    font-size: 62px;
  }
  .metric-card h3 {
    font-size: 18px;
  }
  .metric-card > p {
    font-size: 15px;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 32px);
  }
  .hero-content {
    padding-top: 40px;
  }
  .hero-name {
    font-size: 72px;
  }
  .hero-promise {
    font-size: 30px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .button {
    width: 100%;
  }
  .hero-metrics > div {
    padding-inline: 5px;
  }
  .hero-metrics dd {
    font-size: 31px;
  }
  .hero-metrics dt {
    min-height: 4.8em;
    font-size: 12px;
    line-height: 1.6;
  }
  .metric-prefix {
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
  }
  .hero-metrics dd {
    min-height: 51px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
  }
  .hero-metrics .metric-prefix {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  h2, .technology-copy h2, .development-layout h2 {
    font-size: 28px;
  }
  .application-card, .metric-card {
    padding: 22px;
  }
  .application-card {
    grid-template-columns: 44px minmax(0, 1fr);
    column-gap: 14px;
  }
  .application-card .icon-badge {
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }
  .application-card .icon {
    width: 27px;
    height: 27px;
  }
  .metric-value-range {
    font-size: 54px;
  }
  .development-stage {
    gap: 12px;
  }
  .funding-logos {
    gap: 12px;
  }
  .funding-logos a {
    min-height: 100px;
    padding: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tools-ready .tools-track {
    width: auto;
    animation: none;
  }
  .tools-ready .tools-group {
    min-width: 0;
    flex: 1;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 8px 20px;
  }
  .tools-group[aria-hidden="true"], .tools-pause {
    display: none;
  }
  .tools-ready .tools-belt { mask-image: none; }
  .tool-item { transform: none !important; }
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    transition: none !important;
  }
}
