:root { --bg:#fbf6ef; --card:#fffdf9; --ink:#2a2420; --mute:#7a6f66; --line:#eadfd2; --acc:#e8835a; --acc2:#f4c9b4; --acc-ink:#fff; --bad:#b3361e; --soft:#f5ece1; }
@media (prefers-color-scheme: dark) { :root { --bg:#1b1715; --card:#241f1c; --ink:#f3ebe3; --mute:#b0a499; --line:#3a322d; --soft:#2d2622; --acc2:#5a3626; } }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font:17px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif; }
main { max-width: 640px; margin: 0 auto; padding: 18px 16px 60px; }
.top { display:flex; justify-content:space-between; align-items:center; margin-bottom: 36px; }
.logo { font-family: Georgia, "Times New Roman", serif; font-size: 19px; }
.logo b { display:inline-grid; place-items:center; width:30px; height:30px; border-radius:50%; background:var(--acc); color:#fff; margin-right:6px; font-weight:400; }
a { color: var(--acc); } .quiet { color: var(--mute); text-decoration:none; font-size:15px; }
h1 { font-family: Georgia, "Times New Roman", serif; font-weight:400; font-size: clamp(34px, 8vw, 50px); line-height:1.08; margin: 0 0 16px; letter-spacing:-.01em; }
h2 { font-family: Georgia, serif; font-weight:400; font-size: 24px; margin: 0 0 12px; }
h2.mt { margin-top: 22px; }
.lead { font-size: 19px; color: var(--mute); margin: 0 0 12px; } .lead.small { font-size:17px; margin-bottom: 26px; }
.card { background:var(--card); border:1px solid var(--line); border-radius:20px; padding:24px 20px; margin-bottom:18px; box-shadow: 0 8px 30px -18px rgba(120,70,40,.35); }
button { font:inherit; cursor:pointer; border-radius:12px; border:1px solid var(--line); background:var(--card); color:var(--ink); padding:11px 16px; }
button.primary { background:var(--acc); border-color:var(--acc); color:var(--acc-ink); font-weight:600; }
button.big { font-size: 19px; padding: 15px 26px; border-radius: 99px; }
button:disabled { opacity:.6; cursor:wait; }
.note { font-size:14px; color:var(--mute); margin: 10px 0 34px; }
.how { display:grid; gap:12px; }
.how div { display:flex; gap:12px; align-items:baseline; color:var(--mute); }
.how b { flex:none; display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:var(--acc2); color:var(--ink); font-weight:600; font-size:14px; }
input, textarea, select { width:100%; font:inherit; padding:13px 14px; border-radius:12px; border:1px solid var(--line); background:var(--bg); color:var(--ink); }
input:focus, textarea:focus { outline:2px solid var(--acc); outline-offset:1px; }
textarea { margin-top: 12px; resize: vertical; }
.row { display:flex; gap:10px; justify-content:space-between; margin-top:18px; flex-wrap:wrap; } .row.center { justify-content:center; }
.hint { color:var(--mute); margin: -4px 0 14px; font-size:15px; }
.chips { display:flex; flex-wrap:wrap; gap:8px; }
.chips button { border-radius:99px; padding:8px 14px; font-size:15px; }
.chips button.on, .opts button.on { background:var(--acc2); border-color:var(--acc); }
.opts { display:grid; gap:8px; } .opts.two { grid-template-columns: 1fr 1fr; }
.opts button { text-align:left; padding:13px 16px; } .opts small { color:var(--mute); margin-left:6px; }
.progress { height:4px; background:var(--soft); border-radius:4px; margin: -6px 0 22px; overflow:hidden; } .progress i { display:block; height:100%; background:var(--acc); transition: width .3s; }
.consent { display:flex; gap:10px; align-items:flex-start; font-size:14px; color:var(--mute); margin-top:14px; }
.consent input { width:20px; height:20px; flex:none; margin-top:2px; accent-color: var(--acc); }
.msg { min-height:1.4em; font-size:15px; margin-top:12px; color:var(--mute); } .msg.err { color:var(--bad); }
.hidden { display:none !important; }
#live { text-align:center; padding: 36px 20px; }
.ring { position:relative; width:96px; height:96px; margin: 0 auto 20px; display:grid; place-items:center; }
.ring b { font-size:40px; width:96px; height:96px; border-radius:50%; background:var(--acc2); display:grid; place-items:center; position:relative; z-index:1; }
.ring span { position:absolute; inset:0; border-radius:50%; border:2px solid var(--acc); opacity:0; }
.ring.on span { animation: pulse 1.6s ease-out infinite; } .ring.on span + span { animation-delay: .8s; }
@keyframes pulse { from { transform: scale(1); opacity:.7 } to { transform: scale(1.7); opacity:0 } }
@media (prefers-reduced-motion: reduce) { .ring.on span { animation: none; } }
.small-print { font-size:14px; color:var(--mute); margin-top: 28px; border-top:1px solid var(--line); padding-top:16px; }
table { width:100%; border-collapse:collapse; font-size:15px; }
td, th { text-align:left; padding:10px 6px; border-bottom:1px solid var(--line); vertical-align:top; } th { color:var(--mute); font-weight:500; }
.said { color:var(--mute); font-size:14px; } .you { margin-top:6px; }
label.f { display:block; font-size:14px; color:var(--mute); margin: 14px 0 6px; }
.grid2 { display:grid; grid-template-columns: 1fr 1fr; gap:10px; }
.stat { display:flex; gap:18px; flex-wrap:wrap; color:var(--mute); font-size:15px; } .stat b { color:var(--ink); font-size:20px; display:block; }
