:root {
  color-scheme: dark;
  --bg: #0b0f14;
  --surface: #121922;
  --surface-2: #1b2430;
  --surface-3: #233044;
  --primary: #4da3ff;
  --primary-strong: #2f6dff;
  --success: #22c55e;
  --warning: #f59e0b;
  --text: #f3f4f6;
  --muted: #9ca3af;
  --line: rgba(148, 163, 184, 0.2);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --container: 1160px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

[data-theme="light"] {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: #eef4fb;
  --surface-3: #dbeafe;
  --text: #101827;
  --muted: #526173;
  --line: rgba(15, 23, 42, 0.14);
  --shadow: 0 22px 70px rgba(15, 23, 42, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 18% 6%, rgba(77, 163, 255, 0.16), transparent 30rem),
    radial-gradient(circle at 92% 12%, rgba(124, 92, 255, 0.13), transparent 28rem),
    linear-gradient(180deg, var(--bg), #070a0f 78%);
  color: var(--text);
  line-height: 1.6;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: progress;
  opacity: 0.7;
}

input:disabled,
select:disabled,
button:disabled {
  cursor: not-allowed;
}

:focus-visible {
  outline: 3px solid rgba(77, 163, 255, 0.65);
  outline-offset: 3px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #06101d;
  font-weight: 800;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 12, 18, 0.78);
  backdrop-filter: blur(18px);
}

[data-theme="light"] .site-header {
  background: rgba(248, 250, 252, 0.82);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  grid-template-columns: repeat(5, 4px);
  align-items: center;
  gap: 3px;
  width: 32px;
  height: 28px;
  color: var(--primary);
}

.brand-mark span {
  display: block;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #7c5cff, var(--primary));
}

.brand-mark span:nth-child(1),
.brand-mark span:nth-child(5) { height: 12px; }
.brand-mark span:nth-child(2),
.brand-mark span:nth-child(4) { height: 22px; }
.brand-mark span:nth-child(3) { height: 16px; }

.primary-nav,
.nav-actions {
  display: none;
}

.primary-nav {
  align-items: center;
  gap: 4px;
}

.primary-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--text);
  background: rgba(77, 163, 255, 0.1);
}

.nav-actions {
  align-items: center;
  justify-content: end;
  gap: 10px;
}

.mobile-nav-actions {
  display: none;
}

.mobile-menu-toggle {
  justify-self: end;
}

.icon-button {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 25, 34, 0.7);
  color: var(--text);
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 999px;
}

.theme-icon {
  display: block;
  width: 18px;
  height: 18px;
  margin: auto;
  border: 2px solid currentColor;
  border-radius: 999px;
  box-shadow: -6px -3px 0 -3px currentColor;
}

.primary-nav.is-open {
  display: grid;
  grid-column: 1 / -1;
  gap: 4px;
  padding: 10px 0 16px;
  border-top: 1px solid var(--line);
}

.primary-nav.is-open .mobile-nav-actions {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 10px;
  padding-top: 10px;
}

.primary-nav.is-open .mobile-nav-actions .button-primary {
  grid-column: 1 / -1;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 25, 34, 0.7);
  color: var(--text);
  font-weight: 750;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(77, 163, 255, 0.55);
}

.button-primary {
  border-color: rgba(77, 163, 255, 0.65);
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  color: white;
  box-shadow: 0 16px 44px rgba(47, 109, 255, 0.26);
}

.button-ghost {
  background: rgba(18, 25, 34, 0.68);
}

.button-large {
  min-height: 50px;
  padding-inline: 20px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 34px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(77, 163, 255, 0.55), transparent);
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.status-pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: #8ee5b0;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-pill {
  padding: 8px 12px;
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.1);
  text-transform: none;
}

.status-pill span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--success);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  font-size: clamp(42px, 8vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: var(--primary);
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.25;
}

.hero-lede,
.tool-hero p,
.stub-hero p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

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

.trust-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.trust-row span {
  min-height: 44px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  background: rgba(18, 25, 34, 0.42);
}

.hero-studio,
.stub-panel,
.tool-panel,
.editor-panel,
.format-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(27, 36, 48, 0.86), rgba(18, 25, 34, 0.72));
  box-shadow: var(--shadow);
}

.hero-studio {
  position: relative;
  padding: 20px;
  overflow: hidden;
}

.hero-studio::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(77, 163, 255, 0.18), transparent 48%, rgba(124, 92, 255, 0.12));
  pointer-events: none;
}

.uploader input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.uploader-dropzone {
  position: relative;
  z-index: 1;
  min-width: 0;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px;
  border: 1.5px dashed rgba(77, 163, 255, 0.68);
  border-radius: var(--radius);
  background: rgba(4, 9, 15, 0.42);
  text-align: center;
  overflow: hidden;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.uploader-dropzone:hover,
.uploader-dropzone.is-dragging {
  border-color: var(--primary);
  background: rgba(77, 163, 255, 0.12);
  box-shadow: inset 0 0 50px rgba(77, 163, 255, 0.12);
}

.upload-glyph {
  width: 62px;
  height: 62px;
  display: block;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), transparent 45%),
    linear-gradient(135deg, var(--primary), var(--primary-strong));
  position: relative;
  margin-bottom: 8px;
}

.upload-glyph::before,
.upload-glyph::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.74);
}

.upload-glyph::before {
  width: 4px;
  height: 28px;
  top: 18px;
  border-radius: 999px;
}

.upload-glyph::after {
  width: 18px;
  height: 18px;
  top: 17px;
  border-left: 4px solid rgba(255, 255, 255, 0.74);
  border-top: 4px solid rgba(255, 255, 255, 0.74);
  background: transparent;
  transform: translateX(-50%) rotate(45deg);
}

