:root {
  --ink: #0e2225;
  --muted: #637174;
  --paper: #f4f6f1;
  --panel: #ffffff;
  --line: #d8dfdc;
  --line-strong: #b7c3bf;
  --teal: #0b7478;
  --teal-bright: #13b2a3;
  --mint: #9be7d7;
  --amber: #c78322;
  --red: #bd5148;
  --blue: #3c6f9e;
  --violet: #6e6bb8;
  --dark: #071416;
  --dark-soft: #102f34;
  --code: #091417;
  --code-line: #223337;
  --shadow: 0 22px 60px rgba(8, 28, 31, 0.14);
  --shadow-soft: 0 14px 34px rgba(8, 28, 31, 0.1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-snap: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(16, 35, 38, 0.032) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(rgba(16, 35, 38, 0.028) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(180deg, #f6f7f2 0%, #eef3f1 48%, #f8f7ef 100%);
  color: var(--ink);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
textarea,
select {
  letter-spacing: 0;
}

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

img,
svg {
  display: block;
}

button {
  font: inherit;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--mint), var(--teal-bright), var(--amber));
  transform: scaleX(var(--progress, 0));
  transform-origin: left center;
  transition: transform 120ms linear;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  min-height: 64px;
  margin: 14px auto 0;
  padding: 0 12px 0 14px;
  color: #f8fbf8;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(6, 19, 21, 0.5);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px) saturate(1.18);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 220ms var(--ease-out),
    box-shadow 220ms var(--ease-out);
}

.site-header.is-scrolled {
  color: var(--ink);
  border-color: rgba(16, 35, 38, 0.12);
  background: rgba(248, 250, 246, 0.88);
  box-shadow: 0 14px 34px rgba(16, 35, 38, 0.11);
}

.site-header.is-hidden {
  transform: translateY(-92px);
}

.brand,
.header-action,
.button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.brand {
  min-width: 0;
  font-weight: 760;
  transition: opacity 180ms ease;
}

.brand:hover {
  opacity: 0.86;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #062a2d;
  background: #eef9ef;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 9px;
  font-size: 12px;
  font-weight: 820;
}

.site-header.is-scrolled .brand-mark {
  color: #f7faf6;
  background: var(--teal);
  border-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: max-content;
  justify-self: center;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.site-header.is-scrolled .nav-links {
  border-color: rgba(16, 35, 38, 0.08);
  background: rgba(16, 35, 38, 0.045);
}

.nav-links a {
  padding: 7px 12px;
  color: inherit;
  border-radius: 9px;
  font-size: 14px;
  opacity: 0.86;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: rgba(255, 255, 255, 0.16);
  opacity: 1;
}

.site-header.is-scrolled .nav-links a:hover,
.site-header.is-scrolled .nav-links a.is-active {
  background: rgba(15, 111, 115, 0.1);
}

.header-action {
  min-height: 40px;
  padding: 0 15px;
  color: #082225;
  background: #f7faf6;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
  transition:
    transform 180ms var(--ease-out),
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.site-header.is-scrolled .header-action {
  color: #f7faf6;
  background: var(--dark-soft);
}

.header-action svg,
.button svg,
.feature-card svg,
.ops-grid svg,
.icon-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.hero {
  position: relative;
  display: flex;
  min-height: min(780px, 84svh);
  overflow: hidden;
  color: #f7faf6;
  background: var(--dark);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(4, 15, 17, 0.96) 0%,
      rgba(4, 15, 17, 0.88) 28%,
      rgba(4, 15, 17, 0.58) 56%,
      rgba(4, 15, 17, 0.15) 100%
    ),
    url("assets/hero.png");
  background-position:
    0 0,
    0 0,
    center,
    center;
  background-size:
    72px 72px,
    72px 72px,
    cover,
    cover;
  transform: translate3d(0, calc(var(--hero-shift, 0) * 0.08px), 0) scale(1.035);
  transition: transform 120ms linear;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 42%;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent 0%, rgba(7, 20, 22, 0.55) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(300px, 0.42fr);
  gap: 52px;
  align-items: end;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 132px 0 74px;
}

.hero-content {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--teal-bright);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin: 12px 0 16px;
  color: #ffffff;
  font-size: 82px;
  line-height: 0.96;
  font-weight: 860;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.34);
}

.hero .eyebrow {
  max-width: 58ch;
  line-height: 1.35;
}

.hero-copy {
  max-width: 670px;
  margin: 0;
  color: rgba(247, 250, 246, 0.88);
  font-size: 21px;
  line-height: 1.55;
}

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

.button {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-weight: 780;
  position: relative;
  overflow: hidden;
  transition:
    transform 180ms var(--ease-out),
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0;
  background: linear-gradient(120deg, transparent 10%, rgba(255, 255, 255, 0.34) 48%, transparent 82%);
  transform: translateX(-120%);
  transition:
    transform 520ms var(--ease-out),
    opacity 180ms ease;
}

.button:hover::after {
  opacity: 1;
  transform: translateX(120%);
}

.button.primary {
  color: #062528;
  background: #f7faf6;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
}

.button.secondary {
  color: #f7faf6;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.button:hover,
.header-action:hover,
.icon-button:hover,
.tab-button:hover {
  transform: translateY(-2px);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: min(650px, 100%);
  margin: 42px 0 0;
}

.hero-facts div {
  min-height: 86px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
    rgba(5, 18, 20, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  transition:
    transform 220ms var(--ease-out),
    border-color 220ms ease,
    background 220ms ease;
}

.hero-facts div:hover {
  transform: translateY(-4px);
  border-color: rgba(155, 231, 215, 0.46);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(5, 18, 20, 0.48);
}

.hero-facts dt {
  color: #ffffff;
  font-size: 19px;
  font-weight: 820;
}

.hero-facts dd {
  margin: 3px 0 0;
  color: rgba(247, 250, 246, 0.7);
  font-size: 14px;
}

.hero-runtime {
  position: relative;
  align-self: end;
  min-height: 336px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(4, 17, 19, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 26px 70px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(1.1);
}

.hero-runtime::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(155, 231, 215, 0.18), transparent 38%, rgba(199, 131, 34, 0.14));
  opacity: 0.7;
}

.runtime-topline {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: rgba(247, 250, 246, 0.72);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 6px rgba(155, 231, 215, 0.14);
  animation: pulse 1800ms ease-in-out infinite;
}

.hero-runtime ol {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-runtime li {
  position: relative;
  display: grid;
  gap: 3px;
  padding: 14px 14px 14px 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(7, 20, 22, 0.48);
}

.hero-runtime li::before {
  position: absolute;
  top: 18px;
  left: 15px;
  width: 10px;
  height: 10px;
  content: "";
  border: 2px solid var(--mint);
  border-radius: 50%;
  background: var(--dark);
}

.hero-runtime strong {
  color: #ffffff;
  font-size: 14px;
}

.hero-runtime span {
  color: rgba(247, 250, 246, 0.62);
  font-size: 13px;
}

.section {
  position: relative;
  padding: 92px 0;
}

.section-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.intro-strip {
  padding: 40px 0;
  color: #f7faf6;
  background:
    linear-gradient(90deg, rgba(155, 231, 215, 0.12), transparent 36%, rgba(199, 131, 34, 0.11)),
    var(--dark-soft);
}

.strip-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 42px;
  align-items: center;
}

.strip-grid h2,
.section-heading h2 {
  margin: 10px 0 0;
  font-size: 42px;
  line-height: 1.12;
  text-wrap: balance;
}

.strip-grid p,
.section-heading p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.intro-strip .section-kicker {
  color: #8ee0d0;
}

.intro-strip p {
  color: rgba(247, 250, 246, 0.76);
}

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

.section-heading.compact {
  max-width: 620px;
}

.section-heading.inline {
  margin: 0;
}

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

.flow-card,
.feature-card,
.ops-grid article,
.config-list article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72)),
    var(--panel);
  box-shadow: var(--shadow-soft);
  transition:
    transform 260ms var(--ease-out),
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

