@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/ibm-plex-mono-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light;
  --bg: #f2f4f6;
  --surface: #fbfaf7;
  --surface-2: #e9edf0;
  --ink: #14161a;
  --muted: #5a6069;
  --muted-on-dark: #a9b1ba;
  --line: #d7dde2;
  --accent: #e8a33d;
  --accent-dark: #8a520d;
  --accent-soft: #fff1d9;
  --accent-ink: #1b1408;
  --ready: #65d6c2;
  --red: #e35d6a;
  --red-soft: #fdecec;
  --amber: #8a520d;
  --amber-soft: #fff1d9;
  --console: #0e1013;
  --console-2: #15181d;
  --console-line: #2a2f37;
  --console-text: #f4f1ea;
  --stage: var(--console);
  --stage-2: var(--console-2);
  --stage-line: var(--console-line);
  --stage-text: var(--console-text);
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 1px rgba(16, 18, 22, 0.06), 0 16px 40px rgba(16, 18, 22, 0.10);
  --font: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Microsoft YaHei", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}

img,
canvas,
audio {
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0 0 12px;
}

h1 {
  font-size: 34px;
}

h2 {
  font-size: 26px;
}

h3 {
  font-size: 18px;
}

p {
  margin: 0 0 14px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow {
  max-width: 780px;
}

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

.small {
  font-size: 14px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  z-index: 100;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

:focus-visible {
  outline: 3px solid rgba(15, 118, 110, 0.35);
  outline-offset: 2px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--console);
  border-bottom: 1px solid var(--console-line);
  color: var(--console-text);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--console-text);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-ink);
}

.brand-mark svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.main-nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
}

.main-nav a {
  color: var(--console-text);
  font-weight: 500;
  font-size: 15px;
  opacity: 0.78;
}

.main-nav a:hover {
  opacity: 1;
  text-decoration: none;
}

.lang-switch {
  display: flex;
  gap: 4px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--console-line);
  border-radius: 10px;
}

.lang-switch a {
  min-width: 40px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border-radius: 7px;
  color: var(--muted-on-dark);
  font-size: 13px;
  font-weight: 500;
}

.lang-switch a.active {
  background: var(--accent);
  color: var(--accent-ink);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease, transform 80ms ease;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled,
.btn-disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.btn-primary:hover {
  background: #f2b85c;
  border-color: #f2b85c;
  color: var(--accent-ink);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.btn-danger {
  background: var(--red);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: #b9b3a8;
  background: rgba(20, 22, 26, 0.03);
}

.btn-small {
  min-height: 44px;
  padding: 9px 14px;
  font-size: 14px;
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.btn-record .rec-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #fff;
}

/* Hero */
.hero {
  padding: 56px 0 32px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%);
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 44px;
  max-width: 620px;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 680px;
}

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

.trust-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.trust-list li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  margin-right: 8px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.wave-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 30px;
  background: var(--stage);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.wave-card span {
  width: 10px;
  border-radius: 6px;
  background: var(--accent);
  animation: pulse 1.4s ease-in-out infinite;
}

.wave-card span:nth-child(1) { height: 28%; animation-delay: 0s; }
.wave-card span:nth-child(2) { height: 58%; animation-delay: 0.1s; }
.wave-card span:nth-child(3) { height: 88%; animation-delay: 0.2s; }
.wave-card span:nth-child(4) { height: 44%; animation-delay: 0.3s; }
.wave-card span:nth-child(5) { height: 72%; animation-delay: 0.4s; background: #fbbf24; }
.wave-card span:nth-child(6) { height: 36%; animation-delay: 0.5s; }
.wave-card span:nth-child(7) { height: 64%; animation-delay: 0.6s; }
.wave-card span:nth-child(8) { height: 24%; animation-delay: 0.7s; }

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

.wave-card-label {
  position: absolute;
  left: 20px;
  top: 18px;
  color: #fca5a5;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

/* Sections */
.section {
  padding: 56px 0;
}

.section > .wrap > h2,
.section-title {
  margin-bottom: 22px;
}

.tool-section {
  padding-top: 40px;
}

/* Recorder */
.recorder {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.recorder-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.status-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #98a2b3;
}

.status-dot.recording {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.14);
}

.status-dot.paused {
  background: var(--amber);
}

.usage-badge {
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 700;
}

.recorder-stage {
  position: relative;
  padding: 22px 20px 24px;
  background: var(--stage);
  color: var(--stage-text);
  text-align: center;
}

#level-canvas {
  display: block;
  width: 100%;
  height: 120px;
}

.timer {
  font-family: var(--mono);
  font-size: 40px;
  font-weight: 700;
  margin: 8px 0 16px;
}

.stage-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.recorder-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
}

