:root {
  --bg: #f8f9fd;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #ffffff;
  --text: #1f2937;
  --text-strong: #0f172a;
  --text-soft: #64708a;
  --text-muted: #8a94aa;
  --line: rgba(17, 24, 39, 0.08);
  --line-strong: rgba(17, 24, 39, 0.12);
  --primary: #4b7cff;
  --primary-soft: rgba(75, 124, 255, 0.12);
  --accent: #72e4d1;
  --shadow: 0 24px 80px rgba(188, 201, 230, 0.28);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1180px, calc(100vw - 40px));
  --header-height: 108px;
  --body-bg:
    radial-gradient(circle at top left, rgba(114, 228, 209, 0.24), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(75, 124, 255, 0.16), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fc 100%);
  --ambient-left-bg: rgba(114, 228, 209, 0.24);
  --ambient-right-bg: rgba(75, 124, 255, 0.18);
  --glass-nav: rgba(255, 255, 255, 0.72);
  --glass-ghost: rgba(255, 255, 255, 0.85);
  --glass-secondary: rgba(255, 255, 255, 0.76);
  --glass-proof: rgba(255, 255, 255, 0.74);
  --glass-panel-window: rgba(255, 255, 255, 0.8);
  --glass-panel-card: rgba(255, 255, 255, 0.74);
  --glass-matrix: rgba(248, 250, 255, 0.88);
  --glass-logo: rgba(255, 255, 255, 0.72);
  --glass-feature: rgba(255, 255, 255, 0.8);
  --cta-bg:
    radial-gradient(circle at left top, rgba(114, 228, 209, 0.22), transparent 35%),
    radial-gradient(circle at 88% 18%, rgba(75, 124, 255, 0.16), transparent 32%),
    rgba(255, 255, 255, 0.84);
  --window-dot: rgba(17, 24, 39, 0.12);
  --chip-bg: rgba(17, 24, 39, 0.04);
  --pitch-grid-v: rgba(17, 24, 39, 0.04);
  --pitch-grid-h: rgba(17, 24, 39, 0.04);
  --pitch-bg: linear-gradient(135deg, rgba(114, 228, 209, 0.18), rgba(75, 124, 255, 0.14));
  --proof-text: #66738d;
  --logo-text: #6a7490;
  --stat-small: #74809a;
  --footer-text: #7a859f;
  --header-bg: rgba(255, 255, 255, 0.7);
  --header-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1220;
  --surface: rgba(15, 23, 42, 0.82);
  --surface-strong: #101a2d;
  --text: #e2e8f5;
  --text-strong: #f3f6ff;
  --text-soft: #a3b0cb;
  --text-muted: #8492af;
  --line: rgba(148, 163, 184, 0.24);
  --line-strong: rgba(148, 163, 184, 0.34);
  --primary: #7f9eff;
  --primary-soft: rgba(127, 158, 255, 0.2);
  --accent: #63dac6;
  --shadow: 0 24px 80px rgba(2, 6, 23, 0.58);
  --body-bg:
    radial-gradient(circle at top left, rgba(43, 88, 173, 0.36), transparent 34%),
    radial-gradient(circle at 88% 16%, rgba(26, 139, 127, 0.3), transparent 30%),
    linear-gradient(180deg, #060c18 0%, #0a1324 100%);
  --ambient-left-bg: rgba(26, 139, 127, 0.32);
  --ambient-right-bg: rgba(43, 88, 173, 0.3);
  --glass-nav: rgba(15, 23, 42, 0.72);
  --glass-ghost: rgba(15, 23, 42, 0.86);
  --glass-secondary: rgba(15, 23, 42, 0.78);
  --glass-proof: rgba(15, 23, 42, 0.78);
  --glass-panel-window: rgba(12, 20, 35, 0.85);
  --glass-panel-card: rgba(15, 23, 42, 0.8);
  --glass-matrix: rgba(18, 28, 48, 0.92);
  --glass-logo: rgba(15, 23, 42, 0.75);
  --glass-feature: rgba(15, 23, 42, 0.82);
  --cta-bg:
    radial-gradient(circle at left top, rgba(26, 139, 127, 0.28), transparent 35%),
    radial-gradient(circle at 88% 18%, rgba(43, 88, 173, 0.3), transparent 32%),
    rgba(15, 23, 42, 0.84);
  --window-dot: rgba(226, 232, 240, 0.32);
  --chip-bg: rgba(148, 163, 184, 0.14);
  --pitch-grid-v: rgba(148, 163, 184, 0.14);
  --pitch-grid-h: rgba(148, 163, 184, 0.14);
  --pitch-bg: linear-gradient(135deg, rgba(26, 139, 127, 0.24), rgba(43, 88, 173, 0.26));
  --proof-text: #a5b2cc;
  --logo-text: #aab8d3;
  --stat-small: #9aabc8;
  --footer-text: #98a8c5;
  --header-bg: rgba(10, 18, 33, 0.74);
  --header-shadow: 0 12px 32px rgba(2, 6, 23, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--text);
  background: var(--body-bg);
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-strong);
  font-weight: 700;
  letter-spacing: -0.015em;
}

