:root {
  --canvas: #060b14;
  --canvas-rgb: 6, 11, 20;
  --surface: #0f1726;
  --surface-strong: #14213a;
  --surface-soft: #0c1322;
  --surface-line: rgba(128, 157, 201, 0.2);
  --text: #edf6ff;
  --muted: #91a4c1;
  --accent: #3fd7ff;
  --accent-soft: rgba(63, 215, 255, 0.18);
  --accent-2: #8af8d8;
  --signal: #ffc766;
  --danger: #ff7f7f;
  --success: #84f2c8;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-display: "Space Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(45, 113, 255, 0.12), transparent 32%),
    radial-gradient(circle at bottom left, rgba(38, 199, 169, 0.12), transparent 28%),
    var(--canvas);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

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

.ambient-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.3;
  background-image:
    linear-gradient(rgba(110, 141, 188, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(110, 141, 188, 0.08) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at center, black 32%, transparent 84%);
}

.site-header,
.hero-panel,
.capability-band,
.workflow-strip,
.workspace-shell {
  width: min(1240px, calc(100vw - 48px));
  margin-inline: auto;
}

.cue-rail {
  position: relative;
}

.cue-rail::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(63, 215, 255, 0.8) 24%, rgba(138, 248, 216, 0.92) 52%, rgba(255, 199, 102, 0.8) 76%, transparent 100%);
  box-shadow: 0 0 26px rgba(63, 215, 255, 0.22);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px 18px;
  margin-top: 18px;
  border: 1px solid rgba(130, 157, 194, 0.16);
  border-radius: 24px;
  background: rgba(10, 17, 31, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  min-width: 0;
  text-decoration: none;
}

.site-logo-mark {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.site-logo-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  white-space: nowrap;
}

.site-logo-copy strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}

.site-logo-copy span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
  white-space: nowrap;
}

.site-nav a {
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.header-actions,
.hero-actions,
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.primary-button,
.ghost-button,
.chip-button,
.workspace-nav button,
.option-chip {
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
  white-space: nowrap;
}

.primary-button {
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--accent) 0%, #1e6cff 100%);
  color: #02111d;
  font-weight: 800;
}

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

.ghost-button {
  padding: 12px 18px;
  background: rgba(18, 27, 43, 0.78);
  border-color: rgba(131, 159, 201, 0.24);
  color: var(--text);
}

.ghost-button:hover,
.workspace-nav button:hover,
.option-chip:hover {
  border-color: rgba(63, 215, 255, 0.52);
  color: var(--text);
}

.site-main {
  padding: 28px 0 48px;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 28px;
  align-items: stretch;
  padding: 34px 0 26px;
}

.hero-copy,
.hero-visual-shell,
.capability-band,
.workflow-strip,
.workspace-shell {
  border: 1px solid rgba(130, 157, 194, 0.16);
  background: linear-gradient(180deg, rgba(15, 23, 38, 0.92), rgba(10, 17, 31, 0.98));
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 42px;
  border-radius: var(--radius-lg);
}

.hero-copy h1,
.workflow-intro h2,
.panel h2,
.delivery-head h3 {
  font-family: var(--font-display);
}

.hero-copy h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(2.6rem, 4.8vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero-text {
  margin: 18px 0 28px;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.04rem;
}

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

.hero-stats div {
  padding: 16px;
  border: 1px solid rgba(130, 157, 194, 0.12);
  border-radius: var(--radius-md);
  background: rgba(11, 18, 34, 0.74);
}

.hero-stats dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero-stats dd {
  margin: 0;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 1rem;
}

.hero-visual-shell {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 36px;
}

.hero-visual-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual {
  width: 100%;
  height: 100%;
  border-radius: 26px;
  object-fit: cover;
}

.capability-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 22px 26px;
  border-radius: 24px;
  margin-top: 20px;
}

.capability-band article {
  padding: 18px 18px 14px;
  border-radius: var(--radius-md);
  background: rgba(9, 15, 29, 0.88);
  border: 1px solid rgba(130, 157, 194, 0.12);
}

.band-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.capability-band p {
  margin: 0;
  color: var(--muted);
}

.workflow-strip {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 30px;
  margin-top: 24px;
  border-radius: 28px;
}

.workflow-intro h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.06;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sonic-step;
}

