:root {
  color-scheme: dark;
  --bg: #13161b;
  --bg-deep: #0d1014;
  --surface: rgba(31, 36, 44, 0.88);
  --surface-strong: rgba(38, 44, 54, 0.96);
  --surface-soft: rgba(27, 31, 38, 0.72);
  --line: rgba(230, 177, 90, 0.16);
  --line-strong: rgba(230, 177, 90, 0.34);
  --text: #f3f4f6;
  --muted: #b8bec8;
  --muted-strong: #d7dbe1;
  --amber: #e6b15a;
  --amber-bright: #f2c97d;
  --amber-wash: rgba(230, 177, 90, 0.14);
  --amber-deep: #5f4420;
  --red: #f17d85;
  --green: #8bd2b1;
  --oxblood: #6a2f35;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1240px;
  --display-font: "Baskerville", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --body-font: "Segoe UI", "Trebuchet MS", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--body-font);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(106, 47, 53, 0.18), transparent 34%),
    radial-gradient(circle at 85% 12%, rgba(230, 177, 90, 0.1), transparent 28%),
    linear-gradient(180deg, #181b21 0%, #12151a 48%, #0d1014 100%);
  letter-spacing: 0.01em;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 30%, black, transparent 82%);
}

body::after {
  opacity: 0.08;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.5) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.4) 0 1px, transparent 1px);
  background-size: 18px 18px, 23px 23px;
  mix-blend-mode: screen;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.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;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: #111;
}

.skip-link:focus-visible {
  top: 1rem;
}

.site-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.2rem 0 2.5rem;
}

.section-frame {
  position: relative;
  margin-top: 1.1rem;
  padding: clamp(1.2rem, 2vw, 1.8rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface), rgba(20, 23, 29, 0.9));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.section-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(230, 177, 90, 0.36), transparent 34%, rgba(106, 47, 53, 0.22));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  position: relative;
  z-index: 10;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(230, 177, 90, 0.14);
  border-radius: 999px;
  background: rgba(14, 17, 21, 0.86);
  backdrop-filter: blur(12px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-lockup--svg {
  min-width: 0;
}

.brand-mark {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(230, 177, 90, 0.16), rgba(106, 47, 53, 0.32)),
    rgba(19, 22, 27, 0.95);
  border: 1px solid rgba(230, 177, 90, 0.22);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.brand-mark span {
  position: absolute;
  display: block;
  background: linear-gradient(180deg, var(--amber-bright), rgba(230, 177, 90, 0.14));
  border-radius: 999px;
}

.brand-mark span:nth-child(1) {
  inset: 9px 22px 9px 22px;
}

.brand-mark span:nth-child(2) {
  inset: 22px 9px 22px 9px;
}

.brand-mark span:nth-child(3) {
  width: 11px;
  height: 11px;
  right: 9px;
  top: 9px;
  background: var(--red);
  box-shadow: 0 0 16px rgba(241, 125, 133, 0.45);
}

.brand-kicker,
.eyebrow,
.demo-eyebrow,
.mini-label {
  margin: 0;
  color: var(--amber-bright);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.brand-name,
.hero h2,
.section-heading h2,
.site-footer h2,
.value-card h3,
.dock-card h3,
.plan-card h3,
.provider-card h3,
.workflow-track h3,
.demo-topbar h3 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-name {
  font-size: 1.35rem;
  display: flex;
  align-items: center;
}

.brand-name .brand-wordmark {
  display: block;
}

.brand-name span {
  color: var(--muted);
  font-family: var(--body-font);
  font-size: 0.62em;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.site-nav a,
.menu-toggle {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted-strong);
  background: transparent;
  border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.menu-toggle:hover,
.menu-toggle:focus-visible,
.button:hover,
.button:focus-visible,
button:hover,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--line-strong);
  box-shadow: 0 0 0 3px rgba(230, 177, 90, 0.18);
}

.menu-toggle {
  display: none;
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.2rem, 3vw, 2.4rem);
  align-items: center;
  padding-top: clamp(1.6rem, 4vw, 3rem);
}

.hero h2 {
  font-size: clamp(2.7rem, 5.1vw, 4.6rem);
  line-height: 1.06;
  max-width: 16ch;
}

