@import url("./voice-welcome.css");
:root{color-scheme:light;--paper:#f7f7f0;--ink:#183025;--green:#1e4738;--muted:#485f52;--line:#d4e0d7;--panel:#fff;--sage:#ecf3ed;--gold:#f2e6bc;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--ink);line-height:1.55}
a{color:var(--green);text-underline-offset:3px}
button,input{font:inherit}
[hidden]{display:none!important}
:focus-visible{outline:3px solid #ad6f19;outline-offset:3px}
.site-header{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1.05rem max(1.1rem,calc((100vw - 70rem)/2));background:#18362b;color:#fff}
.site-header a{color:#fff}
.brand{font-weight:750;text-decoration:none;white-space:nowrap}
.brand span{font-weight:400;color:#d7e7db;margin-left:.5rem}
.site-header nav{display:flex;align-items:center;gap:1.1rem}
.account{padding:.55rem .8rem;border:1px solid #99bcaa;border-radius:9px;text-decoration:none;white-space:nowrap}
main{max-width:61rem;margin:0 auto;padding:2.6rem 1.2rem 1.5rem}
.lead{max-width:46rem;margin-bottom:1.8rem}
.lead .label{font-size:.87rem;font-weight:720;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.lead h1{font-family:Georgia,serif;font-weight:500;font-size:clamp(2.5rem,5vw,4rem);line-height:1.05;letter-spacing:-.03em;margin:.45rem 0 .9rem}
.lead>p:last-child{font-size:1.12rem;color:var(--muted)}
.guide{border:1px solid var(--line);border-radius:20px;overflow:hidden;background:var(--panel);box-shadow:0 12px 36px #18362b10}
.guide-header{display:flex;align-items:center;gap:.75rem;padding:.85rem clamp(.9rem,3vw,1.65rem);background:var(--sage);border-bottom:1px solid var(--line)}
.guide-header h2{font-size:1.2rem;margin:0;flex:1}
.mark{display:flex;align-items:center;gap:3px;width:28px;height:23px}
.mark i{width:3px;height:7px;border-radius:3px;background:#35765d}
.mark i:nth-child(2),.mark i:nth-child(4){height:13px}
.mark i:nth-child(3){height:20px}
body[data-voice="active"] .mark i{animation:voice-wave .75s ease-in-out infinite alternate}
body[data-voice="active"] .mark i:nth-child(even){animation-delay:.25s}
@keyframes voice-wave{from{transform:scaleY(.6)}to{transform:scaleY(1.15)}}
@media(prefers-reduced-motion:reduce){.mark i{animation:none!important}}
.guide-body{padding:1.3rem clamp(.9rem,3vw,1.65rem) 1.6rem}
form label{display:block;font-weight:700;margin-bottom:.45rem}
.question-row,.topics,.actions,.sample-row{display:flex;flex-wrap:wrap;align-items:center;gap:.55rem}
input{min-width:0;flex:1 1 13rem;border:1px solid #9caf9f;padding:.65rem .75rem;border-radius:9px;color:var(--ink);background:#fff}
.primary,.quiet,.topics button{min-height:42px;border-radius:8px;border:1px solid var(--line);padding:.47rem .76rem;font-weight:650;cursor:pointer}
.primary{color:#fff;background:var(--green);border-color:var(--green)}
.quiet,.topics button{color:var(--green);background:white}
.quiet:hover,.topics button:hover,.topics button[aria-pressed="true"]{background:var(--sage)}
.microcopy,.status{color:var(--muted);font-size:.88rem;margin:.45rem 0 .8rem}
.status:empty{display:none}
.topics{margin-top:1rem}
.topics button{font-size:.9rem;min-height:40px}
.answer{margin-top:1.25rem;border:1px solid var(--line);border-left:4px solid #4c7a62;border-radius:12px;padding:1rem;background:#f9fbf8}
.answer-top{display:flex;align-items:center;justify-content:space-between;gap:.8rem}
.answer h3{margin:0;font-size:1.17rem}
.answer p{margin:.45rem 0 .75rem}
.actions{column-gap:1.05rem}
.actions a{font-weight:700}
.samples{margin:1.2rem 0;padding:1rem 1.2rem;background:#eeeedd;border-radius:12px}
.samples summary{font-weight:700;cursor:pointer}
.sample-row+.sample-row{margin-top:.65rem}
.sample-row span{min-width:10rem}
.sample-row audio{max-width:100%;height:35px}
footer{display:flex;justify-content:center;flex-wrap:wrap;gap:1.05rem;padding:1.35rem}
@media(max-width:620px){.site-header nav>a:first-child,.brand span{display:none}main{padding-top:1.65rem}.lead{margin-bottom:1.25rem}.guide-header h2{font-size:1.05rem}}
