:root {
  --paper: #f6f1e7;
  --card: #fffdf8;
  --ink: #1d1a16;
  --muted: #6b6257;
  --line: #e4dccd;
  --tomato: #c94420; /* white text on it passes WCAG AA */
  --tomato-dk: #b93d1b;
  --r: 14px;
  --display: "Fraunces", Georgia, serif;
  --body: "Atkinson Hyperlegible", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.5 var(--body); }
button, input { font: inherit; color: inherit; }
q { quotes: "“" "”"; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; max-width: 1180px; margin: 0 auto; }
.brand { font: 700 22px/1 var(--display); display: flex; align-items: center; gap: 10px; letter-spacing: -0.01em; }
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--tomato); box-shadow: 0 0 0 4px #f3d3c6; }
.pay { font-weight: 700; color: var(--ink); text-decoration: none; border: 2px solid var(--ink); border-radius: 999px; padding: 6px 16px; }
.pay:hover { background: var(--ink); color: var(--paper); }
.pay.paid { display: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 8px 20px 40px; display: grid; gap: 28px; }
.wrap > * { min-width: 0; }
@media (min-width: 900px) { .wrap { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; padding-top: 28px; } }

h1 { font: 700 clamp(38px, 7vw, 64px)/1.02 var(--display); letter-spacing: -0.02em; margin: 6px 0 12px; }
h1 em { font-style: normal; color: var(--tomato); }
.lede { color: var(--muted); max-width: 34em; margin: 0 0 24px; }

.dial { position: relative; width: min(260px, 70vw); aspect-ratio: 1; margin: 8px auto 18px; border-radius: 50%;
  background: repeating-conic-gradient(from -1deg, var(--ink) 0 2deg, transparent 2deg 30deg); padding: 14px; }
.dial::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--paper); }
.mic { position: relative; width: 100%; height: 100%; border-radius: 50%; border: 0; cursor: pointer; background: var(--tomato); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: 18px;
  box-shadow: inset 0 -10px 0 var(--tomato-dk), 0 10px 24px -10px rgba(120, 40, 10, .55); transition: transform .12s; touch-action: manipulation; }
.mic svg { width: 56px; height: 56px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.mic svg rect { fill: #fff; stroke: none; }
.mic:active { transform: scale(.97); }
.mic.on { background: var(--ink); box-shadow: inset 0 -10px 0 #000, 0 0 0 10px rgba(226, 82, 43, .25); animation: pulse 1.2s infinite; }
@keyframes pulse { 50% { box-shadow: inset 0 -10px 0 #000, 0 0 0 20px rgba(226, 82, 43, .08); } }
@media (prefers-reduced-motion: reduce) { .mic.on { animation: none; } }

.heard { text-align: center; color: var(--muted); min-height: 3em; margin: 0 0 12px; overflow-wrap: anywhere; }
.heard.live { color: var(--ink); font-size: 20px; }
.nospeech { text-align: center; color: var(--tomato-dk); margin: 0 0 12px; }

.type { display: flex; gap: 8px; }
.type input { flex: 1; min-width: 0; padding: 14px 16px; border: 2px solid var(--line); border-radius: var(--r); background: var(--card); }
.type input:focus { border-color: var(--ink); outline: none; }

.btn { border: 0; border-radius: var(--r); background: var(--ink); color: var(--paper); font-weight: 700; padding: 12px 20px; cursor: pointer; min-height: 48px; }
.btn:hover { background: #000; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.big { background: var(--tomato); color: #fff; font-size: 20px; padding: 14px 32px; }

.preview { margin-top: 16px; background: var(--card); border: 2px solid var(--ink); border-radius: var(--r); padding: 16px 18px; }
.pv-head { margin: 0; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.pv-text { margin: 4px 0 8px; font: 700 24px/1.2 var(--display); overflow-wrap: anywhere; }
.pv-warn { margin: 0 0 8px; color: var(--tomato-dk); }
.pv-bar { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; margin-bottom: 12px; }
.pv-bar span { display: block; height: 100%; width: 0; background: var(--tomato); }
.pv-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.err { margin-top: 14px; background: #fbe4dc; border-radius: var(--r); padding: 12px 16px; color: #7a2510; overflow-wrap: anywhere; }

.list-head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 2px solid var(--ink); padding-bottom: 6px; }
h2 { font: 700 30px/1.1 var(--display); margin: 0; }
.count { color: var(--muted); }
.items { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
.item .kind { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--tomato-dk); }
.item .label { font-weight: 700; font-size: 19px; overflow-wrap: anywhere; }
.item .when { color: var(--muted); font-size: 15px; }
.item .left { grid-row: 1 / span 3; grid-column: 2; align-self: center; font: 700 34px/1 var(--display); font-variant-numeric: tabular-nums; text-align: right; }
.item .acts { grid-column: 1 / -1; display: flex; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.item .acts button { min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--ink); background: transparent; font-weight: 700; cursor: pointer; font-size: 15px; }
.item .acts button:hover { background: var(--ink); color: var(--paper); }
.item.missed .left { color: var(--tomato-dk); font-size: 20px; }
.empty { color: var(--muted); padding: 18px 0; margin: 0; }

.tcard { margin-top: 18px; }

.note { margin-top: 26px; background: #efe7d6; border-radius: var(--r); padding: 16px 20px; }
.note h3 { font: 700 18px/1.2 var(--display); margin: 0 0 6px; }
.note ul { margin: 0; padding-left: 18px; }
.note li { margin: 6px 0; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--tomato-dk); font-weight: 700; text-decoration: underline; cursor: pointer; min-height: 40px; }

.banner { position: fixed; inset: 0; z-index: 50; background: rgba(29, 26, 22, .72); display: flex; align-items: center; justify-content: center; padding: 20px; }
.banner[hidden] { display: none; }
.banner-in { background: var(--tomato); color: #fff; border-radius: 22px; padding: 28px 24px; width: min(520px, 100%); text-align: center; animation: ring .5s ease-in-out 3; }
@keyframes ring { 25% { transform: rotate(-2deg); } 75% { transform: rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .banner-in { animation: none; } }
.banner-kind { margin: 0; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: 14px; }
.banner-label { margin: 6px 0 20px; font: 700 clamp(28px, 7vw, 42px)/1.1 var(--display); overflow-wrap: anywhere; }
.banner-btns { display: flex; flex-direction: column; gap: 10px; }
.banner .btn.big { background: var(--ink); }
.banner .btn.ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; }

.foot { text-align: center; color: var(--muted); font-size: 14px; padding: 0 20px 28px; }
.topbtns { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.restore { background: none; border: 0; color: var(--ink); text-decoration: underline; cursor: pointer; min-height: 44px; padding: 0 4px; font-size: 15px; }
.pay { min-height: 44px; display: inline-flex; align-items: center; }
.faq { max-width: 1100px; margin: 0 auto; padding: 8px 20px 24px; }
.faq h2 { font: 700 26px/1.2 var(--display); margin: 0 0 8px; }
.faq h3 { font-size: 17px; margin: 16px 0 4px; }
.faq p { margin: 0; color: var(--muted); max-width: 46em; }
.foot.legal { font-size: 13px; max-width: 900px; margin: 0 auto; }
.foot a { color: inherit; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
