@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  color-scheme: dark;
  --bg: #04080e;
  --bg-soft: #07111b;
  --panel: rgb(10 20 32 / 0.82);
  --panel-solid: #0a1420;
  --line: rgb(112 159 199 / 0.2);
  --line-strong: rgb(82 220 246 / 0.38);
  --text: #eff8ff;
  --muted: #91a4b9;
  --cyan: #45ebfb;
  --cyan-strong: #16dcef;
  --violet: #a87bff;
  --violet-deep: #7655e8;
  --green: #55f0ad;
  --amber: #f6b96b;
  --danger: #ff6e8d;
  --radius: 18px;
  --mono: "IBM Plex Mono", "Cascadia Code", Consolas, monospace;
  --sans: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 30px 90px rgb(0 0 0 / 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--violet) var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 77% 5%, rgb(73 67 181 / 0.15), transparent 25rem),
    radial-gradient(circle at 16% 26%, rgb(26 198 224 / 0.09), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(111 180 216 / 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgb(111 180 216 / 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 88%);
  pointer-events: none;
}

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

button,
input,
select {
  font: inherit;
}

button,
select,
input[type="range"] {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--cyan);
  color: #011017;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(1520px, 100%);
  margin: 0 auto;
}

main,
.hero,
.hero-copy,
.hero-visual {
  min-width: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(20px, 4vw, 70px);
  border-bottom: 1px solid var(--line);
  background: rgb(4 8 14 / 0.78);
  backdrop-filter: blur(18px) saturate(145%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand img {
  filter: drop-shadow(0 0 12px rgb(69 235 251 / 0.28));
}

.brand-accent {
  color: var(--cyan);
}

.main-nav {
  display: flex;
  gap: clamp(20px, 3vw, 42px);
  color: #9cabbc;
  font-size: 13px;
  font-weight: 600;
}

.main-nav a,
.site-footer a {
  transition: color 160ms ease;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--cyan);
}

.github-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgb(255 255 255 / 0.025);
  font-family: var(--mono);
  font-size: 12px;
  transition: border-color 160ms ease, background 160ms ease;
}

.github-link:hover {
  border-color: var(--line-strong);
  background: rgb(69 235 251 / 0.06);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(470px, 1.17fr);
  align-items: center;
  min-height: 720px;
  padding: clamp(64px, 8vw, 118px) clamp(20px, 5vw, 84px) 74px;
  gap: clamp(40px, 5vw, 80px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.hero h1,
.section-heading h2,
.contribute-copy h2 {
  margin: 0;
  font-size: clamp(44px, 5.4vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--cyan) 5%, #77bdff 47%, #bd87ff 92%);
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: #a7b7c8;
  font-size: clamp(16px, 1.45vw, 20px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: linear-gradient(110deg, var(--cyan), #68d6ff 48%, #9f80ff);
  color: #03111a;
  box-shadow: 0 12px 40px rgb(69 235 251 / 0.15);
}

.button-primary:hover {
  box-shadow: 0 16px 46px rgb(69 235 251 / 0.25);
}

.button-secondary {
  border-color: var(--line);
  background: rgb(255 255 255 / 0.025);
  color: var(--text);
}

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

.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 26px 0 0;
  padding: 0;
  color: #8092a5;
  font-family: var(--mono);
  font-size: 10px;
  list-style: none;
  text-transform: uppercase;
}

.hero-signals span {
  margin-right: 5px;
  color: var(--green);
}

.hero-visual {
  position: relative;
  width: 100%;
  min-height: 470px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #02060b;
  box-shadow: var(--shadow), inset 0 0 60px rgb(39 161 236 / 0.07);
  overflow: hidden;
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: inherit;
  background:
    linear-gradient(90deg, rgb(69 235 251 / 0.07) 1px, transparent 1px),
    linear-gradient(rgb(69 235 251 / 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 78%);
  pointer-events: none;
}

.hero-visual::after {
  position: absolute;
  inset: auto -20% -45% 20%;
  z-index: 1;
  height: 70%;
  border-radius: 50%;
  background: rgb(71 99 255 / 0.16);
  filter: blur(70px);
  content: "";
  pointer-events: none;
}

.hero-visual img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.05);
}

.visual-readout {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 3px;
  padding: 10px 13px;
  border: 1px solid rgb(111 214 255 / 0.22);
  border-radius: 8px;
  background: rgb(3 10 18 / 0.72);
  font-family: var(--mono);
  backdrop-filter: blur(9px);
}

.visual-readout span {
  color: #657e98;
  font-size: 8px;
  letter-spacing: 0.18em;
}

.visual-readout strong {
  color: var(--cyan);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.visual-readout-top {
  top: 20px;
  right: 20px;
}

.visual-readout-bottom {
  bottom: 20px;
  left: 20px;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-block: 1px solid var(--line);
  background: rgb(5 12 20 / 0.66);
}

.signal-strip > div {
  display: grid;
  place-items: center;
  min-height: 112px;
  border-right: 1px solid var(--line);
  align-content: center;
}

.signal-strip > div:last-child {
  border-right: 0;
}

.signal-strip span {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: #71869c;
}

.signal-strip .signal-value {
  color: var(--text);
  font-family: var(--sans);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.lab-section,
.architecture-section,
.contribute-section {
  padding: clamp(82px, 9vw, 140px) clamp(20px, 5vw, 84px);
  scroll-margin-top: 70px;
}

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

.section-heading .eyebrow {
  margin-bottom: 14px;
}

.section-heading h2,
.contribute-copy h2 {
  font-size: clamp(36px, 4vw, 58px);
}

.lab-state {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #9eb0c3;
  font-family: var(--mono);
  font-size: 10px;
  white-space: nowrap;
}

#status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #83a1b9;
  box-shadow: 0 0 8px currentColor;
}

#status-dot[data-mode="running"] {
  background: var(--cyan);
  animation: status-pulse 1s ease-in-out infinite;
}

#status-dot[data-mode="success"] {
  background: var(--green);
}

#status-dot[data-mode="paused"] {
  background: var(--amber);
}

