:root {
  --bg: #07111f;
  --bg-deep: #040913;
  --panel: rgba(8, 16, 28, 0.8);
  --panel-strong: rgba(7, 14, 24, 0.92);
  --panel-soft: rgba(12, 24, 40, 0.7);
  --line: rgba(132, 216, 255, 0.18);
  --line-strong: rgba(132, 216, 255, 0.4);
  --text: #eff8ff;
  --muted: #8aa6bd;
  --cyan: #73d7ff;
  --cyan-strong: #1fe0ff;
  --mint: #85ffbf;
  --amber: #ffcf75;
  --violet: #8190ff;
  --red: #ff6d86;
  --shadow: 0 36px 80px rgba(0, 0, 0, 0.44);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "IBM Plex Mono", "Noto Sans SC", monospace;
  background:
    radial-gradient(circle at top, rgba(19, 82, 130, 0.14), transparent 28%),
    linear-gradient(180deg, #07111f 0%, #030712 100%);
}

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

button,
code {
  font: inherit;
}

img {
  max-width: 100%;
}

.cosmos,
.cosmos-grid,
.cosmos-orb,
.cosmos-beam,
.cosmos-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.cosmos {
  overflow: hidden;
}

.cosmos-grid {
  background-image:
    linear-gradient(rgba(115, 215, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(115, 215, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.9), transparent 86%);
  opacity: 0.7;
}

.cosmos-orb {
  border-radius: 999px;
  filter: blur(16px);
}

.cosmos-orb-a {
  inset: auto auto 12% -6%;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(115, 215, 255, 0.18), transparent 66%);
  animation: driftA 13s ease-in-out infinite alternate;
}

.cosmos-orb-b {
  inset: 6% -2% auto auto;
  width: 32rem;
  height: 32rem;
  background: radial-gradient(circle, rgba(129, 144, 255, 0.14), transparent 64%);
  animation: driftB 16s ease-in-out infinite alternate;
}

.cosmos-beam {
  background:
    linear-gradient(120deg, transparent 18%, rgba(31, 224, 255, 0.08) 36%, transparent 56%),
    linear-gradient(180deg, transparent, rgba(133, 255, 191, 0.05), transparent);
  transform: translate3d(-8%, -4%, 0);
  animation: beamShift 14s linear infinite;
}

.cosmos-noise {
  opacity: 0.11;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.4) 0 1px, transparent 1px),
    radial-gradient(circle at 70% 40%, rgba(255, 255, 255, 0.24) 0 1px, transparent 1px),
    radial-gradient(circle at 44% 78%, rgba(255, 255, 255, 0.2) 0 1px, transparent 1px);
  background-size: 180px 180px, 240px 240px, 220px 220px;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1380px, calc(100% - 28px));
  margin: 0 auto;
  padding: 18px 0 38px;
}

.panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 18%),
    var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp 820ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-delay-1 { animation-delay: 80ms; }
.reveal-delay-2 { animation-delay: 150ms; }
.reveal-delay-3 { animation-delay: 220ms; }
.reveal-delay-4 { animation-delay: 290ms; }
.reveal-delay-5 { animation-delay: 360ms; }
.reveal-delay-6 { animation-delay: 430ms; }

.topbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  margin-bottom: 18px;
  border-radius: 22px;
}

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

.brand-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  box-shadow: 0 0 0 1px rgba(115, 215, 255, 0.24), 0 18px 36px rgba(0, 0, 0, 0.35);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong,
h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", "Noto Sans SC", sans-serif;
}

html[lang="zh-CN"] .brand-copy strong,
html[lang="zh-CN"] h1,
html[lang="zh-CN"] h2,
html[lang="zh-CN"] h3 {
  font-family: "Noto Sans SC", sans-serif;
}

.brand-copy strong {
  font-size: 1.12rem;
}