.uploader-title {
  max-width: 100%;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.uploader-action {
  max-width: 100%;
  color: var(--primary);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.uploader-hint,
.uploader-limit,
.panel-note {
  max-width: 100%;
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.tool-status {
  margin: 14px 0 18px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 12, 18, 0.44);
  color: var(--muted);
  font-size: 13px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tool-status[data-tone="success"] {
  border-color: rgba(34, 197, 94, 0.28);
  color: #8ee5b0;
}

.tool-status[data-tone="error"] {
  border-color: rgba(244, 63, 94, 0.34);
  color: #fda4af;
}

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

.file-list li {
  display: grid;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 12, 18, 0.38);
}

.file-list strong {
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.35;
}

.file-list span,
.summary-pill,
.inline-value {
  color: var(--muted);
  font-size: 12px;
}

.file-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.file-actions button {
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(77, 163, 255, 0.08);
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
}

.file-actions button:disabled {
  opacity: 0.42;
}

.summary-pill {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 12, 18, 0.58);
}

.inline-value {
  color: var(--primary);
  font-weight: 850;
}

.mini-meter {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  align-items: end;
  height: 58px;
  margin-top: 18px;
}

.mini-meter span {
  border-radius: 999px;
  background: linear-gradient(180deg, var(--primary), #7c5cff);
  opacity: 0.75;
  animation: meter 1.6s ease-in-out infinite;
}

.mini-meter span:nth-child(1) { height: 28%; }
.mini-meter span:nth-child(2) { height: 78%; animation-delay: 100ms; }
.mini-meter span:nth-child(3) { height: 42%; animation-delay: 200ms; }
.mini-meter span:nth-child(4) { height: 90%; animation-delay: 300ms; }
.mini-meter span:nth-child(5) { height: 52%; animation-delay: 400ms; }
.mini-meter span:nth-child(6) { height: 70%; animation-delay: 500ms; }

.waveform-section {
  padding: 24px 0 36px;
}

.waveform-stage {
  position: relative;
  min-height: 150px;
  display: grid;
  align-items: center;
  border-radius: var(--radius);
  overflow: hidden;
}

.waveform {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 126px;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.waveform span {
  width: 4px;
  height: calc(18px + (var(--bar-index) % 9) * 7px);
  border-radius: 999px;
  background: linear-gradient(180deg, #3fb7ff, #2f6dff 55%, #a855f7);
  box-shadow: 0 0 14px rgba(77, 163, 255, 0.6);
  animation: wavePulse 1.4s ease-in-out infinite;
  animation-delay: calc(var(--bar-index) * 18ms);
}

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-strong));
  box-shadow: 0 18px 48px rgba(47, 109, 255, 0.4);
}

.play-button span {
  display: block;
  width: 0;
  height: 0;
  margin: auto;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 14px solid white;
  transform: translateX(2px);
}

.play-button.is-playing span {
  width: 16px;
  height: 20px;
  border: 0;
  border-left: 5px solid white;
  border-right: 5px solid white;
  transform: none;
}

.social-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.stars {
  color: var(--warning);
  letter-spacing: 0;
}

.section {
  padding: 54px 0;
}

.section-heading-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.section-heading-row h2,
.section-heading-center h2 {
  max-width: 720px;
}

.section-heading-center {
  margin-bottom: 28px;
  text-align: center;
}

.section-heading-center h2 {
  margin-inline: auto;
}

.text-link {
  color: var(--primary);
  font-weight: 800;
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.tool-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 25, 34, 0.92), rgba(10, 16, 24, 0.8));
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(77, 163, 255, 0.45);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
}

.tool-icon,
.feature-icon,
.step-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(77, 163, 255, 0.34), rgba(124, 92, 255, 0.36));
  color: white;
  font-size: 12px;
  font-weight: 900;
}

.tool-card p {
  color: var(--muted);
  flex: 1;
}

.tool-card-link {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(77, 163, 255, 0.06);
  font-weight: 750;
}