@keyframes status-pulse {
  50% { opacity: 0.35; transform: scale(0.7); }
}

.lab-layout {
  display: grid;
  grid-template-columns: minmax(255px, 0.28fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgb(5 12 20 / 0.8);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.control-panel {
  padding: 28px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgb(11 24 38 / 0.9), rgb(6 14 23 / 0.9)),
    var(--panel-solid);
}

.panel-kicker,
.card-heading span,
.field-label,
.range-label,
.mono-tag,
.inference-result span {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-kicker {
  margin-bottom: 26px;
  color: var(--cyan);
}

.field-label {
  display: block;
  margin: 22px 0 8px;
  color: #8ca0b5;
}

.range-label {
  display: flex;
  justify-content: space-between;
  color: #8ca0b5;
}

.range-label output {
  color: var(--cyan);
}

.field-hint {
  margin: 7px 0 0;
  color: #64798f;
  font-size: 11px;
}

select,
input[type="number"] {
  width: 100%;
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #07111b;
  color: var(--text);
  font-family: var(--mono);
  font-size: 12px;
}

input[type="range"] {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
  width: 15px;
  height: 15px;
  border: 3px solid #07111b;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px rgb(69 235 251 / 0.5);
  appearance: none;
}

input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 3px solid #07111b;
  border-radius: 50%;
  background: var(--cyan);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.control-actions {
  display: grid;
  gap: 10px;
  margin-top: 30px;
}

.control-actions .button {
  width: 100%;
}

.text-button {
  padding: 10px;
  border: 0;
  background: transparent;
  color: #8294a7;
  font-family: var(--mono);
  font-size: 10px;
}

.text-button:hover {
  color: var(--cyan);
}

.experiment-panel {
  min-width: 0;
  padding: 22px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

.metric-grid article {
  display: grid;
  min-height: 82px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgb(10 21 34 / 0.75);
  align-content: center;
}

.metric-grid span {
  color: #698097;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.metric-grid strong {
  font-size: clamp(19px, 2vw, 28px);
  letter-spacing: -0.04em;
}

.visual-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 12px;
}

.canvas-card {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(circle at 75% 10%, rgb(112 91 230 / 0.08), transparent 18rem),
    #07111b;
  overflow: hidden;
}

.card-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  margin-bottom: 12px;
}

.card-heading span {
  color: #5f7690;
  font-size: 8px;
}

.card-heading h3 {
  margin: 1px 0 0;
  font-size: 13px;
}

.card-heading .mono-tag {
  color: var(--cyan);
}

.legend {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #788da2;
  font-family: var(--mono);
  font-size: 9px;
}

.legend i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
}

.legend i:nth-child(2) {
  background: var(--violet);
}

.canvas-card canvas {
  display: block;
  width: 100%;
}

.decision-card canvas,
.architecture-card canvas {
  height: 300px;
  border-radius: 8px;
  background: #050c14;
}

.loss-card canvas {
  height: 205px;
}

.inference-card {
  display: flex;
  flex-direction: column;
}

.inference-card .range-label {
  margin: 12px 0 9px;
}

.inference-result {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 24px;
}

.inference-result div {
  display: grid;
}

.inference-result span {
  color: #647a92;
}

.inference-result strong {
  font-size: 30px;
  line-height: 1.2;
}

.inference-result b {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgb(69 235 251 / 0.1);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 9px;
}

.inference-result b[data-class="one"] {
  background: rgb(168 123 255 / 0.13);
  color: #c8adff;
}

.probability-track {
  height: 6px;
  margin-top: 13px;
  border-radius: 999px;
  background: #111f2d;
  overflow: hidden;
}

.probability-track span {
  display: block;
  width: var(--probability, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  box-shadow: 0 0 12px var(--violet);
  transition: width 160ms ease;
}

.export-button {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  margin-top: 12px;
  padding: 15px 18px;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgb(10 21 34 / 0.72);
  color: var(--text);
  text-align: left;
}

.export-button > span:first-child {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgb(69 235 251 / 0.1);
  color: var(--cyan);
  place-items: center;
}

.export-button > span:nth-child(2) {
  display: grid;
}

.export-button strong {
  font-size: 12px;
}

.export-button small {
  color: #71859a;
  font-size: 10px;
}

.export-button:hover {
  border-color: var(--line-strong);
}

.architecture-section {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgb(7 15 25 / 0.72), transparent);
}