.workflow-steps li {
  position: relative;
  min-height: 120px;
  padding: 20px 18px 18px;
  border-radius: 22px;
  border: 1px solid rgba(130, 157, 194, 0.12);
  background:
    linear-gradient(180deg, rgba(18, 30, 51, 0.9), rgba(10, 16, 28, 0.96));
  font-weight: 700;
}

.workflow-steps li::before {
  counter-increment: sonic-step;
  content: "0" counter(sonic-step);
  display: block;
  margin-bottom: 18px;
  color: var(--signal);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.workspace-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 0;
  margin-top: 26px;
  border-radius: 34px;
  overflow: hidden;
}

.workspace-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 22px 18px;
  border-right: 1px solid rgba(130, 157, 194, 0.12);
  background:
    linear-gradient(180deg, rgba(12, 20, 34, 0.96), rgba(8, 13, 24, 0.99));
}

.sidebar-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(130, 157, 194, 0.12);
}

.sidebar-head img {
  width: 34px;
  height: 34px;
}

.sidebar-head strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
}

.sidebar-head span,
.sidebar-foot {
  color: var(--muted);
  font-size: 0.86rem;
}

.workspace-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 0 0;
}

.workspace-nav button {
  padding: 12px 14px;
  background: rgba(10, 17, 31, 0.82);
  border-color: rgba(130, 157, 194, 0.12);
  color: var(--muted);
  font-weight: 700;
  text-align: left;
}

.workspace-nav button.is-active {
  background: rgba(63, 215, 255, 0.12);
  border-color: rgba(63, 215, 255, 0.46);
  color: var(--text);
}

.sidebar-foot {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(130, 157, 194, 0.12);
  line-height: 1.7;
}

.workspace-main {
  min-width: 0;
  background:
    linear-gradient(180deg, rgba(10, 17, 31, 0.98), rgba(8, 13, 24, 0.99));
}

.workspace-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(130, 157, 194, 0.12);
}

.search-shell {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.search-shell input {
  width: min(360px, 100%);
  padding: 12px 14px;
  border: 1px solid rgba(130, 157, 194, 0.18);
  border-radius: 999px;
  background: rgba(12, 22, 39, 0.88);
  color: var(--text);
}

.user-pill {
  display: inline-grid;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid rgba(130, 157, 194, 0.18);
  border-radius: 18px;
  background: rgba(12, 22, 39, 0.88);
}

.user-pill strong {
  font-size: 0.86rem;
}

.user-pill span {
  color: var(--accent-2);
  font-size: 0.74rem;
  font-family: var(--font-mono);
}

.workspace-panels {
  padding: 20px;
}

.panel {
  display: none;
}

.panel.is-visible {
  display: block;
}

.panel-frame {
  display: grid;
  gap: 20px;
}

.panel-card {
  border: 1px solid rgba(130, 157, 194, 0.12);
  border-radius: 24px;
  background: rgba(11, 18, 34, 0.88);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.panel-head,
.panel-body,
.delivery-head,
.delivery-body,
.editor-grid,
.results-grid,
.plan-grid,
.version-grid,
.dashboard-grid,
.empty-state,
.upload-list,
.package-preview {
  min-width: 0;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 24px 14px;
}

.panel-head h2 {
  margin: 0;
  font-size: 1.8rem;
}

.panel-subtitle {
  margin: 8px 0 0;
  color: var(--muted);
}

.pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(18, 30, 51, 0.84);
  border: 1px solid rgba(130, 157, 194, 0.14);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.status-pill.is-live {
  color: var(--accent-2);
}

.dashboard-grid,
.plan-grid,
.results-grid,
.editor-grid,
.version-grid,
.delivery-grid {
  display: grid;
  gap: 18px;
  padding: 0 24px 24px;
}

.dashboard-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.stack {
  display: grid;
  gap: 16px;
}

.project-card,
.summary-card,
.metric-strip,
.mini-card,
.version-card,
.upload-item,
.track-chip,
.detail-list li,
.package-preview li {
  border: 1px solid rgba(130, 157, 194, 0.12);
  border-radius: 20px;
  background: rgba(13, 21, 37, 0.92);
}

.project-list,
.version-list,
.asset-list,
.compare-list,
.detail-list,
.package-preview {
  display: grid;
  gap: 14px;
}

.project-card,
.version-card,
.upload-item {
  padding: 18px;
}

.project-card h3,
.version-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.project-meta,
.version-meta,
.upload-meta,
.list-caption,
.field-note,
.warning-note,
.mobile-note {
  color: var(--muted);
}

.project-meta,
.version-meta,
.upload-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  font-size: 0.88rem;
}

.empty-state {
  padding: 30px;
  text-align: center;
}

.empty-state h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
}

