:root {
  --bg: #08091a;
  --bg-soft: #0d0f24;
  --panel: #111436;
  --panel-2: #161a41;
  --line: rgba(178, 186, 255, 0.13);
  --line-strong: rgba(178, 186, 255, 0.24);
  --text: #eceefb;
  --muted: #a2a7cf;
  --faint: #6b7099;
  --accent: #7d8cff;
  --accent-2: #a97bff;
  --accent-strong: #b4bdff;
  --accent-dark: #232a5c;
  --danger: #ff8fb4;
  --radius: 22px;
  --shadow: 0 34px 80px rgba(4, 5, 25, 0.55);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(
      circle at 75% 3%,
      rgba(125, 140, 255, 0.13),
      transparent 28%
    ),
    radial-gradient(
      circle at 12% 34%,
      rgba(169, 123, 255, 0.09),
      transparent 26%
    ),
    var(--bg);
  color: var(--text);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(178, 186, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(178, 186, 255, 0.03) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 80%);
  z-index: -1;
}

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

.section-shell {
  width: min(var(--max), calc(100% - 44px));
  margin: 0 auto;
}
.section-block {
  padding-top: 130px;
  padding-bottom: 130px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 max(22px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid rgba(178, 186, 255, 0.08);
  background: rgba(8, 9, 26, 0.78);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.04em;
}
/* The mark's darkest strokes are near-navy, so on the dark ground it needs a
   halo to stay legible rather than a brightness lift that would blow out the blues. */
.brand-mark {
  width: 42px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 6px rgba(180, 189, 255, 0.55))
    drop-shadow(0 0 18px rgba(125, 140, 255, 0.35));
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: #b9bfe8;
  font-size: 14px;
}
.nav-links a,
.brand,
.button {
  transition: 0.22s ease;
}
.nav-links a:hover {
  color: var(--text);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 650;
  font-size: 14px;
  border: 1px solid transparent;
}
.button-small {
  min-height: 38px;
  padding: 0 15px;
  font-size: 13px;
}
.button-primary {
  background: linear-gradient(115deg, var(--accent), var(--accent-2));
  color: #0a0b1e;
  box-shadow: 0 8px 30px rgba(125, 140, 255, 0.26);
}
.button-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.button-secondary {
  border-color: var(--line-strong);
  background: rgba(178, 186, 255, 0.05);
  color: #dcdff7;
}
.button-secondary:hover {
  border-color: rgba(178, 186, 255, 0.4);
  background: rgba(178, 186, 255, 0.09);
}