.brand-copy span,
.eyebrow,
.signal-label,
.terminal-title,
.workflow-tag,
.lane-index,
.launch-link,
.stack-badge,
.stack-cell span {
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

html[lang="zh-CN"] .brand-copy span,
html[lang="zh-CN"] .eyebrow,
html[lang="zh-CN"] .signal-label,
html[lang="zh-CN"] .terminal-title,
html[lang="zh-CN"] .workflow-tag,
html[lang="zh-CN"] .lane-index,
html[lang="zh-CN"] .launch-link,
html[lang="zh-CN"] .stack-badge,
html[lang="zh-CN"] .stack-cell span,
html[lang="zh-CN"] .command-label,
html[lang="zh-CN"] .ops-list span,
html[lang="zh-CN"] .telemetry-item span {
  letter-spacing: 0.08em;
  text-transform: none;
}

.status-ribbon {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0 16px;
  height: 46px;
  border: 1px solid rgba(133, 255, 191, 0.18);
  border-radius: 999px;
  color: var(--cyan);
  overflow: hidden;
  background: rgba(7, 15, 28, 0.86);
}

.status-ribbon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(133, 255, 191, 0.08), transparent);
  transform: translateX(-100%);
  animation: sweep 4s linear infinite;
}

.status-dot {
  position: relative;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 18px rgba(133, 255, 191, 0.7);
  animation: pulseDot 2s ease-in-out infinite;
}