.field {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.field select,
.field input,
.summary-actions select {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.upload-field {
  align-items: start;
}

.file-button {
  width: fit-content;
  cursor: pointer;
}

.player {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #f8fafb;
}

.player-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.player-kicker {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.player-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.player-icon {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.player-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.player-toggle {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.player-toggle .icon-pause,
.player-mute .icon-muted {
  display: none;
}

.player-toggle[data-playing="true"] .icon-play,
.player-mute[data-muted="true"] .icon-volume {
  display: none;
}

.player-toggle[data-playing="true"] .icon-pause,
.player-mute[data-muted="true"] .icon-muted {
  display: block;
}

.player-seek,
.player-volume input {
  min-width: 0;
  width: 100%;
  accent-color: var(--accent);
}

.player-seek {
  flex: 1 1 180px;
}

.player-time {
  font-family: var(--mono);
  font-size: 12px;
  white-space: nowrap;
  color: var(--muted);
}

.player-rate {
  min-height: 44px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.player-volume {
  display: flex;
  align-items: center;
  gap: 6px;
}

.player-volume input {
  width: 84px;
}

.player-trim {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.player-trim-title {
  align-self: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--accent-dark);
}

.player-trim label {
  display: grid;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.player-trim input {
  width: 86px;
  min-height: 36px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.chunks {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.chunks-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

#chunk-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#chunk-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
  font-size: 14px;
}

.chunk-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.chunk-play {
  width: 36px;
  min-width: 36px;
  height: 36px;
  min-height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--accent-dark);
  cursor: pointer;
}

.chunk-play svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.chunk-play:hover,
.chunk-play.active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.transcript .ts.active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.advanced {
  border-bottom: 1px solid var(--line);
}

.advanced summary {
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 700;
}

.advanced-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 16px 18px;
}

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

.check {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
}

.license-row,
.license-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.license-row input,
.license-form input {
  flex: 1;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
}

.license-box {
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.recorder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
}

.privacy-note {
  margin: 0;
  padding: 0 16px 18px;
  color: var(--muted);
  font-size: 13px;
}

.progress {
  display: grid;
  gap: 6px;
  padding: 0 16px 16px;
}

.progress-bar {
  height: 8px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.2s ease;
}

.turnstile {
  padding: 0 16px 16px;
}

/* Results */
.results {
  margin-top: 22px;
}

.result-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 10px;
}

.result-meta {
  color: var(--muted);
  font-size: 14px;
}

.result-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
}

.panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.summary-actions select {
  width: auto;
  min-height: 36px;
  font-size: 13px;
}

.transcript,
.summary {
  flex: 1;
  min-height: 260px;
  max-height: 560px;
  overflow: auto;
  padding: 14px;
  font-size: 15px;
  line-height: 1.75;
}

.transcript p {
  margin: 0 0 10px;
}

.transcript .ts {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  cursor: pointer;
}

.speaker {
  display: inline-block;
  margin-right: 6px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
}

.summary {
  white-space: pre-wrap;
  background: #fcfcfd;
}

.save-row {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.sessions {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

#session-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#session-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 14px;
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.steps article {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.steps span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

/* Use cases */
.use-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.use-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}

.use-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.use-card h3 {
  margin-bottom: 0;
}

.use-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 0;
}

.use-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 800;
}

.link-arrow {
  margin-top: auto;
  color: var(--accent);
  font-weight: 800;
}

/* Page hero and content */
.page-hero {
  padding: 52px 0 30px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: 38px;
}

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

.benefit {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.benefit h2 {
  font-size: 20px;
}

.workflow {
  display: grid;
  gap: 16px;
  margin: 0;
  padding-left: 22px;
}

.workflow li {
  padding-left: 6px;
}

.workflow h3 {
  margin-bottom: 4px;
}

.cta-section,
.cta-inline {
  padding-top: 10px;
}

.cta-section p {
  color: var(--muted);
  margin-bottom: 18px;
}

.cta-inline {
  margin-top: 24px;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.price-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.08), var(--shadow);
}

.price-card .badge {
  position: absolute;
  top: -12px;
  left: 20px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.price {
  font-size: 38px;
  font-weight: 800;
}

.price span {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
}

.price-card ul {
  display: grid;
  gap: 7px;
  margin: 0 0 14px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

/* Guides */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.guide-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
}

.guide-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.prose {
  max-width: 780px;
}

.prose h2 {
  margin-top: 30px;
}

.prose section {
  margin-bottom: 10px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 14px;
}

.compare-table th,
.compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  background: var(--surface-2);
  font-size: 13px;
  text-transform: uppercase;
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 10px;
}

.faq details {
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

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

.faq details p {
  margin: 10px 0 0;
  color: var(--muted);
}

/* Ads and affiliate */
.ad-slot {
  margin: 28px auto 0;
  max-width: 1120px;
  min-height: 90px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: #98a2b3;
  font-size: 13px;
}

.affiliate-section {
  padding-top: 20px;
}

.affiliate-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px;
  background: var(--amber-soft);
  border: 1px solid #f0d9b5;
  border-radius: var(--radius);
}

.affiliate-box h2 {
  font-size: 20px;
}

.affiliate-box p {
  margin: 0;
  color: #6b4a18;
  font-size: 14px;
}

.affiliate-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.affiliate-links a {
  padding: 8px 12px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid #ead4b2;
  color: var(--amber);
  font-weight: 700;
  font-size: 14px;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 60;
  transform: translateX(-50%);
  max-width: min(520px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 14px;
}

.toast.error {
  background: var(--red);
}

/* Footer */
.site-footer {
  margin-top: 0;
  padding: 56px 0 28px;
  background: var(--console);
  color: var(--console-text);
}

.site-footer a {
  display: block;
  color: #d8dee6;
  font-size: 14px;
  margin-bottom: 6px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 26px;
}

.site-footer .muted {
  color: var(--muted-on-dark);
}

.footer-brand {
  font-size: 18px;
  letter-spacing: 0;
}

.foot-title {
  margin-bottom: 10px;
  font-weight: 800;
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--console-line);
}

/* Responsive */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 38px;
  }

  .result-grid,
  .steps,
  .guide-grid {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .wrap {
    padding: 0 16px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .main-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 4px;
  }

  .lang-switch {
    margin-left: auto;
  }

  .hero {
    padding-top: 34px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 30px;
  }

  .lead {
    font-size: 16px;
  }

  .section {
    padding: 38px 0;
  }

  .recorder-meta,
  .advanced-grid,
  .benefit-grid,
  .use-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .license-row,
  .license-form {
    flex-direction: column;
    align-items: stretch;
  }

  .player-seek {
    order: 5;
    flex-basis: 100%;
  }

  .player-volume input {
    width: 64px;
  }

  .player-trim input {
    width: 72px;
  }

  .timer {
    font-size: 32px;
  }

  .result-head {
    flex-direction: column;
    gap: 2px;
  }

  .affiliate-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer {
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
}

/* ---------------------------------------------------------------
   Studio Console
   --------------------------------------------------------------- */

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

#recorder {
  scroll-margin-top: 84px;
}

.studio-section {
  padding: 42px 0 64px;
  background: var(--bg);
}

.studio-intro {
  max-width: 900px;
  margin: 0 0 26px;
}

.studio-intro h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.studio-intro .lead {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.studio-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 14px;
}

.studio-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.studio-trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ready);
}

.studio-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: start;
}

