.audio-page { --audio-accent: var(--fmf-cyan); }
.audio-intro { --accent: var(--fmf-cyan); }
.audio-intro__chips { position: relative; display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.audio-intro__chips span { padding: 7px 11px; border-radius: 999px; background: color-mix(in srgb, var(--fmf-cyan) 13%, white); color: var(--fmf-navy); border: 1px solid color-mix(in srgb, var(--fmf-cyan) 22%, white); font-size: .85rem; font-weight: 700; }

.audio-unavailable { background: white; border: 1px solid var(--fmf-border); border-radius: var(--radius); padding: clamp(24px, 5vw, 42px); display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.audio-unavailable__icon { width: 70px; height: 70px; border-radius: 22px; background: color-mix(in srgb, var(--fmf-cyan) 16%, white); color: var(--fmf-navy); display: grid; place-items: center; font-size: 2.2rem; font-weight: 700; }
.audio-unavailable h2 { color: var(--fmf-navy); margin: .15em 0 .35em; }
.audio-unavailable p:last-child { color: var(--fmf-muted); margin: 0; }

.audio-converter { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr); gap: 22px; align-items: start; }
.audio-converter__main, .audio-side > div { background: white; border: 1px solid var(--fmf-border); border-radius: var(--radius); box-shadow: 0 12px 34px rgba(16, 32, 96, .06); }
.audio-converter__main { padding: clamp(22px, 4vw, 36px); }
.audio-side { display: grid; gap: 18px; position: sticky; top: 92px; }
.audio-side > div { padding: 24px; }
.audio-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 20px; }
.audio-section-heading h2, .audio-options__heading h2, .audio-side h2, .audio-notes h2 { color: var(--fmf-navy); margin: .12em 0 0; letter-spacing: -.025em; }
.audio-section-heading h2, .audio-options__heading h2 { font-size: clamp(1.55rem, 3vw, 2.2rem); }
.audio-reset { border: 1px solid var(--fmf-border); background: white; color: var(--fmf-navy); border-radius: 11px; min-height: 44px; padding: 0 14px; font-weight: 700; cursor: pointer; }