.empty-state p {
  max-width: 46ch;
  margin: 0 auto 18px;
  color: var(--muted);
}

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

.metric-strip {
  padding: 16px;
}

.metric-strip span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.metric-strip strong {
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 0 24px 24px;
}

.field,
.field-wide,
.slider-grid,
.track-controls,
.detail-card,
.timeline-card,
.player-card {
  display: grid;
  gap: 10px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field label,
.field-wide label,
.editor-meta label,
.delivery-options legend {
  color: var(--muted);
  font-size: 0.84rem;
}

.field input,
.field select,
.field-wide textarea,
.field-wide input,
.search-inline input,
.control-panel input,
.control-panel select,
.control-panel textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(130, 157, 194, 0.18);
  border-radius: 16px;
  background: rgba(12, 22, 39, 0.88);
  color: var(--text);
}

.field-wide textarea,
.control-panel textarea {
  min-height: 148px;
  max-height: 260px;
  resize: vertical;
}

.chip-row,
.upload-list,
.toolbar,
.control-toolbar,
.compare-actions,
.delivery-actions,
.file-grid,
.track-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.option-chip,
.chip-button {
  padding: 10px 14px;
  background: rgba(12, 22, 39, 0.88);
  border-color: rgba(130, 157, 194, 0.18);
  color: var(--muted);
}

.option-chip.is-selected,
.chip-button.is-selected {
  background: rgba(63, 215, 255, 0.12);
  border-color: rgba(63, 215, 255, 0.45);
  color: var(--text);
}

.upload-list {
  flex-direction: column;
}

.upload-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.upload-item strong,
.package-preview strong {
  display: block;
  margin-bottom: 4px;
}

.upload-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent);
  cursor: pointer;
}

.plan-grid {
  grid-template-columns: 1fr 0.9fr;
}

.section-card,
.detail-card,
.player-card,
.timeline-card,
.control-panel,
.delivery-card,
.version-compare-card {
  padding: 18px;
}

.section-card h3,
.detail-card h3,
.player-card h3,
.timeline-card h3,
.delivery-card h3,
.version-compare-card h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li,
.package-preview li {
  padding: 14px 16px;
}

.detail-list strong,
.package-preview strong {
  color: var(--text);
}

.detail-list p,
.package-preview span {
  display: block;
  margin: 6px 0 0;
  color: var(--muted);
}

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

.slider-card {
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(130, 157, 194, 0.12);
  background: rgba(13, 21, 37, 0.92);
}

.slider-card label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 0.84rem;
}

.slider-card input[type="range"] {
  width: 100%;
  margin-top: 14px;
}

.results-grid {
  grid-template-columns: 280px minmax(0, 1fr) 320px;
}

.waveform-canvas,
.timeline-canvas {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  border: 1px solid rgba(130, 157, 194, 0.12);
  background: linear-gradient(180deg, rgba(8, 13, 24, 0.98), rgba(13, 21, 37, 0.94));
}

.player-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.transport-time {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.progress-shell {
  position: relative;
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(34, 52, 84, 0.64);
}

.progress-shell span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.editor-grid {
  grid-template-columns: 252px minmax(0, 1fr) 320px;
}

.track-column {
  display: grid;
  gap: 10px;
}

.track-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
}

.track-chip span {
  color: var(--muted);
  font-size: 0.84rem;
}

.track-chip.is-selected {
  border-color: rgba(63, 215, 255, 0.44);
  box-shadow: inset 0 0 0 1px rgba(63, 215, 255, 0.3);
}

.range-grid {
  display: grid;
  gap: 12px;
}

.control-toolbar {
  justify-content: space-between;
  align-items: center;
}

.toolbar {
  align-items: center;
}