.studio-console {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: var(--console);
  border: 1px solid var(--console-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--console-text);
  animation: console-in 420ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.studio-workspace {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: console-in 420ms 60ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes console-in {
  from {
    transform: translateY(10px);
  }
  to {
    transform: none;
  }
}

.console-top {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--console-line);
  background: var(--console);
}

.studio-console .status-group {
  color: var(--console-text);
  font-size: 13px;
}

.studio-console .status-dot {
  background: #7b838e;
}

.studio-console .status-dot.recording {
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(227, 93, 106, 0.16);
}

.studio-console .status-dot.paused {
  background: var(--accent);
}

.studio-console .usage-badge {
  padding: 5px 10px;
  border: 1px solid var(--console-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-on-dark);
  font-size: 12px;
  font-weight: 500;
}

.console-display {
  order: 2;
  padding: 16px 18px 14px;
  border-bottom: 1px solid var(--console-line);
  text-align: left;
}

.console-display #level-canvas {
  height: 132px;
}

.console-display .timer {
  margin: 4px 0 8px;
  color: var(--console-text);
  font-size: 54px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.console-readout {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  min-height: 20px;
}

.console-state {
  color: var(--console-text);
  font-size: 13px;
  font-weight: 600;
}

.console-hint {
  color: var(--muted-on-dark);
  font-size: 13px;
}

.console-display .stage-actions {
  justify-content: flex-start;
  margin-top: 14px;
}

.console-display .btn-secondary {
  background: transparent;
  border-color: var(--console-line);
  color: var(--console-text);
}

.console-display .btn-danger {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.console-transport {
  order: 3;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--console-line);
}

.studio-console .field {
  color: var(--muted-on-dark);
}

.studio-console .muted,
.studio-console .muted.small,
.studio-console small.muted,
.studio-console #player-segment-label {
  color: var(--muted-on-dark);
}