.hero-lead,
.hero-note,
.section-heading p,
.value-card p,
.dock-card p,
.workflow-track p,
.plan-summary,
.provider-card p,
.faq-list p,
.program-caption,
.demo-caption,
.demo-help-copy,
.waitlist-response {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy {
  display: grid;
  gap: 1rem;
}

.hero-actions,
.demo-actions,
.mini-footer,
.plan-header,
.provider-topline,
.program-card-head,
.panel-topline,
.demo-topbar,
.demo-dock-status,
.demo-footer,
.window-topline,
.dock-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.button,
.mini-footer button,
.demo-tab,
.demo-row,
.media-tile,
.mini-row,
.menu-toggle {
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  text-decoration: none;
  cursor: pointer;
}

.button-primary,
.button-accent {
  color: #21170b;
  background: linear-gradient(180deg, var(--amber-bright), var(--amber));
  border-color: rgba(242, 201, 125, 0.5);
  font-weight: 700;
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
}

.hero-metrics div,
.value-card,
.dock-card,
.plan-card,
.provider-card,
.section-card,
.faq-list details,
.setup-preview-grid article {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(18, 21, 27, 0.78);
}

.hero-metrics dt {
  margin-bottom: 0.35rem;
  color: var(--amber-bright);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-metrics dd {
  margin: 0;
  color: var(--text);
  font-size: 0.98rem;
}

.hero-stage {
  position: relative;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 7% 8% auto auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(230, 177, 90, 0.14), transparent 72%);
  filter: blur(12px);
}

.stage-card,
.obs-window {
  position: relative;
  padding: 1rem;
  border-radius: 30px;
  border: 1px solid rgba(230, 177, 90, 0.16);
  background: linear-gradient(180deg, rgba(24, 28, 35, 0.96), rgba(12, 15, 19, 0.96));
  overflow: hidden;
}

.window-topline {
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.88rem;
}

.window-dots {
  display: inline-flex;
  gap: 0.4rem;
}

.window-dots i {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.window-dots i:first-child {
  background: var(--red);
}

.window-dots i:nth-child(2) {
  background: var(--amber);
}

.window-dots i:nth-child(3) {
  background: var(--green);
}

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

.mini-dock,
.program-card,
.demo-dock,
.demo-preview-panel {
  min-width: 0;
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(34, 38, 46, 0.96), rgba(22, 26, 33, 0.96));
}

.dock-label,
.status-chip,
.plan-state,
.preview-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.36rem 0.68rem;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.status-program {
  color: #ffe5e6;
  background: rgba(241, 125, 133, 0.12);
  border-color: rgba(241, 125, 133, 0.28);
}

.status-warn {
  color: var(--amber-bright);
  background: rgba(230, 177, 90, 0.12);
  border-color: rgba(230, 177, 90, 0.24);
}

.status-muted {
  color: var(--muted);
}

.status-blocked {
  color: #ffdce0;
  background: rgba(106, 47, 53, 0.34);
  border-color: rgba(241, 125, 133, 0.28);
}

.mini-search input,
.field-block input,
.field-block textarea,
.mini-toolbar,
.mini-list,
.demo-list,
.lyric-card,
.demo-gallery,
.demo-program-stage,
.program-frame {
  border-radius: var(--radius-sm);
}

.mini-search input,
.field-block input,
.field-block textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 18, 23, 0.92);
  color: var(--text);
  resize: vertical;
}

.field-block {
  display: grid;
  gap: 0.45rem;
}

.field-block span {
  color: var(--muted-strong);
  font-size: 0.92rem;
}

.mini-list,
.demo-list {
  display: grid;
  gap: 0.5rem;
  padding: 0.35rem;
  background: rgba(14, 17, 21, 0.62);
}

.mini-row,
.demo-row,
.media-tile {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
}

.selected,
.mini-row.selected,
.demo-row.is-selected,
.media-tile.is-selected,
.demo-tab.is-active {
  background: linear-gradient(180deg, rgba(230, 177, 90, 0.18), rgba(230, 177, 90, 0.1));
  border-color: rgba(230, 177, 90, 0.36);
  box-shadow: inset 3px 0 0 var(--amber);
}

