:root {
  color-scheme: dark;
  --bg: #04080d;
  --panel: rgba(16, 24, 34, 0.72);
  --panel-strong: rgba(20, 30, 42, 0.92);
  --line: rgba(255, 255, 255, 0.12);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #ffffff;
  --muted: #b9c1cc;
  --soft: #7f8b99;
  --cyan: #54dcff;
  --mint: #55f4c7;
  --red: #ff171f;
  --yellow: #ffe078;
  --max: 1160px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 9% 12%, rgba(78, 244, 199, 0.12), transparent 24rem),
    radial-gradient(circle at 86% 17%, rgba(84, 220, 255, 0.10), transparent 24rem),
    radial-gradient(circle at 82% 77%, rgba(255, 23, 31, 0.09), transparent 28rem),
    linear-gradient(145deg, #03070a 0%, #07111c 47%, #0c1020 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 82%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(22px);
  background: rgba(4, 8, 13, 0.78);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  width: min(var(--max), calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 0 26px rgba(255, 23, 31, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover,
.footer a:hover {
  color: var(--text);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(84, 220, 255, 0.4);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(84, 220, 255, 0.18), rgba(85, 244, 199, 0.16));
  color: var(--text);
  font-weight: 850;
  box-shadow: 0 12px 34px rgba(84, 220, 255, 0.12);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--line);
  box-shadow: none;
}

.hero {
  width: min(1320px, calc(100% - 40px));
  min-height: auto;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
  padding: clamp(30px, 4vw, 54px) 0 58px;
}

.hero-copy {
  max-width: 640px;
}

.eyebrow,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #dce3eb;
  font-size: 14px;
  font-weight: 850;
}

.eyebrow::before,
.status-pill::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 16px var(--mint);
}

h1 {
  margin: 28px 0 22px;
  max-width: 760px;
  font-size: clamp(52px, 7.1vw, 104px);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(19px, 2.2vw, 27px);
  line-height: 1.32;
  font-weight: 740;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-art {
  position: relative;
  min-width: 0;
}

.audio-card {
  position: absolute;
  right: 6%;
  bottom: -30px;
  width: min(420px, 72%);
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 6, 10, 0.86);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.audio-card strong {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: #dbe4ec;
}

.audio-card strong span {
  color: var(--mint);
}

.wave {
  height: 76px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.wave i {
  display: block;
  flex: 1;
  min-width: 3px;
  border-radius: 999px;
  background: linear-gradient(to top, var(--cyan), var(--mint));
}

.wave i:nth-child(3n) { height: 78%; }
.wave i:nth-child(3n + 1) { height: 46%; }
.wave i:nth-child(3n + 2) { height: 62%; }

.app-window {
  position: relative;
  overflow: hidden;
  max-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #dfe3e8;
  color: #20242a;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

.app-window::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -20%;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(85, 244, 199, 0.12);
  filter: blur(8px);
}

.window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 18px;
  background: #dedede;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.window-bar span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.window-bar span:nth-child(1) { background: #ff454c; }
.window-bar span:nth-child(2) { background: #ffd018; }
.window-bar span:nth-child(3) { background: #32cf5b; }

.app-shell {
  position: relative;
  padding: clamp(18px, 2.2vw, 28px);
  display: grid;
  gap: 12px;
}

.app-topline,
.bottom-row,
.preview-times,
.button-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.app-topline strong {
  display: block;
  font-size: 20px;
  line-height: 1;
}

.app-topline small,
.drop-panel small,
.pipeline-panel small,
.bottom-row small {
  display: block;
  color: #6d747d;
  font-weight: 760;
}

.drop-panel,
.settings-panel,
.pipeline-panel,
.preview-panel {
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.82);
}

.drop-panel {
  min-height: 112px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 2px dashed rgba(0, 148, 255, 0.36);
}

.mic-mark {
  position: relative;
  width: 34px;
  height: 48px;
  margin-bottom: 4px;
  transform: scale(0.82);
}

.mic-mark::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 0;
  width: 16px;
  height: 32px;
  border-radius: 999px;
  background: #139cff;
  box-shadow: 0 0 0 12px rgba(19, 156, 255, 0.13);
}

.mic-mark::after {
  content: "";
  position: absolute;
  left: 4px;
  bottom: 0;
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: #139cff;
  box-shadow: 12px -8px 0 -10px #139cff;
}

.control-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.8fr);
  gap: 18px;
}

.settings-panel,
.pipeline-panel,
.preview-panel {
  padding: 14px;
}

.select-row {
  width: min(230px, 100%);
  height: 32px;
  margin: 10px 0 10px;
  padding: 7px 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  background: #fff;
  color: #2a2d31;
  font-size: 13px;
  font-weight: 760;
}

.settings-panel ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
  list-style: none;
  color: #2c3036;
  font-size: 13px;
  font-weight: 720;
}

.settings-panel li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  margin-right: 8px;
  border: 1px solid rgba(19, 156, 255, 0.5);
  border-radius: 4px;
  color: #139cff;
  font-size: 11px;
}

.pipeline-panel {
  align-self: center;
}