.section-copy {
  max-width: 480px;
  margin: 0;
  color: #8da0b4;
  font-size: 14px;
}

.pipeline-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.pipeline-grid article {
  position: relative;
  min-height: 250px;
  padding: 24px;
  border-right: 1px solid var(--line);
  background: rgb(7 16 26 / 0.76);
}

.pipeline-grid article:last-child {
  border-right: 0;
}

.pipeline-grid article > span {
  position: absolute;
  top: 13px;
  right: 16px;
  color: #42556a;
  font-family: var(--mono);
  font-size: 9px;
}

.pipeline-grid i {
  display: grid;
  width: 50px;
  height: 50px;
  margin: 24px 0 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgb(69 235 251 / 0.06);
  color: var(--cyan);
  font-family: var(--mono);
  font-size: 13px;
  font-style: normal;
  box-shadow: inset 0 0 18px rgb(69 235 251 / 0.05);
  place-items: center;
}

.pipeline-grid h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.pipeline-grid p {
  margin: 0;
  color: #71859a;
  font-size: 12px;
}

.formula-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--line);
  overflow: hidden;
}

.formula-panel div {
  display: grid;
  min-width: 0;
  padding: 19px;
  gap: 6px;
  background: #07111b;
}

.formula-panel span {
  color: var(--violet);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.formula-panel code {
  color: #d6e9f7;
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
}

.contribute-section {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: clamp(42px, 7vw, 110px);
  border-top: 1px solid var(--line);
}

.contribute-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: #90a3b7;
  font-size: 15px;
}

.terminal-card {
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #050b12;
  box-shadow: 0 30px 80px rgb(0 0 0 / 0.35), 0 0 50px rgb(69 235 251 / 0.06);
  overflow: hidden;
  transform: perspective(1000px) rotateY(-2deg);
}

.terminal-bar {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  gap: 7px;
  border-bottom: 1px solid var(--line);
  background: #0a1420;
}

.terminal-bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff7087;
}

.terminal-bar i:nth-child(2) { background: #f7bd68; }
.terminal-bar i:nth-child(3) { background: var(--green); }

.terminal-bar span {
  margin-left: auto;
  color: #52677e;
  font-family: var(--mono);
  font-size: 9px;
}

.terminal-card pre {
  margin: 0;
  padding: clamp(22px, 4vw, 38px);
  overflow-x: auto;
}

.terminal-card code {
  color: #a7b8c9;
  font-family: var(--mono);
  font-size: clamp(10px, 1.1vw, 13px);
  line-height: 2;
}

.terminal-card code span { color: var(--cyan); }
.terminal-card code b { color: var(--green); font-weight: 500; }

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 116px;
  padding: 0 clamp(20px, 5vw, 84px);
  gap: 32px;
  border-top: 1px solid var(--line);
  color: #687d92;
  font-size: 10px;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.site-footer > div {
  display: flex;
  gap: 18px;
  font-family: var(--mono);
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: rgb(7 17 27 / 0.94);
  color: #dffaff;
  font-family: var(--mono);
  font-size: 11px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

  .hero-visual {
    min-height: 430px;
  }

  .lab-layout {
    grid-template-columns: 1fr;
  }

  .control-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .panel-kicker,
  .control-actions {
    grid-column: 1 / -1;
  }

  .control-actions {
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
  }

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

  .pipeline-grid article:nth-child(3) {
    border-right: 0;
  }

  .pipeline-grid article:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }

  .formula-panel {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
  }

  .main-nav {
    display: none;
  }

  .github-link {
    padding: 8px 10px;
  }

  .hero {
    min-height: auto;
    padding-top: 72px;
    overflow: hidden;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(38px, 11.5vw, 50px);
    overflow-wrap: anywhere;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 310px;
  }

  .signal-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .signal-strip > div {
    min-height: 88px;
    border-bottom: 1px solid var(--line);
  }

  .signal-strip > div:nth-child(even) {
    border-right: 0;
  }

  .signal-strip > div:last-child {
    grid-column: 1 / -1;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .control-panel {
    display: block;
    padding: 22px;
  }

  .control-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .experiment-panel {
    padding: 12px;
  }

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

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

  .decision-card canvas,
  .architecture-card canvas {
    height: 260px;
  }

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

  .pipeline-grid article,
  .pipeline-grid article:nth-child(3) {
    min-height: 210px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .pipeline-grid article:last-child {
    border-bottom: 0;
  }

  .pipeline-grid i {
    margin-bottom: 26px;
  }

  .formula-panel {
    grid-template-columns: 1fr;
  }

  .contribute-section {
    grid-template-columns: 1fr;
  }

  .terminal-card {
    transform: none;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-block: 28px;
    text-align: center;
  }

  .site-footer .brand,
  .site-footer > div {
    justify-self: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