h1 { font-weight: 800; }

p {
  margin: 0;
}

body.is-modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.ambient {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}

.ambient-left {
  left: -160px;
  top: 140px;
  background: var(--ambient-left-bg);
  animation: floatBlob 10s ease-in-out infinite;
}

.ambient-right {
  right: -160px;
  top: 60px;
  background: var(--ambient-right-bg);
  animation: floatBlob 12s ease-in-out infinite reverse;
}

.container {
  width: var(--container);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header,
[data-scroll-header] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  gap: 20px;
  position: fixed;
  top: 0;
  left: 50%;
  width: var(--container);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  box-shadow: var(--header-shadow);
  z-index: 20;
  transition: transform 0.28s ease;
  will-change: transform;
  transform: translate(-50%, 0);
}

.site-header.is-hidden,
[data-scroll-header].is-hidden {
  transform: translate(-50%, calc(-100% - 12px));
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.trial-button {
  box-shadow: 0 18px 36px rgba(87, 133, 255, 0.42);
  font-weight: 700;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 24px rgba(75, 124, 255, 0.28);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 12px 22px;
  border: 1px solid var(--line);
  background: var(--glass-nav);
  border-radius: 999px;
  backdrop-filter: blur(16px);
}

.site-nav a {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--text-strong);
}

.ghost-button,
.primary-button,
.secondary-button,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 999px;
  padding: 0 26px;
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.02em;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.ghost-button {
  background: var(--glass-ghost);
  border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, #5785ff, #79caff);
  box-shadow: 0 16px 34px rgba(87, 133, 255, 0.32);
}

.secondary-button {
  border: 1px solid var(--line);
  background: var(--glass-secondary);
}

.theme-toggle {
  position: relative;
  border: 1px solid var(--line);
  background: var(--glass-ghost);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  width: 48px;
  min-width: 48px;
  padding: 0;
  border-radius: 50%;
}

.theme-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.ghost-button:hover,
.primary-button:hover,
.secondary-button:hover,
.theme-toggle:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 34px;
  align-items: center;
  padding: 44px 0 48px;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.eyebrow i {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.hero-copy h1,
.section-heading h2,
.engine-copy h2,
.cta-card h2 {
  margin: 0;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.8rem);
  line-height: 1.12;
  max-width: 12ch;
  font-weight: 800;
}

.hero-copy h1 span {
  background: linear-gradient(135deg, #2456dc, #58bde4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text,
.section-heading p,
.engine-copy p,
.feature-card p,
.engine-card p,
.scenario-item p,
.cta-card p {
  color: var(--text-soft);
  line-height: 1.85;
  letter-spacing: 0.015em;
  font-weight: 400;
}

.hero-text {
  max-width: 56ch;
  margin: 26px 0 0;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.proof-list span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass-proof);
  color: var(--proof-text);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.04);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.stat-card,
.feature-card,
.engine-card,
.scenario-item,
.cta-card,
.panel-card,
.site-nav,
.hero-panel .panel-window {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(20px);
}

.stat-card span {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.stat-card strong {
  display: block;
  margin: 12px 0 10px;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-strong);
  font-feature-settings: "tnum" 1;
}

.stat-card small {
  color: var(--stat-small);
  font-size: 0.83rem;
  line-height: 1.6;
}

.hero-panel {
  position: relative;
}

.floating {
  animation: floatPanel 7s ease-in-out infinite;
}

.panel-window {
  padding: 18px;
  background: var(--glass-panel-window);
  border-radius: 36px;
  backdrop-filter: blur(24px);
}

.window-topbar {
  display: flex;
  gap: 8px;
  padding: 4px 4px 18px;
}

.window-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--window-dot);
}

.panel-head,
.panel-title,
.matrix-list div,
.cta-card,
.logo-strip,
.engine-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.panel-head {
  gap: 20px;
  margin-bottom: 18px;
}