.mini-bars,
.meter-wave {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mini-bars {
  height: 34px;
  margin-top: 12px;
}

.mini-bars i {
  flex: 1;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(to top, var(--mint), var(--cyan));
}

.mini-bars i:nth-child(2n) {
  height: 22px;
}

.preview-panel {
  display: grid;
  gap: 11px;
}

.preview-times {
  justify-content: flex-start;
  gap: 52px;
  font-size: 14px;
}

.progress-line {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--mint), var(--cyan));
}

.button-row {
  justify-content: flex-start;
}

.button-row span,
.process-button,
.format-select,
.export-button {
  min-width: 104px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.82);
  color: #363b42;
  font-size: 12px;
  font-weight: 760;
}

.process-button {
  background: #139cff;
  color: white;
  border-color: #139cff;
}

.bottom-row {
  justify-content: flex-start;
}

.bottom-row small {
  margin-left: auto;
}

.section,
.legal-main {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p,
.legal-main p,
.legal-main li {
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}

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

.feature-card,
.workflow-card,
.legal-card,
.support-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  backdrop-filter: blur(18px);
}

.feature-card {
  min-height: 188px;
  padding: 24px;
}

.feature-card .kicker,
.workflow-card .kicker {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.feature-card h3,
.workflow-card h3,
.legal-card h2,
.support-card h2 {
  margin: 12px 0 10px;
  font-size: 22px;
  line-height: 1.16;
  letter-spacing: 0;
}

.feature-card p,
.workflow-card p,
.support-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.preset-strip {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 0.92fr;
  gap: 16px;
}

.preset-panel {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 4%, rgba(85, 244, 199, 0.13), transparent 15rem),
    linear-gradient(145deg, rgba(14, 24, 37, 0.96), rgba(7, 10, 17, 0.96));
}

.preset-panel::after {
  content: "";
  position: absolute;
  right: -96px;
  bottom: -110px;
  width: 260px;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(255, 23, 31, 0.08);
}

.preset-panel.podcast {
  background:
    radial-gradient(circle at 12% 7%, rgba(255, 224, 120, 0.12), transparent 15rem),
    linear-gradient(145deg, rgba(23, 17, 37, 0.96), rgba(7, 8, 15, 0.96));
}

.preset-panel.radio {
  background:
    radial-gradient(circle at 12% 7%, rgba(84, 220, 255, 0.12), transparent 15rem),
    linear-gradient(145deg, rgba(10, 24, 38, 0.96), rgba(5, 9, 15, 0.96));
}

.preset-panel .eyebrow {
  min-height: 34px;
  margin-bottom: 28px;
}

.preset-panel h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.98;
  letter-spacing: 0;
}

.preset-panel p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
  font-weight: 720;
}

.tag-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.tag-row span,
.status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #e7edf4;
  font-size: 13px;
  font-weight: 850;
}

.tag-row span::before {
  content: "✓";
  margin-right: 8px;
  color: var(--cyan);
}

.meter-wave {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 32px;
  height: 94px;
}

.meter-wave i {
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(to top, var(--yellow), var(--cyan));
}

.meter-wave i:nth-child(3n) { height: 80%; }
.meter-wave i:nth-child(3n + 1) { height: 48%; }
.meter-wave i:nth-child(3n + 2) { height: 66%; }

.status-chip {
  position: absolute;
  right: 28px;
  bottom: 32px;
  color: var(--mint);
  background: rgba(85, 244, 199, 0.12);
}

.workflow-card {
  padding: 24px;
}

.privacy-band {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  align-items: center;
  gap: 36px;
  padding: 34px;
  border: 1px solid rgba(85, 244, 199, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(85, 244, 199, 0.14), rgba(84, 220, 255, 0.08)),
    rgba(255, 255, 255, 0.04);
}

.privacy-band img {
  width: 132px;
  border-radius: 8px;
}

.privacy-band p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 38px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  color: var(--soft);
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-main {
  padding: 62px 0 78px;
  max-width: 860px;
}

.legal-main .brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.legal-main .brand-row img {
  width: 52px;
  border-radius: 8px;
}

.legal-main h1 {
  margin: 0 0 16px;
  font-size: clamp(44px, 6vw, 74px);
}

.legal-card,
.support-card {
  margin-top: 18px;
  padding: 28px;
}

.legal-card ul {
  padding-left: 22px;
}

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

.support-card {
  margin-top: 0;
}

@media (max-width: 920px) {
  .hero,
  .section-heading,
  .privacy-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .hero-art {
    margin-bottom: 24px;
  }

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

  .preset-strip,
  .support-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
  }

  .nav,
  .footer {
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .section,
  .legal-main,
  .footer,
  .nav {
    width: min(100% - 28px, var(--max));
  }

  .hero {
    padding-bottom: 6px;
  }

  h1 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .audio-card {
    display: none;
  }

  .privacy-band {
    padding: 24px;
  }

  .app-shell {
    padding: 18px;
  }

  .app-window {
    max-height: none;
  }

  .app-window .control-grid,
  .app-window .preview-panel,
  .app-window .bottom-row {
    display: none;
  }

  .drop-panel {
    min-height: 82px;
  }

  .app-topline,
  .bottom-row,
  .button-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .bottom-row small {
    margin-left: 0;
  }

  .preview-times {
    gap: 16px;
    flex-wrap: wrap;
  }

  .preset-panel {
    min-height: 320px;
  }
}