.flow-card:hover,
.feature-card:hover,
.ops-grid article:hover,
.config-list article:hover {
  transform: translateY(-6px);
  border-color: rgba(11, 116, 120, 0.26);
  box-shadow: 0 26px 62px rgba(8, 28, 31, 0.15);
}

.flow-card {
  min-height: 210px;
  padding: 24px;
  overflow: hidden;
}

.flow-card::after,
.feature-card::after,
.ops-grid article::after,
.config-list article::after {
  display: block;
  width: 42px;
  height: 2px;
  margin-top: 20px;
  content: "";
  border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-bright), transparent);
  opacity: 0.6;
}

.flow-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 28px;
  color: var(--teal);
  border: 1px solid rgba(15, 111, 115, 0.22);
  border-radius: 8px;
  background: rgba(15, 111, 115, 0.08);
  font-size: 13px;
  font-weight: 820;
}

.flow-card h3,
.feature-card h3,
.ops-grid h3 {
  margin: 18px 0 8px;
  font-size: 22px;
  line-height: 1.25;
}

.flow-card p,
.feature-card p,
.ops-grid p,
.config-list span {
  margin: 0;
  color: var(--muted);
}

.feature-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent),
    #edf4ef;
}

.feature-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  min-height: 242px;
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.feature-card.highlight {
  color: #f7faf6;
  background:
    linear-gradient(140deg, rgba(19, 178, 163, 0.24), transparent 45%),
    linear-gradient(180deg, #10383d, #0d272b);
  border-color: transparent;
}

.feature-card.highlight p {
  color: rgba(247, 250, 246, 0.76);
}

.feature-card svg {
  color: var(--teal);
  width: 32px;
  height: 32px;
}

.feature-card.highlight svg {
  color: #8ee0d0;
}

.split,
.install-grid,
.config-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: start;
}