.glow-purple .tool-icon { background: linear-gradient(135deg, #9333ea, #4f46e5); }
.glow-blue .tool-icon { background: linear-gradient(135deg, #2563eb, #0ea5e9); }
.glow-teal .tool-icon { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.glow-amber .tool-icon { background: linear-gradient(135deg, #b45309, #f59e0b); }
.glow-rose .tool-icon { background: linear-gradient(135deg, #be185d, #f43f5e); }
.glow-violet .tool-icon { background: linear-gradient(135deg, #6d28d9, #a855f7); }
.glow-lime .tool-icon { background: linear-gradient(135deg, #4d7c0f, #eab308); }
.glow-cyan .tool-icon { background: linear-gradient(135deg, #0891b2, #22d3ee); }

.feature-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 25, 34, 0.62);
}

.feature-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: center;
}

.feature-card h3,
.feature-card p {
  margin-bottom: 2px;
}

.feature-card p,
.step-card p,
.stub-panel li {
  color: var(--muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.step-card {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 25, 34, 0.55);
}

.step-number {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.18);
  color: #8ee5b0;
  font-weight: 900;
}

.site-footer {
  margin-top: 48px;
  padding: 54px 0 26px;
  border-top: 1px solid var(--line);
  background: rgba(3, 7, 12, 0.5);
}

.footer-grid {
  display: grid;
  gap: 26px;
}

.footer-brand p {
  max-width: 330px;
  margin-top: 14px;
  color: var(--muted);
}

.site-footer h2 {
  margin-bottom: 12px;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text);
}

.site-footer a:not(.brand) {
  display: block;
  min-height: 32px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

.tool-hero,
.stub-hero {
  padding: 52px 0 28px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--primary);
}

.tool-hero-grid,
.stub-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}

.format-card {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px;
}

.format-card span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(77, 163, 255, 0.12);
  color: var(--primary);
  font-weight: 850;
}

.tool-workspace {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  padding: 24px 0 44px;
}

.tool-panel,
.editor-panel,
.stub-panel {
  padding: 18px;
}

.tool-panel .uploader-dropzone {
  min-height: 210px;
}

.control-stack,
.export-panel {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 750;
}

input,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 12, 18, 0.72);
  color: var(--text);
  padding: 0 12px;
}

.toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toggle-row input {
  width: 22px;
  min-height: 22px;
}

.editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.segmented {
  min-height: 44px;
  display: inline-grid;
  grid-template-columns: 44px auto 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(7, 12, 18, 0.58);
}

.segmented button {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 900;
}

.segmented span {
  padding-inline: 12px;
  color: var(--muted);
  font-size: 13px;
}

.timeline-shell {
  position: relative;
  min-height: 250px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(77, 163, 255, 0.08) 25%, transparent 25%, transparent 50%, rgba(77, 163, 255, 0.06) 50%, rgba(77, 163, 255, 0.06) 75%, transparent 75%),
    rgba(7, 12, 18, 0.62);
  background-size: 160px 100%;
  overflow: hidden;
}

.timeline-shell .waveform-stage {
  width: 100%;
}

.cutter-timeline {
  min-height: 300px;
  padding: 18px;
}

.playback-timeline {
  min-height: 320px;
  display: block;
  padding: 0;
  cursor: default;
}

.playback-timeline-ruler {
  position: relative;
  width: 100%;
  height: 42px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(4, 10, 16, 0.42);
  overflow: hidden;
}

.playback-timeline-tick {
  position: absolute;
  inset-block: auto 0;
  left: var(--tick-position);
  height: 13px;
  border-left: 1px solid rgba(148, 163, 184, 0.42);
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
}

.playback-timeline-tick span {
  position: absolute;
  bottom: 17px;
  left: 0;
  transform: translateX(-50%);
  white-space: nowrap;
}

.playback-timeline-tick:first-child span {
  transform: none;
}

.playback-timeline-tick:last-child span {
  transform: translateX(calc(-100% - 2px));
}

.playback-waveform-stage {
  position: relative;
  height: 232px;
  margin-inline: 18px;
}

.playback-waveform-stage .waveform-canvas {
  height: 232px;
}

.playback-waveform-stage .empty-waveform {
  inset: 14px 0;
}

.playback-scrubber {
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: var(--radius);
  cursor: ew-resize;
  touch-action: none;
  user-select: none;
}

.playback-scrubber:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.playback-scrubber[aria-disabled="true"] {
  cursor: default;
}

.playback-playhead {
  position: absolute;
  inset-block: 0;
  left: var(--playhead-position, 0%);
  width: 2px;
  transform: translateX(-1px);
  background: var(--primary);
  box-shadow: 0 0 13px rgba(39, 213, 229, 0.65);
  opacity: 0;
  transition: opacity 120ms ease;
  pointer-events: none;
}

.playback-timeline.is-ready .playback-playhead {
  opacity: 1;
}

.playback-playhead-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 12px;
  height: 12px;
  border: 2px solid #071019;
  border-radius: 50%;
  transform: translate(-50%, -4px);
  background: var(--primary);
  box-shadow: 0 0 0 2px rgba(39, 213, 229, 0.22), 0 0 14px rgba(39, 213, 229, 0.6);
  transition: transform 120ms ease;
}

.playback-timeline.is-scrubbing .playback-playhead-handle {
  transform: translate(-50%, -4px) scale(1.2);
}

.playback-timeline-readout {
  width: 100%;
  min-height: 44px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.01em;
}

.playback-timeline-readout strong {
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.playback-timeline-readout > span:nth-child(2) {
  text-align: center;
}

.playback-timeline-readout > span:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

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

.waveform-canvas {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 240px;
  display: block;
  border-radius: var(--radius);
}

.empty-waveform {
  position: absolute;
  inset: 18px;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(77, 163, 255, 0.35);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  background: rgba(7, 12, 18, 0.4);
}

.empty-waveform[hidden] {
  display: none;
}

.selection-window {
  position: absolute;
  z-index: 1;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 0;
  border-inline: 2px solid var(--success);
  background: linear-gradient(90deg, rgba(34, 197, 94, 0.11), rgba(77, 163, 255, 0.12));
  box-shadow: inset 0 0 34px rgba(77, 163, 255, 0.08);
  pointer-events: none;
}

.trim-handle {
  position: absolute;
  top: 22px;
  bottom: 22px;
  width: 8px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 22px rgba(34, 197, 94, 0.46);
}

.trim-start { left: 23%; }
.trim-end { right: 24%; }

.timeline-ruler {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--muted);
  font-size: 12px;
}

  .range-grid {
    display: grid;
    gap: 14px;
    margin-top: 18px;
  }

textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 12, 18, 0.72);
  color: var(--text);
  padding: 12px;
}

.metadata-grid {
  display: grid;
  gap: 14px;
}

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

.range-grid input[type="range"] {
  accent-color: var(--primary);
  padding: 0;
  background: transparent;
}

.process-button {
  width: 100%;
}

.progress-shell {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.16);
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--success));
  transition: width 140ms ease;
}

.stem-workspace {
  padding: 24px 0 48px;
}

.stem-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 680px);
  justify-content: center;
  gap: 16px;
  align-items: start;
}

.stem-workspace.has-results .stem-workspace-grid {
  grid-template-columns: 1fr;
}

.stem-source-panel,
.stem-model-consent,
.stem-progress,
.stem-source-summary {
  display: grid;
  gap: 12px;
}

.stem-model-consent,
.stem-source-summary,
.stem-progress {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 12, 18, 0.52);
}

.stem-model-consent p,
.stem-source-summary span,
.stem-progress span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.stem-progress strong {
  color: var(--primary);
}