.status-copy {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.topbar-controls {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(115, 215, 255, 0.16);
  border-radius: 999px;
  background: rgba(7, 14, 26, 0.78);
}

.lang-button {
  min-width: 68px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  transition: transform 180ms ease, color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.lang-button:hover,
.lang-button:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.lang-button.is-active {
  color: #04111b;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
  box-shadow: 0 12px 24px rgba(31, 224, 255, 0.22);
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.topnav a,
.button,
#copy-command {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.topnav a {
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  background: rgba(8, 16, 28, 0.72);
}

.topnav a:hover,
.topnav a:focus-visible,
.button:hover,
.button:focus-visible,
#copy-command:hover,
#copy-command:focus-visible,
.launch-card:hover,
.launch-card:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 0 0 1px rgba(115, 215, 255, 0.12), 0 16px 34px rgba(0, 0, 0, 0.32);
}

.hero-frame {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 18px;
}

.hero-copy,
.terminal-shell,
.ops-card,
.system-panel,
.workflow-panel,
.launch-card,
.signal-panel {
  border-radius: var(--radius-xl);
}

.hero-copy,
.system-panel,
.workflow-panel,
.signal-panel {
  padding: 30px;
}

.hero-copy {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 16%, rgba(31, 224, 255, 0.18), transparent 32%),
    radial-gradient(circle at 84% 20%, rgba(129, 144, 255, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(10, 20, 34, 0.98), rgba(6, 11, 20, 0.96));
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: auto -10% -22% auto;
  width: 22rem;
  height: 22rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(133, 255, 191, 0.14), transparent 68%);
  filter: blur(16px);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero-kicker-line {
  width: 96px;
  height: 1px;
  background: linear-gradient(90deg, rgba(115, 215, 255, 0.8), transparent);
}

h1 {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  max-width: 9ch;
  font-size: clamp(3.8rem, 11vw, 6.9rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

h1 span {
  color: var(--mint);
  text-shadow: 0 0 24px rgba(133, 255, 191, 0.2);
}

html[lang="zh-CN"] h1 {
  max-width: 7.3ch;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: none;
}

h2 {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

html[lang="zh-CN"] h2 {
  max-width: 11ch;
  line-height: 1.1;
  text-transform: none;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.32rem;
  text-transform: uppercase;
}

html[lang="zh-CN"] h3 {
  text-transform: none;
}

.hero-text,
.signal-card p,
.lane-item p,
.workflow-card p,
.launch-card p,
.stack-copy,
.footer p,
.ops-list strong,
.telemetry-item span {
  color: var(--muted);
  line-height: 1.8;
  font-size: 0.96rem;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 62ch;
  margin: 20px 0 0;
}

.hero-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-strip-item {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(115, 215, 255, 0.16);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(7, 15, 28, 0.72);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}

.button-primary {
  color: #04111b;
  font-weight: 700;
  background: linear-gradient(135deg, var(--cyan), var(--mint));
}

.button-secondary {
  background: rgba(8, 16, 28, 0.72);
}

.command-bar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(115, 215, 255, 0.14);
  border-radius: 18px;
  background: rgba(5, 12, 22, 0.82);
}

.command-label {
  color: var(--mint);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.command-bar code {
  overflow: auto;
  white-space: nowrap;
  scrollbar-width: thin;
}

#copy-command {
  padding: 0 14px;
  cursor: pointer;
  color: var(--text);
  background: rgba(115, 215, 255, 0.08);
}

.signal-cluster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.signal-card {
  padding: 18px;
  border: 1px solid rgba(115, 215, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(6, 12, 24, 0.78);
}

.signal-card-accent {
  background:
    linear-gradient(180deg, rgba(31, 224, 255, 0.06), transparent 66%),
    rgba(6, 12, 24, 0.82);
}

.signal-card strong,
.stack-cell strong {
  display: block;
  margin: 10px 0 8px;
  font-family: "Bricolage Grotesque", "Noto Sans SC", sans-serif;
  font-size: 1.34rem;
}

html[lang="zh-CN"] .signal-card strong,
html[lang="zh-CN"] .stack-cell strong {
  font-family: "Noto Sans SC", sans-serif;
}

.mission-deck {
  display: grid;
  gap: 18px;
}

.terminal-shell {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(31, 224, 255, 0.06), transparent 22%),
    linear-gradient(180deg, rgba(7, 14, 24, 0.98), rgba(4, 8, 16, 0.98));
}

.terminal-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(115, 215, 255, 0.05), transparent);
  transform: translateY(-100%);
  animation: terminalSweep 8s linear infinite;
}

.terminal-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(115, 215, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

.terminal-led {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.terminal-led.is-red { background: var(--red); }
.terminal-led.is-amber { background: var(--amber); }
.terminal-led.is-green { background: var(--mint); }

.terminal-body {
  position: relative;
  min-height: 458px;
  padding: 18px;
  line-height: 1.75;
}

.terminal-prelude {
  display: grid;
  gap: 6px;
  margin-bottom: 12px;
}

.terminal-line.is-dim {
  color: var(--cyan);
}

.typed-terminal {
  min-height: 330px;
  white-space: pre-wrap;
  transition: opacity 220ms ease, transform 220ms ease;
}

.typed-terminal .line {
  display: block;
  margin-bottom: 7px;
}

.typed-terminal .comment {
  color: var(--cyan);
}

.typed-terminal .tool {
  color: var(--mint);
}

.typed-terminal .assistant {
  color: #f5fbff;
}

.typed-terminal .cursor {
  display: inline-block;
  width: 0.62em;
  margin-left: 2px;
  background: var(--mint);
  animation: blink 1s steps(1) infinite;
}

.typed-terminal.is-switching {
  opacity: 0.28;
  transform: translateY(4px);
}

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

.ops-card {
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%),
    var(--panel-soft);
}

.ops-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.ops-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #04111b;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--mint), var(--cyan));
}

.ops-pill-alt {
  background: linear-gradient(135deg, var(--cyan), var(--amber));
}

html[lang="zh-CN"] .ops-pill {
  letter-spacing: 0.08em;
  text-transform: none;
}

.ops-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ops-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(115, 215, 255, 0.1);
}

.ops-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.ops-list span {
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.telemetry-list {
  display: grid;
  gap: 12px;
}

.telemetry-item {
  display: grid;
  gap: 8px;
}

.meter {
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.meter-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--cyan), var(--mint));
  box-shadow: 0 0 18px rgba(31, 224, 255, 0.22);
}

.meter-fill-a { width: 84%; animation: meterPulseA 2.8s ease-in-out infinite; }
.meter-fill-b { width: 71%; animation: meterPulseB 3.2s ease-in-out infinite; }
.meter-fill-c { width: 66%; animation: meterPulseC 2.6s ease-in-out infinite; }

.systems-band,
.workflow-band,
.launch-band,
.signal-band {
  margin-top: 18px;
}

.systems-band {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 18px;
}

.system-panel-main {
  background:
    linear-gradient(180deg, rgba(31, 224, 255, 0.05), transparent 24%),
    rgba(7, 14, 24, 0.9);
}

