:root {
  color-scheme: dark;
  --bg: #1b1218;
  --bg-alt: #231720;
  --surface: #2c1d27;
  --surface-hover: #382532;
  --border: #4f3646;
  --text: #fbf4f7;
  --muted: #cbb8c2;
  --accent: #f08a9e;
  --accent-strong: #e3647e;
  --accent-ink: #2d0913;
  --peach: #ffc470;
  --peach-soft: rgba(255, 196, 112, 0.14);
  --ok: #6ef2b4;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.55;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

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

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(27, 18, 24, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 900;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

nav a {
  color: var(--muted);
  font-weight: 500;
  font-size: 15px;
}

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

.nav-cta {
  padding: 7px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.nav-toggle:hover {
  background: var(--surface-hover);
}

.nav-toggle-icon line {
  transition: transform 0.18s ease, opacity 0.18s ease;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .line-top {
  transform: translateY(5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .line-mid {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .line-bot {
  transform: translateY(-5px) rotate(-45deg);
}

.hero {
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(620px circle at 14% 18%, rgba(240, 138, 158, 0.16), transparent 62%),
    radial-gradient(540px circle at 84% 28%, rgba(255, 196, 112, 0.13), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-grid > *,
.panel-grid > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--peach);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.hero-logo {
  flex-shrink: 0;
  width: 105px;
  height: 105px;
  border-radius: 23px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

h1 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.lead {
  margin: 0 0 26px;
  font-size: 18px;
  color: var(--muted);
}

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

.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
}

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

.btn-primary {
  background: linear-gradient(180deg, #f6a0b1 0%, var(--accent) 100%);
  color: var(--accent-ink);
  box-shadow: 0 6px 20px rgba(240, 138, 158, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
}

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

.btn-secondary:hover {
  background: var(--surface-hover);
}

.hero-badges {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges li {
  font-size: 13px;
  color: var(--muted);
  background: rgba(44, 29, 39, 0.82);
  border: 1px solid rgba(255, 196, 112, 0.3);
  padding: 5px 11px;
  border-radius: 999px;
}

.hero-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
}

.browser-tabs {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 8px 12px 0;
  background: #140d12;
  border-bottom: 1px solid var(--border);
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 9px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5d4050;
}

.dot:nth-child(1) {
  background: var(--accent);
  opacity: 0.85;
}

.dot:nth-child(2) {
  background: var(--peach);
  opacity: 0.85;
}

.dot:nth-child(3) {
  background: #eef1f8;
  opacity: 0.65;
}

.browser-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-width: 132px;
  max-width: 190px;
  padding: 6px 10px 7px;
  margin-bottom: -1px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-bottom-color: var(--bg-alt);
  border-radius: 8px 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.browser-tab-icon {
  flex-shrink: 0;
  border-radius: 3px;
}

.browser-tab-title {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-tab-close {
  color: var(--muted);
  font-size: 13px;
  line-height: 1;
  opacity: 0.75;
}

.browser-new-tab {
  padding: 0 4px 7px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1;
  opacity: 0.7;
}

.browser-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.browser-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  opacity: 0.75;
  flex-shrink: 0;
}

.browser-address {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--text);
}

.browser-address-icon {
  color: var(--muted);
  flex-shrink: 0;
}

.browser-url {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.browser-url-scheme {
  color: var(--muted);
}

.window-body {
  padding: 14px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background:
    radial-gradient(360px circle at 12% 0%, rgba(240, 138, 158, 0.14), transparent 60%),
    radial-gradient(300px circle at 88% 4%, rgba(255, 196, 112, 0.11), transparent 58%),
    var(--bg);
}

.mock-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.mock-brand-row {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.mock-brand-logo {
  flex-shrink: 0;
  border-radius: 7px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.32);
}

.mock-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mock-app-title {
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.mock-app-subtitle {
  font-size: 11px;
  line-height: 1.3;
  color: var(--muted);
}

.mock-connection {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: var(--peach);
}

.mock-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.mock-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.mock-textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 7px 9px;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text);
}

.mock-settings {
  display: grid;
  grid-template-columns: 0.78fr 1.11fr 1.11fr;
  gap: 7px;
  margin-top: 9px;
}

.mock-select-group {
  min-width: 0;
}

.mock-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 5px 7px;
  font-size: 10.5px;
  color: var(--text);
}

.mock-select span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-select svg {
  flex-shrink: 0;
  color: var(--muted);
}

.mock-form-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.mock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.mock-quit {
  flex-shrink: 0;
}

.mock-btn-primary {
  background: linear-gradient(180deg, #f6a0b1 0%, var(--accent) 100%);
  color: var(--accent-ink);
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(240, 138, 158, 0.22);
}

.mock-exports {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 2px;
}

.mock-exports-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.mock-exports-title {
  display: block;
  font-size: 14px;
  line-height: 1.2;
}

.mock-counts {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

.mock-exports-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.mock-toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1.2;
}

.mock-job {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  padding: 11px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-job-info {
  min-width: 0;
}

.mock-job-title-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.mock-job-title {
  font-size: 12.5px;
  line-height: 1.3;
}

.status-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 1.5px 7px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.status-badge.done {
  background: rgba(110, 242, 180, 0.14);
  color: var(--ok);
  border: 1px solid rgba(110, 242, 180, 0.3);
}

.mock-job-detail {
  margin: 3px 0 0;
  font-size: 11px;
  color: var(--muted);
}

.mock-job-times {
  margin: 2px 0 0;
  font-size: 10.5px;
  color: var(--muted);
  opacity: 0.88;
}

.mock-job-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.mock-player-toggles {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.mock-player-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.mock-player-toggle.active {
  background: linear-gradient(180deg, #f6a0b1 0%, var(--accent) 100%);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.mock-player-toggle.playing {
  box-shadow: 0 0 0 2.5px rgba(240, 138, 158, 0.28);
}

.mock-job-controls {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
}

.mock-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--text);
}

.mock-icon-btn.danger {
  color: var(--muted);
}

.mock-player {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.28);
  padding: 9px 14px 11px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.mock-player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.mock-player-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.mock-player-title {
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-player-stem {
  font-size: 10px;
  line-height: 1.25;
  color: var(--peach);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mock-player-close {
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}

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

.mock-audio-bar {
  flex: 1 1 170px;
  min-width: 0;
  height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: #332c31;
  color: #f3edf0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.mock-audio-play,
.mock-audio-vol {
  flex-shrink: 0;
}

.mock-audio-time {
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: #e6dde2;
}

.mock-audio-track {
  position: relative;
  flex: 1;
  min-width: 32px;
  height: 3.5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  overflow: hidden;
}

.mock-audio-fill {
  display: block;
  width: 48%;
  height: 100%;
  border-radius: 999px;
  background: #f5eff2;
}

.mock-player-speed {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  white-space: nowrap;
}

.mock-speed-label {
  font-weight: 600;
}

.mock-speed-slider {
  position: relative;
  width: 54px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.mock-speed-fill {
  display: block;
  width: 30%;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
}

.mock-speed-thumb {
  position: absolute;
  top: 50%;
  left: 30%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
}

.mock-speed-value {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.mock-speed-reset {
  padding: 2.5px 6px;
  font-size: 10px;
}

.section {
  padding: 68px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: 30px;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tab {
  font: inherit;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
}

.tab:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.tab.active {
  background: linear-gradient(180deg, #f6a0b1 0%, var(--accent) 100%);
  color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(240, 138, 158, 0.22);
}

.tab-panels {
  display: grid;
}

.tab-panel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.tab-panel[hidden] {
  display: flex !important;
  visibility: hidden;
  pointer-events: none;
}

.panel-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: stretch;
}

.panel-grid h3 {
  margin-top: 0;
  font-size: 22px;
}

.steps {
  padding-left: 20px;
  margin: 16px 0 0;
}

.steps li {
  margin-bottom: 11px;
}

.code-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #140d12;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.code-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 50px;
  flex-shrink: 0;
  padding: 10px 14px;
  background: #1e141b;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.copy-btn {
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 5px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.copy-btn:hover {
  background: var(--surface-hover);
}

.code-card pre {
  flex: 1;
}

pre {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  font-size: 13.5px;
  line-height: 1.5;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.tok-comment {
  color: #9e8794;
  font-style: italic;
}

.tok-cmd {
  color: var(--accent);
  font-weight: 600;
}

.tok-flag {
  color: var(--peach);
}

.tok-str {
  color: var(--ok);
}

.code-note {
  flex-shrink: 0;
  margin: 0;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
}

.card h3 {
  margin: 8px 0 10px;
  font-size: 19px;
}

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

.card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--peach);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.audio-specs {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.spec-item {
  padding: 18px 20px;
  border-left: 3px solid var(--peach);
  background: rgba(44, 29, 39, 0.65);
  border-radius: 0 8px 8px 0;
}

.spec-item h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

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

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

section[id] {
  scroll-margin-top: 76px;
}

.mock-textarea code,
.steps li,
.card p,
.spec-item p {
  overflow-wrap: anywhere;
}

[hidden] {
  display: none !important;
}

@media (max-width: 860px) {
  .hero-grid,
  .panel-grid,
  .cards-grid,
  .audio-specs {
    grid-template-columns: 1fr;
  }

  .panel-grid {
    grid-template-rows: auto 1fr;
  }
}

@media (max-width: 720px) {
  .nav-row {
    min-height: 58px;
    flex-wrap: wrap;
    padding: 8px 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px 0 6px;
    border-top: 1px solid var(--border);
  }

  nav.is-open {
    display: flex;
  }

  nav a {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 16px;
  }

  nav a:hover {
    background: var(--surface);
  }

  nav .nav-cta {
    margin-top: 4px;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 36px 0 44px;
  }

  .hero-grid {
    gap: 28px;
  }

  .eyebrow {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .hero-heading {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
  }

  .hero-logo {
    width: 68px;
    height: 68px;
    border-radius: 16px;
  }

  h1 {
    font-size: clamp(26px, 7.5vw, 34px);
  }

  .lead {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .hero-actions {
    gap: 10px;
    margin-bottom: 20px;
  }

  .hero-actions .btn {
    flex: 1 1 160px;
    text-align: center;
    padding: 11px 16px;
  }

  .hero-badges {
    gap: 8px;
  }

  .hero-badges li {
    font-size: 12px;
    padding: 4px 10px;
  }

  .window-body {
    padding: 12px;
    gap: 9px;
  }

  .section {
    padding: 44px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .section-head h2 {
    font-size: 24px;
    line-height: 1.2;
  }

  .section-head p {
    font-size: 15.5px;
  }

  .tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 18px;
  }

  .tab {
    padding: 10px 12px;
    font-size: 13.5px;
    text-align: left;
  }

  .tab-panel {
    padding: 18px 16px;
  }

  .panel-grid {
    gap: 20px;
  }

  .panel-grid h3 {
    font-size: 20px;
  }

  .steps {
    padding-left: 18px;
  }

  pre {
    padding: 12px 14px;
    font-size: 12.5px;
  }

  .cards-grid,
  .audio-specs {
    gap: 14px;
  }

  .card {
    padding: 18px;
  }

  .spec-item {
    padding: 14px 16px;
  }

  .site-footer {
    padding: 22px 0;
  }

  .footer-row p {
    margin: 0;
  }
}

@media (max-width: 480px) {
  .mock-settings {
    grid-template-columns: 1fr;
  }

  .mock-app-header {
    flex-wrap: wrap;
  }

  .mock-job-controls {
    margin-left: 0;
  }

  .mock-player-header {
    flex-wrap: wrap;
  }

  .mock-player .mock-player-toggles {
    order: 3;
    flex-basis: 100%;
    justify-content: center;
  }

  .mock-player-controls {
    justify-content: center;
  }

  .mock-audio-bar {
    flex-basis: 100%;
  }
}

@media (max-width: 420px) {
  .tabs {
    grid-template-columns: 1fr;
  }
}