.studio-console .field select,
.studio-console .field input {
  min-height: 44px;
  background: var(--console-2);
  border-color: var(--console-line);
  color: var(--console-text);
}

.studio-console .file-button {
  background: transparent;
  border-color: var(--console-line);
  color: var(--console-text);
}

.console-player {
  order: 4;
  padding: 14px 18px;
  background: var(--console-2);
  border-bottom: 1px solid var(--console-line);
}

.console-player .player-kicker {
  color: var(--muted-on-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.console-player .player-icon {
  background: var(--console);
  border-color: var(--console-line);
  color: var(--console-text);
}

.console-player .player-toggle {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.console-player .player-time {
  color: var(--muted-on-dark);
}

.console-player .player-rate {
  background: var(--console);
  border-color: var(--console-line);
  color: var(--console-text);
}

.console-player .player-seek,
.console-player .player-volume input {
  height: 44px;
  accent-color: var(--accent);
}

.console-player .player-trim {
  border-top-color: var(--console-line);
}

.console-player .player-trim-title,
.console-player .player-trim label {
  color: var(--muted-on-dark);
}

.console-player .player-trim input {
  min-height: 44px;
  background: var(--console);
  border-color: var(--console-line);
  color: var(--console-text);
}

.console-chunks {
  order: 5;
  padding: 14px 18px;
  background: var(--console);
  border-bottom: 1px solid var(--console-line);
  color: var(--console-text);
}

.console-chunks .chunks-head {
  color: var(--console-text);
}

.console-chunks #chunk-list li {
  background: var(--console-2);
  border-color: var(--console-line);
  color: var(--console-text);
}

.console-chunks .chunk-play {
  background: var(--console);
  border-color: var(--console-line);
  color: var(--console-text);
}

.console-settings {
  order: 8;
  background: var(--console);
  border-bottom: 1px solid var(--console-line);
  color: var(--console-text);
}

.console-settings summary {
  color: var(--console-text);
}

.console-settings .field,
.console-settings .check,
.console-settings .muted {
  color: var(--muted-on-dark);
}

.console-settings .field select,
.console-settings .field input {
  background: var(--console-2);
  border-color: var(--console-line);
  color: var(--console-text);
}

.console-actions {
  order: 7;
  padding: 16px 18px;
  background: var(--console);
}

.console-actions .btn-ghost {
  background: transparent;
  border-color: var(--console-line);
  color: var(--console-text);
}

.console-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.console-privacy {
  order: 9;
  max-width: 68ch;
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted-on-dark);
  font-size: 13px;
  line-height: 1.55;
}

.studio-console .progress {
  order: 6;
  padding: 0 18px 16px;
}

.studio-console .progress-bar {
  background: rgba(255, 255, 255, 0.1);
}

.studio-console .progress-bar span {
  background: var(--accent);
}

.studio-console .turnstile {
  order: 10;
  padding: 0 18px 16px;
}

.studio-console[data-state="recording"] .status-dot {
  animation: rec-pulse 1.5s ease-out infinite;
}

@keyframes rec-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(227, 93, 106, 0.34);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(227, 93, 106, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(227, 93, 106, 0);
  }
}

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

