@font-face{font-family:Capriola;src:url("../fonts/capriola.de58282a1ce2.woff2") format('woff2');font-display:swap}
@font-face{font-family:Bricolage;src:url("../fonts/bricolage.ada540c0e24a.woff2") format('woff2');font-weight:200 800;font-display:swap}
:root{--paper:#fffaf5;--card:#fffefa;--ink:#291a33;--body:#514354;--purple:#613694;--line:#eadbdc;--coral:#bd2d27;--blush:#ffe7de;--lilac:#efe4fe;--mint:#def0df;--yellow:#ffefcb;--display:Capriola,system-ui,sans-serif;--text:Bricolage,system-ui,sans-serif}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);font:400 1rem/1.5 var(--text)}
img{max-width:100%;display:block}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
a{color:inherit}
[hidden]{display:none!important}
h1,h2,h3,p,figure{margin:0}
h1,h2,h3{font-family:var(--display);font-weight:400;line-height:1.12;letter-spacing:-.055em}
h2{font-size:clamp(1.95rem,4.2vw,3.2rem)}
h3{font-size:1.36rem}
p{color:var(--body)}
:focus-visible{outline:3px solid var(--purple);outline-offset:4px}
.sr-only,.icon-library,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip{position:absolute;z-index:3;left:1rem;top:.8rem;padding:.6rem 1rem;background:white}
.shell{width:min(100% - 44px,1220px);margin-inline:auto}
.icon{width:1.15rem;height:1.15rem;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none}
.site-header{background:var(--paper);border-bottom:1px solid var(--line)}
.header-inner{min-height:76px;display:flex;align-items:center;gap:1.5rem}
.header-inner > .brand{margin-inline-end:auto}
.brand{display:inline-flex;align-items:center;gap:.55rem;font-family:var(--display);font-size:1.19rem;letter-spacing:-.07em;text-decoration:none;flex:none}
.brand-accent{color:var(--coral)}
.main-nav{display:flex;gap:clamp(1.35rem,3vw,3rem);align-items:center}
.main-nav a{font-weight:720;text-decoration:none}
.main-nav a:hover,.site-footer nav a:hover{color:var(--coral)}
.support-link{display:inline-flex;align-items:center;gap:.35rem;border:1px solid #ddc9d0;border-radius:999px;padding:.52rem .9rem;white-space:nowrap}
.support-link span:first-child{font-size:1.2rem;line-height:1;color:var(--coral)}
.support-link:hover{background:var(--blush)}
.hero{background:radial-gradient(ellipse at 8% 92%,#ffe5de 0%,transparent 52%),radial-gradient(ellipse at 96% 12%,#f6e8ff 0%,transparent 53%),var(--paper);padding-block:clamp(2.3rem,4.5vw,4.6rem) clamp(2.5rem,5.2vw,5rem);border-bottom:1px solid #f0dfdd}
.hero h1,.hero-lead{margin-inline:auto;text-align:center;text-wrap:balance}
.hero h1{max-width:1050px;font-size:clamp(2.65rem,6vw,4.7rem);line-height:1.05}
.hero h1 em{font-style:normal;color:var(--coral);position:relative;display:inline-block}
.hero h1 em::after{content:'';position:absolute;left:2%;right:0;bottom:-.06em;height:.105em;background:#f9ae92;border-radius:65% 45% 55% 30%;transform:rotate(-4deg)}
.hero-lead{font-size:clamp(1rem,1.55vw,1.21rem);margin-top:.95rem;max-width:40rem}
.hero-inner > .hero-support,.hero-inner > .converter{max-width:42rem;margin-inline:auto}
.converter{margin-top:1.55rem;padding:clamp(1rem,2.1vw,1.6rem);border:1px solid #e9d7d7;background:var(--card);border-radius:1.55rem;box-shadow:0 5px 0 #edd4d1,0 14px 30px #3a25400a;min-width:0}
.source-switch{display:flex;gap:.35rem;border-bottom:1px solid var(--line);margin-bottom:1rem;padding-bottom:.65rem}
.source-button{display:inline-flex;align-items:center;gap:.5rem;border:0;background:transparent;color:var(--body);border-radius:999px;padding:.5rem .8rem;font-weight:700;min-height:42px}
.source-button[aria-pressed="true"]{background:#f1e4fb;color:#522583}
.source-button:hover{background:var(--lilac)}
.url-field{display:flex;align-items:center;gap:.65rem;border:1px solid #d8cadb;border-radius:.82rem;background:#fff;padding:0 .55rem 0 .82rem;min-height:54px;color:var(--purple)}
.url-field:focus-within{outline:2px solid var(--purple);outline-offset:1px}
.url-field input{width:100%;min-width:0;min-height:52px;border:0;background:transparent;color:var(--ink);outline:0}
.url-field input::placeholder{color:#73637b}
.url-field button{border:0;background:var(--lilac);color:#50287e;border-radius:.48rem;padding:.46rem .67rem;font-weight:750}
#source-file{width:100%;min-width:0;border:1px dashed #ab86c8;border-radius:.8rem;padding:.65rem;background:#faf4ff}
#source-file::file-selector-button{cursor:pointer;font:inherit;font-weight:700;padding:.35rem .55rem;border:0;border-radius:.4rem;margin-right:.65rem;background:var(--lilac);color:#50287e}
#upload-rules{display:block;margin-top:.25rem;color:var(--body)}
.formats{border:0;padding:0;margin:1rem 0 0;min-width:0}
.formats legend{padding:0;margin-bottom:.42rem;font-size:.88rem;font-weight:750}
.format-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.55rem}
.format{position:relative;cursor:pointer;--tone:var(--lilac);--tone-ink:#643994}
.format-mp3{--tone:var(--blush);--tone-ink:#992e29}
.format-mp4{--tone:var(--mint);--tone-ink:#2e6544}
.format input{position:absolute;opacity:0;width:1px;height:1px}
.format > span{display:grid;grid-template-columns:1.32rem 1fr;align-items:center;gap:.05rem .35rem;min-height:65px;padding:.55rem .6rem;background:#fff;border:1px solid #ddd0dc;border-radius:.76rem;line-height:1.18}
.format:hover > span,.format input:checked + span{background:var(--tone);border-color:var(--tone-ink);color:var(--tone-ink)}
.format input:checked + span{box-shadow:0 0 0 1px var(--tone-ink)}
.format input:focus-visible + span{outline:3px solid var(--ink);outline-offset:3px}
.format small{grid-column:2;font-size:.73rem;color:var(--body)}
.format strong{font-weight:800}
.quality{display:flex;align-items:center;gap:.6rem;margin-top:.85rem;font-size:.92rem}
.quality select{border:1px solid #d8cadb;border-radius:.5rem;padding:.35rem .6rem;background:white}
.button{display:inline-flex;min-height:47px;align-items:center;justify-content:center;gap:.62rem;padding:.67rem 1.08rem;border:1px solid transparent;border-radius:.77rem;text-decoration:none;font-weight:780;transition:background .17s,transform .17s}
.primary{background:var(--coral);color:white}
.primary:hover{background:#a42521;transform:translateY(-1px)}
.primary:active{transform:translateY(1px)}
.convert-button{width:100%;margin-top:1rem}
.form-error{margin:.5rem 0 .8rem;padding:.6rem .7rem;background:#ffeee9;border-radius:.5rem;color:#8e2522}
.job-panel{min-height:310px;display:grid;align-content:center;justify-items:center;gap:.9rem;text-align:center}
.job-panel h2{font-size:1.9rem;margin-bottom:.4rem}
.job-panel p{overflow-wrap:anywhere}
.job-symbol,.support-icon{display:grid;place-items:center;width:3.35rem;height:3.35rem;border-radius:1rem;background:var(--lilac);color:var(--purple);transform:rotate(-7deg)}
.job-symbol .icon,.support-icon .icon{width:1.75rem;height:1.75rem}
#job-progress{width:min(80%,22rem);accent-color:var(--purple)}
.text-button,.text-link{background:none;border:0;color:var(--purple);font-weight:750;text-decoration:underline;text-underline-offset:.23em;padding:0}
.section{padding-block:clamp(2.7rem,6vw,5.8rem)}
#how h2,.formats-section h2{text-align:center;margin-bottom:1.55rem}
.steps,.format-explain{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.step,.format-explain article{border-radius:1.2rem;padding:1.3rem;min-width:0}
.step h3,.format-explain h3{margin:.55rem 0 .38rem}
.step p,.format-explain p{font-size:1rem}
.step-link{background:var(--blush);--badge:#f9bcab;--badge-ink:#832e28}
.step-format{background:var(--lilac);--badge:#dec8fa;--badge-ink:#50287e}
.step-save{background:var(--mint);--badge:#bce2c3;--badge-ink:#24523a}
.step-icon{display:grid;place-items:center;width:2.75rem;height:2.75rem;background:var(--badge);color:var(--badge-ink);border-radius:.85rem;transform:rotate(-7deg)}
.step-icon .icon{width:1.3rem;height:1.3rem}
.formats-section{background:#f5edfe;border-block:1px solid #e8d9f5}
.format-explain article{background:var(--card);border:1px solid #e6d8f0}
.format-explain .icon{color:var(--purple);width:1.5rem;height:1.5rem}
.audio-note{display:flex;gap:.8rem;align-items:center;background:#fff1cc;padding:1rem 1.2rem;border-radius:1rem;margin-top:1rem}
.audio-note span{font-size:1.45rem;color:#885521}
.faq-section{max-width:800px}
.faq-section h1,.faq-section h2,.faq-page-link{text-align:center}
.faq-section h2{margin-bottom:clamp(1.25rem,3vw,2rem)}
.faq-page-link{display:table;margin:1.25rem auto 0}
.faq-list details{border-bottom:1px solid var(--line)}
.faq-list details:first-child{border-top:1px solid var(--line)}
.faq-list summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;min-height:61px;gap:1rem;font-weight:750}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary span{display:grid;place-items:center;width:1.75rem;aspect-ratio:1;border-radius:50%;background:var(--lilac);color:var(--purple);flex:none}
.faq-list summary span::before{content:'+'}
.faq-list details[open] summary span::before{content:'−'}
.faq-list details p{padding:0 2rem 1.15rem 0}
.support-band{background:var(--blush);border-block:1px solid #f2d6cc}
.support-content{display:flex;justify-content:center;align-items:center;gap:1.4rem}
.support-content h2{font-size:clamp(1.7rem,4vw,2.6rem)}
.support-content .support-icon{background:#ffcbb9;color:var(--coral);width:4rem;height:4rem;flex:none}
.support-content p,.info-page > p,.info-page article p{margin-top:.6rem}
.support-content .button,.info-page > .button{margin-top:1rem}
.muted{font-size:.92rem}
.site-footer{padding:2.45rem 0 1.2rem}
.footer-inner{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;padding-bottom:1.6rem}
.footer-inner p{margin-top:.55rem}
.site-footer nav{display:grid;grid-template-columns:repeat(2,1fr);gap:.4rem 1rem}
.site-footer nav a{text-decoration:none;font-weight:620}
.footer-bottom{border-top:1px solid var(--line);padding-top:1rem;display:flex;justify-content:space-between;gap:1.1rem;color:var(--body);font-size:.86rem}
.info-page{max-width:900px;min-height:53vh}
.info-page h1{font-size:clamp(2.5rem,7vw,4.55rem);margin:.8rem 0 1.2rem}
.info-page article{margin-top:1.7rem}
.info-page article h2{font-size:1.48rem}
.contact-form{display:grid;grid-template-columns:minmax(0,1fr);max-width:38rem;gap:1rem;margin-top:1.5rem;padding:1.2rem;background:var(--card);border:1px solid var(--line);border-radius:1rem}
.contact-form label{display:block;font-weight:700;margin-bottom:.35rem}
.contact-form input:not([type=hidden]),.contact-form textarea{width:100%;padding:.55rem .65rem;border:1px solid #d8cadb;border-radius:.5rem;background:white}
#hcaptcha-status{font-size:.9rem}
#hcaptcha-widget:not(:empty){margin-bottom:.5rem}
#hcaptcha-retry{margin-top:.45rem}
.contact-form .button:disabled{opacity:.6;cursor:not-allowed;transform:none}
.errorlist{color:#8e2522;padding-inline-start:1.15rem;margin:.2rem 0}
.form-notice{padding:.7rem .85rem;border-radius:.5rem;background:var(--mint)}
dialog{position:relative;width:min(calc(100% - 2rem),420px);text-align:center;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:1.4rem;padding:1.65rem}
dialog::backdrop{background:#291a337d}
dialog h2{font-size:1.8rem;margin:.7rem 0}
dialog .support-icon{margin:auto}
dialog .button{margin:1rem 0 .75rem}
.dialog-close{position:absolute;right:.65rem;top:.55rem;width:2.2rem;height:2.2rem;border:0;background:var(--lilac);border-radius:50%;font-size:1.3rem}
@media (max-width:900px){
 .format > span{grid-template-columns:1fr;justify-items:center;text-align:center}
 .format small{grid-column:1}
 .format .icon{width:1rem;height:1rem}
}
@media (max-width:767px), (hover:none) and (pointer:coarse){
 .shell{width:calc(100% - 32px)}
 .header-inner{min-height:64px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0 .55rem}
 .header-inner > .brand{justify-self:start}
 .header-inner > .brand,.header-actions{margin-block:10px}
 .main-nav{grid-column:1 / -1;display:grid;gap:0;margin-bottom:.65rem;padding:.25rem .45rem;background:var(--card);border:1px solid var(--line);border-radius:.85rem}
 .main-nav a{display:flex;align-items:center;min-height:46px;padding:.5rem .65rem;border-radius:.5rem}
 .main-nav a:hover{background:var(--lilac)}
 .main-nav .support-link{border:0}
 .brand{font-size:1.05rem;gap:.39rem}
 .brand img{width:32px;height:32px}
 .format > span{grid-template-columns:1.12rem 1fr;justify-items:start;text-align:left;min-height:60px}
 .format small{grid-column:2}
 .steps,.format-explain{grid-template-columns:1fr;gap:.7rem}
 .footer-inner{grid-template-columns:1fr;gap:1rem}
 .footer-bottom{flex-direction:column;gap:.4rem}
}
@media (max-width:385px){
 .format > span{grid-template-columns:1fr;justify-items:center;text-align:center}
 .format small{grid-column:1}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
@media (max-width:340px){
 .brand{font-size:.94rem}
 .brand img{width:27px;height:27px}
}

.header-actions{display:flex;align-items:center;gap:.5rem;flex:none}
.theme-toggle,.menu-toggle{min-height:44px;border:1px solid #ddc9d0;background:transparent}
.theme-toggle{display:grid;place-items:center;width:44px;padding:0;border-radius:50%}
.menu-toggle{display:inline-flex;align-items:center;gap:.4rem;padding:0 .65rem;border-radius:.7rem;font-weight:720}
.theme-toggle:hover,.menu-toggle:hover,.menu-toggle[aria-expanded="true"]{background:var(--lilac)}
.theme-toggle svg,.menu-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .sun,[data-theme="dark"] .theme-toggle .moon{display:none}
[data-theme="dark"] .theme-toggle .sun{display:block}
#how{padding-bottom:clamp(1.65rem,4vw,3.6rem)}
.guide{padding-bottom:clamp(2.7rem,6vw,5.8rem)}
.guide-card{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:1.2rem;max-width:960px;margin-inline:auto;padding:clamp(1.15rem,3vw,2.15rem);background:var(--card);border:1px solid var(--line);border-radius:1.4rem}
.guide-card h2{font-size:clamp(1.55rem,3vw,2.4rem);margin-bottom:.7rem}
.guide-card p{max-width:70ch;margin-bottom:.7rem}
.guide-icon{display:grid;place-items:center;width:3rem;height:3rem;border-radius:.9rem;background:var(--lilac);color:var(--purple);transform:rotate(-8deg)}
.guide-icon .icon{width:1.55rem;height:1.55rem}
#converter{scroll-margin-top:1rem}
[data-theme="dark"]{color-scheme:dark;--paper:#211826;--card:#2a2030;--ink:#fff5fc;--body:#ead8e7;--purple:#dab3ff;--line:#503b54;--coral:#ff927e;--blush:#462829;--lilac:#422d51;--mint:#263e35;--yellow:#473720}
[data-theme="dark"] .hero{background:radial-gradient(ellipse at 8% 92%,#48262f 0%,transparent 53%),radial-gradient(ellipse at 96% 12%,#3b244b 0%,transparent 54%),var(--paper);border-color:var(--line)}
[data-theme="dark"] .theme-toggle,[data-theme="dark"] .menu-toggle,[data-theme="dark"] .support-link{border-color:#705570}
[data-theme="dark"] .converter{border-color:#604859;box-shadow:0 5px 0 #533444,0 14px 30px #0f071b26}
[data-theme="dark"] .source-button[aria-pressed="true"],[data-theme="dark"] .url-field button,[data-theme="dark"] #source-file::file-selector-button{background:var(--lilac);color:var(--purple)}
[data-theme="dark"] .url-field,[data-theme="dark"] .format > span,[data-theme="dark"] .quality select,[data-theme="dark"] .contact-form input:not([type=hidden]),[data-theme="dark"] .contact-form textarea{background:#211926;border-color:#6c526b}
[data-theme="dark"] .url-field input::placeholder{color:#cdb8cd}
[data-theme="dark"] #source-file{background:#272033}
[data-theme="dark"] .format-flac{--tone-ink:#dab3ff}
[data-theme="dark"] .format-mp3{--tone-ink:#ffad9e}
[data-theme="dark"] .format-mp4{--tone-ink:#a7dfbe}
[data-theme="dark"] .format:hover > span,[data-theme="dark"] .format input:checked + span{background:var(--tone);border-color:var(--tone-ink);color:var(--tone-ink)}
[data-theme="dark"] .primary{background:var(--coral);color:#2f1620}
[data-theme="dark"] .primary:hover{background:#ffb19f}
[data-theme="dark"] .formats-section{background:#2a2034;border-color:var(--line)}
[data-theme="dark"] .format-explain article,[data-theme="dark"] .support-band{border-color:var(--line)}
[data-theme="dark"] .audio-note{background:var(--yellow)}
[data-theme="dark"] .audio-note span{color:#ffcb78}
[data-theme="dark"] .support-content .support-icon{background:#5b353b}
[data-theme="dark"] .form-error{background:#4f2b31;color:#ffd6cd}
[data-theme="dark"] .errorlist{color:#ffb4aa}
[data-theme="dark"] .skip{background:var(--card)}
@media(max-width:420px){
 .header-actions{gap:.35rem}
 .guide-card{gap:.7rem}
 .guide-icon{width:2.1rem;height:2.1rem;border-radius:.65rem}
 .guide-icon .icon{width:1.18rem;height:1.18rem}
}

.hero-support{display:flex;align-items:center;gap:.75rem;margin-top:1.15rem;padding:.65rem .7rem;border:1px solid #e2ad9b;border-radius:.9rem;background:#fff1e7}
.hero-support-icon{display:grid;place-items:center;width:2.1rem;height:2.1rem;flex:none;border-radius:.55rem;background:#ffded0;color:var(--coral)}
.hero-support-icon .icon{width:1rem;height:1rem}
.hero-support p{font-weight:660;line-height:1.25}
.hero-support-button{display:inline-flex;align-items:center;flex:none;gap:.32rem;min-height:44px;padding:.35rem .72rem;margin-left:auto;border:1px solid transparent;border-radius:.6rem;background:var(--coral);color:white;font-weight:780;font-size:.9rem;text-decoration:none}
.hero-support-button:hover{background:#a42521}
.hero-support + .converter{margin-top:.95rem}
[data-theme="dark"] .hero-support{background:#41282e;border-color:#946166}
[data-theme="dark"] .hero-support-icon{background:#623b3e}
[data-theme="dark"] .hero-support-button{color:#2f1620}
[data-theme="dark"] .hero-support-button:hover{background:#ffb19f}
@media(max-width:420px){
 .hero-support{gap:.43rem;padding:.4rem}
 .hero-support p,.hero-support-button{font-size:.81rem}
 .hero-support-button{padding:.32rem .44rem}
 .hero-support-icon{width:1.65rem;height:1.65rem}
}