.hero {
  min-height: 730px;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 70px;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 86px;
}
.hero h1 {
  max-width: 720px;
  margin: 24px 0 22px;
  font-size: clamp(50px, 6vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 650;
}
.hero-lede {
  max-width: 660px;
  margin: 0;
  color: #adb3dc;
  font-size: 18px;
  line-height: 1.72;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.hero-proof {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 36px;
  color: #7a80ab;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-proof span {
  position: relative;
  padding-left: 14px;
}
.hero-proof span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border: 1px solid var(--accent);
  transform: translateY(-50%) rotate(45deg);
}

.hero-visual {
  position: relative;
  perspective: 1000px;
}
.terminal-card {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 23px;
  background: linear-gradient(
    160deg,
    rgba(30, 34, 80, 0.96),
    rgba(11, 13, 33, 0.97)
  );
  box-shadow: var(--shadow);
  overflow: hidden;
  transform: rotateY(-4deg) rotateX(1.5deg);
}
.terminal-topbar {
  height: 51px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 0 16px;
  color: #7b81ac;
  font:
    11px/1 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.window-dots {
  display: flex;
  gap: 6px;
}
.window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3b4173;
}
.pill-live {
  justify-self: end;
  color: var(--accent-strong);
  background: rgba(125, 140, 255, 0.13);
  padding: 5px 7px;
  border-radius: 999px;
  letter-spacing: 0.12em;
}
.terminal-body {
  padding: 21px;
}
.model-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.model-meta > div {
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: rgba(178, 186, 255, 0.03);
}
.model-meta span {
  display: block;
  color: #6f759f;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.model-meta strong {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font:
    600 13px ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.formula-card,
.chart-card {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(178, 186, 255, 0.025);
}
.formula-card {
  padding: 16px 17px;
}
.formula-label {
  font-size: 9px;
  letter-spacing: 0.13em;
  color: #6f759f;
}
.formula {
  margin-top: 13px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  color: #e7e9fb;
}
.chart-card {
  padding: 15px 15px 9px;
}
.chart-head {
  display: flex;
  justify-content: space-between;
  color: #9096c0;
  font-size: 11px;
}
.chart-card svg {
  width: 100%;
  height: 132px;
  margin-top: 4px;
}
.run-status {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 11px;
}
.run-status span {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  padding: 9px;
  border-radius: 10px;
  color: #959bc6;
  background: rgba(178, 186, 255, 0.04);
  font-size: 10px;
}
.run-status b {
  font-weight: 600;
}
.ok {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.floating-tag {
  position: absolute;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #12153a;
  box-shadow: 0 15px 45px rgba(4, 5, 25, 0.42);
  color: #a3a9d4;
  font:
    11px ui-monospace,
    SFMono-Regular,
    monospace;
}
.tag-one {
  left: -26px;
  bottom: 81px;
}
.tag-two {
  right: -17px;
  top: 97px;
  color: var(--accent-2);
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metrics-strip > div {
  min-height: 104px;
  padding: 24px 26px;
  display: flex;
  align-items: flex-start;
  gap: 13px;
  border-right: 1px solid var(--line);
}
.metrics-strip > div:last-child {
  border-right: 0;
}
.metrics-strip strong {
  color: var(--accent);
  font:
    11px ui-monospace,
    monospace;
}
.metrics-strip span {
  color: #8d93bd;
  font-size: 13px;
  line-height: 1.5;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 52px;
}
.section-kicker {
  display: block;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.section-heading h2,
.feature-panel h2,
.privacy-copy h2,
.closing-section h2 {
  margin: 0;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 620;
}
.section-heading p,
.feature-panel > p,
.privacy-copy p,
.closing-section p {
  margin: 22px 0 0;
  color: #9aa0c8;
  font-size: 16px;
  line-height: 1.75;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.workflow-card {
  position: relative;
  min-height: 260px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(
    180deg,
    rgba(178, 186, 255, 0.045),
    rgba(178, 186, 255, 0.012)
  );
}
.workflow-card:hover {
  border-color: rgba(178, 186, 255, 0.3);
  transform: translateY(-2px);
  transition: 0.22s ease;
}
.step {
  position: absolute;
  top: 22px;
  right: 23px;
  color: #565c8a;
  font:
    10px ui-monospace,
    monospace;
  letter-spacing: 0.08em;
}
.icon-box {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--accent-strong);
  background: linear-gradient(
    140deg,
    rgba(125, 140, 255, 0.16),
    rgba(169, 123, 255, 0.1)
  );
  font:
    600 15px ui-monospace,
    monospace;
}
.workflow-card h3,
.usecase-card h3,
.shot-card figcaption strong {
  margin: 29px 0 10px;
  font-size: 18px;
  letter-spacing: -0.025em;
}
.workflow-card p,
.usecase-card p {
  margin: 0;
  color: #8b91ba;
  font-size: 14px;
  line-height: 1.72;
}

/* --- Screenshots ------------------------------------------------------- */
.shots-section {
  border-top: 1px solid rgba(178, 186, 255, 0.06);
  border-bottom: 1px solid rgba(178, 186, 255, 0.06);
  background: linear-gradient(
    180deg,
    rgba(125, 140, 255, 0.05),
    transparent 55%,
    rgba(169, 123, 255, 0.05)
  );
}

.shot-feature {
  margin: 0 0 46px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
}
.shot-feature img {
  display: block;
  width: 100%;
  height: auto;
}
.shot-feature figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  background: rgba(178, 186, 255, 0.035);
}
.shot-feature figcaption strong {
  font-size: 15px;
  letter-spacing: -0.02em;
}
.shot-feature figcaption span {
  color: #8b91ba;
  font-size: 13px;
}

.shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.shot-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  transition: 0.22s ease;
}
.shot-card:hover {
  border-color: rgba(178, 186, 255, 0.32);
  transform: translateY(-2px);
}
.shot-card[hidden] {
  display: none;
}
.shot-open {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #0c0e26;
  cursor: zoom-in;
  line-height: 0;
}
.shot-open img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1360/850;
  object-fit: cover;
  object-position: top left;
}
.shot-open:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.shot-card figcaption {
  padding: 16px 18px 20px;
  border-top: 1px solid var(--line);
}
.shot-card figcaption strong {
  display: block;
  margin: 0 0 6px;
  font-size: 15px;
}
.shot-card figcaption span {
  display: block;
  color: #8b91ba;
  font-size: 13px;
  line-height: 1.65;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(6, 7, 22, 0.9);
  backdrop-filter: blur(10px);
}
.lightbox[hidden] {
  display: none;
}
.lightbox-figure {
  margin: 0;
  max-width: min(1360px, 100%);
}
.lightbox-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #0c0e26;
}
.lightbox-figure figcaption {
  margin-top: 14px;
  text-align: center;
  color: #9aa0c8;
  font-size: 13px;
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: rgba(178, 186, 255, 0.07);
  color: var(--text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover {
  background: rgba(178, 186, 255, 0.14);
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.feature-panel {
  min-height: 555px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 27px;
  background: linear-gradient(150deg, #171b45, #0d0f28);
}
.muted-panel {
  background: linear-gradient(150deg, #1d1748, #0e0d26);
}
.feature-panel h2 {
  font-size: clamp(32px, 3.8vw, 50px);
}
.validation-example,
.authoring-preview {
  margin-top: 42px;
  border: 1px solid var(--line);
  border-radius: 17px;
  overflow: hidden;
  background: #0a0c22;
}
.code-row {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 17px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.code-row:last-child {
  border-bottom: 0;
}
.code-row code {
  color: #ccd1f0;
  font:
    12px ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
}
.code-row > span:last-child {
  color: #7a80ab;
}
.code-row.bad > span:last-child {
  color: var(--danger);
}
.code-ok {
  color: var(--accent);
}
.code-bad {
  color: var(--danger);
}
.authoring-preview {
  padding: 0 17px 17px;
}
.preview-tabs {
  display: flex;
  gap: 20px;
  height: 47px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: #61678f;
  font-size: 11px;
}
.preview-tabs .active {
  color: var(--accent-strong);
}
.authoring-preview code {
  display: block;
  padding: 20px 0 16px;
  color: #b3b9e2;
  font:
    12px ui-monospace,
    monospace;
}
.rendered-math {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  color: #e7e9fb;
  font:
    27px Georgia,
    serif;
}

.solver-board {
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: rgba(178, 186, 255, 0.02);
}
.solver-row {
  display: grid;
  grid-template-columns: 1fr 2.6fr;
  min-height: 66px;
  align-items: center;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
}
.solver-row:last-child {
  border-bottom: 0;
}
.solver-row span:first-child {
  color: #adb3dc;
  font-size: 13px;
}
.solver-row strong {
  font:
    600 13px ui-monospace,
    monospace;
  color: #e3e6fa;
}
.solver-head {
  min-height: 48px;
  background: rgba(178, 186, 255, 0.04);
  color: #6f759f;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.solver-head span:first-child {
  color: #6f759f;
  font-size: 10px;
}

.usecases-section {
  background: linear-gradient(
    180deg,
    rgba(169, 123, 255, 0.06),
    transparent 72%
  );
  border-top: 1px solid rgba(178, 186, 255, 0.06);
  border-bottom: 1px solid rgba(178, 186, 255, 0.06);
}
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.usecase-card {
  min-height: 215px;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #0e1030;
}
.usecase-card > span {
  color: var(--accent-2);
  font:
    10px ui-monospace,
    monospace;
  letter-spacing: 0.09em;
}
.usecase-card h3 {
  margin-top: 42px;
}

.privacy-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.infra-card {
  position: relative;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 50% 50%,
      rgba(125, 140, 255, 0.13),
      transparent 30%
    ),
    #0e1030;
}
.infra-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(178, 186, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(178, 186, 255, 0.035) 1px, transparent 1px);
  background-size: 35px 35px;
}
.infra-node {
  position: absolute;
  z-index: 2;
  min-width: 88px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #141739;
  text-align: center;
  color: #959bc6;
  font:
    10px ui-monospace,
    monospace;
  box-shadow: 0 10px 30px rgba(4, 5, 25, 0.3);
}
.main-node {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 116px;
  padding: 18px 15px;
  border-color: rgba(125, 140, 255, 0.45);
  color: var(--accent-strong);
  font-size: 12px;
}
.node-a {
  left: 9%;
  top: 17%;
}
.node-b {
  right: 9%;
  top: 17%;
}
.node-c {
  left: 7%;
  bottom: 15%;
}
.node-d {
  right: 7%;
  bottom: 15%;
}
.node-e {
  left: 50%;
  top: 10%;
  transform: translateX(-50%);
}
.node-f {
  left: 50%;
  bottom: 9%;
  transform: translateX(-50%);
}
.infra-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      33deg,
      transparent 49.7%,
      rgba(125, 140, 255, 0.16) 50%,
      transparent 50.3%
    ),
    linear-gradient(
      -33deg,
      transparent 49.7%,
      rgba(169, 123, 255, 0.16) 50%,
      transparent 50.3%
    ),
    linear-gradient(
      90deg,
      transparent 49.7%,
      rgba(125, 140, 255, 0.14) 50%,
      transparent 50.3%
    );
  opacity: 0.8;
}

.closing-section {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  border-top: 1px solid var(--line);
}
.closing-section > div {
  max-width: 760px;
}
.closing-section p {
  max-width: 650px;
}

.site-footer {
  min-height: 110px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-top: 1px solid var(--line);
  color: #6b7099;
  font-size: 12px;
}
.brand-footer {
  font-size: 17px;
  color: #959bc6;
}
.brand-footer .brand-mark {
  width: 32px;
}
.site-footer p {
  margin: 0;
}
.footer-meta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-link {
  color: #959bc6;
  transition: 0.22s ease;
}
.footer-link:hover {
  color: var(--accent-strong);
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.62s ease,
    transform 0.62s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .nav-links {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 90px;
  }
  .hero-copy {
    max-width: 760px;
  }
  .hero-visual {
    max-width: 720px;
  }
  .metrics-strip {
    grid-template-columns: 1fr 1fr;
  }
  .metrics-strip > div:nth-child(2) {
    border-right: 0;
  }
  .metrics-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .workflow-grid,
  .usecase-grid,
  .shot-grid {
    grid-template-columns: 1fr 1fr;
  }
  .split-section {
    grid-template-columns: 1fr;
  }
  .feature-panel {
    min-height: auto;
  }
  .privacy-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 680px) {
  .section-shell {
    width: min(100% - 28px, var(--max));
  }
  .section-block {
    padding-top: 90px;
    padding-bottom: 90px;
  }
  .site-header {
    min-height: 66px;
    padding-left: 14px;
    padding-right: 14px;
  }
  .hero {
    gap: 50px;
    padding-top: 68px;
    padding-bottom: 65px;
  }
  .hero h1 {
    font-size: clamp(45px, 15vw, 68px);
  }
  .hero-lede {
    font-size: 16px;
  }
  .terminal-card {
    transform: none;
  }
  .tag-one {
    left: 7px;
    bottom: -20px;
  }
  .tag-two {
    right: 5px;
    top: -18px;
  }
  .model-meta {
    grid-template-columns: 1fr;
  }
  .metrics-strip {
    grid-template-columns: 1fr;
  }
  .metrics-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .metrics-strip > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .metrics-strip > div:last-child {
    border-bottom: 0;
  }
  .workflow-grid,
  .usecase-grid,
  .shot-grid {
    grid-template-columns: 1fr;
  }
  .feature-panel {
    padding: 28px;
  }
  .solver-row {
    grid-template-columns: 1.3fr 1fr;
    padding: 0 14px;
    gap: 10px;
  }
  .solver-row span:first-child,
  .solver-row strong {
    font-size: 11px;
  }
  .infra-card {
    min-height: 380px;
  }
  .lightbox {
    padding: 16px;
  }
  .lightbox-close {
    top: 8px;
    right: 10px;
  }
  .closing-section {
    align-items: flex-start;
    flex-direction: column;
  }
  .site-footer {
    grid-template-columns: 1fr auto;
  }
  .site-footer p {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