.stem-unsupported {
  max-width: 760px;
  margin: 10px auto 48px;
  padding: 28px;
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-lg);
  background: rgba(245, 158, 11, 0.08);
  box-shadow: var(--shadow);
}

.stem-unsupported p:last-child {
  color: var(--muted);
}

.stem-mixer {
  min-width: 0;
}

.stem-transport {
  align-items: center;
}

.stem-compare {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 12, 18, 0.68);
}

.stem-compare button,
.stem-channel-actions button {
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.stem-compare button {
  padding: 0 14px;
}

.stem-compare button[aria-pressed="true"] {
  background: rgba(77, 163, 255, 0.18);
  color: var(--primary);
}

.stem-channel-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.stem-channel {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 12, 18, 0.54);
}

.stem-channel-heading,
.stem-channel-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.stem-channel-heading span {
  color: var(--primary);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.stem-channel input[type="range"] {
  min-height: 30px;
  padding: 0;
  accent-color: var(--primary);
  background: transparent;
}

.stem-channel-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.stem-channel-actions button {
  min-width: 70px;
  padding: 0 11px;
  border: 1px solid var(--line);
}

.stem-channel-actions button:last-child {
  margin-left: auto;
  color: var(--primary);
}

.stem-channel-actions button.is-active,
.stem-channel-actions button[aria-pressed="true"] {
  border-color: rgba(77, 163, 255, 0.5);
  background: rgba(77, 163, 255, 0.15);
  color: var(--primary);
}

.stem-export-panel[hidden],
.stem-mixer[hidden],
.stem-progress[hidden],
.stem-source-summary[hidden],
.stem-unsupported[hidden] {
  display: none;
}

.stem-explainer {
  padding-top: 0;
}

.clean-song-workspace {
  padding: 24px 0 48px;
}

.clean-song-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
  gap: 16px;
  align-items: start;
}

.clean-source-panel,
.clean-ai-consent,
.clean-stem-consent,
.clean-stem-progress,
.clean-progress,
.clean-source-summary,
.clean-manual,
.clean-review,
.clean-transcript {
  display: grid;
  gap: 12px;
}

.clean-source-panel .uploader-dropzone {
  min-height: 220px;
}

.clean-source-panel > label:not(.clean-check),
.clean-export-panel > label:not(.clean-check),
.clean-time-grid label,
.clean-cue-controls label,
.clean-selection-sliders label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.clean-source-panel textarea {
  min-height: 88px;
  resize: vertical;
}

.clean-fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.clean-fieldset label,
.clean-check {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.clean-fieldset input[type="radio"],
.clean-check input[type="checkbox"] {
  flex: 0 0 18px;
  width: 18px;
  min-width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--primary);
}

.clean-fieldset label span {
  margin-left: auto;
  color: var(--primary);
  font-size: 11px;
}

.clean-ai-consent,
.clean-stem-consent,
.clean-stem-progress,
.clean-progress,
.clean-source-summary {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 12, 18, 0.52);
}

.clean-ai-consent p,
.clean-stem-consent p,
.clean-stem-progress span,
.clean-progress span,
.clean-source-summary span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.clean-progress strong,
.clean-stem-progress strong {
  color: var(--primary);
}

.clean-editor {
  min-width: 0;
}

.clean-transport,
.clean-section-heading,
.clean-cue-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.clean-compare {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 12, 18, 0.68);
}

.clean-compare button,
.clean-cue-heading button,
.clean-transcript-words button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-weight: 800;
}

.clean-compare button {
  padding: 0 14px;
  border: 0;
}

.clean-compare button[aria-pressed="true"] {
  background: rgba(77, 163, 255, 0.18);
  color: var(--primary);
}

.clean-waveform {
  min-height: 170px;
  margin: 16px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 12, 18, 0.72);
}

.clean-waveform canvas {
  width: 100%;
  height: 170px;
  display: block;
}

.clean-manual,
.clean-review,
.clean-transcript {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 12, 18, 0.46);
}

.clean-manual h2,
.clean-section-heading h2,
.clean-section-heading p {
  margin: 0;
}

.clean-selection-sliders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.clean-selection-sliders input[type="range"] {
  padding: 0;
  accent-color: var(--primary);
  background: transparent;
}

.clean-time-grid,
.clean-cue-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.clean-time-grid button,
.clean-cue-controls label:last-child {
  grid-column: 1 / -1;
}

.clean-section-heading > span {
  color: var(--muted);
  font-size: 12px;
}

