/* Look shared by the front page and the person's page. */
:root {
  --ink: #121016; --panel: #1d1a24; --edge: #2e2a38; --text: #f4f1ea; --dim: #a39fb0;
  --lime: #d4f23a; --kind: #ff9ec4; --coach: #d4f23a; --blunt: #f4f1ea; --roast: #ff6a2b;
}
* { box-sizing: border-box; }
html { background: var(--ink); }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: "Bricolage Grotesque", system-ui, -apple-system, sans-serif; font-weight: 500;
  -webkit-font-smoothing: antialiased;
}
main { max-width: 480px; margin: 0 auto; padding: 20px 16px calc(40px + env(safe-area-inset-bottom)); }
header { display: flex; align-items: center; gap: 10px; }
header canvas { width: 44px; height: 44px; }
.brand { font-weight: 800; font-size: 26px; letter-spacing: -0.02em; }
h1 { font-size: clamp(34px, 10vw, 46px); line-height: 1; letter-spacing: -0.03em; font-weight: 800; margin: 28px 0 10px; text-wrap: balance; }
h1 em { font-style: normal; color: var(--lime); }
p.sub { color: var(--dim); font-size: 17px; line-height: 1.4; margin: 0 0 20px; }
h2 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--dim); font-weight: 800; margin: 26px 0 10px; }
button, input { font: inherit; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.steps li { background: var(--panel); border-radius: 16px; padding: 14px 16px; font-size: 16px; line-height: 1.35; display: flex; gap: 12px; }
.steps b { color: var(--lime); font-weight: 800; }
.link { background: none; border: 0; color: var(--dim); text-decoration: underline; padding: 12px 0; cursor: pointer; font-size: 15px; }
input[type=text], input[type=email] {
  width: 100%; background: var(--panel); border: 1.5px solid var(--edge); color: var(--text);
  border-radius: 14px; padding: 14px; font-size: 17px; min-height: 52px;
}
input:focus-visible, button:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.voices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.voices button {
  background: var(--panel); color: var(--text); border: 1.5px solid var(--edge); border-radius: 14px;
  padding: 14px 4px; font-weight: 800; font-size: 16px; cursor: pointer; min-height: 52px;
}
.voices button[aria-pressed=true] { background: var(--v); color: var(--ink); border-color: var(--v); }
.voices small { display: block; font-weight: 500; font-size: 11px; opacity: 0.75; margin-top: 2px; }
.note { color: var(--dim); font-size: 14px; line-height: 1.4; margin: 10px 0 0; min-height: 20px; }
.go {
  width: 100%; margin-top: 14px; background: var(--lime); color: var(--ink); border: 0; border-radius: 18px;
  padding: 18px; font-weight: 800; font-size: 19px; cursor: pointer; min-height: 60px;
}
.go:disabled { opacity: 0.45; cursor: default; }
.ghost { background: var(--panel); color: var(--text); border: 1.5px solid var(--edge); }
.err { color: var(--roast); font-size: 15px; margin: 12px 0 0; min-height: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  background: var(--panel); color: var(--text); border: 1.5px solid var(--edge); border-radius: 999px;
  padding: 12px 16px; font-weight: 800; font-size: 15px; cursor: pointer; min-height: 46px;
}
.box .chips button { background: var(--ink); }
.chips button[aria-pressed=true] { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.box { background: var(--panel); border: 1.5px solid var(--edge); border-radius: 22px; padding: 20px; margin-top: 16px; }
.box h3 { margin: 0 0 6px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.box p { margin: 0 0 12px; color: var(--dim); font-size: 15px; line-height: 1.4; }
.box ul { margin: 0 0 14px; padding-left: 20px; font-size: 15px; line-height: 1.45; }
.box li { margin: 6px 0; }
.box h2 { margin: 16px 0 8px; }
.deal { color: var(--text) !important; font-weight: 800; font-size: 20px !important; letter-spacing: -0.01em; }
.price { font-weight: 800; font-size: 24px !important; letter-spacing: -0.02em; color: var(--text) !important; }
.fine { font-size: 13px !important; margin: 12px 0 0 !important; }
.box a, footer a { color: var(--dim); }
.answers { display: grid; gap: 8px; }
.answers .go { margin-top: 0; font-size: 18px; min-height: 56px; padding: 14px; }
.said { display: flex; gap: 14px; align-items: center; }
.said canvas { width: 64px; height: 64px; flex: none; }
.said p { color: var(--text); font-weight: 800; font-size: 19px; line-height: 1.25; margin: 0; }
.score { display: flex; align-items: baseline; gap: 12px; }
.score strong { font-size: 84px; line-height: 0.9; font-weight: 800; letter-spacing: -0.04em; color: var(--lime); }
.score strong.empty { font-size: 34px; line-height: 1.1; letter-spacing: -0.02em; color: var(--dim); }
.score span { color: var(--dim); font-size: 15px; line-height: 1.3; }
.dots { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px 8px; margin-top: 16px; }
.dots div { text-align: center; font-size: 11px; color: var(--dim); }
.dots i { display: block; width: 100%; max-width: 34px; aspect-ratio: 1; margin: 0 auto 4px; border-radius: 50%; border: 2px solid var(--edge); }
.dots i.kept { background: var(--lime); border-color: var(--lime); }
.dots i.let_in { border-color: var(--roast); }
.dots i.none { border-color: var(--dim); }
.dots i.soon { border-style: dashed; border-color: var(--dim); opacity: 0.45; }
.dots i.excused { background: transparent; border-color: var(--dim); position: relative; }
.dots i.excused::after { content: ""; position: absolute; left: 22%; right: 22%; top: calc(50% - 1.5px); height: 3px; background: var(--dim); border-radius: 2px; }
.dots i.let_in { border-width: 3px; }
.key { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12px; color: var(--dim); margin-top: 12px; }
.key i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--edge); margin-right: 5px; vertical-align: -1px; }
.key i.kept { background: var(--lime); border-color: var(--lime); } .key i.let_in { border-color: var(--roast); } .key i.excused, .key i.none { border-color: var(--dim); } .key i.excused { background: var(--dim); }
footer { color: var(--dim); font-size: 13px; line-height: 1.5; margin-top: 30px; }
#card { display: none; }
[hidden] { display: none !important; }
h1.tight { margin-top: 18px; font-size: clamp(30px, 9vw, 42px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tick { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 15px; margin-top: 12px; min-height: 44px; }
.tick input { width: 22px; height: 22px; accent-color: var(--lime); }
.answers .go { background: var(--ink); color: var(--text); border: 1.5px solid var(--dim); }
.delta { color: var(--lime); font-weight: 800; font-size: 15px; margin: 8px 0 0 !important; }
.plan { color: var(--dim); font-size: 15px; margin: 6px 0 0; }
details.box > summary { font-weight: 800; font-size: 18px; cursor: pointer; list-style: none; min-height: 28px; }
details.box > summary::after { content: " +"; color: var(--dim); }
details.box[open] > summary::after { content: " –"; }
details.box[open] > summary { margin-bottom: 10px; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
.tag { font-size: 11px; font-weight: 800; letter-spacing: 0.08em; color: var(--dim); border: 1.5px solid var(--dim); border-radius: 6px; padding: 2px 6px; }
.chat { display: flex; flex-direction: column; gap: 8px; }
.b { max-width: 84%; margin: 0; padding: 12px 15px; border-radius: 20px; font-size: 17px; line-height: 1.35; overflow-wrap: anywhere; }
.b.judgy { align-self: flex-start; background: var(--panel); border-bottom-left-radius: 6px; }
.b.you { align-self: flex-end; background: var(--lime); color: var(--ink); border-bottom-right-radius: 6px; }
.b.wait { color: var(--dim); }
.help { border: 2px solid var(--text); border-radius: 18px; padding: 16px; margin-top: 12px; font-size: 16px; line-height: 1.45; }
.help strong { display: block; margin-bottom: 6px; }
.help a { color: var(--lime); font-weight: 800; }
.quick { margin-top: 14px; }
.quick h2 { margin: 0 0 8px; }
.talk { position: sticky; bottom: 0; display: flex; gap: 8px; padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--ink) 22%); margin-top: 8px; }
.talk input { flex: 1; min-width: 0; border-radius: 999px; padding-left: 18px; }
.talk button { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--lime); color: var(--ink); font-weight: 800; font-size: 22px; cursor: pointer; }
.talk button:disabled { opacity: 0.45; }
.bars { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; align-items: end; height: 84px; margin-top: 10px; }
.bars div { background: var(--lime); border-radius: 4px 4px 2px 2px; min-height: 4px; }
.bars div.none { background: var(--edge); }
.barlabels { display: grid; grid-template-columns: repeat(14, 1fr); gap: 4px; font-size: 10px; color: var(--dim); text-align: center; margin-top: 4px; }
.danger { background: none; border: 1.5px solid var(--roast); color: var(--roast); }
.rows { margin-top: 12px; display: grid; gap: 10px; }
.row { background: var(--ink); border-radius: 16px; padding: 12px 14px; }
.row p { color: var(--text); font-weight: 800; font-size: 16px; margin: 0 0 8px; }
.row .chips button { padding: 8px 14px; min-height: 40px; font-size: 14px; }
.past { color: var(--dim); font-size: 14px; margin: 0 !important; }
#willForm { margin-top: 14px; }
#willForm .go { margin-top: 10px; }