.toolbar button,
.secondary-button {
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(130, 157, 194, 0.18);
  background: rgba(12, 22, 39, 0.88);
  color: var(--text);
  cursor: pointer;
}

.toolbar button.is-accent,
.secondary-button.is-accent {
  background: rgba(63, 215, 255, 0.12);
  border-color: rgba(63, 215, 255, 0.44);
}

.toolbar button[disabled],
.primary-button[disabled],
.ghost-button[disabled],
.secondary-button[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
}

.versions-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.74fr);
  gap: 18px;
}

.compare-grid {
  display: grid;
  gap: 12px;
}

.compare-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(29, 46, 77, 0.62);
}

.compare-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--signal));
}

.delivery-grid {
  grid-template-columns: 1fr 0.88fr;
}

.delivery-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 0;
}

.delivery-body {
  padding: 0 24px 24px;
}

.delivery-options {
  margin: 0;
  padding: 0;
  border: 0;
}

.delivery-options legend {
  margin-bottom: 12px;
}

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

.delivery-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(130, 157, 194, 0.12);
  background: rgba(13, 21, 37, 0.92);
  cursor: pointer;
}

.delivery-checkbox input {
  accent-color: var(--accent);
}

.package-preview {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.pipeline-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 8, 16, 0.72);
  backdrop-filter: blur(12px);
}

.pipeline-overlay.is-hidden,
.toast.is-hidden {
  display: none;
}

.pipeline-card {
  width: min(560px, 100%);
  padding: 26px;
  border: 1px solid rgba(130, 157, 194, 0.18);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(14, 22, 39, 0.98), rgba(9, 14, 24, 0.99));
  box-shadow: var(--shadow);
}

.pipeline-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.8rem;
}

.pipeline-card p {
  margin: 0 0 16px;
  color: var(--muted);
}

.pipeline-progress {
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(34, 52, 84, 0.64);
}

.pipeline-progress div {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 240ms ease;
}

.pipeline-steps {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.pipeline-steps li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(12, 22, 39, 0.88);
  color: var(--muted);
}

.pipeline-steps li.is-active {
  border: 1px solid rgba(63, 215, 255, 0.32);
  color: var(--text);
}

.pipeline-steps li.is-complete {
  color: var(--accent-2);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  max-width: min(380px, calc(100vw - 40px));
  padding: 14px 16px;
  border: 1px solid rgba(130, 157, 194, 0.18);
  border-radius: 18px;
  background: rgba(10, 17, 31, 0.96);
  color: var(--text);
  box-shadow: var(--shadow);
}

.warning-note {
  margin-top: 10px;
  font-size: 0.86rem;
}

.mobile-note {
  margin-top: 10px;
  font-size: 0.82rem;
}

@media (max-width: 1180px) {
  .hero-panel,
  .dashboard-grid,
  .plan-grid,
  .delivery-grid,
  .versions-columns {
    grid-template-columns: 1fr;
  }

  .results-grid,
  .editor-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .site-logo-copy span {
    display: none;
  }

  .site-nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

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

  .workspace-sidebar {
    padding-bottom: 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(130, 157, 194, 0.12);
  }

  .workspace-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-right: 2px;
  }

  .workspace-nav button {
    flex: 0 0 auto;
  }

  .sidebar-foot {
    display: none;
  }

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

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

@media (max-width: 720px) {
  .site-header,
  .hero-panel,
  .capability-band,
  .workflow-strip,
  .workspace-shell {
    width: min(1240px, calc(100vw - 24px));
  }

  .site-header,
  .hero-copy,
  .hero-visual-shell,
  .workflow-strip,
  .capability-band {
    border-radius: 22px;
  }

  .hero-panel {
    gap: 16px;
  }

  .hero-copy,
  .hero-visual-shell,
  .workspace-topbar,
  .workspace-panels {
    padding-inline: 16px;
  }

  .hero-stats,
  .metrics-row,
  .delivery-checkboxes,
  .slider-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .capability-band,
  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .header-actions,
  .topbar-actions,
  .hero-actions,
  .toolbar,
  .control-toolbar {
    flex-wrap: wrap;
  }

  .site-logo-copy strong {
    font-size: 0.95rem;
  }

  .workspace-topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .search-shell input {
    width: 100%;
  }

  .panel-head,
  .delivery-head {
    flex-direction: column;
  }
}