.matrix {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.matrix > div {
  display: grid;
  grid-template-columns: 0.76fr 1fr 1.2fr;
  min-height: 76px;
  border-top: 1px solid var(--line);
  transition: background 180ms ease;
}

.matrix > div:not(.matrix-head):hover {
  background: rgba(11, 116, 120, 0.055);
}

.matrix > div:first-child {
  border-top: 0;
}

.matrix span {
  display: flex;
  align-items: center;
  padding: 18px;
  border-left: 1px solid var(--line);
  color: var(--muted);
}

.matrix span:first-child {
  border-left: 0;
  color: var(--ink);
  font-weight: 780;
}

.matrix-head {
  min-height: 52px;
  color: #f7faf6;
  background: var(--dark-soft);
}

.matrix-head span {
  color: #f7faf6;
  border-color: rgba(255, 255, 255, 0.14);
  font-size: 14px;
  font-weight: 780;
}

.install-section {
  color: #f7faf6;
  background:
    linear-gradient(90deg, rgba(19, 178, 163, 0.08) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(180deg, #061113, #0a1a1d 48%, #071416);
}

.install-section .section-heading p {
  color: rgba(247, 250, 246, 0.72);
}

.terminal-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: var(--code);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform-style: preserve-3d;
}

.terminal-toolbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 62px;
  padding: 0 16px;
  border-bottom: 1px solid var(--code-line);
}

.terminal-dots {
  display: flex;
  gap: 7px;
}

.terminal-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.terminal-dots span:nth-child(1) {
  background: var(--red);
}

.terminal-dots span:nth-child(2) {
  background: var(--amber);
}

.terminal-dots span:nth-child(3) {
  background: var(--teal-bright);
}

.command-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-button,
.icon-button {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(247, 250, 246, 0.75);
  background: transparent;
  cursor: pointer;
  transition:
    transform 180ms var(--ease-out),
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.tab-button {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 720;
}

.tab-button.active {
  color: #061f22;
  border-color: transparent;
  background: linear-gradient(180deg, #ecfff8, #bdeee0);
}

.icon-button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.command-block {
  display: none;
  min-height: 230px;
  margin: 0;
  padding: 26px;
  overflow-x: auto;
  color: #dff7ef;
  background:
    linear-gradient(var(--code-line) 1px, transparent 1px) 0 0 / 100% 44px,
    var(--code);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    monospace;
  font-size: 15px;
  line-height: 1.75;
}

.command-block.active {
  display: block;
  animation: commandIn 240ms var(--ease-out);
}

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

.config-list article {
  min-height: 134px;
  padding: 22px;
}

.config-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Monaco,
    Consolas,
    "Liberation Mono",
    monospace;
  font-size: 15px;
}

.ops-band {
  background:
    linear-gradient(180deg, rgba(60, 111, 158, 0.08), rgba(255, 255, 255, 0)),
    #e9eef2;
}

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

.ops-grid article {
  min-height: 196px;
  padding: 24px;
}

.ops-grid svg {
  width: 28px;
  height: 28px;
  color: var(--blue);
}

.site-footer {
  padding: 32px 0;
  color: rgba(247, 250, 246, 0.78);
  background:
    linear-gradient(90deg, rgba(155, 231, 215, 0.08), transparent 42%, rgba(199, 131, 34, 0.08)),
    #071416;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner span {
  color: #ffffff;
  font-weight: 760;
}

.footer-inner a {
  color: #8ee0d0;
}

body.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 620ms var(--ease-out),
    transform 620ms var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.72);
    opacity: 0.62;
  }
}