.panel-head p,
.panel-title span {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.panel-head h2,
.panel-title strong {
  margin: 8px 0 0;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text-strong);
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.chip {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.chip.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.panel-card {
  padding: 18px;
  border-radius: 26px;
  background: var(--glass-panel-card);
}

.spectrum {
  margin-top: 18px;
  height: 180px;
  display: grid;
  align-items: end;
  grid-template-columns: repeat(24, minmax(0, 1fr));
  gap: 6px;
}

.bar {
  width: 100%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(121, 202, 255, 0.95), rgba(75, 124, 255, 0.2));
  min-height: 16px;
  transition: height 0.3s ease;
}

.pitch-lane {
  position: relative;
  height: 92px;
  margin-top: 18px;
  border-radius: 22px;
  overflow: hidden;
  background:
    linear-gradient(90deg, var(--pitch-grid-v) 1px, transparent 1px) 0 0 / 20% 100%,
    linear-gradient(180deg, var(--pitch-grid-h) 1px, transparent 1px) 0 0 / 100% 50%,
    var(--pitch-bg);
}

.pitch-track {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: trackSweep 3.4s linear infinite;
}

.pitch-dot {
  position: absolute;
  top: 50%;
  left: 16%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 22px rgba(75, 124, 255, 0.4);
  transition: left 0.36s ease, top 0.36s ease;
}

.lane-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.8rem;
}

.lyric-current {
  margin: 24px 0 12px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--text-strong);
  line-height: 1.55;
}

.lyric-next {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 0.92rem;
}

.matrix-list {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}

.matrix-list div {
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--glass-matrix);
}

.matrix-list b {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-strong);
}

.matrix-list span {
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 400;
}

.lane-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-strip {
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 12px auto 24px;
  padding: 18px 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass-logo);
  color: var(--logo-text);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 36px rgba(17, 24, 39, 0.06);
}

.section {
  padding: 72px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2,
.engine-copy h2,
.cta-card h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.85rem);
  line-height: 1.2;
  font-weight: 700;
}

.section-heading p {
  margin-top: 14px;
  font-size: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card,
.engine-card,
.scenario-item {
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--glass-feature);
}

.feature-card strong {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.feature-card h3,
.engine-card h3,
.scenario-item h3 {
  margin: 16px 0 10px;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--text-strong);
}

.engine-section {
  gap: 24px;
  align-items: flex-start;
}

.engine-copy {
  flex: 1.1;
}

.engine-cards {
  flex: 1;
  display: grid;
  gap: 16px;
}

.engine-card span {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scenario-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  gap: 22px;
  padding: 34px;
  border-radius: 36px;
  background: var(--cta-bg);
}

.cta-head {
  max-width: 760px;
  width: 100%;
}

.contact-options {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.contact-option {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--glass-feature);
}

.contact-option h3 {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.contact-option p {
  margin: 12px 0 0;
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 0.94rem;
}

.contact-option .primary-button,
.contact-option .secondary-button {
  width: 100%;
  margin-top: 16px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 10, 20, 0.58);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-dialog {
  position: relative;
  width: min(420px, 100%);
  padding: 28px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--glass-panel-window);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.modal-dialog h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.modal-dialog p {
  margin: 12px 0 0;
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 0.94rem;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--glass-ghost);
  color: var(--text);
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

.qrcode-frame {
  margin-top: 18px;
  min-height: 280px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--glass-feature);
  display: grid;
  place-items: center;
}

.qrcode-frame img {
  width: min(280px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 12px;
  background: #ffffff;
}

.qrcode-frame img.is-hidden {
  display: none;
}

.qrcode-fallback {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  display: none;
}

.qrcode-fallback.is-visible {
  display: block;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 40px;
  color: var(--footer-text);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatBlob {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -28px, 0) scale(1.06);
  }
}

@keyframes floatPanel {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes trackSweep {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .engine-section {
    flex-direction: column;
  }
}

@media (max-width: 820px) {
  .site-header,
  [data-scroll-header],
  .site-footer,
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header,
  [data-scroll-header] {
    border-radius: 24px;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 16px;
    overflow-x: auto;
  }

  .header-actions {
    width: 100%;
    gap: 12px;
  }

  .hero-stats,
  .panel-grid,
  .scenario-list,
  .feature-grid,
  .contact-options {
    grid-template-columns: 1fr;
  }

  .logo-strip {
    border-radius: 28px;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-header,
  [data-scroll-header] {
    padding-top: 18px;
  }

  .header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero {
    padding-top: 20px;
  }

  .panel-window {
    padding: 14px;
    border-radius: 28px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .ghost-button,
  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .theme-toggle {
    align-self: flex-end;
  }
}