.mini-footer {
  flex-wrap: wrap;
  padding-top: 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.mini-footer div {
  display: flex;
  gap: 0.5rem;
}

.mini-footer button,
.demo-tab,
.demo-row,
.media-tile,
.mini-row {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.mini-footer .button-accent,
.demo-actions .button-primary {
  border: 0;
}

.program-frame,
.demo-program-stage {
  position: relative;
  isolation: isolate;
  min-height: 300px;
  padding: 1rem;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(239, 202, 135, 0.18), transparent 20%),
    linear-gradient(180deg, #0d1016 0%, #171c23 100%);
  overflow: hidden;
}

.camera-shape,
.program-camera-shape {
  position: absolute;
  top: 13%;
  left: 50%;
  width: 40%;
  max-width: 220px;
  aspect-ratio: 0.82;
  border-radius: 120px 120px 80px 80px;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 28%, rgba(248, 226, 189, 0.4), transparent 16%),
    linear-gradient(180deg, #6c452e 0%, #2c201a 72%);
  filter: brightness(0.82);
  opacity: 0.9;
  pointer-events: none;
}

.text-overlay-card,
.program-overlay {
  position: relative;
  z-index: 1;
  width: min(86%, 540px);
  padding: 1rem 1.15rem;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, rgba(20, 22, 27, 0.95), rgba(44, 27, 16, 0.98));
  border: 1px solid rgba(230, 177, 90, 0.18);
  text-align: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.32);
}