.clean-transcript-words {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.clean-transcript-words button {
  min-height: 34px;
  padding: 0 9px;
  color: var(--text);
}

.clean-transcript-words button:hover,
.clean-transcript-words button:focus-visible {
  border-color: var(--primary);
  color: var(--primary);
}

.clean-cue-list {
  display: grid;
  gap: 10px;
}

.clean-cue {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(18, 25, 34, 0.62);
}

.clean-cue-heading strong {
  overflow-wrap: anywhere;
}

.clean-cue-heading button {
  min-height: 32px;
  padding: 0 9px;
  color: #fda4af;
}

.clean-cue-reviewed {
  min-height: 36px;
  padding: 8px;
  border-radius: 9px;
  background: rgba(77, 163, 255, 0.07);
}

.clean-empty-cues {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.clean-export-panel {
  display: grid;
  gap: 14px;
}

.clean-editor[hidden],
.clean-export-panel[hidden],
.clean-progress[hidden],
.clean-stem-consent[hidden],
.clean-stem-progress[hidden],
.clean-source-summary[hidden],
.clean-transcript[hidden],
.clean-empty-cues[hidden] {
  display: none;
}

.clean-song-explainer {
  padding-top: 0;
}

@media (min-width: 1080px) {
  .clean-song-workspace.has-source .clean-song-grid {
    grid-template-columns: 280px minmax(0, 1fr) 260px;
  }
}

@media (max-width: 620px) {
  .clean-selection-sliders,
  .clean-time-grid,
  .clean-cue-controls {
    grid-template-columns: 1fr;
  }

  .clean-time-grid button,
  .clean-cue-controls label:last-child {
    grid-column: auto;
  }
}

@media (min-width: 980px) {
  .stem-workspace.has-results .stem-workspace-grid {
    grid-template-columns: 280px minmax(0, 1fr) 260px;
  }
}

@media (max-width: 620px) {
  .stem-channel-heading,
  .stem-channel-actions {
    align-items: stretch;
  }

  .stem-channel-actions button,
  .stem-channel-actions button:last-child {
    flex: 1 1 100%;
    margin-left: 0;
  }
}

.download-ready {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  border-radius: var(--radius);
  background: rgba(34, 197, 94, 0.08);
}

.stub-grid {
  align-items: stretch;
}

.stub-panel ul {
  margin: 0;
  padding-left: 20px;
}

.compact-grid .tool-card:nth-child(n + 5) {
  display: none;
}

.design-review-section {
  padding-top: 18px;
}

.design-review-grid {
  display: grid;
  gap: 22px;
}

.design-card {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(18, 25, 34, 0.92), rgba(8, 13, 20, 0.86));
  box-shadow: var(--shadow);
}

.design-card-media {
  display: block;
  background: rgba(3, 7, 12, 0.66);
}

.design-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.design-card-body {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: 20px;
}

.design-card-kicker {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.design-card h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.design-card p {
  color: var(--muted);
}

@keyframes wavePulse {
  0%, 100% { transform: scaleY(0.65); opacity: 0.72; }
  50% { transform: scaleY(1.2); opacity: 1; }
}

@keyframes meter {
  0%, 100% { transform: scaleY(0.72); }
  50% { transform: scaleY(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (min-width: 640px) {
  .tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

  .section-heading-row,
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .design-card {
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
  }

  .design-card-media img {
    height: 100%;
  }
}

@media (min-width: 900px) {
  .nav-shell {
    grid-template-columns: auto 1fr auto;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .primary-nav,
  .nav-actions {
    display: flex;
  }

  .primary-nav .mobile-nav-actions,
  .primary-nav.is-open .mobile-nav-actions {
    display: none;
  }

  .hero {
    padding-top: 86px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  }

  .trust-row {
    grid-template-columns: repeat(4, max-content);
  }

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

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

  .footer-grid {
    grid-template-columns: 1.4fr repeat(4, 1fr);
  }

  .tool-hero-grid,
  .stub-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
  }

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

@media (max-width: 480px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  h1 {
    font-size: 42px;
  }

  .button,
  .hero-actions .button {
    width: 100%;
  }

  .uploader-dropzone {
    min-height: 230px;
    padding: 22px;
  }

  .feature-card {
    grid-template-columns: 1fr;
  }
}

/* Launch visual system based on the selected 1536px homepage reference. */
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/InterVariable.woff2") format("woff2-variations");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #030a10;
  --surface: #07111a;
  --surface-2: #0b1721;
  --surface-3: #10202c;
  --primary: #27d5e5;
  --primary-strong: #16b8d4;
  --lime: #91f33c;
  --success: #61e977;
  --text: #f4f7f8;
  --muted: #9aa7b3;
  --line: rgba(139, 164, 181, 0.16);
  --line-strong: rgba(39, 213, 229, 0.42);
  --shadow: 0 18px 52px rgba(0, 0, 0, 0.36);
  --container: 1400px;
  --radius: 8px;
}

body {
  background: var(--bg);
  font-size: 15px;
}

body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  background: linear-gradient(115deg, rgba(39, 213, 229, 0.025), transparent 34%, rgba(145, 243, 60, 0.015));
  pointer-events: none;
}

.app-icon,
.button-icon,
.inline-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.app-icon {
  display: block;
  width: 1em;
  height: 1em;
}

.button-icon,
.inline-icon {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  vertical-align: -0.14em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - 80px), var(--container));
}

.site-header {
  position: relative;
  background: rgba(3, 10, 16, 0.96);
  backdrop-filter: blur(14px);
}

.nav-shell {
  min-height: 78px;
}

.brand {
  gap: 12px;
  font-size: 27px;
  font-weight: 800;
}

.brand-mark {
  grid-template-columns: repeat(5, 3px);
  width: 34px;
  color: #4de5b1;
}

.brand-mark span {
  width: 3px;
  background: #4de5b1;
}

.primary-nav {
  justify-content: center;
  gap: 12px;
}

.primary-nav a {
  position: relative;
  padding: 0 10px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.primary-nav a:hover,
.primary-nav a.is-active {
  color: var(--text);
  background: transparent;
}

.primary-nav a.is-active::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 4px;
  left: 10px;
  height: 2px;
  background: var(--primary);
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-color: rgba(164, 182, 195, 0.34);
  background: #071019;
}

.nav-actions .button-primary,
.mobile-nav-actions .button-primary,
.hero .button-primary {
  border-color: var(--lime);
  background: var(--lime);
  color: #071005;
  box-shadow: none;
}

.button {
  min-height: 42px;
  border-color: var(--line);
  background: #07111a;
  font-size: 14px;
  font-weight: 750;
}

.button:hover {
  border-color: var(--primary);
}

.hero {
  padding: 36px 0 0;
  overflow: visible;
}

.hero::after {
  display: none;
}

.hero-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(520px, 1.02fr);
  gap: 56px;
  align-items: stretch;
}

.hero-copy {
  padding: 0 18px 4px;
}

.status-pill {
  margin-bottom: 18px;
  padding: 5px 10px;
  border-radius: 8px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 650;
}

.status-pill > span {
  width: auto;
  height: auto;
  background: none;
}

h1 {
  max-width: 660px;
  margin-bottom: 14px;
  font-size: 52px;
  line-height: 1.1;
}

h1 span {
  color: var(--primary);
}

h2 {
  font-size: 24px;
}

.hero-lede {
  max-width: 590px;
  margin-bottom: 22px;
  color: #b6c0c8;
  font-size: 16px;
  line-height: 1.55;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.hero-trust > div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
}

.hero-trust .app-icon {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.hero-trust > div:first-child .app-icon {
  color: var(--lime);
}

.hero-trust strong,
.hero-trust small {
  display: block;
  line-height: 1.35;
}

.hero-trust strong {
  font-size: 12px;
}

.hero-trust small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.hero-studio,
.tool-panel,
.editor-panel,
.format-card,
.stub-panel {
  border-color: var(--line);
  background: #07111a;
  box-shadow: var(--shadow);
}

.hero-studio {
  padding: 0;
  box-shadow: none;
}

.hero-studio::before {
  display: none;
}

.hero-studio .uploader-dropzone {
  min-height: 290px;
  border-color: rgba(39, 213, 229, 0.48);
  background: #061019;
}

.upload-glyph {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  border-radius: 0;
  background: transparent;
  color: #7edfe7;
}

.upload-glyph::before,
.upload-glyph::after {
  display: none;
}

.upload-glyph .app-icon {
  width: 64px;
  height: 64px;
  stroke-width: 1.35;
}

.uploader-title {
  font-size: 21px;
}

.uploader-action {
  color: var(--primary);
}

.uploader-hint {
  margin-top: 14px;
  padding: 0 8px;
  color: #aab5bd;
  word-spacing: 12px;
}

.uploader-limit {
  margin-top: 10px;
}

.home-status {
  min-height: 0;
  margin: 0;
  padding: 10px 14px;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  text-align: center;
}

.home-waveform-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 28px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #07111a;
}

.home-file-summary {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.home-file-summary strong,
.home-file-summary small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-file-summary strong {
  font-size: 13px;
}

.home-file-summary small {
  color: var(--muted);
  font-size: 11px;
}

.home-play-button {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(39, 213, 229, 0.12);
  color: #73e6ef;
}

.home-play-button span {
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 13px solid currentColor;
  transform: translateX(2px);
}

.home-play-button.is-playing span {
  width: 14px;
  height: 18px;
  border: 0;
  border-right: 4px solid currentColor;
  border-left: 4px solid currentColor;
  transform: none;
}

.home-play-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.home-waveform {
  position: relative;
  min-width: 0;
  height: 70px;
}

.home-playback-timeline.playback-timeline {
  min-height: 0;
  height: 118px;
  padding: 0;
}

.home-playback-timeline .playback-timeline-ruler {
  height: 28px;
  border-bottom-color: rgba(148, 163, 184, 0.12);
  background: transparent;
}

.home-playback-timeline .playback-timeline-tick {
  height: 8px;
}

.home-playback-timeline .playback-timeline-tick span {
  bottom: 12px;
  font-size: 9px;
}

.home-playback-stage {
  position: relative;
  height: 62px;
}

.home-waveform canvas {
  width: 100%;
  height: 62px;
  display: block;
}

.home-selection {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-inline: 1px solid var(--lime);
  background: rgba(145, 243, 60, 0.045);
  pointer-events: none;
}

.home-playback-timeline .playback-timeline-readout {
  min-height: 28px;
  padding-inline: 0;
  border-top-color: rgba(148, 163, 184, 0.12);
  font-size: 9px;
}

.home-waveform-times {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}

.home-cutter-controls {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr)) auto auto;
  gap: 10px;
  align-items: end;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.home-cutter-controls label {
  gap: 4px;
  font-size: 11px;
}

.home-cutter-controls input,
.home-cutter-controls select {
  min-height: 40px;
}

.home-progress {
  grid-column: 1 / -1;
}

.section {
  padding: 28px 0;
}

.popular-tools-section {
  padding-top: 28px;
}

.section-heading-row {
  margin-bottom: 10px;
}

.section-heading-row h2,
.section-heading-center h2 {
  margin-bottom: 0;
}

.text-link {
  color: var(--primary);
  font-size: 13px;
}

.home-tools-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.tool-card {
  position: relative;
  min-height: 164px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-content: start;
  padding: 14px 12px;
  border-color: var(--line);
  background: #08131d;
  box-shadow: none;
}

.tool-card:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.tool-icon {
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 7px;
  font-size: 24px;
}

.tool-card-copy {
  min-width: 0;
}

.tool-card h3 {
  margin-bottom: 4px;
  font-size: 13px;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.tool-card-link {
  position: absolute;
  right: 8px;
  bottom: 6px;
  width: 34px;
  min-height: 34px;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #c7d0d7;
}

.glow-lime .tool-icon { background: rgba(108, 226, 52, 0.13); color: #91f33c; }
.glow-cyan .tool-icon { background: rgba(39, 213, 229, 0.12); color: #27d5e5; }
.glow-amber .tool-icon { background: rgba(245, 176, 32, 0.13); color: #f5b020; }
.glow-green .tool-icon { background: rgba(97, 233, 119, 0.12); color: #61e977; }
.glow-violet .tool-icon { background: rgba(156, 95, 244, 0.13); color: #b77af8; }
.glow-rose .tool-icon { background: rgba(242, 76, 126, 0.13); color: #f24c7e; }

.feature-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 10px 20px;
  background: #08131d;
}

.feature-card {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
}

.feature-icon,
.step-icon {
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 50%;
  background: rgba(39, 213, 229, 0.1);
  color: var(--primary);
  font-size: 21px;
}

.feature-card h3 {
  font-size: 12px;
}

.feature-card p {
  font-size: 10px;
}

.how-section {
  padding: 26px 0 40px;
}

.section-heading-center {
  margin-bottom: 12px;
}

.section-heading-center p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.steps-grid {
  gap: 72px;
  max-width: 1160px;
}

.step-card {
  min-height: 96px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 0 12px;
  padding: 14px 18px;
  background: #08131d;
}

.step-card .step-icon {
  width: 58px;
  height: 58px;
  grid-row: 1 / 3;
  border-radius: 7px;
  align-self: center;
}

.step-card h3 {
  align-self: end;
  margin: 0 0 3px;
  font-size: 14px;
}

.step-card p {
  margin: 0;
  font-size: 11px;
  line-height: 1.45;
}

.step-number {
  top: 6px;
  left: -24px;
  right: auto;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(97, 233, 119, 0.28);
  background: #0c482e;
}

.site-footer {
  margin-top: 0;
  background: #02080d;
}

.footer-grid {
  grid-template-columns: 1.5fr repeat(3, 1fr);
}

.site-footer .brand {
  font-size: 22px;
}

.directory-hero {
  padding-bottom: 10px;
}

.directory-hero h1 {
  max-width: none;
}

.directory-output-note {
  max-width: 720px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 22px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #08131d;
}

.directory-output-note .app-icon {
  width: 36px;
  height: 36px;
  color: var(--lime);
}

.directory-output-note p,
.directory-output-note strong,
.directory-output-note span {
  display: block;
  margin: 0;
}

.directory-output-note span {
  color: var(--muted);
  font-size: 12px;
}

.directory-tools-section {
  padding-top: 18px;
}

.directory-tools-grid .tool-card {
  min-height: 190px;
}

.directory-guide {
  border-top: 1px solid var(--line);
}

.directory-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 20px;
}

.directory-notes article {
  padding-left: 14px;
  border-left: 2px solid var(--primary);
}

.directory-notes h3 {
  font-size: 15px;
}

.directory-notes p {
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1199px) {
  .home-tools-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(450px, 1.1fr);
    gap: 30px;
  }

  .hero-trust {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (min-width: 1080px) {
  .mobile-menu-toggle {
    display: none;
  }
}

@media (min-width: 900px) and (max-width: 1079px) {
  .nav-shell {
    grid-template-columns: auto auto;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .primary-nav,
  .nav-actions {
    display: none;
  }

  .primary-nav.is-open {
    display: grid;
  }
}

@media (max-width: 899px) {
  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding-inline: 0;
  }

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

  .home-waveform-shell {
    grid-template-columns: 180px minmax(0, 1fr);
  }

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

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

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

  .directory-notes {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 639px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .nav-shell {
    min-height: 66px;
  }

  .brand {
    font-size: 21px;
  }

  .hero {
    padding-top: 24px;
  }

  h1 {
    font-size: 40px;
    line-height: 1.08;
  }

  h2 {
    font-size: 22px;
  }

  .hero-trust {
    grid-template-columns: 1fr;
  }

  .hero-studio .uploader-dropzone {
    min-height: 250px;
    padding: 20px 14px;
  }

  .home-waveform-shell {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 12px;
  }

  .home-file-summary {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .home-play-button {
    width: 48px;
    height: 48px;
  }

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

  .home-cutter-controls .button {
    width: 100%;
  }

  .home-tools-grid {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 118px;
  }

  .feature-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    gap: 16px;
  }

  .step-number {
    left: auto;
    right: 8px;
  }
}

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

.level-overview {
  display: grid;
  gap: 14px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.level-overview > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.level-overview > div > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.level-track {
  height: 10px;
  overflow: hidden;
  border-radius: 4px;
  background: #02070b;
}

.level-track i {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--lime));
  transition: width 240ms ease;
}

.clip-preset-fieldset {
  margin: 20px 0 0;
  padding: 0;
  border: 0;
}

.clip-preset-fieldset legend {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.clip-presets {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.clip-presets button {
  min-width: 0;
}

.clip-presets button.is-active {
  border-color: var(--primary);
  background: rgba(39, 213, 229, 0.13);
  color: var(--primary);
}

.vocal-preview-toolbar {
  align-items: center;
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.preview-actions .is-playing {
  border-color: var(--lime);
  color: var(--lime);
}

.vocal-presets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
}

.vocal-presets button {
  min-height: 42px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 12, 18, 0.58);
  color: var(--text);
  font-size: 12px;
  font-weight: 750;
}

.vocal-presets button:disabled {
  opacity: 0.45;
}

.vocal-controls .panel-note {
  margin: -4px 0 0;
}

.artwork-workspace {
  display: grid;
  grid-template-columns: minmax(250px, 300px) minmax(360px, 1fr) minmax(280px, 340px);
  gap: 16px;
  align-items: start;
  padding: 24px 0 44px;
}

.artwork-editor {
  min-width: 0;
}

.artwork-preview-shell {
  position: relative;
  width: min(100%, 680px);
  aspect-ratio: 1;
  margin: 20px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #03090e;
}

.artwork-preview-shell canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.artwork-preview-shell .report-empty {
  position: absolute;
  inset: 0;
  min-height: 0;
  padding: 28px;
}

.artwork-focus-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.artwork-focus-controls input {
  padding: 0;
}

.artwork-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 12px 0 0;
}

.artwork-metrics > div {
  min-width: 0;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
}

.artwork-metrics dt {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.artwork-metrics dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 750;
}

.artwork-checks {
  padding-top: 18px;
}

.artwork-checks li {
  grid-template-columns: 86px minmax(0, 1fr);
}

.artwork-report-panel .process-button {
  width: 100%;
  margin-top: 20px;
}

.lyrics-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  gap: 16px;
  align-items: start;
  padding: 24px 0 44px;
}

.lyrics-editor,
.lyrics-report-panel {
  min-width: 0;
}

.lyrics-editor-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}

.lyrics-editor-heading h2 {
  margin: 4px 0 0;
  font-size: 21px;
}

.lyrics-textarea-label {
  margin-top: 20px;
}

.lyrics-editor textarea {
  width: 100%;
  min-height: 520px;
  margin-top: 8px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #03090e;
  color: var(--text);
  padding: 18px;
  font: inherit;
  font-size: 15px;
  line-height: 1.72;
}

.lyrics-editor textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.lyrics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.lyrics-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  border-bottom: 1px solid var(--line);
}

.lyrics-stats > div {
  min-width: 0;
  padding: 18px 8px;
}

.lyrics-stats dt {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.lyrics-stats dd {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 800;
}

.lyrics-checks {
  padding-top: 12px;
}

.lyrics-checks li {
  grid-template-columns: 100px minmax(0, 1fr);
}

@media (max-width: 999px) {
  .lyrics-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 559px) {
  .lyrics-editor-heading {
    display: grid;
  }

  .lyrics-editor textarea {
    min-height: 430px;
  }

  .lyrics-actions .button {
    width: 100%;
  }

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

  .lyrics-checks li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .artwork-workspace {
    grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  }

  .artwork-report-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 799px) {
  .artwork-workspace {
    grid-template-columns: 1fr;
  }

  .artwork-report-panel {
    grid-column: auto;
  }
}

@media (max-width: 479px) {
  .artwork-focus-controls,
  .artwork-metrics {
    grid-template-columns: 1fr;
  }

  .artwork-checks li {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639px) {
  .loudness-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .level-overview > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

.inspection-workspace {
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
}

.inspection-report {
  min-width: 0;
}

.privacy-note,
.advisory-banner {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 12px;
}

.privacy-note {
  margin-top: 18px;
}

.privacy-note .inline-icon {
  width: 20px;
  height: 20px;
  color: var(--lime);
}

.report-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.report-heading h2 {
  max-width: 720px;
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.report-verdict {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.report-verdict[data-tone="success"] { border-color: rgba(97, 233, 119, 0.45); color: var(--success); }
.report-verdict[data-tone="warning"] { border-color: rgba(245, 158, 11, 0.5); color: var(--warning); }
.report-verdict[data-tone="error"] { border-color: rgba(244, 63, 94, 0.5); color: #fb7185; }

.report-empty {
  min-height: 360px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  color: var(--muted);
  text-align: center;
}

.report-empty .app-icon {
  width: 42px;
  height: 42px;
  color: var(--primary);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
}

.metric-grid > div {
  min-width: 0;
  padding: 18px 12px;
  border-bottom: 1px solid var(--line);
}

.metric-grid dt {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}

.metric-grid dd {
  margin: 5px 0 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 15px;
  font-weight: 750;
}

.report-checks {
  padding-top: 24px;
}

.report-checks h2 {
  font-size: 18px;
}

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

.report-checks li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.report-checks li > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.report-checks li[data-tone="success"] > span { color: var(--success); }
.report-checks li[data-tone="warning"] > span { color: var(--warning); }
.report-checks li[data-tone="error"] > span { color: #fb7185; }

.report-checks p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.advisory-banner {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.advisory-banner .app-icon {
  width: 21px;
  height: 21px;
  color: var(--primary);
}

.advisory-banner strong,
.advisory-banner span {
  display: block;
}

@media (max-width: 1100px) {
  .metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .inspection-workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639px) {
  .report-heading {
    display: grid;
  }

  .report-verdict {
    justify-self: start;
  }

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

  .report-checks li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.tool-guide-section {
  padding: 46px 0 30px;
  border-top: 1px solid var(--line);
  background: #050d14;
}

.tool-guide-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 64px;
  align-items: start;
}

.tool-guide-intro h2 {
  max-width: 760px;
  font-size: 30px;
  line-height: 1.24;
}

.tool-guide-intro article > p:last-child,
.output-facts p,
.guide-tip-list,
.faq-list p {
  color: var(--muted);
}

.output-facts {
  display: grid;
  gap: 18px;
  padding-top: 10px;
}

.output-facts > div {
  padding-left: 16px;
  border-left: 2px solid var(--primary);
}

.output-facts strong {
  color: var(--text);
  font-size: 13px;
  text-transform: uppercase;
}

.output-facts p {
  margin: 5px 0 0;
  font-size: 13px;
}

.tool-guide-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 64px;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.tool-guide-columns h2,
.related-tools h2 {
  font-size: 20px;
}

.guide-tip-list {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.guide-tip-list li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
}

.guide-tip-list .inline-icon {
  margin-top: 3px;
  color: var(--lime);
}

.faq-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--primary);
  font-size: 22px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin-bottom: 16px;
  font-size: 13px;
}

.related-tools {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.related-tools > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.related-tools a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #08131d;
  font-size: 13px;
  font-weight: 700;
}

.related-tools a:hover {
  border-color: var(--line-strong);
  color: var(--primary);
}

@media (max-width: 899px) {
  .tool-guide-intro,
  .tool-guide-columns {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .related-tools > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 639px) {
  .tool-guide-section {
    padding-top: 34px;
  }

  .tool-guide-intro h2 {
    font-size: 24px;
  }

  .tool-guide-columns {
    margin-top: 32px;
    padding-top: 28px;
  }

  .playback-timeline {
    min-height: 282px;
  }

  .playback-timeline-ruler {
    height: 38px;
  }

  .playback-waveform-stage,
  .playback-waveform-stage .waveform-canvas {
    height: 200px;
  }

  .playback-waveform-stage {
    margin-inline: 10px;
  }

  .playback-timeline-readout {
    min-height: 42px;
    gap: 6px;
    padding-inline: 10px;
    font-size: 10px;
  }
}