.workspace-heading h2 {
  margin-bottom: 4px;
  font-size: 22px;
  letter-spacing: -0.015em;
}

.workspace-heading .result-meta {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.workspace-actions {
  display: flex;
  flex-shrink: 0;
  gap: 8px;
}

.workspace-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
}

.workspace-tabs {
  display: flex;
  min-width: 0;
  max-width: 100%;
  gap: 4px;
  padding: 3px;
  border-radius: 11px;
  background: var(--surface-2);
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.workspace-tabs .tab {
  min-height: 40px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.workspace-tabs .tab[aria-selected="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(16, 18, 22, 0.08);
}

#target-lang {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
}

.workspace-doc {
  min-width: 0;
  border-right: 1px solid var(--line);
}

.workspace-doc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px 10px;
}

.workspace-doc-head h3,
.workspace-side-head h3 {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.export-menu {
  position: relative;
}

.export-menu summary {
  list-style: none;
  cursor: pointer;
}

.export-menu summary::-webkit-details-marker {
  display: none;
}

.export-menu-list {
  position: absolute;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 4px;
  width: 224px;
  margin-top: 8px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.export-menu-list .btn {
  justify-content: flex-start;
  min-height: 40px;
}

.workspace-doc .transcript {
  min-height: 320px;
  max-height: 560px;
  padding: 8px 20px 24px;
  overflow: auto;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
}

.workspace-doc .transcript p {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 4px 14px;
  margin: 0 0 14px;
  animation: line-in 260ms ease-out both;
}

@keyframes line-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.workspace-doc .transcript .ts {
  grid-column: 1;
  grid-row: 1 / span 2;
  justify-self: start;
  min-height: 36px;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}

.workspace-doc .transcript .speaker {
  grid-column: 2;
  justify-self: start;
  margin: 0 0 2px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 600;
}

.workspace-doc .transcript p > span:last-child {
  grid-column: 2;
}

.workspace-side {
  min-width: 0;
  padding: 16px 20px 20px;
  background: #f7f5f0;
}

.workspace-side-head {
  margin-bottom: 10px;
}

.workspace-side .summary {
  min-height: 320px;
  max-height: 560px;
  overflow: auto;
  padding: 0;
  background: transparent;
  white-space: pre-wrap;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}

.workspace-footer {
  display: grid;
  gap: 12px;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line);
}

.workspace-footer > .btn {
  justify-self: start;
}

.workspace-footer .sessions {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.workspace-footer .sessions h3 {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.workspace-footer #session-list li {
  background: var(--surface);
  border-color: var(--line);
}

.studio-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.studio-steps li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  padding: 22px 20px 22px 0;
  border-bottom: 1px solid var(--line);
}

.studio-steps li + li {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.studio-steps h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

.studio-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.step-index {
  color: var(--accent-dark);
  font-family: var(--mono);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.use-editorial {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  border-top: 1px solid var(--line);
}

.use-editorial .use-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 24px;
  align-items: start;
  gap: 12px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.use-editorial .use-card:nth-child(odd) {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.use-editorial .use-card:nth-child(even) {
  padding-left: 24px;
}

.use-editorial .use-icon {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 14px;
}

.use-editorial .use-card h3 {
  grid-column: 2;
  grid-row: 1;
  margin-bottom: 4px;
  font-size: 18px;
}

.use-editorial .use-card p {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.use-editorial .link-arrow {
  grid-column: 3;
  grid-row: 1 / span 2;
  color: var(--accent-dark);
}

.faq {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.faq h2 {
  margin-bottom: 10px;
}

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

.faq details {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 18px 0;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
}

.faq details p {
  max-width: 72ch;
  margin: 0 0 18px;
  color: var(--muted);
}

.crumb {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 500;
}

.section > .wrap > h2,
.section-title,
.page-hero h1,
.prose h1 {
  letter-spacing: -0.02em;
}

.page-hero {
  background: var(--surface);
}

.price-card,
.benefit,
.guide-card,
.license-box,
.affiliate-box {
  border-radius: var(--radius);
  box-shadow: none;
}

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.benefit {
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.benefit:nth-child(odd) {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}

.benefit:nth-child(even) {
  padding-left: 24px;
}

.benefit h2 {
  font-size: 20px;
}

.benefit p {
  margin-bottom: 0;
  color: var(--muted);
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}

.guide-card {
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.guide-card h2 {
  font-size: 22px;
}

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

.price-card.featured {
  border-color: var(--accent);
}

.badge {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.price-card .badge {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.price {
  font-variant-numeric: tabular-nums;
}

.compare-table th {
  background: var(--surface-2);
}

.compare-table th,
.compare-table td {
  border-color: var(--line);
}

.license-form input,
.license-row input {
  min-height: 44px;
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .studio-console,
  .studio-workspace,
  .workspace-doc .transcript p,
  .studio-console[data-state="recording"] .status-dot {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

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

@media (max-width: 760px) {
  #recorder {
    scroll-margin-top: 112px;
  }

  .studio-section {
    padding: 26px 0 44px;
  }

  .studio-intro {
    margin-bottom: 18px;
  }

  .studio-intro h1 {
    font-size: 32px;
    line-height: 1.12;
  }

  .studio-intro .lead {
    font-size: 16px;
  }

  .studio-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
    font-size: 12px;
    line-height: 1.4;
  }

  .studio-trust li:nth-child(3) {
    display: none;
  }

  .studio-shell {
    gap: 12px;
  }

  .console-display {
    padding: 14px;
  }

  .console-display #level-canvas {
    height: 84px;
  }

  .console-display .timer {
    margin-top: 2px;
    font-size: 40px;
  }

  .console-display .stage-actions {
    margin-top: 10px;
  }

  .console-transport,
  .console-player,
  .console-chunks,
  .console-actions {
    padding: 14px;
  }

  .workspace-head {
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
  }

  .workspace-actions {
    width: 100%;
  }

  .workspace-actions .btn {
    flex: 1;
  }

  .workspace-toolbar {
    flex-wrap: wrap;
    padding: 12px 16px;
  }

  .workspace-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .workspace-tabs .tab {
    min-height: 44px;
    flex: 0 0 auto;
  }

  #target-lang {
    width: 100%;
    min-height: 44px;
  }

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

  .workspace-doc {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workspace-doc .transcript {
    padding: 8px 16px 20px;
  }

  .workspace-doc .transcript p {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 4px 10px;
  }

  .workspace-doc .transcript .ts {
    min-height: 44px;
  }

  .workspace-side {
    padding: 16px;
  }

  .workspace-footer {
    padding: 16px;
  }

  .studio-steps {
    grid-template-columns: 1fr;
  }

  .studio-steps li + li {
    padding-left: 0;
    border-left: 0;
  }

  .use-editorial {
    grid-template-columns: 1fr;
  }

  .use-editorial .use-card:nth-child(odd),
  .use-editorial .use-card:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
  }

  .header-inner {
    min-height: 48px;
    gap: 6px;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }

  .brand-mark svg {
    width: 17px;
    height: 17px;
  }

  .main-nav {
    padding-bottom: 0;
  }

  .main-nav a,
  .lang-switch a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .lang-switch a {
    min-width: 44px;
  }
}

.studio-console .field label {
  color: var(--muted-on-dark);
}

.transcript-empty {
  display: grid;
  gap: 6px;
  padding: 42px 0;
  color: var(--muted);
}

.transcript-empty strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.transcript-empty p {
  display: block;
  grid-column: auto;
  margin: 0;
  font-size: 14px;
}

.workspace-doc .transcript .transcript-empty p {
  display: block;
  grid-column: auto;
}

.toast {
  display: flex;
  align-items: center;
  gap: 14px;
}

.toast-action {
  min-height: 36px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.toast-action:hover {
  background: rgba(255, 255, 255, 0.14);
}

select {
  -webkit-appearance: none;
  appearance: none;
  height: 44px;
  min-height: 44px;
  padding-right: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235a6069' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  background-size: 12px 8px;
}

.studio-console select,
.console-player select {
  background-color: var(--console-2);
  color: var(--console-text);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23a9b1ba' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

#target-lang,
.field select,
.player-rate,
.summary-actions select {
  height: 44px;
  min-height: 44px;
}

@media (max-width: 760px) {
  html,
  body {
    overflow-x: hidden;
  }

  .workspace-toolbar {
    min-width: 0;
    padding-right: 16px;
    padding-left: 16px;
  }

  .workspace-tabs {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .workspace-tabs .tab {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }
}