.overlay-ref,
.overlay-kicker {
  margin: 0 0 0.35rem;
  color: var(--amber-bright);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.overlay-copy {
  margin: 0;
  font-family: var(--display-font);
  font-size: 1.05rem;
  line-height: 1.35;
}

.program-caption {
  font-size: 0.9rem;
}

.value-band,
.workflow-section,
.plans-section,
.providers-section,
.faq-section,
.demo-section {
  display: grid;
  gap: 1.25rem;
}

.section-heading {
  display: grid;
  gap: 0.45rem;
  max-width: 58rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.value-grid,
.dock-grid,
.plans-grid,
.provider-grid {
  display: grid;
  gap: 1rem;
}

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

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

.workflow-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.workflow-track li {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(16, 19, 24, 0.8);
}

.step-index {
  display: inline-flex;
  margin-bottom: 0.75rem;
  color: var(--amber-bright);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
}

.dock-card-highlight,
.plan-card-primary {
  border-color: rgba(230, 177, 90, 0.24);
  background: linear-gradient(180deg, rgba(230, 177, 90, 0.08), rgba(16, 19, 24, 0.92));
}

.plan-price { margin: 1rem 0; font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 750; line-height: 1.15; letter-spacing: -0.04em; }
.plan-price span { font-size: 1rem; font-weight: 400; letter-spacing: normal; color: var(--text-muted); }
.plan-fine-print { max-width: 78ch; margin-top: 1rem; font-size: 0.9rem; line-height: 1.6; color: var(--text-muted); }
.plan-card .button:disabled { opacity: 0.65; cursor: not-allowed; }

.demo-layout,
.demo-shell {
  display: grid;
  gap: 1rem;
}

.demo-shell {
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: start;
}

.demo-tabs {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.demo-tab {
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  cursor: pointer;
}

.demo-content,
.demo-view {
  min-height: 360px;
}

.demo-view {
  display: none;
}

.demo-view.is-visible {
  display: grid;
  gap: 0.85rem;
}

.mini-toolbar {
  display: inline-flex;
  gap: 0.45rem;
  width: fit-content;
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
}

.mini-toolbar span {
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.split-demo,
.setup-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.compact-list .demo-row {
  padding-block: 0.8rem;
}

.lyric-card {
  padding: 1rem;
  background: rgba(14, 17, 21, 0.72);
}

.lyric-card strong,
.setup-preview-grid h4 {
  display: block;
  margin-bottom: 0.45rem;
}

.lyric-card p,
.setup-preview-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.demo-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0.2rem;
}

.media-tile {
  display: grid;
  gap: 0.65rem;
  justify-items: start;
}

.media-thumb {
  width: 100%;
  aspect-ratio: 1.28;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
}

.media-thumb-gold {
  background: linear-gradient(145deg, rgba(230, 177, 90, 0.8), rgba(95, 68, 32, 0.24));
}

.media-thumb-maroon {
  background: linear-gradient(145deg, rgba(106, 47, 53, 0.86), rgba(230, 177, 90, 0.1));
}

.media-thumb-slate {
  background: linear-gradient(145deg, rgba(103, 118, 140, 0.8), rgba(18, 21, 27, 0.3));
}

.preview-banner {
  width: fit-content;
  color: var(--amber-bright);
}

.demo-preview-panel {
  min-height: 100%;
}

.demo-overlay-card {
  opacity: 0;
  transform: translateY(10px);
}

.demo-overlay-card.is-live {
  opacity: 1;
  transform: translateY(0);
}

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

.plan-card,
.provider-card {
  display: grid;
  gap: 1rem;
}

.plan-card ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted-strong);
  line-height: 1.8;
}

.plan-state,
.plan-state-waitlist {
  color: var(--amber-bright);
}

.plan-state-waitlist {
  background: rgba(106, 47, 53, 0.28);
}

.provider-card-blocked {
  border-color: rgba(241, 125, 133, 0.22);
}

.faq-list {
  display: grid;
  gap: 0.85rem;
}

.faq-list details {
  overflow: hidden;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-list summary::marker {
  color: var(--amber-bright);
}

.faq-list p {
  margin-top: 0.8rem;
}

.site-footer {
  margin-top: 1.1rem;
}

@media (max-width: 1100px) {
  .demo-layout {
    grid-template-columns: 1fr;
  }

  .stage-grid,
  .demo-shell,
  .value-grid,
  .dock-grid,
  .plans-grid,
  .provider-grid,
  .workflow-track,
  .split-demo,
  .setup-preview-grid,
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demo-shell {
    grid-template-columns: 1fr;
  }

  .hero { grid-template-columns: 1fr; }
  .hero h2 { max-width: none; }
  .site-header { flex-wrap: wrap; border-radius: 24px; }
  .site-nav { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 1rem), var(--max-width));
  }

  .site-footer,
  .hero-actions,
  .demo-topbar,
  .demo-dock-status,
  .demo-footer,
  .mini-footer,
  .hero-metrics,
  .plans-grid,
  .provider-grid,
  .value-grid,
  .dock-grid,
  .workflow-track,
  .stage-grid,
  .split-demo,
  .setup-preview-grid {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .hero-actions,
  .mini-footer,
  .demo-topbar,
  .demo-dock-status,
  .demo-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header { flex-wrap: wrap; border-radius: 20px; padding: 0.7rem; }
  .site-header .brand-logo { width: 42px; height: 42px; }
  .site-header .brand-kicker { display: none; }
  .site-header .brand-name { font-size: 1.05rem; }

  .site-nav {
    width: 100%;
    display: none;
    padding-top: 0.4rem;
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    width: 100%;
    text-align: left;
    border-color: rgba(255, 255, 255, 0.06);
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 1.4rem;
  }

  .hero h2 { font-size: clamp(2.25rem, 12vw, 3.5rem); line-height: 1; }
  .hero-actions .button { width: 100%; }
  .section-frame { border-radius: 20px; padding: 1rem; }
  .hero-stage { display: none; }

  .section-frame,
  .section-heading,
  .demo-layout,
  .demo-panel,
  .demo-shell,
  .demo-dock,
  .demo-preview-panel {
    min-width: 0;
    max-width: 100%;
  }

  .hero h2,
  .section-heading h2 {
    max-width: none;
  }

  .demo-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
  }

  .demo-gallery {
    grid-template-columns: 1fr;
  }

  .program-frame,
  .demo-program-stage {
    min-height: 240px;
  }
}

@media (max-width: 420px) {
  .site-shell { width: calc(100% - 0.75rem); padding-top: 0.4rem; }
  .hero-note { font-size: 0.86rem; }
  .section-heading h2 { font-size: 1.85rem; }
  .demo-content, .demo-view { min-height: 280px; }
  .demo-dock, .demo-preview-panel { padding: 0.8rem; border-radius: 16px; }
}

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

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

  .demo-overlay-card,
  .button:hover,
  button:hover {
    transform: none !important;
  }
}