.system-panel-side {
  display: grid;
  align-content: start;
  gap: 18px;
  background:
    radial-gradient(circle at top right, rgba(129, 144, 255, 0.18), transparent 34%),
    rgba(7, 14, 24, 0.92);
}

.section-head {
  display: grid;
  gap: 12px;
  align-items: end;
  margin-bottom: 22px;
}

.lane-stack {
  display: grid;
  gap: 14px;
}

.lane-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(115, 215, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(7, 14, 24, 0.72);
}

.lane-index {
  color: var(--mint);
}

.stack-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(129, 144, 255, 0.18);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(6, 12, 24, 0.7);
}

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

.stack-cell {
  padding: 18px;
  border: 1px solid rgba(115, 215, 255, 0.14);
  border-radius: var(--radius-md);
  background: rgba(6, 12, 24, 0.78);
}

.workflow-panel {
  background:
    linear-gradient(180deg, rgba(129, 144, 255, 0.05), transparent 24%),
    rgba(7, 14, 24, 0.92);
}

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

.workflow-card {
  padding: 18px;
  border: 1px solid rgba(115, 215, 255, 0.14);
  border-radius: var(--radius-lg);
  background: rgba(6, 12, 24, 0.78);
}

.workflow-card-strong {
  background:
    linear-gradient(180deg, rgba(31, 224, 255, 0.06), transparent 38%),
    rgba(6, 12, 24, 0.82);
}

.workflow-card code {
  display: block;
  margin: 14px 0 12px;
  line-height: 1.7;
  color: var(--text);
}

.launch-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.launch-card {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 250px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%),
    rgba(7, 14, 24, 0.88);
}

.launch-link {
  color: var(--cyan);
  margin-top: auto;
}

.signal-panel {
  background:
    radial-gradient(circle at 85% 0%, rgba(133, 255, 191, 0.12), transparent 26%),
    rgba(7, 14, 24, 0.92);
}

.chart-frame {
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(115, 215, 255, 0.14);
  border-radius: 22px;
  background: rgba(6, 12, 24, 0.82);
}

.chart-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 0 4px;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes driftA {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(22px, -18px, 0) scale(1.06);
  }
}

@keyframes driftB {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-24px, 20px, 0) scale(1.04);
  }
}

@keyframes beamShift {
  to {
    transform: translate3d(8%, 6%, 0);
  }
}

@keyframes sweep {
  to {
    transform: translateX(100%);
  }
}

@keyframes terminalSweep {
  to {
    transform: translateY(100%);
  }
}

@keyframes pulseDot {
  50% {
    transform: scale(1.18);
    box-shadow: 0 0 22px rgba(133, 255, 191, 0.9);
  }
}

@keyframes meterPulseA {
  50% { width: 88%; }
}

@keyframes meterPulseB {
  50% { width: 76%; }
}

@keyframes meterPulseC {
  50% { width: 70%; }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1240px) {
  .hero-frame,
  .systems-band,
  .workflow-grid,
  .launch-band,
  .ops-grid,
  .signal-cluster {
    grid-template-columns: 1fr;
  }

  h1,
  html[lang="zh-CN"] h1,
  h2,
  html[lang="zh-CN"] h2 {
    max-width: none;
  }
}

@media (max-width: 940px) {
  .page-shell {
    width: min(100% - 18px, 1380px);
  }

  .topbar {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .topbar-controls,
  .topnav,
  .footer {
    justify-content: flex-start;
  }

  .status-ribbon {
    width: 100%;
  }

  .workflow-grid,
  .stack-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .system-panel,
  .workflow-panel,
  .signal-panel {
    padding: 22px;
  }

  .command-bar {
    grid-template-columns: 1fr;
  }

  .launch-card {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(2.9rem, 15vw, 4.6rem);
  }

  h2 {
    font-size: clamp(1.7rem, 9vw, 2.6rem);
  }

  .terminal-body {
    min-height: 400px;
  }

  .typed-terminal {
    min-height: 290px;
  }

  .hero-strip,
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button,
  .topnav a {
    justify-content: center;
  }
}
