*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#fff;
  --soft:#F9FAFE;
  --soft-2:#eef1f7;
  --text:#1a1d26;
  --muted:#5c6370;
  --faint:#8b92a0;
  --btn:#3d4454;
  --btn-hover:#2f3544;
  --accent:#1a1d26;
  --blue:#01adfe;
  --blue-soft:#e6f7ff;
  --blue-mid:#4dc4ff;
  --content:1040px;
  --radius:20px;
}
html{scroll-behavior:smooth}
body{font-family:'Outfit',-apple-system,BlinkMacSystemFont,sans-serif;background:var(--bg);color:var(--text);line-height:1.65;font-size:17px;-webkit-font-smoothing:antialiased}
a{color:inherit}
button,select,input{font:inherit}
.container{width:100%;max-width:1120px;margin:0 auto;padding:0 28px}

.header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:none}
.header-inner{height:76px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.logo{display:flex;align-items:center;gap:11px;text-decoration:none;font-size:1.22rem;font-weight:700;white-space:nowrap}
.logo-img{width:38px;height:38px;object-fit:contain;border-radius:8px}.logo-img.small{width:24px;height:24px}
.nav{display:flex;align-items:center;gap:24px;margin-left:20px;margin-right:12px;flex:1;justify-content:center}.nav a{text-decoration:none;font-size:1rem;font-weight:500;color:var(--muted);transition:color .15s;white-space:nowrap}.nav a:hover{color:var(--text)}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:12px 22px;cursor:pointer;font-weight:600;text-decoration:none;white-space:nowrap;transition:transform .15s,background .15s}.btn:active{transform:scale(.98)}
.btn-dark{background:var(--btn);color:#fff}.btn-dark:hover{background:var(--btn-hover)}
.btn-soft{background:var(--soft-2);color:var(--text)}.btn-soft:hover{background:#e2e5ec}
.btn-text{background:transparent;color:var(--faint);padding:8px 10px}.btn-text:hover{color:var(--text)}
.btn-light-on-dark{background:#fff;color:var(--text)}.btn-light-on-dark:hover{background:#f0f1f4}
.header-cta{padding:10px 16px;font-size:.9rem}
.btn-chrome{
  background:#3d4454;
  color:#fff;
  gap:10px;
  padding:10px 18px;
  font-size:.9rem;
  border-radius:12px;
}
.btn-chrome:hover{background:#2f3544}
.chrome-logo{flex-shrink:0;display:block}
.status-line{font-size:.82rem;color:var(--muted);min-height:18px;margin-top:2px}
.status-line.is-error{color:#d94848}
.btn[disabled]{opacity:.55;cursor:not-allowed}
.header-cta.btn-chrome{padding:10px 16px}


.hero-section{padding:48px 0 40px;position:relative;overflow:hidden}
.hero-copy{text-align:center;max-width:720px;margin:0 auto 28px}
.eyebrow{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:var(--faint);margin-bottom:12px}
.eyebrow-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--blue);margin-right:8px;vertical-align:2px}
.accent-text{color:var(--blue)}
.hero-copy h1{font-size:clamp(2.2rem,4vw,3.2rem);line-height:1.08;letter-spacing:-.04em;font-weight:800;margin-bottom:16px}
.hero-sub{max-width:600px;margin:0 auto;color:var(--muted);font-size:1.08rem;line-height:1.6}
.hero-section::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:120px;
  width:100%;
  height:420px;
  pointer-events:none;
  z-index:0;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1920' height='420' viewBox='0 0 1920 420' preserveAspectRatio='xMidYMid meet' fill='none'%3E%3Cpath d='M0 210 C120 100 240 320 360 210 S600 100 720 210 S960 320 1080 210 S1320 100 1440 210 S1680 320 1800 210 S1860 160 1920 210' stroke='%238b95a5' stroke-width='1.5' opacity='0.12'/%3E%3Cpath d='M0 210 C100 140 200 280 300 210 S500 140 600 210 S800 280 900 210 S1100 140 1200 210 S1400 280 1500 210 S1700 140 1800 210 S1860 180 1920 210' stroke='%239aa3b0' stroke-width='1.2' opacity='0.10'/%3E%3Cpath d='M0 210 C80 90 160 330 240 210 S400 90 480 210 S640 330 720 210 S880 90 960 210 S1120 330 1200 210 S1360 90 1440 210 S1600 330 1680 210 S1840 90 1920 210' stroke='%238b95a5' stroke-width='1.3' opacity='0.08'/%3E%3Cpath d='M0 170 C140 90 280 250 420 170 S700 90 840 170 S1120 250 1260 170 S1540 90 1680 170 S1820 230 1920 170' stroke='%23a0a8b4' stroke-width='1.1' opacity='0.09'/%3E%3Cpath d='M0 250 C140 170 280 330 420 250 S700 170 840 250 S1120 330 1260 250 S1540 170 1680 250 S1820 310 1920 250' stroke='%23a0a8b4' stroke-width='1.1' opacity='0.08'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:center center;
  background-size:100% auto;
}
.hero-section > .container{position:relative;z-index:1}


/* Tool card — Music Identifier style */
.tool-shell{
  max-width:var(--content);
  margin:0 auto;
  background:#fff;
  border-radius:22px;
  padding:22px 22px 18px;
  box-shadow:0 12px 40px rgba(26,29,38,.07),0 0 0 1px rgba(26,29,38,.04);
}
.tool-topbar{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 4px 14px}
.tool-kicker{font-size:.72rem;color:var(--faint);text-transform:uppercase;letter-spacing:.1em;font-weight:700}
.tool-topbar h2{font-size:1.35rem;letter-spacing:-.02em;line-height:1.2;margin-top:2px}
.tool-status{font-size:.85rem;color:var(--muted);display:flex;align-items:center;gap:7px}
.tool-status span{width:7px;height:7px;border-radius:50%;background:#55b77b}

/* Segmented control — gray active */
.mode-picker{
  display:flex;
  gap:0;
  margin:0 0 14px;
  padding:4px;
  background:var(--soft);
  border-radius:14px;
}
.mode-pick{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:11px 14px;
  border:0;
  border-radius:11px;
  background:transparent;
  color:var(--muted);
  font-weight:600;
  font-size:.95rem;
  cursor:pointer;
  transition:background .15s,color .15s,box-shadow .15s;
}
.mode-pick:hover{color:var(--text)}
.mode-pick.active{
  background:#fff;
  color:var(--text);
  box-shadow:0 2px 8px rgba(26,29,38,.08);
}
.mode-pick-icon{display:flex;align-items:center;justify-content:center;opacity:.85}
.mode-pick.active .mode-pick-icon{opacity:1;color:var(--text)}

/* Drop zone — soft inner area */
.drop-zone{
  background:var(--soft);
  border-radius:18px;
  padding:36px 24px 28px;
  text-align:center;
  border:2px dashed #d5dae5;
  transition:background .2s,border-color .2s;
}
.drop-zone.dragover{background:#eef1f6;border-color:var(--blue)}
.drop-zone.is-loaded{border-style:solid;border-color:transparent;background:#fff;padding:20px}
.upload-icon{
  width:48px;height:48px;border-radius:50%;
  background:#fff;color:var(--btn);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 14px;
  box-shadow:0 2px 8px rgba(26,29,38,.06);
}
.drop-empty h3{font-size:1.2rem;letter-spacing:-.02em;line-height:1.25;margin-bottom:6px;font-weight:700}
.drop-hint{font-size:.95rem;color:var(--muted);max-width:400px;margin:0 auto 18px}
.drop-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;margin-bottom:0}
.formats{display:none!important} /* formats shown in hint text style instead if needed */
.formats.is-visible{display:flex!important;justify-content:center;gap:6px;flex-wrap:wrap;margin-top:16px}
.formats span{background:#fff;padding:4px 9px;border-radius:7px;font-size:.72rem;font-weight:600;color:var(--faint)}

.drop-loaded{text-align:left;background:#fff;border-radius:14px;padding:20px}
.file-row{display:flex;align-items:center;gap:14px;margin-bottom:18px;padding-bottom:16px;border-bottom:1px solid var(--soft-2)}
.file-icon{width:44px;height:44px;border-radius:50%;background:var(--blue-soft);display:flex;align-items:center;justify-content:center;color:var(--blue);flex-shrink:0}
.file-meta{flex:1;min-width:0}
.file-name{font-size:1.05rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.file-details{font-size:.9rem;color:var(--faint);margin-top:2px}
.mode-switch{display:flex;justify-content:center;gap:4px;background:var(--soft);border-radius:12px;padding:4px;width:max-content;margin:0 auto 20px}
.mode-btn{border:0;background:transparent;border-radius:9px;padding:9px 18px;color:var(--muted);font-weight:600;cursor:pointer;font-size:.95rem}
.mode-btn.active{background:var(--btn);color:#fff}
.gain-block{margin-bottom:14px}
.gain-header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:8px}
.gain-label{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--faint)}
.gain-value{font-size:1.55rem;font-weight:700;color:var(--blue)}
.gain-slider{width:100%;appearance:none;height:6px;background:var(--soft-2);border-radius:999px;outline:none;margin-bottom:10px}
.gain-slider::-webkit-slider-thumb{appearance:none;width:20px;height:20px;background:var(--blue);border-radius:50%;cursor:pointer;box-shadow:0 2px 8px rgba(1,173,254,.35)}
.gain-slider::-moz-range-thumb{width:20px;height:20px;background:var(--blue);border:0;border-radius:50%;cursor:pointer}
.gain-slider:disabled{opacity:.45;cursor:not-allowed}
.gain-slider:disabled::-webkit-slider-thumb{cursor:not-allowed;box-shadow:none}
.gain-slider:disabled::-moz-range-thumb{cursor:not-allowed}
.gain-hint{font-size:12.5px;color:var(--text-soft,#8b95a5);margin:-4px 0 10px;line-height:1.4}
.peak-row{display:flex;justify-content:space-between;color:var(--muted);font-size:.9rem}
.peak-row strong{color:var(--text)}
.option-row{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:.92rem;margin:16px 0;cursor:pointer}
.option-row input{accent-color:var(--blue)}

.controls-row{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
/* format-select base overridden in controls */
.privacy-note{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:12px;color:var(--faint);font-size:.85rem;line-height:1.45}
.privacy-icon{width:18px;height:18px;border-radius:50%;background:#dff4e6;color:#27804a;display:inline-flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:800}

/* Sections — same content width */
.section{padding:72px 0}
.section-soft{background:var(--soft)}
.section-heading{max-width:var(--content);margin:0 auto 36px;width:100%}
.section-heading.centered{text-align:center}
.section-heading.left{text-align:left}
.section-heading h2{font-size:clamp(2.05rem,3.2vw,2.85rem);line-height:1.1;letter-spacing:-.035em;margin-bottom:14px}
.section-heading p{font-size:1.08rem;line-height:1.65;color:var(--muted);max-width:720px}
.section-heading.centered p{margin-left:auto;margin-right:auto}

.tools-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;width:100%;margin:0}
.tool-card{display:flex;flex-direction:column;min-height:200px;padding:28px 26px;background:#fff;border-radius:10px;text-decoration:none;transition:transform .15s,box-shadow .15s;box-shadow:0 2px 12px rgba(26,29,38,.04)}
.section-soft .tool-card{background:#fff}
.section:not(.section-soft) .tool-card{background:#fff}
.tool-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(26,29,38,.08)}
.tool-card.current{background:#fff;box-shadow:0 2px 12px rgba(26,29,38,.04)}
.tool-icon{width:44px;height:44px;border-radius:50%;background:var(--btn);display:flex;align-items:center;justify-content:center;margin-bottom:18px;color:#fff}
.tool-card.current .tool-icon{background:var(--btn);color:#fff}
.tool-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.tool-card h3{font-size:1.28rem;letter-spacing:-.02em;margin-bottom:10px;font-weight:700;color:var(--text)}
.tool-card p{color:var(--muted);font-size:1.05rem;line-height:1.6}
.tool-card span{margin-top:auto;padding-top:18px;font-weight:600;font-size:.88rem;color:var(--muted)}

.steps{max-width:var(--content);margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.step-num{font-size:.9rem;font-weight:800;letter-spacing:.1em;color:var(--blue);margin-bottom:14px}
.step h3{font-size:1.3rem;margin-bottom:10px;letter-spacing:-.02em;font-weight:700}
.step p{font-size:1.08rem;color:var(--muted);line-height:1.65}

.wide-copy{max-width:var(--content);margin:0 auto}
.wide-copy .section-heading.left{max-width:100%}
.long-copy{max-width:100%;display:block}
.long-copy p{font-size:1.1rem;color:var(--muted);line-height:1.75;margin-bottom:1.2em;max-width:100%}
.long-copy p:last-child{margin-bottom:0}
.long-copy p.lead{color:var(--text);font-size:1.18rem;line-height:1.7}

.extension-panel{max-width:var(--content);margin:0 auto;background:var(--accent);color:#fff;border-radius:20px;padding:36px 40px;display:flex;align-items:center;justify-content:space-between;gap:36px}
.extension-panel .eyebrow{color:#a0a6b4}
.extension-panel h2{font-size:clamp(1.7rem,3vw,2.4rem);line-height:1.1;letter-spacing:-.03em;margin-bottom:10px;max-width:560px}
.extension-panel p{color:#b8bec9;font-size:1rem;max-width:560px}

/* FAQ */
.faq-list{max-width:var(--content);margin:0 auto;display:flex;flex-direction:column;gap:12px}
.faq-card{display:flex;gap:16px;align-items:flex-start;background:var(--soft);border-radius:10px;padding:22px 24px}
.faq-icon{width:38px;height:38px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.faq-body h3{font-size:1.22rem;font-weight:700;letter-spacing:-.015em;margin-bottom:8px;line-height:1.35}
.faq-body p{font-size:1.08rem;color:var(--muted);line-height:1.7}










/* Boost visual interlude */
.anim-section{padding:48px 0;background:var(--bg)}
.boost-visual{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:28px;
  max-width:560px;
  margin:0 auto;
  padding:28px 32px;
  background:var(--soft);
  border-radius:16px;
}
.boost-side{display:flex;flex-direction:column;align-items:center;gap:12px;flex:1}
.boost-label{font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--faint)}
.eq-bars{display:flex;align-items:flex-end;justify-content:center;gap:4px;height:56px}
.eq-bars i{
  display:block;
  width:5px;
  border-radius:3px;
  background:var(--btn);
  opacity:.35;
  height:20%;
  animation:eqPulse 1.2s ease-in-out infinite;
}
.eq-quiet i{opacity:.3;background:#9aa3b0}
.eq-loud i{opacity:.85;background:var(--blue)}
.eq-bars i:nth-child(1){animation-delay:0s}
.eq-bars i:nth-child(2){animation-delay:.08s}
.eq-bars i:nth-child(3){animation-delay:.16s}
.eq-bars i:nth-child(4){animation-delay:.04s}
.eq-bars i:nth-child(5){animation-delay:.2s}
.eq-bars i:nth-child(6){animation-delay:.12s}
.eq-bars i:nth-child(7){animation-delay:.18s}
.eq-bars i:nth-child(8){animation-delay:.06s}
.eq-bars i:nth-child(9){animation-delay:.14s}
.eq-bars i:nth-child(10){animation-delay:.1s}
.eq-bars i:nth-child(11){animation-delay:.22s}
.eq-bars i:nth-child(12){animation-delay:.02s}
.eq-quiet i:nth-child(odd){--h:18%}
.eq-quiet i:nth-child(even){--h:28%}
.eq-loud i:nth-child(odd){--h:55%}
.eq-loud i:nth-child(even){--h:85%}
@keyframes eqPulse{
  0%,100%{height:var(--h,25%)}
  50%{height:calc(var(--h,25%) * 0.45)}
}
.eq-quiet i{height:var(--h,22%);animation-name:eqPulseQuiet}
.eq-loud i{height:var(--h,70%);animation-name:eqPulseLoud}
@keyframes eqPulseQuiet{
  0%,100%{height:var(--h,22%)}
  50%{height:calc(var(--h,22%) * 0.55)}
}
@keyframes eqPulseLoud{
  0%,100%{height:var(--h,70%)}
  50%{height:calc(var(--h,70%) * 0.65)}
}
.boost-arrow{display:flex;flex-direction:column;align-items:center;gap:8px;color:var(--blue);flex-shrink:0}
.boost-db{
  font-size:1.05rem;
  font-weight:800;
  color:var(--blue);
  letter-spacing:-.02em;
  animation:dbPulse 2s ease-in-out infinite;
}
@keyframes dbPulse{
  0%,100%{opacity:1;transform:scale(1)}
  50%{opacity:.7;transform:scale(1.06)}
}
.boost-caption{
  text-align:center;
  margin-top:18px;
  font-size:.95rem;
  color:var(--faint);
  font-weight:500;
}
@media(max-width:620px){
  .boost-visual{flex-direction:column;gap:16px;padding:22px 18px}
  .boost-arrow{transform:rotate(90deg);margin:4px 0}
  .boost-db{transform:rotate(-90deg)}
}


/* Footer — multi-column */
.footer{
  padding:64px 0 32px;
  background:var(--soft);
  border-top:none;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1.6fr 1fr;
  gap:40px 32px;
  max-width:var(--content);
  margin:0 auto 48px;
}
.footer-about{max-width:260px}
.footer-brand{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  font-size:1.05rem;
  text-decoration:none;
  color:var(--text);
  margin-bottom:14px;
}
.footer-about p{
  font-size:.95rem;
  line-height:1.6;
  color:var(--muted);
  margin:0;
}
.footer-col h4{
  font-size:1rem;
  font-weight:700;
  color:var(--text);
  margin-bottom:16px;
  letter-spacing:-.01em;
}
.footer-col ul{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer-col a{
  text-decoration:none;
  font-size:.95rem;
  color:var(--muted);
  transition:color .15s;
}
.footer-col a:hover{color:var(--text)}
.footer-tools-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 28px;
}
.footer-bottom{
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px 24px;
  max-width:var(--content);margin:0 auto;padding-top:8px;
}
.copyright,.footer-tagline{
  font-size:.88rem;
  color:var(--faint);
}
@media(max-width:900px){
  .footer-grid{grid-template-columns:1fr 1fr;gap:36px 24px}
  .footer-about{max-width:none;grid-column:1 / -1}
}
@media(max-width:620px){
  .footer{padding:48px 0 28px}
  .footer-grid{grid-template-columns:1fr;gap:28px}
  .footer-tools-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;align-items:flex-start}
}

@media(max-width:900px){
  .nav{display:none}
  .header-cta{margin-left:auto}
  .tools-grid{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr}
  .extension-panel{flex-direction:column;align-items:flex-start}
}
@media(max-width:620px){
  body{font-size:16px}
  .container{padding:0 16px}
  .header-inner{height:60px}
  .logo span{display:none}
  .header-cta{font-size:.8rem;padding:9px 12px}
  .hero-section{padding:32px 0 24px}
  .hero-copy{margin-bottom:20px}
  .hero-copy h1{font-size:1.9rem}
  .hero-sub{font-size:1rem}
  .tool-shell{padding:14px;border-radius:18px}
  .tool-topbar h2{font-size:1.2rem}
  .mode-picker{flex-direction:column}
  .drop-zone{padding:28px 16px}
  .drop-empty h3{font-size:1.1rem}
  .drop-actions .btn{width:100%}
  .tools-grid{grid-template-columns:1fr}
  .section{padding:56px 0}
  .section-heading h2{font-size:1.9rem}
  .extension-panel{padding:28px 20px}
  .extension-panel .btn{width:100%}
  
  .controls-row{flex-direction:column;align-items:stretch}
  .controls-row .btn,.format-select{width:100%}
  .peak-row{flex-direction:column;gap:4px}
  .mode-switch{width:100%}
  .mode-btn{flex:1}
  .faq-card{padding:18px 16px}
}

/* Audio workspace refinements */
.library-toolbar{position:relative;display:flex;justify-content:flex-end;align-items:center;margin:-2px 0 12px;padding:0 2px;z-index:10}
.library-actions{display:flex;align-items:center;gap:8px}
.btn-toolbar{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:0;background:var(--soft);color:var(--text);
  border-radius:12px;padding:11px 16px;cursor:pointer;
  font-weight:600;font-size:.9rem;line-height:1;
  transition:background .15s,color .15s;
  height:42px;
}
.btn-toolbar:hover{background:var(--soft-2)}
.btn-toolbar svg{flex-shrink:0;opacity:.85}
.library-trigger{/* inherits btn-toolbar */}
.library-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--blue);color:#fff;font-size:.7rem;font-weight:800}
.library-chevron{display:inline-flex;color:var(--faint);margin-left:2px}
.library-popover{position:absolute;right:2px;top:48px;width:min(380px,calc(100vw - 56px));background:#fff;border-radius:16px;padding:12px;box-shadow:0 18px 48px rgba(26,29,38,.15);z-index:30}
.library-search-wrap{display:flex;align-items:center;gap:9px;background:var(--soft);border-radius:11px;padding:10px 12px;color:var(--faint);margin-bottom:8px}
.library-search-wrap input{width:100%;border:0;outline:0;background:transparent;color:var(--text);font-size:.92rem}
.library-list{max-height:270px;overflow:auto}
.library-item{display:flex;align-items:center;gap:6px;border-radius:11px;padding:5px 4px}
.library-item:hover{background:var(--soft)}
.library-item-main{flex:1;display:flex;align-items:center;gap:10px;text-align:left;border:0;background:transparent;cursor:pointer;min-width:0;padding:7px}
.library-file-icon{width:34px;height:34px;border-radius:9px;background:var(--blue-soft);color:var(--blue);display:flex;align-items:center;justify-content:center;font-weight:800;flex-shrink:0}
.library-file-copy{min-width:0;display:flex;flex-direction:column;gap:1px}
.library-file-copy strong{font-size:.88rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.library-file-copy small{font-size:.75rem;color:var(--faint)}
.library-delete{border:0;background:transparent;color:var(--faint);font-size:1.25rem;line-height:1;padding:5px 7px;cursor:pointer}
.library-delete:hover{color:var(--text)}
.library-empty{padding:18px 10px;text-align:center;color:var(--faint);font-size:.82rem}

.preview-switch{display:flex;justify-content:center;gap:4px;background:var(--soft);border-radius:12px;padding:4px;width:max-content;margin:0 auto 14px}
.preview-mode{border:0;background:transparent;color:var(--muted);border-radius:9px;padding:8px 16px;cursor:pointer;font-weight:600;font-size:.9rem}
.preview-mode.active{background:#fff;color:var(--text);box-shadow:0 2px 8px rgba(26,29,38,.07)}
/* Video stage — editor-like preview frame */
.video-stage{
  position:relative;
  width:100%;
  margin:0 0 14px;
  border-radius:16px;
  overflow:hidden;
  background:#0b0f17;
  box-shadow:0 8px 28px rgba(15,20,30,.12);
  aspect-ratio:16 / 10;
  max-height:420px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.video-stage[hidden]{display:none!important}
.video-preview{
  display:block;
  width:100%;
  height:100%;
  max-height:420px;
  object-fit:contain;
  background:#0b0f17;
  border:0;
}
@media(max-width:620px){
  .video-stage{max-height:280px;aspect-ratio:16/11;border-radius:14px}
}
.waveform{
  position:relative;cursor:pointer;overflow:hidden;user-select:none;outline:none;
  height:120px;border-radius:18px;margin-bottom:12px;
  background:#F4F7FB;
  box-shadow:none;border:none;
}
.waveform:focus-visible{box-shadow:0 0 0 3px rgba(1,173,254,.18)}
.waveform-canvas{
  position:absolute;inset:0;width:100%;height:100%;
  display:block;z-index:2;pointer-events:none;
}
.waveform-bars{display:none!important}
.waveform-progress{
  position:absolute;left:0;top:0;bottom:0;width:0;
  background:linear-gradient(90deg,rgba(1,173,254,.10),rgba(1,173,254,.04));
  z-index:1;pointer-events:none;border:none;
}
.waveform-playhead{
  position:absolute;top:10px;bottom:10px;left:0;width:3px;
  background:#01adfe;border-radius:999px;
  box-shadow:none;border:none;
  z-index:3;pointer-events:none;transition:left .04s linear;
  opacity:.9;
}
.timeline-row{display:flex;justify-content:space-between;color:var(--faint);font-size:.75rem;margin:-9px 2px 11px}
.compare-note{text-align:center;color:var(--faint);font-size:.78rem;margin-top:10px}

.controls-row{align-items:center;gap:8px}
.btn-ctrl{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  border:0;border-radius:12px;padding:11px 16px;
  font-weight:600;font-size:.9rem;cursor:pointer;
  background:var(--soft);color:var(--text);
  height:42px;min-width:0;
  transition:background .15s,color .15s;
}
.btn-ctrl:hover{background:var(--soft-2)}
.btn-ctrl svg{flex-shrink:0}
.btn-ctrl-primary{background:var(--btn);color:#fff}
.btn-ctrl-primary:hover{background:var(--btn-hover)}
.format-select{
  border:0;background:var(--soft);border-radius:12px;
  padding:11px 36px 11px 14px;color:var(--text);
  outline:none;min-width:170px;font-size:.9rem;font-weight:600;
  height:42px;cursor:pointer;
  appearance:none;-webkit-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b92a0' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 12px center;
}
.format-select:hover{background-color:var(--soft-2)}

@media(max-width:760px){
  .library-toolbar{justify-content:center}
  .tool-shell{padding:18px 16px 16px}
  .controls-row{display:grid;grid-template-columns:1fr 1fr}
  .controls-row .format-select,.controls-row #download-btn{width:100%}
}

.library-section-label{
  font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;
  color:var(--faint);padding:10px 8px 6px;
}
.library-section-label:first-child{padding-top:4px}
.library-file-icon--video{background:rgba(1,173,254,.12)!important;color:var(--blue)!important;font-size:.75rem}
.library-file-icon--audio{background:var(--blue-soft,rgba(1,173,254,.12));color:var(--blue)}

/* Legal pages */
.legal-page{padding:48px 0 72px}
.legal-page .legal-wrap{max-width:760px;margin:0 auto}
.legal-page .legal-wrap-wide{max-width:1120px;margin:0 auto;width:100%}
.legal-page h1{font-size:clamp(2.1rem,3.2vw,2.75rem);font-weight:800;letter-spacing:-.03em;margin:0 0 12px}
.legal-page .legal-meta{color:var(--muted);font-size:1.05rem;margin-bottom:36px}
.legal-page h2{font-size:1.35rem;font-weight:700;margin:32px 0 12px;letter-spacing:-.02em}
.legal-page p,.legal-page li{color:var(--muted);font-size:1.12rem;line-height:1.75}
.legal-page ul{margin:8px 0 16px;padding-left:1.25rem}
.legal-page li{margin:6px 0}
.legal-page a{color:var(--blue);text-decoration:none}
.legal-page a:hover{text-decoration:underline}
.legal-page strong{color:var(--text);font-weight:600}
.nav a.active{color:var(--text)}

.legal-page .legal-wrap-wide h1{max-width:none}
.legal-page .legal-wrap-wide p,
.legal-page .legal-wrap-wide li{max-width:none;font-size:1.14rem;line-height:1.8}

/* Contact page */
.contact-page{padding:40px 0 80px}
.page-crumb,.contact-crumb{display:flex;align-items:center;gap:8px;font-size:1rem;color:var(--faint);margin-bottom:36px}
.page-crumb a,.contact-crumb a{color:var(--muted);text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.page-crumb a:hover,.contact-crumb a:hover{color:var(--text)}
.page-crumb .crumb-sep,.contact-crumb .crumb-sep{color:#c5cad3;font-weight:400}
.page-crumb .crumb-current,.contact-crumb .crumb-current{color:#a0a7b4}
.page-crumb .crumb-home-icon,.contact-crumb .crumb-home-icon{width:16px;height:16px;flex-shrink:0;opacity:.75}
.legal-page .page-crumb{margin-bottom:28px}

.contact-hero{text-align:left;max-width:none;width:100%;margin:0 0 36px}
.contact-hero h1{font-size:clamp(2.1rem,3.2vw,2.75rem);font-weight:800;letter-spacing:-.03em;margin:0 0 14px;color:var(--text)}
.contact-hero p,.contact-intro-full{font-size:1.12rem;line-height:1.75;color:var(--muted);margin:0;max-width:none;width:100%}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:36px 40px;align-items:stretch}
/* contact-grid defined with equal columns below */
.contact-lead{display:none}
.contact-meta{display:flex;flex-direction:column;gap:14px;margin-bottom:24px}
.contact-meta-row{display:flex;align-items:center;gap:14px}
.contact-meta-icon{width:44px;height:44px;border-radius:14px;background:var(--soft,#F9FAFE);display:flex;align-items:center;justify-content:center;color:var(--blue);flex-shrink:0}
.contact-meta-icon svg{width:20px;height:20px}
.contact-meta-label{font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);margin-bottom:2px}
.contact-meta-value{font-size:1.05rem;font-weight:600;color:var(--text);text-decoration:none}
a.contact-meta-value:hover{color:var(--blue)}
.contact-tips{background:var(--soft,#F9FAFE);border-radius:18px;padding:22px 24px;margin-top:8px}
.contact-tips h3{font-size:.78rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text);margin:0 0 12px}
.contact-tips ul{margin:0;padding-left:1.15rem}
.contact-tips li{font-size:.98rem;line-height:1.6;color:var(--muted);margin:8px 0}
.contact-card{background:#fff;border-radius:20px;padding:28px 28px 24px;box-shadow:0 12px 40px rgba(15,20,30,.06)}
.contact-form{display:flex;flex-direction:column;gap:16px}
.contact-row-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.contact-field label{display:block;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--faint);margin-bottom:7px}
.contact-field input,
.contact-field select,
.contact-field textarea{
  width:100%;border:0;border-radius:12px;background:var(--soft,#F9FAFE);
  padding:13px 14px;font:inherit;font-size:1rem;color:var(--text);outline:none;
}
.contact-field textarea{min-height:140px;resize:vertical}
.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus{box-shadow:0 0 0 3px rgba(1,173,254,.18)}
.contact-submit{
  margin-top:6px;width:100%;border:0;border-radius:12px;padding:15px 18px;
  background:#1a1d26;color:#fff;font:inherit;font-size:1.05rem;font-weight:600;cursor:pointer;
}
.contact-submit:hover{background:#111}
.contact-alt{text-align:center;margin-top:14px;font-size:.95rem;color:var(--muted)}
.contact-alt a{color:var(--text);font-weight:600;text-decoration:none}
.contact-alt a:hover{color:var(--blue)}
.contact-status{font-size:.95rem;color:var(--muted);min-height:1.2em;margin-top:4px}
.contact-status.is-error{color:#c0392b}
.contact-status.is-ok{color:#27804a}
@media(max-width:860px){
  .contact-grid{grid-template-columns:1fr;gap:32px}
  .contact-row-2{grid-template-columns:1fr}
}

/* Header actions: lang + library + CTA */
.header-actions{display:flex;align-items:center;gap:4px;margin-left:auto;flex-shrink:0}
.header-icon-btn{
  position:relative;width:42px;height:42px;border:0;border-radius:12px;background:transparent;
  color:#6b7280;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
  transition:background .15s,color .15s;
}
.header-icon-btn:hover{background:var(--soft);color:var(--text)}
.header-lib-badge{
  position:absolute;top:2px;right:2px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;
  background:var(--blue);color:#fff;font-size:.65rem;font-weight:800;display:inline-flex;align-items:center;justify-content:center;
  box-shadow:0 0 0 2px #fff;
}
.header-lib-badge:empty,.header-lib-badge[data-empty="1"]{display:none}
/* replaced */
/* replaced */
/* replaced */
/* replaced */
/* replaced */
/* replaced */
/* replaced */
.btn-chrome .chrome-logo{display:none!important}
@media(max-width:860px){
  .header-actions{gap:4px}
  .header-icon-btn{width:36px;height:36px}
}

.header-lib-wrap{position:relative}
.header-lib-popover{
  position:absolute;right:0;top:48px;width:min(320px,calc(100vw - 24px));
  background:#fff;border-radius:16px;padding:14px 12px 12px;
  box-shadow:0 16px 44px rgba(26,29,38,.14);z-index:80;
}
.header-lib-popover[hidden]{display:none!important}
.header-lib-heading{
  font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  color:var(--faint);padding:0 8px 10px;
}
.header-lib-list{max-height:220px;overflow:auto;display:flex;flex-direction:column;gap:2px}
.header-lib-item{
  display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;
  border-radius:10px;padding:9px 8px;cursor:pointer;text-align:left;font:inherit;color:var(--text);
}
.header-lib-item:hover{background:var(--soft)}
.header-lib-item-icon{
  width:32px;height:32px;border-radius:9px;background:var(--blue-soft);color:var(--blue);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:.85rem;
}
.header-lib-item-meta{min-width:0;flex:1;display:flex;flex-direction:column;gap:1px}
.header-lib-item-meta strong{font-size:.88rem;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.header-lib-item-meta small{font-size:.78rem;color:var(--faint)}
.header-lib-empty{padding:12px 8px 16px;font-size:.9rem;color:var(--muted);line-height:1.5}
.header-lib-empty[hidden]{display:none!important}
.header-lib-manage{
  display:block;margin-top:8px;padding:12px 8px 4px;border-top:1px solid var(--soft-2);
  font-size:.95rem;font-weight:600;color:var(--blue);text-decoration:none;
}
.header-lib-manage:hover{text-decoration:underline}

/* Library manager page */
.library-page{padding:36px 0 80px}
.library-page-hero{margin-bottom:28px}
.library-page-hero h1{font-size:clamp(2rem,3.2vw,2.6rem);font-weight:800;letter-spacing:-.03em;margin:0 0 10px}
.library-page-hero h1 span{color:var(--blue)}
.library-page-hero p{font-size:1.08rem;color:var(--muted);line-height:1.65;max-width:640px;margin:0}
.library-summary{
  background:var(--soft);border-radius:16px;padding:18px 20px;margin-bottom:20px;
}
.library-summary-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 0;font-size:1rem}
.library-summary-row strong{font-weight:700;color:var(--text)}
.library-summary-note{font-size:.9rem;color:var(--faint);margin-top:10px;padding-top:10px;border-top:1px solid rgba(0,0,0,.04)}
.library-toolbar-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:16px}
.library-search-box{
  flex:1;min-width:200px;display:flex;align-items:center;gap:10px;background:var(--soft);
  border-radius:12px;padding:12px 14px;color:var(--faint);
}
.library-search-box input{border:0;outline:0;background:transparent;width:100%;font:inherit;font-size:1rem;color:var(--text)}
.library-sort{
  border:0;
  background:var(--soft);
  border-radius:12px;
  padding:12px 36px 12px 16px;
  font:inherit;
  font-size:.95rem;
  color:var(--text);
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c6370' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 14px center;
  background-size:16px 16px;
}
.library-table-wrap{background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 8px 28px rgba(15,20,30,.04)}
.library-table{width:100%;border-collapse:collapse}
.library-table th{
  text-align:left;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:var(--faint);padding:14px 16px;background:var(--soft);
}
.library-table td{padding:14px 16px;border-top:1px solid var(--soft);font-size:.98rem;color:var(--text);vertical-align:middle}
.library-table tr:hover td{background:rgba(1,173,254,.03)}
.library-name-cell{display:flex;align-items:center;gap:12px;min-width:0}
.library-name-cell strong{font-weight:600;word-break:break-word}
.library-row-icon{
  width:36px;height:36px;border-radius:10px;background:var(--blue-soft);color:var(--blue);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.library-actions-cell{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}
.library-actions-cell button,.library-actions-cell a{
  border:0;background:var(--soft);border-radius:10px;padding:8px 12px;font:inherit;font-size:.88rem;
  font-weight:600;color:var(--text);cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;
}
.library-actions-cell button:hover,.library-actions-cell a:hover{background:var(--blue-soft);color:var(--blue)}
.library-actions-cell .danger:hover{background:#fde8e8;color:#c0392b}
.library-page-footer-actions{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:18px}
.library-page-footer-actions button{
  border:0;border-radius:12px;padding:12px 18px;font:inherit;font-size:.95rem;font-weight:600;cursor:pointer;
}
.btn-lib-primary{background:var(--blue-soft);color:var(--blue)}
.btn-lib-primary:hover{background:#d6f1ff}
.btn-lib-danger{background:#fff;color:#c0392b;box-shadow:inset 0 0 0 1px #f5c6c6}
.btn-lib-danger:hover{background:#fde8e8}
.library-empty-state{text-align:center;padding:48px 20px;color:var(--muted);font-size:1.05rem}
@media(max-width:720px){
  .library-table th:nth-child(2),.library-table td:nth-child(2),
  .library-table th:nth-child(3),.library-table td:nth-child(3){display:none}
}

.header-actions .header-cta{margin-left:8px}
.header-lang,.header-lib-wrap{display:flex;align-items:center}
.header-icon-btn{margin:0}


/* Language flag trigger */
.lang-trigger{
  display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;padding:0;border:0;border-radius:50%;
  background:var(--soft);cursor:pointer;transition:background .15s,box-shadow .15s;
}
.lang-trigger:hover{background:var(--soft)}
.lang-flag-circle{
  width:28px;height:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  font-size:18px;line-height:1;overflow:hidden;
  background:#fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.06);
}
.lang-popover{
  position:absolute;right:0;top:48px;min-width:210px;background:#fff;border-radius:16px;padding:8px;
  box-shadow:0 16px 44px rgba(26,29,38,.14);z-index:80;display:flex;flex-direction:column;gap:2px;
}
.lang-popover[hidden]{display:none!important}
.lang-option{
  display:flex;align-items:center;gap:12px;border:0;background:transparent;border-radius:12px;
  padding:10px 12px;font:inherit;font-size:.98rem;color:var(--text);cursor:pointer;text-align:left;width:100%;
}
.lang-option:hover{background:var(--soft)}
.lang-option.active{background:var(--soft);font-weight:600}
.lang-option .lang-flag-circle{width:26px;height:26px;font-size:16px;flex-shrink:0}
.header-lang{position:relative}
.header-actions{display:flex;align-items:center;gap:10px;margin-left:auto;flex-shrink:0}
.header-actions .header-cta{margin-left:2px}


.lang-flag-circle{
  width:28px;height:28px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;
  overflow:hidden;flex-shrink:0;background:#e8eef5;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.08);
}
.lang-flag-img{
  width:100%;height:100%;object-fit:cover;display:block;border-radius:50%;
}
.lang-trigger{
  display:inline-flex;align-items:center;justify-content:center;
  width:40px;height:40px;padding:0;border:0;border-radius:50%;
  background:transparent;cursor:pointer;
}
/* no ring on flag */
.lang-option .lang-flag-circle{width:26px;height:26px}
.library-page-extra{font-size:1.05rem;color:var(--muted);line-height:1.7;max-width:720px;margin:12px 0 0}
.library-info-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 28px}
.library-info-card{background:var(--soft);border-radius:14px;padding:18px 18px 16px}
.library-info-card h3{font-size:1.02rem;font-weight:700;margin:0 0 8px;color:var(--text)}
.library-info-card p{font-size:.95rem;line-height:1.6;color:var(--muted);margin:0}
@media(max-width:800px){.library-info-cards{grid-template-columns:1fr}}


/* Language switcher (footer) — fixed circular flags */
.footer-lang{position:relative;margin-left:auto}
.footer-lang-trigger.lang-trigger,
.lang-trigger{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:40px;padding:0 12px 0 10px;border:0;border-radius:999px;
  background:var(--soft);cursor:pointer;color:var(--text);
  transition:background .15s,box-shadow .15s;
}
.lang-trigger:hover{background:var(--soft)}
.lang-code{font-size:.85rem;font-weight:700;letter-spacing:.04em;color:var(--text);line-height:1}
.lang-flag-circle{
  width:22px;height:22px;min-width:22px;min-height:22px;
  border-radius:50%;overflow:hidden;display:block;flex-shrink:0;
  background:#dfe6ee;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08);
  position:relative;
}
.lang-flag-img{
  position:absolute;inset:0;
  width:100%!important;height:100%!important;
  max-width:none!important;max-height:none!important;
  object-fit:cover;object-position:center;
  display:block;border-radius:50%;
}
.lang-popover{
  position:absolute;right:0;bottom:calc(100% + 10px);top:auto;
  min-width:220px;max-height:min(70vh,420px);overflow:auto;
  background:#fff;border-radius:16px;padding:8px;
  box-shadow:0 16px 44px rgba(26,29,38,.16);z-index:90;
  display:flex;flex-direction:column;gap:2px;
}
.lang-popover[hidden]{display:none!important}
.lang-option{
  display:flex;align-items:center;gap:12px;border:0;background:transparent;
  border-radius:12px;padding:10px 12px;font:inherit;font-size:.98rem;
  color:var(--text);cursor:pointer;text-align:left;width:100%;
  line-height:1.3;
}
.lang-option:hover{background:var(--soft)}
.lang-option.active{background:var(--soft);font-weight:600}
.lang-option .lang-flag-circle{width:22px;height:22px;min-width:22px;min-height:22px}
.lang-option-label{flex:1;white-space:nowrap}
/* header-lang visible */


/* Header language: globe + code */
.header-lang{position:relative}
.header-lang-trigger.lang-trigger,
.header-actions .lang-trigger{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  height:40px;padding:0 12px;border:0;border-radius:12px;
  background:transparent;cursor:pointer;color:var(--muted);
  transition:background .15s,color .15s;
}
.header-actions .lang-trigger:hover{background:var(--soft);color:var(--text)}
.lang-globe{flex-shrink:0;display:block}
.lang-code{font-size:.88rem;font-weight:700;letter-spacing:.04em;color:inherit;line-height:1}
.lang-popover-header{
  position:absolute;right:0;top:48px;bottom:auto;
  min-width:220px;max-height:min(70vh,420px);overflow:auto;
  background:#fff;border-radius:16px;padding:8px;
  box-shadow:0 16px 44px rgba(26,29,38,.16);z-index:90;
  display:flex;flex-direction:column;gap:2px;
}
.lang-popover-header[hidden],.lang-popover[hidden]{display:none!important}

.library-page-hero-wide{max-width:none;width:100%}
.library-page-hero-wide p{max-width:none;width:100%;font-size:1.08rem;line-height:1.75;color:var(--muted);margin:0 0 12px}
.library-page-hero-wide p:last-child{margin-bottom:0}
.library-info-cards{margin-top:36px}
.footer-lang{display:none!important}

/* Force visible header language control */
.header-lang{display:flex!important;align-items:center;position:relative}
.header-actions{display:flex!important;align-items:center;gap:8px;margin-left:auto;flex-shrink:0}
.header-lang-trigger{
  display:inline-flex!important;align-items:center;justify-content:center;gap:7px;
  height:40px;padding:0 12px;border:0;border-radius:12px;
  background:transparent;cursor:pointer;color:#6b7280;
}
.header-lang-trigger:hover{background:var(--soft);color:var(--text)}
.lang-globe{display:block!important;flex-shrink:0;width:18px;height:18px}
.header-lang .lang-code{display:inline!important;font-size:.88rem;font-weight:700;letter-spacing:.04em}

/* Language: circular flags + EN + spacing */
.header-actions{
  display:flex!important;align-items:center;gap:14px;margin-left:auto;flex-shrink:0;
}
.header-actions .header-cta{margin-left:4px}
.header-lang{position:relative;display:flex!important;align-items:center}
.header-lang-trigger{
  display:inline-flex!important;align-items:center;justify-content:center;gap:8px;
  height:40px;padding:0 10px;border:0;border-radius:12px;
  background:transparent;cursor:pointer;color:var(--text);
}
.header-lang-trigger:hover{background:var(--soft)}
.lang-flag-circle{
  width:22px!important;height:22px!important;min-width:22px;min-height:22px;
  border-radius:50%!important;overflow:hidden!important;
  display:inline-block!important;flex-shrink:0;position:relative;
  background:#e2e8f0;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08);
  vertical-align:middle;
}
.lang-flag-img{
  position:absolute!important;inset:0!important;
  width:100%!important;height:100%!important;
  object-fit:cover!important;object-position:center!important;
  border-radius:50%!important;display:block!important;
  max-width:none!important;max-height:none!important;
}
.lang-code{font-size:.88rem;font-weight:700;letter-spacing:.04em;line-height:1}
.lang-popover-header,.lang-popover{
  position:absolute;right:0;top:48px;bottom:auto;
  min-width:230px;max-height:min(70vh,420px);overflow:auto;
  background:#fff;border-radius:16px;padding:8px;
  box-shadow:0 16px 44px rgba(26,29,38,.16);z-index:90;
  display:flex;flex-direction:column;gap:2px;
}
.lang-popover[hidden],.lang-popover-header[hidden]{display:none!important}
.lang-option{
  display:flex!important;align-items:center;gap:12px;border:0;background:transparent;
  border-radius:12px;padding:10px 12px;font:inherit;font-size:.98rem;
  color:var(--text);cursor:pointer;text-align:left;width:100%;line-height:1.3;
}
.lang-option:hover{background:var(--soft)}
.lang-option.active{background:var(--soft);font-weight:600}
.lang-option .lang-flag-circle{width:22px!important;height:22px!important}
.lang-option-label{flex:1;white-space:nowrap}
.lang-globe{display:none!important}

/* Library info cards — larger text */
.library-info-card h3{font-size:1.18rem!important;font-weight:700;margin:0 0 10px;color:var(--text)}
.library-info-card p{font-size:1.05rem!important;line-height:1.7!important;color:var(--muted);margin:0}
.library-info-card{padding:22px 22px 20px!important}

/* Language button hover — aligned pill, no floating ring */
.header-lang-trigger,
.header-actions .lang-trigger.header-lang-trigger{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:40px;
  padding:0 12px;
  margin:0;
  border:0;
  border-radius:12px;
  background:transparent;
  box-shadow:none!important;
  cursor:pointer;
  line-height:1;
  vertical-align:middle;
}
.header-lang-trigger:hover,
.header-lang-trigger:focus-visible{
  background:var(--soft)!important;
  box-shadow:none!important;
  outline:none;
}
.header-lang-trigger:hover .lang-flag-circle,
.header-lang-trigger:focus-visible .lang-flag-circle{
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)!important;
}
.header-lang-trigger .lang-flag-circle{
  width:22px!important;
  height:22px!important;
  margin:0;
  flex-shrink:0;
}
.header-lang-trigger .lang-code{
  margin:0;
  padding:0;
  line-height:1;
}

/* Language selector — compact rounded rectangle with flag + language code */
.header-lang-trigger,
button.header-lang-trigger.lang-trigger{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:40px;
  min-height:40px;
  min-width:68px;
  padding:0 12px!important;
  border:0;
  border-radius:12px!important;
  background:transparent;
  box-shadow:none;
  color:var(--text);
  cursor:pointer;
  transition:background .16s ease, transform .16s ease;
}
.header-lang-trigger:hover,
.header-lang-trigger:focus-visible,
button.header-lang-trigger.lang-trigger:hover{
  background:#e8edf5!important;
  color:var(--text)!important;
  box-shadow:none!important;
  outline:none;
}
.header-lang-trigger:active{
  transform:translateY(1px);
}
.header-lang-trigger .lang-flag-circle{
  width:22px!important;
  height:22px!important;
  min-width:22px;
  min-height:22px;
  flex-shrink:0;
}
.header-lang-trigger .lang-code{
  font-size:.88rem;
  font-weight:700;
  letter-spacing:.04em;
  line-height:1;
  white-space:nowrap;
}


/* Audio Converter page */
.converter-page{padding:28px 0 80px}
.converter-hero{margin-bottom:28px}
.converter-hero h1{font-size:clamp(2rem,3.2vw,2.6rem);font-weight:800;letter-spacing:-.03em;margin:0 0 12px}
.converter-hero h1 span{color:var(--blue)}
.converter-hero p{font-size:1.12rem;line-height:1.7;color:var(--muted);margin:0;max-width:none}

.converter-shell{
  background:#fff;border-radius:20px;padding:22px 22px 18px;
  box-shadow:0 10px 36px rgba(15,20,30,.06);margin-bottom:48px;
}
.converter-topbar{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}
.converter-topbar h2{font-size:1.35rem;font-weight:700;margin:4px 0 0;letter-spacing:-.02em}
.converter-drop{
  background:var(--soft);border-radius:16px;padding:28px 20px;
  border:2px dashed rgba(1,173,254,.25);text-align:center;
  transition:background .15s,border-color .15s;
}
.converter-drop.is-drag{background:#e8f7ff;border-color:var(--blue)}
.converter-drop-empty .upload-icon{color:var(--blue);margin:0 auto 12px;width:56px;height:56px;border-radius:50%;background:var(--blue-soft);display:flex;align-items:center;justify-content:center}
.converter-drop .drop-title{font-size:1.15rem;font-weight:700;margin:0 0 6px;color:var(--text)}
.converter-drop .drop-sub{font-size:1rem;color:var(--muted);margin:0 0 16px}
.converter-drop .drop-formats{font-size:.9rem;color:var(--faint);margin:16px 0 0}
.converter-drop-loaded{text-align:left}
.conv-file-row{display:flex;align-items:center;gap:14px;background:#fff;border-radius:14px;padding:14px 16px}
.conv-file-icon{width:44px;height:44px;border-radius:12px;background:var(--blue-soft);color:var(--blue);display:flex;align-items:center;justify-content:center;font-size:1.2rem;font-weight:700;flex-shrink:0}
.conv-file-meta{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.conv-file-meta strong{font-size:1.02rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.conv-file-meta span{font-size:.9rem;color:var(--faint)}
.btn-sm{padding:8px 14px;font-size:.9rem}
.converter-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px;margin-top:18px}
.conv-field{display:flex;flex-direction:column;gap:6px;min-width:140px}
.conv-field label{font-size:.85rem;font-weight:600;color:var(--muted)}
.conv-select{
  border:0;background:var(--soft);border-radius:12px;
  padding:12px 44px 12px 16px;
  font:inherit;font-size:1rem;color:var(--text);cursor:pointer;min-width:160px;
  appearance:none;-webkit-appearance:none;-moz-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 16px center;
  background-size:16px;
}
.conv-run{padding:12px 22px;font-size:1rem;font-weight:700;border:0;border-radius:12px;background:var(--blue);color:#fff;cursor:pointer}
.conv-run:hover{filter:brightness(1.05)}
.conv-run:disabled{opacity:.55;cursor:wait}
.btn-gray{border:0;background:#e8edf5;color:var(--text);border-radius:12px;padding:11px 18px;font:inherit;font-weight:600;cursor:pointer}
.btn-gray:hover{background:#dce3ee}
.converter-progress{margin-top:16px}
.conv-progress-bar{height:8px;border-radius:999px;background:var(--soft);overflow:hidden}
.conv-progress-fill{height:100%;width:0;background:var(--blue);border-radius:999px;transition:width .2s}
.conv-progress-text{font-size:.95rem;color:var(--muted);margin:8px 0 0}
.converter-error{margin-top:12px;padding:12px 14px;border-radius:12px;background:#fde8e8;color:#a33;font-size:.95rem}

.converter-section{margin:48px 0}
.converter-section h2{font-size:clamp(1.5rem,2.4vw,1.85rem);font-weight:800;letter-spacing:-.02em;margin:0 0 16px}
.converter-section > p{font-size:1.08rem;line-height:1.75;color:var(--muted);margin:0 0 14px;max-width:none}
.converter-steps{display:flex;flex-direction:column;gap:18px;margin-top:8px}
.converter-step{display:flex;gap:18px;align-items:flex-start;background:var(--soft);border-radius:16px;padding:20px 22px}
.converter-step .step-num{font-size:1.1rem;font-weight:800;color:var(--blue);flex-shrink:0}
.converter-step h3{font-size:1.12rem;font-weight:700;margin:0 0 6px}
.converter-step p{font-size:1.02rem;line-height:1.65;color:var(--muted);margin:0}


.converter-section > .faq-section-title{margin-top:48px}
.converter-faq-list{display:flex;flex-direction:column;gap:12px}
.converter-faq-list .faq-card{background:var(--soft)}

.converter-more-lead{margin-bottom:22px!important}
.converter-tools-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px;
}
.converter-tool-card{
  display:block;background:var(--soft);border-radius:16px;padding:22px 20px;
  text-decoration:none;color:inherit;transition:background .15s;
}
.converter-tool-card:hover{background:#e8f0fa}
.converter-tool-card h3{font-size:1.12rem;font-weight:700;margin:0 0 8px;color:var(--text)}
.converter-tool-card p{font-size:1rem;line-height:1.6;color:var(--muted);margin:0 0 12px}
.converter-tool-link{font-size:.95rem;font-weight:600;color:var(--blue)}
@media(max-width:900px){
  .converter-tools-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:600px){
  .converter-tools-grid{grid-template-columns:1fr}
  .converter-controls{flex-direction:column;align-items:stretch}
  .conv-run{width:100%}
}

/* Audio Tools page */
.tools-page{padding:28px 0 80px}
.tools-hero{margin-bottom:24px;width:100%}
.tools-about{width:100%}
.tools-hero h1{font-size:clamp(2rem,3.2vw,2.6rem);font-weight:800;letter-spacing:-.03em;margin:0 0 12px}
.tools-hero h1 span{color:var(--blue)}
.tools-hero p{font-size:1.12rem;line-height:1.7;color:var(--muted);margin:0;max-width:none}
.tools-note{
  background:var(--soft);border-radius:16px;padding:18px 20px;margin-bottom:28px;
  font-size:1.05rem;line-height:1.65;color:var(--muted);
}
.tools-note strong{color:var(--text);font-weight:700}
.tools-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:48px;
}
.tools-card{
  background:var(--soft);border-radius:16px;padding:22px 20px 20px;
  display:flex;flex-direction:column;gap:10px;min-height:100%;
}
a.tools-card{text-decoration:none;color:inherit;transition:background .15s}
a.tools-card:hover{background:#e8f0fa}
.tools-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tools-card-icon{
  width:44px;height:44px;border-radius:12px;background:#fff;color:var(--blue);
  display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.tools-badge{
  font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  color:var(--faint);background:#fff;border-radius:999px;padding:5px 10px;
}
.tools-badge-live{color:var(--blue);background:var(--blue-soft)}
.tools-card h3{font-size:1.15rem;font-weight:700;margin:0;color:var(--text)}
.tools-card p{font-size:1rem;line-height:1.6;color:var(--muted);margin:0;flex:1}
.tools-card-cta{font-size:.95rem;font-weight:600;color:var(--blue)}
.tools-card-cta-muted{color:var(--faint);font-weight:500}
.tools-about h2{font-size:clamp(1.45rem,2.2vw,1.75rem);font-weight:800;margin:0 0 14px;letter-spacing:-.02em}
.tools-about p{font-size:1.08rem;line-height:1.75;color:var(--muted);margin:0 0 14px;max-width:none}
@media(max-width:900px){.tools-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.tools-grid{grid-template-columns:1fr}}

/* Converter nav dropdown */
.nav-item-dropdown{position:relative;display:flex;align-items:center}
.nav-drop-btn{
  display:inline-flex;align-items:center;gap:5px;
  border:0;background:transparent;cursor:pointer;padding:0;
  font:inherit;font-size:1rem;font-weight:500;color:var(--muted);
  transition:color .15s;
}
.nav-drop-btn:hover,.nav-drop-btn[aria-expanded="true"]{color:var(--text)}
.nav-chevron{opacity:.65;transition:transform .15s}
.nav-drop-btn[aria-expanded="true"] .nav-chevron{transform:rotate(180deg)}
.convert-mega{
  position:absolute;top:calc(100% + 14px);left:50%;transform:translateX(-50%);
  min-width:420px;background:#fff;border-radius:16px;padding:18px 20px;
  box-shadow:0 18px 50px rgba(26,29,38,.14);z-index:80;
}
.convert-mega[hidden]{display:none!important}
.convert-mega-head{
  display:flex;align-items:center;gap:8px;font-size:.78rem;font-weight:700;
  letter-spacing:.06em;text-transform:uppercase;color:var(--faint);margin-bottom:12px;
}
.convert-mega-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:4px 28px;
}
.convert-mega-grid a{
  display:block;padding:8px 4px;font-size:.98rem;font-weight:500;
  color:var(--text);text-decoration:none;border-radius:8px;
}
.convert-mega-grid a:hover{color:var(--blue)}
.convert-mega-grid a.is-soon{color:var(--muted)}
.convert-mega-grid a.is-soon:hover{color:var(--text)}
@media(max-width:860px){
  .convert-mega{left:0;transform:none;min-width:min(360px,calc(100vw - 32px))}
}

/* Converter dropdown — wider, clearer chevron */
.nav-drop-btn{
  display:inline-flex;align-items:center;gap:6px;
  border:0;background:transparent;cursor:pointer;padding:0;
  font:inherit;font-size:1rem;font-weight:500;color:var(--muted);
}
.nav-drop-btn:hover,.nav-drop-btn[aria-expanded="true"]{color:var(--text)}
.nav-chevron{
  width:16px;height:16px;opacity:.9;color:var(--text);
  flex-shrink:0;transition:transform .15s;
}
.nav-drop-btn[aria-expanded="true"] .nav-chevron{transform:rotate(180deg)}

/* Full header-width panel */
.nav-item-dropdown{position:static}
.header{position:sticky;overflow:visible}
.header-inner{position:relative}
.convert-mega{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 0px);
  width:100%;
  max-width:none;
  min-width:0;
  transform:none;
  margin:0;
  box-sizing:border-box;
  background:#fff;
  border-radius:0 0 18px 18px;
  padding:22px 0 26px;
  box-shadow:0 20px 48px rgba(26,29,38,.12);
  z-index:90;
  border-top:1px solid rgba(0,0,0,.04);
}
.convert-mega[hidden]{display:none!important}
.convert-mega-col{
  width:100%;
  max-width:var(--content,1120px);
  margin:0 auto;
  padding:0 24px;
  box-sizing:border-box;
}
.convert-mega-head{
  display:flex;align-items:center;gap:8px;
  font-size:.8rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--faint);margin-bottom:14px;
}
.convert-mega-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:6px 32px;
}
.convert-mega-grid a{
  display:block;padding:10px 4px;font-size:1rem;font-weight:500;
  color:var(--text);text-decoration:none;border-radius:8px;
}
.convert-mega-grid a:hover{color:var(--blue)}
.convert-mega-grid a.is-soon{color:var(--muted)}
.convert-mega-grid a.is-soon:hover{color:var(--text)}
@media(max-width:900px){
  .convert-mega-grid{grid-template-columns:repeat(2,1fr);gap:4px 20px}
}
@media(max-width:560px){
  .convert-mega-grid{grid-template-columns:1fr}
}

/* Mega panel = full header bar width */
.header{position:sticky;top:0;z-index:50;overflow:visible}
.header-inner{position:static}
.nav-item-dropdown{position:static}
.convert-mega{
  position:absolute!important;
  left:0!important;
  right:0!important;
  top:100%!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  transform:none!important;
  margin:0!important;
  border-radius:0 0 20px 20px!important;
  padding:24px 0 28px!important;
  background:#fff!important;
  box-shadow:0 22px 50px rgba(26,29,38,.13)!important;
  border-top:1px solid rgba(15,20,30,.06)!important;
  z-index:90!important;
}
.convert-mega-col{
  max-width:var(--content,1040px);
  margin:0 auto;
  padding:0 24px;
}
.nav-chevron{
  width:17px!important;height:17px!important;
  stroke-width:2.8;
  opacity:1!important;
  color:var(--text)!important;
}

/* Converter mega — Music Identifier style card */
.nav-item-dropdown{position:relative;display:flex;align-items:center}
.nav-drop-btn{
  display:inline-flex;align-items:center;gap:6px;
  border:0;background:transparent;cursor:pointer;padding:6px 10px;border-radius:999px;
  font:inherit;font-size:1rem;font-weight:500;color:var(--muted);
  transition:background .15s,color .15s;
}
.nav-drop-btn:hover,
.nav-drop-btn[aria-expanded="true"]{
  color:var(--text);background:var(--soft);
}
.nav-chevron{
  width:16px;height:16px;opacity:.85;color:var(--text);flex-shrink:0;
  transition:transform .15s;
}
.nav-drop-btn[aria-expanded="true"] .nav-chevron{transform:rotate(180deg)}

.convert-mega{
  position:absolute!important;
  left:50%!important;
  right:auto!important;
  top:calc(100% + 12px)!important;
  transform:translateX(-50%)!important;
  width:max-content!important;
  max-width:min(920px,calc(100vw - 32px))!important;
  min-width:560px!important;
  margin:0!important;
  padding:20px 8px 18px!important;
  background:#fff!important;
  border-radius:18px!important;
  box-shadow:0 18px 50px rgba(26,29,38,.14)!important;
  border:none!important;
  border-top:none!important;
  z-index:100!important;
}
.convert-mega[hidden]{display:none!important}
.convert-mega-inner{
  display:flex;gap:8px 12px;padding:0 12px;
}
.convert-mega-col{
  flex:1;min-width:180px;max-width:none;margin:0;padding:0 10px;
}
.convert-mega-label{
  font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;
  color:#a0a7b4;margin:0 0 10px 4px;
}
.convert-mega-link{
  display:flex!important;align-items:center;gap:10px;
  padding:9px 10px!important;margin:0 0 2px;
  font-size:.98rem!important;font-weight:500;color:var(--text)!important;
  text-decoration:none;border-radius:10px;
  white-space:nowrap;
}
.convert-mega-link:hover{background:var(--soft);color:var(--text)!important}
.convert-mega-ico{
  width:20px;height:20px;display:flex;align-items:center;justify-content:center;
  color:var(--muted);flex-shrink:0;
}
.convert-mega-link:hover .convert-mega-ico{color:var(--blue)}
.convert-mega-grid{display:none!important}
.convert-mega-head{display:none!important}
@media(max-width:700px){
  .convert-mega{left:0!important;transform:none!important;min-width:0!important;width:min(360px,calc(100vw - 24px))!important}
  .convert-mega-inner{flex-direction:column}
}

/* Related conversion pills (SEO internal links) */
.converter-related{
  display:flex;flex-wrap:wrap;gap:10px 12px;
  margin:28px 0 8px;
}
.converter-pill{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 20px;border-radius:999px;
  background:#1a1d26;color:#fff;text-decoration:none;
  font-size:.95rem;font-weight:600;letter-spacing:.01em;
  transition:background .15s,transform .15s;
}
.converter-pill:hover{
  background:#2a2f3c;color:#fff;
}

.converter-related{
  display:flex;flex-wrap:nowrap;gap:12px;
  margin:28px 0 8px;
  overflow-x:auto;
}
.converter-pill{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 18px;border-radius:14px;
  background:#3d4454!important;color:#fff!important;text-decoration:none;
  font-size:.95rem;font-weight:600;letter-spacing:.01em;
  white-space:nowrap;flex-shrink:0;
  transition:background .15s,filter .15s;
}
.converter-pill:hover{
  background:#4a5266!important;color:#fff!important;filter:brightness(1.05);
}
@media(max-width:900px){
  .converter-related{flex-wrap:wrap}
}

/* Header layout lock */
.header-inner{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:16px;flex-wrap:nowrap!important;position:relative;
}
.header .nav{
  display:flex!important;align-items:center;gap:8px 18px;flex-wrap:nowrap;
  flex:1;justify-content:center;
}
.header .nav > a,
.header .nav-drop-btn{white-space:nowrap}
.nav-item-dropdown{position:relative;flex-shrink:0}
.header-actions{display:flex!important;align-items:center;gap:10px;margin-left:auto;flex-shrink:0}

.convert-mega{
  min-width:720px!important;
  max-width:min(960px,calc(100vw - 32px))!important;
}
.convert-mega-inner{gap:4px 8px}
.convert-mega-col{min-width:160px}

.trim-workspace{margin-top:18px}
.trim-times{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:14px}
.trim-input{min-width:120px}
.trim-duration-val{padding:12px 14px;background:var(--soft);border-radius:12px;font-weight:600;color:var(--text)}
.trim-range{width:100%;margin:8px 0;accent-color:var(--blue)}
.trim-actions{margin-top:14px}
.page-crumb a{color:var(--muted);text-decoration:none}
.page-crumb a:hover{color:var(--text)}

.eq-bands{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:16px}
.eq-band{flex:1;min-width:90px;text-align:center;background:var(--soft);border-radius:12px;padding:12px 8px}
.eq-band label{display:block;font-size:.85rem;font-weight:600;margin-bottom:8px;color:var(--muted)}
.eq-slider{width:100%;accent-color:var(--blue)}
.eq-val{display:block;font-size:.8rem;color:var(--faint);margin-top:6px}
.merge-list{list-style:none;padding:0;margin:0 0 14px}
.merge-list li{padding:10px 14px;background:var(--soft);border-radius:12px;margin-bottom:8px;font-weight:500}

/* Transport: Play / Stop / Reset */
.transport{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px;
  margin:14px 0 4px;
}
.btn-transport{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:0;border-radius:14px;padding:12px 18px;
  font:inherit;font-size:.98rem;font-weight:700;cursor:pointer;
  transition:background .15s,color .15s,filter .15s;
}
.btn-transport svg{flex-shrink:0}
.btn-play{
  background:#3d4454;color:#fff;
}
.btn-play:hover{background:#4a5266}
.btn-stop,.btn-reset{
  background:var(--soft);color:var(--text);
}
.btn-stop:hover,.btn-reset:hover{background:#e8edf5}
.btn-transport:disabled{opacity:.45;cursor:not-allowed}

/* Equalizer visual */
.eq-visual-wrap{
  background:var(--soft);border-radius:16px;padding:20px 16px 16px;margin-bottom:16px;
}
.eq-bands{
  display:flex;align-items:flex-end;justify-content:space-between;gap:10px;
  min-height:180px;
}
.eq-band{
  flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;
  background:transparent;padding:0;min-width:0;
}
.eq-band label{font-size:.8rem;font-weight:600;color:var(--muted);order:3}
.eq-val{font-size:.75rem;font-weight:700;color:var(--blue);order:1}
.eq-slider{
  writing-mode:vertical-lr;direction:rtl;
  width:36px;height:140px;margin:0;
  accent-color:var(--blue);order:2;
  cursor:pointer;
}

/* Bass booster visual */
.bass-visual{
  background:var(--soft);border-radius:16px;padding:22px 20px;margin-bottom:16px;
}
.bass-meter{
  display:flex;align-items:flex-end;gap:6px;height:72px;margin-bottom:16px;
}
.bass-meter span{
  flex:1;border-radius:6px 6px 2px 2px;
  background:linear-gradient(180deg,var(--blue),#7dd3fc);
  opacity:.35;transition:height .15s,opacity .15s;
  min-height:8px;
}
.bass-meter.is-hot span{opacity:.85}
.bass-amount-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.bass-amount-row strong{font-size:1.1rem;color:var(--text)}

/* Tool controls: one row */
.tool-controls-row{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px;
  margin-top:14px;
}
.tool-controls-row .transport{margin:0}
.tool-controls-row .btn-primary,
.tool-controls-row .conv-run{
  margin-left:auto;
  border-radius:14px;padding:12px 20px;font-weight:700;
  background:var(--blue);color:#fff;border:0;cursor:pointer;
  height:46px;display:inline-flex;align-items:center;
}
.tool-controls-row .btn-primary:hover{filter:brightness(1.05)}

/* Light range tracks — no black */
input[type="range"].trim-range,
input[type="range"].eq-slider,
.tool-page input[type="range"]{
  accent-color:#01adfe;
}
input[type="range"].trim-range{
  -webkit-appearance:none;appearance:none;width:100%;height:6px;
  background:#E8EEF6;border-radius:999px;outline:none;
}
input[type="range"].trim-range::-webkit-slider-runnable-track{
  height:6px;background:#E8EEF6;border-radius:999px;border:none;
}
input[type="range"].trim-range::-webkit-slider-thumb{
  -webkit-appearance:none;width:18px;height:18px;border-radius:50%;
  background:#01adfe;border:none;margin-top:-6px;cursor:pointer;
  box-shadow:0 2px 6px rgba(1,173,254,.35);
}
input[type="range"].trim-range::-moz-range-track{
  height:6px;background:#E8EEF6;border-radius:999px;border:none;
}
input[type="range"].trim-range::-moz-range-thumb{
  width:18px;height:18px;border-radius:50%;background:#01adfe;border:none;cursor:pointer;
}

/* EQ vertical — light track blue fill */
.eq-slider{
  -webkit-appearance:none;appearance:none;
  background:transparent;
}
.eq-slider::-webkit-slider-runnable-track{
  width:6px;background:#E8EEF6;border-radius:999px;border:none;
}
.eq-slider::-webkit-slider-thumb{
  -webkit-appearance:none;width:16px;height:16px;border-radius:50%;
  background:#01adfe;border:none;cursor:pointer;
  box-shadow:0 2px 6px rgba(1,173,254,.35);
  margin-left:-5px;
}
.eq-slider::-moz-range-track{
  width:6px;background:#E8EEF6;border-radius:999px;border:none;
}
.eq-slider::-moz-range-thumb{
  width:16px;height:16px;border-radius:50%;background:#01adfe;border:none;
}
.eq-visual-wrap{background:#F7FAFD;border:none;box-shadow:none}
.bass-visual{background:#F7FAFD;border:none;box-shadow:none}

/* Tool waveform (same language as home boost) */
.tool-wave{
  position:relative;cursor:pointer;overflow:hidden;user-select:none;
  height:100px;border-radius:16px;margin:14px 0 8px;
  background:#F4F7FB;border:none;box-shadow:none;
}
.tool-wave-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;z-index:2}
.tool-wave-progress{
  position:absolute;left:0;top:0;bottom:0;width:0;
  background:linear-gradient(90deg,rgba(1,173,254,.10),rgba(1,173,254,.04));
  z-index:1;pointer-events:none;
}
.tool-wave-playhead{
  position:absolute;top:8px;bottom:8px;left:0;width:3px;
  background:#01adfe;border-radius:999px;z-index:3;pointer-events:none;
}
.tool-wave-times{
  display:flex;justify-content:space-between;font-size:.8rem;color:var(--faint);
  margin:-2px 2px 10px;
}

/* ===== Audio Trimmer editor ===== */
.trim-toolbar{
  display:flex;flex-wrap:wrap;align-items:center;gap:8px;
  background:#F4F7FB;border-radius:14px;padding:10px 12px;margin-bottom:10px;
}
.btn-trim-add{
  display:inline-flex;align-items:center;gap:6px;
  background:#01adfe;color:#fff;border:0;border-radius:12px;
  padding:10px 14px;font:inherit;font-weight:700;font-size:.92rem;cursor:pointer;
}
.btn-trim-add:hover{filter:brightness(1.05)}
.btn-trim-ghost{
  display:inline-flex;align-items:center;gap:6px;
  background:#fff;color:var(--text);border:0;border-radius:12px;
  padding:9px 12px;font:inherit;font-weight:600;font-size:.88rem;cursor:pointer;
  box-shadow:0 0 0 1px rgba(15,20,30,.06);
}
.btn-trim-ghost:hover{background:#f8fafc}
.btn-trim-icon{
  width:40px;height:40px;border:0;border-radius:12px;background:#fff;
  display:inline-flex;align-items:center;justify-content:center;cursor:pointer;
  color:var(--muted);box-shadow:0 0 0 1px rgba(15,20,30,.06);
}
.btn-trim-icon:hover{color:var(--text);background:#f8fafc}
.trim-toolbar .btn-play{
  width:40px;height:40px;padding:0;border-radius:12px;
}
.trim-time{
  font-variant-numeric:tabular-nums;font-weight:600;font-size:.95rem;
  color:var(--text);min-width:110px;
}
.trim-hint{
  font-size:.85rem;color:var(--faint);margin:0 0 10px;line-height:1.4;
}
.trim-ruler{
  display:flex;justify-content:space-between;font-size:.72rem;color:var(--faint);
  padding:0 4px 6px;font-variant-numeric:tabular-nums;
}
.trim-timeline{
  position:relative;background:#F4F7FB;border-radius:16px;
  padding:14px 12px 16px;min-height:110px;cursor:pointer;
  margin-bottom:14px;overflow:hidden;
}
.trim-playhead-line{
  position:absolute;top:8px;bottom:8px;left:0;width:2px;
  background:#01adfe;border-radius:2px;z-index:5;pointer-events:none;
}
.trim-clips{position:relative;z-index:2;display:flex;flex-direction:column;gap:8px}
.trim-clip{
  position:relative;height:96px;border-radius:12px;
  background:rgba(1,173,254,.10);overflow:hidden;
  border:none;
}
.trim-clip.is-selected{background:rgba(1,173,254,.16);box-shadow:0 0 0 2px rgba(1,173,254,.35)}
.trim-clip-name{
  position:absolute;left:12px;top:8px;right:40px;z-index:3;
  font-size:.8rem;font-weight:600;color:var(--text);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  pointer-events:none;line-height:1.2;
}
.trim-clip-canvas{
  position:absolute;inset:0;width:100%;height:100%;display:block;pointer-events:none;
}
.trim-clip-remove{
  position:absolute;right:8px;top:8px;z-index:4;
  width:28px;height:28px;border:0;border-radius:8px;background:rgba(255,255,255,.85);
  color:var(--muted);cursor:pointer;display:flex;align-items:center;justify-content:center;
  font-size:16px;line-height:1;
}
.trim-clip-remove:hover{color:var(--text);background:#fff}
.trim-handle{
  position:absolute;top:0;bottom:0;width:10px;z-index:4;cursor:ew-resize;
  background:transparent;
}
.trim-handle::after{
  content:"";position:absolute;top:16px;bottom:16px;width:4px;border-radius:4px;
  background:#01adfe;left:3px;opacity:.85;
}
.trim-handle-left{left:0}
.trim-handle-right{right:0}
.trim-row-panel{
  display:flex;flex-wrap:wrap;align-items:center;gap:12px;
  background:#F7FAFD;border-radius:14px;padding:12px 16px;margin-bottom:10px;
}
.trim-crossfade-label,.trim-row-panel > label{font-weight:600;font-size:.9rem;color:var(--muted)}
.trim-crossfade-val{font-weight:700;min-width:48px}
.trim-crossfade-note{font-size:.85rem;color:var(--faint)}
.trim-export-row .trim-export-actions{margin-left:auto;display:flex;gap:10px;flex-wrap:wrap}
.trim-export-row .btn-primary{
  display:inline-flex;align-items:center;gap:8px;
  background:#01adfe;color:#fff;border:0;border-radius:14px;
  padding:12px 18px;font-weight:700;cursor:pointer;
}
.trim-shortcuts{
  display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;
  font-size:.8rem;color:var(--muted);padding:8px 4px 0;
}
.trim-shortcuts strong{color:var(--text);margin-right:4px}
.trim-shortcuts kbd{
  display:inline-block;padding:2px 7px;border-radius:6px;
  background:#EEF2F7;font-size:.75rem;font-weight:600;color:var(--text);
  font-family:inherit;
}
@media(max-width:700px){
  .trim-export-row .trim-export-actions{margin-left:0;width:100%}
}

.tool-top-actions{
  display:flex;justify-content:center;gap:10px;margin:0 0 16px;flex-wrap:wrap;
}
.tool-top-btn{
  display:inline-flex;align-items:center;gap:8px;
  background:#F4F7FB;border:0;border-radius:999px;padding:10px 16px;
  font:inherit;font-weight:600;font-size:.92rem;color:var(--text);cursor:pointer;
}
.tool-top-btn:hover{background:#e8edf5}
.tool-lib-wrap{position:relative}
.tool-lib-count{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:20px;height:20px;padding:0 6px;border-radius:999px;
  background:#01adfe;color:#fff;font-size:.75rem;font-weight:700;
}
.tool-lib-popover{
  position:absolute;top:calc(100% + 8px);right:0;z-index:40;
  width:min(320px,90vw);background:#fff;border-radius:14px;
  box-shadow:0 16px 40px rgba(26,29,38,.14);padding:10px;
}
.tool-lib-item{
  display:flex;flex-direction:column;align-items:flex-start;gap:2px;
  width:100%;border:0;background:transparent;padding:10px 12px;border-radius:10px;
  cursor:pointer;text-align:left;font:inherit;
}
.tool-lib-item:hover{background:#F4F7FB}
.tool-lib-item strong{font-size:.92rem;font-weight:600}
.tool-lib-item span{font-size:.8rem;color:var(--faint)}
.tool-lib-empty{padding:12px;color:var(--faint);font-size:.9rem;margin:0}
.tool-lib-manage{
  display:block;text-align:center;padding:10px;font-size:.9rem;font-weight:600;
  color:var(--blue);text-decoration:none;
}
.tool-lib-manage:hover{text-decoration:underline}

/* Speed changer */
.speed-file-card{
  display:flex;align-items:center;gap:12px;flex-wrap:wrap;
  background:#F7FAFD;border-radius:14px;padding:14px 16px;margin-bottom:18px;
}
.speed-file-ico{
  width:40px;height:40px;border-radius:12px;background:rgba(1,173,254,.12);
  display:flex;align-items:center;justify-content:center;color:var(--blue);font-size:1.1rem;
}
.speed-file-meta{flex:1;min-width:140px}
.speed-file-meta strong{display:block;font-size:.98rem}
.speed-file-meta span{font-size:.85rem;color:var(--muted)}
.speed-file-card .file-name{font-size:1.02rem;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:block}
.speed-file-card .file-details{font-size:.88rem;color:var(--muted);display:block;margin-top:2px}
.drop-loaded .speed-file-card{
  background:#F7FAFD;
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:14px;
  margin-bottom:18px;
  padding:14px 16px;
  border-bottom:none;
}
.drop-loaded .speed-file-card .speed-file-ico.file-icon,
.drop-loaded .speed-file-card .file-icon{
  width:40px;height:40px;min-width:40px;border-radius:12px;
  background:rgba(1,173,254,.12);color:var(--blue);
  display:flex;align-items:center;justify-content:center;
  font-size:1.05rem;flex-shrink:0;
}
.drop-loaded .speed-file-card .speed-file-meta,
.drop-loaded .speed-file-card .file-meta{
  flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:2px;
}
.drop-loaded .speed-file-card .file-name{
  font-size:1.02rem;font-weight:700;line-height:1.3;
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;
}
.drop-loaded .speed-file-card .file-details{
  font-size:.88rem;color:var(--muted);line-height:1.3;margin:0;
}
.drop-loaded .speed-file-card #remove-btn,
.drop-loaded .speed-file-card .btn-gray{
  margin-left:auto;flex-shrink:0;align-self:center;
  border-radius:12px;padding:10px 16px;font-weight:600;
}
.speed-control-block{margin-bottom:18px}
.speed-control-head{
  display:flex;align-items:center;gap:14px;margin-bottom:10px;
}
.speed-control-head .lbl{
  font-size:.78rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--faint);min-width:64px;
}
.speed-control-head .val{
  font-size:1.75rem;font-weight:800;color:var(--blue);min-width:64px;
}
.speed-presets{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 8px}
.speed-preset{
  border:0;background:#F4F7FB;border-radius:999px;padding:8px 12px;
  font:inherit;font-size:.88rem;font-weight:600;color:var(--text);cursor:pointer;
}
.speed-preset:hover{background:#e8edf5}
.speed-preset.is-active{background:#01adfe;color:#fff}
.speed-vibes{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 4px}
.speed-vibes-label{
  width:100%;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  color:var(--faint);margin-bottom:2px;
}
.speed-vibe{
  border:0;background:#F4F7FB;border-radius:999px;padding:8px 12px;
  font:inherit;font-size:.88rem;font-weight:600;cursor:pointer;color:var(--text);
}
.speed-vibe:hover{background:#e8edf5}
.speed-dur-row{
  display:flex;justify-content:center;gap:20px;font-size:.9rem;color:var(--muted);margin:8px 0 6px;
}
.speed-dur-row strong{color:var(--text)}
.speed-bottom-row{
  display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px;
}
.speed-bottom-row .btn-play{background:#01adfe;color:#fff}
.speed-bottom-row .btn-play:hover{filter:brightness(1.05)}

.tool-page-toolbar{
  margin:0 0 16px;
}
.tool-page-toolbar .library-actions{
  justify-content:flex-end;
}
.tool-page-toolbar .library-count{
  background:#01adfe;
  color:#fff;
  min-width:20px;
  height:20px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:.75rem;
  font-weight:700;
  padding:0 6px;
}

.converter-shell > .library-toolbar.tool-page-toolbar{
  display:flex;
  justify-content:flex-end;
  width:100%;
  margin:0 0 16px;
  position:relative;
  z-index:5;
}
.converter-shell > .converter-topbar{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:12px;
  width:100%;
}
.converter-shell > .library-toolbar .library-actions{
  justify-content:flex-end;
}
.converter-shell > .library-toolbar .library-popover{
  min-width:280px;
}


  .footer-col-converters .footer-tools-grid{grid-template-columns:1fr}
}

/* Footer layout — 5 columns, converters as compact 2-col list */
.footer-grid.footer-grid-5{
  display:grid;
  grid-template-columns: minmax(160px,1.2fr) repeat(2, minmax(120px,0.85fr)) minmax(220px,1.4fr) minmax(120px,0.85fr);
  gap:28px 20px;
  max-width:100%;
  margin:0 auto 40px;
  align-items:start;
}
.footer-col-converters h4{margin-bottom:14px}
.footer-col-converters .footer-tools-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 18px;
  align-items:start;
}
.footer-col-converters .footer-tools-grid ul{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:0;
  padding:0;
}
.footer-col-converters .footer-tools-grid a,
.footer-col a{
  white-space:nowrap;
  font-size:.9rem;
}
.footer-col-tools a{white-space:nowrap}
.footer-about p{
  max-width:220px;
  line-height:1.5;
  font-size:.9rem;
}
@media(max-width:1100px){
  .footer-grid.footer-grid-5{
    grid-template-columns:1fr 1fr;
    gap:32px 28px;
  }
  .footer-about{grid-column:1 / -1; max-width:480px}
  .footer-about p{max-width:none}
  .footer-col-converters{grid-column:1 / -1}
  .footer-col-converters .footer-tools-grid{
    grid-template-columns:1fr 1fr 1fr;
    max-width:640px;
  }
}
@media(max-width:640px){
  .footer-grid.footer-grid-5{grid-template-columns:1fr}
  .footer-col-converters .footer-tools-grid{grid-template-columns:1fr 1fr}
  .footer-col-converters .footer-tools-grid a,
  .footer-col a{white-space:normal}
}
/* Final footer fix: keep the five desktop sections on one row and improve readability */
.footer-grid.footer-grid-5{
  grid-template-columns:minmax(170px,1.2fr) minmax(130px,.9fr) minmax(145px,1fr) minmax(300px,1.8fr) minmax(150px,1fr);
  gap:32px 24px;
  width:100%;
  max-width:none;
  margin:0 0 44px;
}
.footer-grid.footer-grid-5 > *{min-width:0}
.footer-about{max-width:300px}
.footer-about p{
  max-width:260px;
  font-size:.96rem;
  line-height:1.6;
}
.footer-brand{font-size:1.08rem}
.footer-col h4{font-size:1.03rem;margin-bottom:16px}
.footer-col ul{gap:11px}
.footer-col a,
.footer-col-converters .footer-tools-grid a{
  font-size:.96rem;
  white-space:normal;
  line-height:1.45;
}
.footer-col-converters .footer-tools-grid{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:0 24px;
}
.footer-col-converters .footer-tools-grid ul{min-width:0}
.footer-bottom{margin:0;padding-top:4px}
.copyright,.footer-tagline{font-size:.94rem}

@media(max-width:1100px){
  .footer-grid.footer-grid-5{
    grid-template-columns:minmax(150px,1.1fr) minmax(120px,.9fr) minmax(140px,1fr) minmax(250px,1.7fr) minmax(140px,1fr);
    gap:28px 18px;
  }
}
@media(max-width:900px){
  .footer-grid.footer-grid-5{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:34px 24px;
  }
  .footer-about{grid-column:1 / -1;max-width:520px}
  .footer-about p{max-width:460px}
  .footer-col-converters{grid-column:auto}
}
@media(max-width:700px){
  .footer-grid.footer-grid-5{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 22px}
  .footer-col-converters{grid-column:1 / -1}
  .footer-col-converters .footer-tools-grid{max-width:620px}
}
@media(max-width:520px){
  .footer{padding:48px 0 28px}
  .footer-grid.footer-grid-5{grid-template-columns:1fr;gap:28px}
  .footer-about{grid-column:auto;max-width:none}
  .footer-about p{max-width:none}
  .footer-col-converters{grid-column:auto}
  .footer-col-converters .footer-tools-grid{grid-template-columns:1fr 1fr}
  .footer-bottom{flex-direction:column;align-items:flex-start}
}


/* Converter pages footer fix — keep the same stable footer layout everywhere */
.footer.footer--stable{}
.footer-grid.footer-grid-5{
  width:100%;
  max-width:100%;
  display:grid;
  grid-template-columns:
    minmax(185px,1.15fr)
    minmax(135px,.9fr)
    minmax(150px,1fr)
    minmax(315px,1.85fr)
    minmax(145px,1fr);
  column-gap:28px;
  row-gap:40px;
  align-items:start;
  margin:0 0 44px;
}
.footer-grid.footer-grid-5 > .footer-about,
.footer-grid.footer-grid-5 > .footer-col{
  min-width:0;
}
.footer-grid.footer-grid-5 .footer-about{
  max-width:none;
}
.footer-grid.footer-grid-5 .footer-about p{
  max-width:270px;
}
.footer-grid.footer-grid-5 .footer-col-converters{
  min-width:0;
}
.footer-grid.footer-grid-5 .footer-col-converters .footer-tools-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0 24px;
  width:100%;
  min-width:0;
}
.footer-grid.footer-grid-5 .footer-col-converters .footer-tools-grid ul{
  min-width:0;
  margin:0;
  padding:0;
}
.footer-grid.footer-grid-5 .footer-col-converters .footer-tools-grid a,
.footer-grid.footer-grid-5 .footer-col a{
  white-space:normal;
  overflow-wrap:anywhere;
  line-height:1.45;
}

/* Give converter pages enough room before switching to a stacked footer. */
@media (max-width:1180px){
  .footer-grid.footer-grid-5{
    grid-template-columns:repeat(3,minmax(0,1fr));
    column-gap:26px;
    row-gap:34px;
  }
  .footer-grid.footer-grid-5 .footer-about{
    grid-column:1 / -1;
  }
  .footer-grid.footer-grid-5 .footer-about p{
    max-width:520px;
  }
  .footer-grid.footer-grid-5 .footer-col-converters{
    grid-column:auto;
  }
}
@media (max-width:760px){
  .footer-grid.footer-grid-5{
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:22px;
    row-gap:30px;
  }
  .footer-grid.footer-grid-5 .footer-col-converters{
    grid-column:1 / -1;
  }
  .footer-grid.footer-grid-5 .footer-col-converters .footer-tools-grid{
    max-width:640px;
  }
}
@media (max-width:520px){
  .footer-grid.footer-grid-5{
    grid-template-columns:1fr;
    row-gap:28px;
    margin-bottom:36px;
  }
  .footer-grid.footer-grid-5 .footer-about,
  .footer-grid.footer-grid-5 .footer-col-converters{
    grid-column:auto;
  }
  .footer-grid.footer-grid-5 .footer-col-converters .footer-tools-grid{
    grid-template-columns:1fr 1fr;
  }
}

/* Blog page */
.blog-page{
  padding:24px 0 72px;
  min-height:calc(100vh - 200px);
}
.blog-hero{
  margin:8px 0 36px;
  max-width:720px;
}
.blog-hero h1{
  font-size:clamp(2rem,4vw,2.75rem);
  letter-spacing:-.03em;
  margin:0 0 12px;
  line-height:1.2;
}
.blog-hero h1 span{color:var(--blue)}
.blog-hero p{
  font-size:1.1rem;
  color:var(--muted);
  line-height:1.65;
  margin:0;
}
.blog-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  width:100%;
}
a.blog-card,
.blog-card{
  display:flex;
  flex-direction:column;
  gap:12px;
  background:#F7FAFD;
  border-radius:18px;
  padding:28px 26px;
  text-decoration:none !important;
  color:inherit;
  transition:background .15s, transform .15s;
  min-height:200px;
  box-sizing:border-box;
}
a.blog-card:hover,
.blog-card:hover{
  background:#eef4fb;
  transform:translateY(-2px);
  text-decoration:none !important;
}
a.blog-card h2,
.blog-card h2{
  font-size:1.22rem;
  font-weight:700;
  letter-spacing:-.02em;
  margin:0;
  line-height:1.35;
  color:var(--text);
  text-decoration:none !important;
}
a.blog-card p,
.blog-card p{
  font-size:1.02rem;
  color:var(--muted);
  line-height:1.55;
  margin:0;
  flex:1;
  text-decoration:none !important;
}
.blog-card-tag{
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--blue);
}
.blog-card-more{
  font-size:.95rem;
  font-weight:600;
  color:var(--blue);
  margin-top:4px;
}
.blog-all-link{text-align:center;margin:28px 0 0}
.blog-all-link a{font-weight:600;color:var(--blue);text-decoration:none}
.blog-all-link a:hover{text-decoration:underline}
.blog-home-section{padding-top:8px}
@media(max-width:720px){
  .blog-grid{grid-template-columns:1fr}
}

/* Sticky footer — no white gap under footer */
html,body{min-height:100%}
body{
  display:flex;
  flex-direction:column;
  min-height:100vh;
}
body > .header{flex-shrink:0}
body > main{
  flex:1 0 auto;
  width:100%;
}
body > .footer{
  flex-shrink:0;
  margin-top:auto;
  width:100%;
  background:var(--soft,#F9FAFE);
}

/* Header nav alignment: Converter matches the neighboring navigation links */
.header .nav-drop-btn{
  padding:0;
  height:auto;
  line-height:1.65;
  border-radius:0;
  gap:7px;
  font-size:1rem;
  font-weight:500;
}
.header .nav-drop-btn:hover,
.header .nav-drop-btn[aria-expanded="true"]{
  background:transparent;
}
.header .nav-chevron{
  width:17px!important;
  height:17px!important;
  flex:0 0 17px;
  transform:translateY(1px);
}
.header .nav-drop-btn[aria-expanded="true"] .nav-chevron{
  transform:translateY(1px) rotate(180deg);
}

.converter-list{margin:12px 0 18px;padding-left:1.25em;color:var(--muted)}
.converter-list li{margin-bottom:8px;line-height:1.55;font-size:1.08rem}

.converter-usecase-list{margin:14px 0 0;padding-left:1.25em;color:var(--muted)}
.converter-usecase-list li{margin-bottom:8px;line-height:1.55;font-size:1.05rem}

/* Contact — simple feedback-style form + success state */
.contact-form-simple .contact-field label{
  font-size:1.05rem;
  font-weight:600;
  color:var(--text);
  margin-bottom:10px;
  display:block;
}
.contact-form-simple textarea{
  min-height:220px;
  width:100%;
  resize:vertical;
  border:1px solid #e2e6ee;
  border-radius:14px;
  padding:16px 18px;
  font:inherit;
  font-size:1.05rem;
  background:#fff;
  color:var(--text);
}
.contact-form-simple textarea:focus{
  outline:none;
  border-color:var(--blue,#01adfe);
  box-shadow:0 0 0 3px rgba(1,173,254,.15);
}
.contact-form-actions{
  display:flex;
  justify-content:flex-end;
  margin-top:16px;
}
.contact-form-simple .contact-submit{
  min-width:120px;
  border-radius:999px;
  padding:12px 28px;
}
.contact-form-simple .contact-submit:disabled{
  opacity:.7;
  cursor:wait;
}
.contact-done{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:280px;
  padding:32px 20px;
  text-align:center;
}
.contact-done.hide,
.contact-form.hide{display:none !important}
.contact-done-inner{max-width:420px;margin:0 auto}
.contact-done-icon{
  width:52px;height:52px;border-radius:14px;
  background:var(--blue,#01adfe);color:#fff;
  display:inline-flex;align-items:center;justify-content:center;
  margin-bottom:18px;
}
.contact-done-title{
  font-size:1.45rem;font-weight:700;letter-spacing:-.02em;
  margin:0 0 10px;color:var(--text);
}
.contact-done-text{
  margin:0;font-size:1.05rem;line-height:1.55;color:var(--muted);
}

/* Contact alignment + send button */
.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
  align-items:stretch;
}
.contact-side{
  display:flex;
  flex-direction:column;
  gap:20px;
  height:100%;
}
.contact-card{
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:100%;
  box-sizing:border-box;
}
.contact-form-simple{
  display:flex;
  flex-direction:column;
  flex:1;
  height:100%;
}
.contact-form-simple .contact-field{
  display:flex;
  flex-direction:column;
  flex:1;
}
.contact-form-simple .contact-field label{
  font-size:1.08rem;
  font-weight:700;
  color:var(--text);
  margin-bottom:12px;
  line-height:1.35;
  text-transform:none;
  letter-spacing:normal;
}
.contact-form-simple textarea{
  flex:1;
  min-height:260px;
  width:100%;
  resize:vertical;
  border:1px solid #e2e6ee;
  border-radius:14px;
  padding:16px 18px;
  font:inherit;
  font-size:1.05rem;
  background:#fff;
  color:var(--text);
  box-sizing:border-box;
}
.contact-form-actions{
  display:flex;
  justify-content:stretch;
  margin-top:18px;
}
.contact-form-simple .contact-submit,
.contact-submit{
  width:100%;
  min-width:0;
  border:0;
  border-radius:12px !important;
  padding:14px 22px;
  background:#3D4454 !important;
  color:#fff !important;
  font-weight:600;
  font-size:1.02rem;
  cursor:pointer;
  transition:background .15s, transform .15s;
}
.contact-form-simple .contact-submit:hover,
.contact-submit:hover{
  background:#2f3542 !important;
}
.contact-form-simple .contact-submit:active,
.contact-submit:active{
  transform:scale(.99);
}
.contact-form-simple .contact-submit:disabled{
  opacity:.75;
  cursor:wait;
}
@media(max-width:860px){
  .contact-grid{grid-template-columns:1fr}
}


.convert-mega-empty{padding:20px 24px;min-width:240px}
.convert-mega-soon{margin:0;font-size:.95rem;color:var(--muted);line-height:1.5}
.footer-soon{margin:8px 0 0;font-size:.95rem;color:var(--muted)}

/* Audio Converter */
.ac-drop{
  border:1.5px dashed #d5dbe6;
  border-radius:20px;
  background:#F7FAFD;
  padding:48px 28px;
  text-align:center;
  transition:border-color .15s, background .15s;
  margin-top:8px;
}
.ac-drop.is-drag{border-color:var(--blue,#01adfe);background:#eef7fe}
.ac-drop-title{margin:0 0 10px;font-size:1.55rem;font-weight:800;letter-spacing:-.03em;color:var(--text)}
.ac-drop-title span{color:var(--blue,#01adfe)}
.ac-drop-sub{margin:0 auto 22px;max-width:420px;color:var(--muted);font-size:1.02rem;line-height:1.5}
.ac-choose-btn{
  background:#3D4454 !important;color:#fff !important;border:0;
  border-radius:12px;padding:12px 28px;font-weight:600;cursor:pointer;
}
.ac-choose-btn:hover{background:#2f3542 !important}
.ac-drop-formats{margin:16px 0 0;font-size:.88rem;color:var(--muted)}
.ac-drop-loaded{padding:12px 8px 4px}
.ac-file-name{margin:0 0 8px;font-size:1.45rem;font-weight:800;letter-spacing:-.02em;color:var(--text);word-break:break-all}
.ac-file-name .ac-ext{color:var(--blue,#01adfe)}
.ac-file-hint{margin:0 0 22px;color:var(--muted);font-size:1.02rem}
.ac-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:center}
.ac-select-wrap{position:relative}
.ac-select{
  appearance:none;-webkit-appearance:none;
  min-width:140px;padding:12px 40px 12px 18px;
  border-radius:12px;border:1px solid #e2e6ee;background:#fff;
  font:inherit;font-weight:600;font-size:1rem;color:var(--text);cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235B6472' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 14px center;
}
.ac-convert-btn{
  background:#3D4454 !important;color:#fff !important;border:0;
  border-radius:12px;padding:12px 28px;font-weight:600;min-width:120px;cursor:pointer;
}
.ac-convert-btn:hover{background:#2f3542 !important}
.ac-convert-btn:disabled{opacity:.7;cursor:wait}
.ac-remove{
  display:inline-block;margin-top:18px;background:none;border:0;
  color:var(--muted);font:inherit;font-size:.95rem;cursor:pointer;text-decoration:underline;
}
.ac-progress{margin-top:18px}
.ac-progress-bar{height:8px;border-radius:99px;background:#e8eef5;overflow:hidden}
.ac-progress-fill{height:100%;width:0;background:var(--blue,#01adfe);border-radius:99px;transition:width .2s}
.ac-progress-text{margin:8px 0 0;font-size:.95rem;color:var(--muted);text-align:center}
.ac-error{margin-top:14px;color:#b42318;font-size:.95rem;text-align:center}
.ac-result{margin-top:18px}
.ac-result-card{
  display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;
  background:#F7FAFD;border-radius:16px;padding:16px 18px;
}
.ac-result-meta{min-width:0}
.ac-result-meta strong{display:block;font-size:1.05rem}
.ac-result-meta span{font-size:.9rem;color:var(--muted)}
.ac-result-actions{display:flex;gap:10px;flex-wrap:wrap}

.ac-workspace{margin-top:16px;display:flex;flex-direction:column;gap:16px}
.ac-convert-row{
  background:#F7FAFD;border-radius:16px;padding:18px 20px;
  display:flex;flex-direction:column;gap:14px;align-items:center;text-align:center;
}
.ac-convert-row .ac-file-hint{margin:0;color:var(--muted);font-size:1.02rem}
.ac-workspace .ac-actions{justify-content:center}


/* Tool library popover — same items as main boost page */
.tool-lib-list{max-height:320px;overflow-y:auto;padding:6px 4px}
.tool-lib-list .library-section-label{margin:8px 8px 4px;font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.tool-lib-list .library-item{margin:0 2px}
.library-popover{min-width:280px;max-width:340px}

/* Hide converter workspace until a file is loaded */
.ac-workspace[hidden],
#tool-workspace[hidden]{
  display:none !important;
}


.why-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
  margin-top:8px;
}
.why-card{
  background:#F7FAFD;
  border-radius:16px;
  padding:20px 22px;
}
.why-card h3{
  margin:0 0 10px;
  font-size:1.22rem;
  font-weight:700;
  letter-spacing:-.02em;
  color:var(--text);
}
.why-card p{
  margin:0;
  font-size:1.08rem;
  line-height:1.6;
  color:var(--muted);
}
@media(max-width:720px){
  .why-grid{grid-template-columns:1fr}
}

.speed-file-ico--video{background:rgba(1,173,254,.12);color:var(--blue,#01adfe)}

.format-pair-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.format-pair-card{
  background:#F7FAFD;
  border-radius:16px;
  padding:22px 24px;
}
.format-pair-card h3{
  margin:0 0 10px;
  font-size:1.2rem;
  font-weight:700;
  letter-spacing:-.02em;
}
.format-pair-card p{
  margin:0;
  font-size:1.08rem;
  line-height:1.6;
  color:var(--muted);
}
.use-cases-list{display:flex;flex-direction:column;gap:14px;margin-top:8px}
.use-case-item{
  background:#F7FAFD;
  border-radius:14px;
  padding:18px 20px;
}
.use-case-item h3{
  margin:0 0 8px;
  font-size:1.18rem;
  font-weight:700;
  color:var(--text);
}
.use-case-item p{
  margin:0;
  font-size:1.08rem;
  line-height:1.6;
  color:var(--muted);
}
@media(max-width:720px){
  .format-pair-grid{grid-template-columns:1fr}
}



.converter-section-switch{
  max-width:100%;
}
.mov-switch{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:12px;
  width:100%;
}
.mov-switch-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px 16px;
  border-radius:12px;
  background:#3D4454;
  color:#fff !important;
  font-weight:600;
  font-size:0.95rem;
  text-decoration:none;
  border:0;
  transition:background .15s;
  text-align:center;
  min-height:48px;
}
.mov-switch-ico{
  display:inline-flex;
  flex-shrink:0;
  opacity:.95;
}
a.mov-switch-btn:hover{
  background:#2f3542;
}
@media(max-width:720px){
  .mov-switch{grid-template-columns:1fr}
}

/* Converter pages: body text 1.08rem; headings unchanged */
.converter-section > p,
.converter-section .converter-step p,
.converter-section .faq-body p,
.converter-section .format-pair-card p,
.converter-section .why-card p,
.converter-section .use-case-item p,
.converter-shell .ac-file-hint,
.converter-shell .drop-sub,
.converter-shell .drop-formats,
main.converter-page p:not(.hero-lead):not([class*="title"]) {
  font-size: 1.08rem;
  line-height: 1.6;
}
/* Keep step/FAQ/why/use-case headings as defined on h3 rules — do not shrink h2/h3 */
.converter-section h2,
.converter-section h3,
.why-card h3,
.use-case-item h3,
.format-pair-card h3,
.faq-body h3,
.converter-step h3 {
  /* headings retain existing sizes from their own rules */
}

/* Privacy note under upload areas — smaller than body */
.privacy-note,
.converter-shell .privacy-note,
.tool-page .privacy-note,
main .privacy-note,
.privacy-note span {
  font-size: 0.85rem !important;
  line-height: 1.45 !important;
  color: var(--faint, #8b93a7);
}


/* Audio tools + converter pages: body copy 1.08rem (not headings) */
.tool-page .converter-section > p,
.tool-page .converter-section .converter-step p,
.tool-page .converter-section .faq-body p,
.tool-page .converter-section .format-pair-card p,
.tool-page .converter-section .why-card p,
.tool-page .converter-section .use-case-item p,
.converter-page .converter-section > p,
.converter-page .converter-section .converter-step p,
.converter-page .converter-section .faq-body p,
.converter-page .converter-section .format-pair-card p,
.converter-page .converter-section .why-card p,
.converter-page .converter-section .use-case-item p,
.converter-shell .ac-file-hint,
.converter-shell .drop-sub,
.converter-shell .drop-formats,
.tool-page .drop-sub,
.tool-page .drop-formats,
.tool-page .ac-file-hint {
  font-size: 1.08rem;
  line-height: 1.6;
}



/* ===== Converter mega — full header width, multi-column ===== */
.header .nav-item-dropdown {
  position: static !important;
}
.convert-mega {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: calc(100% + 6px) !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  z-index: 120 !important;
}
.convert-mega[hidden] {
  display: none !important;
}
.convert-mega-panel {
  max-width: var(--content, 1120px);
  margin: 0 auto;
  padding: 22px 28px 24px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(26, 29, 38, 0.14);
  border: 1px solid rgba(26, 29, 38, 0.06);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 40px;
}
.convert-mega-section {
  min-width: 0;
}
.convert-mega-head {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8b93a3 !important;
  margin: 0 0 12px 2px !important;
  padding: 0 !important;
}
.convert-mega-head-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue, #01adfe);
  flex-shrink: 0;
}
.convert-mega-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px 16px;
}
.convert-mega-link {
  display: block !important;
  padding: 8px 6px !important;
  margin: 0 !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: var(--text) !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  background: transparent !important;
}
.convert-mega-link:hover {
  color: var(--blue, #01adfe) !important;
  background: var(--soft, #f3f6fb) !important;
}
.convert-mega-inner,
.convert-mega-col,
.convert-mega-label,
.convert-mega-ico {
  /* legacy hooks — panel layout supersedes */
}
@media (max-width: 900px) {
  .convert-mega-panel {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 0 12px;
    max-width: none;
  }
  .convert-mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 560px) {
  .convert-mega-grid {
    grid-template-columns: 1fr !important;
  }
}


/* Footer converters — 2 columns, aligned with other cols */
.footer-col-converters {
  min-width: 0;
}
.footer-col-converters .footer-converters-grid,
.footer-col-converters .footer-tools-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 20px !important;
  max-width: none !important;
}
.footer-col-converters .footer-converters-grid ul,
.footer-col-converters .footer-tools-grid ul {
  list-style: none !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.footer-grid.footer-grid-5 {
  grid-template-columns: minmax(160px, 1.15fr) minmax(120px, 0.85fr) minmax(140px, 0.95fr) minmax(260px, 1.55fr) minmax(140px, 0.95fr) !important;
  align-items: start !important;
  gap: 32px 20px !important;
}
.footer-col-converters h4 {
  margin-bottom: 16px !important;
}
@media (max-width: 960px) {
  .footer-grid.footer-grid-5 {
    grid-template-columns: 1fr 1fr !important;
  }
  .footer-about {
    grid-column: 1 / -1 !important;
  }
  .footer-col-converters {
    grid-column: 1 / -1 !important;
  }
  .footer-col-converters .footer-converters-grid {
    max-width: 520px !important;
  }
}
@media (max-width: 560px) {
  .footer-col-converters .footer-converters-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}