.audio-dropzone { min-height: 270px; border: 2px dashed #b9cede; border-radius: 22px; background: linear-gradient(145deg, #fbfdff, #f3fbfd); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 6px; padding: 28px; cursor: pointer; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.audio-dropzone:hover, .audio-dropzone.is-dragging { border-color: var(--fmf-cyan); background: color-mix(in srgb, var(--fmf-cyan) 7%, white); }
.audio-dropzone.is-dragging { transform: scale(1.01); }
.audio-dropzone__icon { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; background: linear-gradient(135deg, var(--fmf-cyan), var(--fmf-blue)); color: white; font-size: 2.25rem; margin-bottom: 6px; box-shadow: 0 12px 28px rgba(48, 128, 230, .18); }
.audio-dropzone strong { color: var(--fmf-navy); font-size: 1.35rem; }
.audio-dropzone > span:not(.audio-dropzone__icon) { color: var(--fmf-muted); }
.audio-dropzone small { color: var(--fmf-muted); max-width: 620px; margin-top: 7px; }

.audio-file-card { border: 1px solid color-mix(in srgb, var(--fmf-cyan) 28%, var(--fmf-border)); background: color-mix(in srgb, var(--fmf-cyan) 6%, white); border-radius: 17px; padding: 15px; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.audio-file-card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--fmf-cyan); color: var(--fmf-navy); font-size: 1.45rem; font-weight: 700; }
.audio-file-card__body { min-width: 0; display: grid; gap: 2px; }
.audio-file-card__body strong { color: var(--fmf-navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.audio-file-card__body span { color: var(--fmf-muted); font-size: .88rem; }
.audio-file-card__change { min-height: 44px; border: 1px solid var(--fmf-border); background: white; color: var(--fmf-navy); border-radius: 10px; padding-inline: 14px; font-weight: 700; cursor: pointer; }

.audio-options { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--fmf-border); }
.audio-options__heading { margin-bottom: 18px; }
.audio-options__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.audio-field { display: grid; gap: 7px; min-width: 0; }
.audio-field--wide { grid-column: 1 / -1; }
.audio-field__label { color: var(--fmf-navy); font-weight: 700; }
.audio-field select { width: 100%; min-height: 48px; border: 1px solid #cdd9e8; border-radius: 11px; background: white; color: var(--fmf-text); padding: 0 12px; }
.audio-field small { color: var(--fmf-muted); line-height: 1.4; }
.audio-check { margin-top: 18px; border: 1px solid var(--fmf-border); border-radius: 14px; padding: 14px; display: flex; align-items: flex-start; gap: 11px; cursor: pointer; }
.audio-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--fmf-cyan); flex: 0 0 auto; }
.audio-check span { display: grid; gap: 2px; }
.audio-check strong { color: var(--fmf-navy); }
.audio-check small { color: var(--fmf-muted); }
.audio-validation { min-height: 24px; margin: 13px 0 0; font-size: .9rem; }
.audio-validation.is-error { color: #a52b3b; }
.audio-validation.is-note { color: var(--fmf-muted); }
.audio-convert-button { width: 100%; min-height: 62px; border: 0; border-radius: 15px; background: linear-gradient(135deg, var(--fmf-navy), #254d9a); color: white; display: grid; place-items: center; align-content: center; gap: 1px; margin-top: 6px; padding: 10px 20px; cursor: pointer; box-shadow: 0 12px 28px rgba(16, 32, 96, .16); }
.audio-convert-button span { font-size: 1.05rem; font-weight: 700; }
.audio-convert-button small { opacity: .8; font-size: .78rem; }
.audio-convert-button:disabled { opacity: .55; cursor: wait; box-shadow: none; }

.audio-privacy-card ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.audio-privacy-card li { position: relative; padding-left: 22px; color: var(--fmf-muted); }
.audio-privacy-card li::before { content: "✓"; position: absolute; left: 0; color: #138760; font-weight: 700; }
.audio-progress-card { overflow: hidden; }
.audio-progress-card.is-failed { border-color: #efc3c8; }
.audio-progress-track { height: 12px; background: #edf2f7; border-radius: 999px; overflow: hidden; margin: 18px 0 10px; }
.audio-progress-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--fmf-cyan), var(--fmf-blue)); transition: width .22s ease; }
.audio-progress-card.is-failed .audio-progress-track span { background: #cb5162; }
.audio-progress-meta { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.audio-progress-meta strong { color: var(--fmf-navy); font-size: 1.1rem; }
.audio-progress-meta span { color: var(--fmf-muted); font-size: .88rem; }
.audio-result-card { text-align: left; border-color: #bfe8d4 !important; background: linear-gradient(145deg, white, #f1fcf7) !important; }
.audio-result-card__check { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: #dff8ec; color: #14734f; font-size: 1.45rem; font-weight: 700; margin-bottom: 12px; }
.audio-result-card p:not(.eyebrow) { color: var(--fmf-muted); }
.audio-download-button { min-height: 50px; border-radius: 12px; background: var(--fmf-navy); color: white; text-decoration: none; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 16px; margin-top: 16px; }
.audio-another-button { width: 100%; min-height: 46px; border: 1px solid var(--fmf-border); border-radius: 12px; background: white; color: var(--fmf-navy); font-weight: 700; cursor: pointer; margin-top: 9px; }

.audio-format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 28px; }
.audio-format-grid article { background: white; border: 1px solid var(--fmf-border); border-radius: 17px; padding: 20px; }
.audio-format-grid strong { color: var(--fmf-navy); font-size: 1.05rem; }
.audio-format-grid p { color: var(--fmf-muted); margin: 6px 0 0; font-size: .9rem; }
.audio-notes { background: white; border: 1px solid var(--fmf-border); border-radius: var(--radius); padding: clamp(22px, 4vw, 34px); margin-top: 18px; }
.audio-notes p { color: var(--fmf-muted); max-width: 940px; }

@media (max-width: 960px) {
  .audio-converter { grid-template-columns: 1fr; }
  .audio-side { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .audio-result-card { grid-column: 1 / -1; }
  .audio-format-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .audio-unavailable { grid-template-columns: 1fr; }
  .audio-converter__main { padding: 18px; }
  .audio-section-heading { align-items: stretch; flex-direction: column; }
  .audio-reset { width: 100%; }
  .audio-dropzone { min-height: 230px; padding: 22px 16px; }
  .audio-file-card { grid-template-columns: auto minmax(0,1fr); }
  .audio-file-card__change { grid-column: 1 / -1; width: 100%; }
  .audio-options__grid, .audio-side, .audio-format-grid { grid-template-columns: 1fr; }
  .audio-field--wide { grid-column: auto; }
  .audio-result-card { grid-column: auto; }
  .audio-side > div { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .audio-progress-track span { transition: none; }
}