@keyframes commandIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    width: min(calc(100% - 24px), 1180px);
  }

  .nav-links {
    display: none;
  }

  .header-action {
    justify-self: end;
  }

  .hero h1 {
    font-size: 58px;
  }

  .hero-copy {
    font-size: 19px;
  }

  .strip-grid,
  .hero-inner,
  .split,
  .install-grid,
  .config-grid {
    grid-template-columns: 1fr;
  }

  .hero-runtime {
    max-width: 640px;
  }

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

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

  .feature-card.highlight {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 62px;
    margin-top: 8px;
    padding: 0 10px;
    border-radius: 12px;
  }

  .brand span:last-child {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .header-action span {
    display: none;
  }

  .header-action {
    width: 40px;
    min-height: 40px;
    padding: 0;
  }

  .hero {
    min-height: 82svh;
  }

  .hero-media {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
      linear-gradient(
        180deg,
        rgba(5, 18, 20, 0.92) 0%,
        rgba(5, 18, 20, 0.78) 45%,
        rgba(5, 18, 20, 0.45) 100%
      ),
      url("assets/hero.png");
    background-position:
      0 0,
      0 0,
      center,
      58% center;
    background-size:
      64px 64px,
      64px 64px,
      cover,
      cover;
  }

  .hero-inner,
  .section-inner {
    width: min(calc(100% - 32px), 1180px);
  }

  .hero-inner {
    gap: 28px;
    padding: 96px 0 44px;
  }

  .hero h1 {
    font-size: 42px;
    line-height: 1.02;
    overflow-wrap: anywhere;
  }

  .hero .eyebrow {
    max-width: 30ch;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 26px;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    display: flex;
    width: calc(100vw - 32px);
    max-width: 100%;
    gap: 8px;
    margin-top: 26px;
    overflow: hidden;
  }

  .hero-facts div {
    flex: 1 1 0;
    min-width: 0;
    max-width: calc((100vw - 48px) / 3);
    min-height: 72px;
    padding: 11px 10px;
    overflow: hidden;
  }

  .hero-facts dt {
    font-size: 16px;
  }

  .hero-facts dd {
    font-size: 12px;
  }

  .hero-runtime {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .strip-grid h2,
  .section-heading h2 {
    font-size: 30px;
  }

  .strip-grid p,
  .section-heading p {
    font-size: 16px;
  }

  .flow-grid,
  .feature-layout,
  .ops-grid,
  .config-list {
    grid-template-columns: 1fr;
  }

  .matrix {
    overflow-x: auto;
  }

  .matrix > div {
    grid-template-columns: 160px 230px 260px;
    min-width: 650px;
  }

  .terminal-toolbar {
    grid-template-columns: 1fr auto;
    min-height: 104px;
  }

  .terminal-dots {
    display: none;
  }

  .command-tabs {
    gap: 6px;
  }

  .command-block {
    min-height: 250px;
    padding: 20px;
    font-size: 14px;
  }

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

@media (max-width: 360px) {
  .hero h1 {
    font-size: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .button:hover,
  .header-action:hover,
  .icon-button:hover,
  .tab-button:hover,
  .flow-card:hover,
  .feature-card:hover,
  .ops-grid article:hover,
  .config-list article:hover {
    transform: none;
  }

  body.reveal-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .live-dot {
    animation: none;
  }
}
