:root {
  --linen: #FFF9F2; --sand: #E9DDC7; --taupe: #9E8569; --espresso: #4A3F35;
  --rose: #B76E79; --deep-rose: #8E4F5A; --line: #DCCFB8;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--linen); color: var(--espresso); font: 400 17px/1.6 'Jost', system-ui, sans-serif;
       min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--deep-rose); }
.top { text-align: center; padding: 22px 16px 0; }
.top img { width: 92px; height: auto; }
main { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 8px 20px 40px; }
.foot { text-align: center; padding: 28px 16px 36px; font-size: 13px; color: var(--taupe); }
.foot p { margin: 4px 0; }
.foot a { color: var(--taupe); }
.tag { font-family: 'Fraunces', serif; font-style: italic; color: var(--deep-rose); font-size: 17px; }
h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; line-height: 1.1; margin: 0 0 12px; }
h1 { font-size: clamp(34px, 8vw, 50px); }
h2 { font-size: clamp(26px, 6vw, 34px); }
h3 { font-size: 22px; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--taupe); margin: 0 0 10px; }
.lead { font-size: 19px; }
.muted { color: var(--taupe); font-size: 14px; }
.panel { background: var(--sand); border-radius: 10px; padding: 18px 20px; margin: 20px 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 26px;
       background: var(--deep-rose); color: var(--linen); border: 0; border-radius: 8px; font: 500 16px 'Jost', sans-serif;
       letter-spacing: .04em; cursor: pointer; text-decoration: none; transition: transform .12s ease, background .2s; }
.btn:hover { background: #7c4450; }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn.ghost { background: transparent; color: var(--espresso); border: 1px solid var(--line); }
.btn.block { width: 100%; }
.steps { display: grid; gap: 10px; margin: 22px 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 14px; align-items: baseline; }
.steps li::before { content: counter(s, decimal-leading-zero); font: 600 22px 'Cormorant Garamond', serif; color: var(--taupe); min-width: 28px; }

/* question flow */
.progress { height: 4px; background: var(--sand); border-radius: 2px; overflow: hidden; margin: 6px 0 24px; }
.progress div { height: 100%; background: var(--taupe); transition: width .35s ease; }
.qhead { display: flex; justify-content: space-between; align-items: baseline; }
.q { animation: in .35s ease; }
@keyframes in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.q h2 { font-size: clamp(25px, 6vw, 32px); margin-bottom: 22px; }
.opts { display: grid; gap: 10px; }
.opt { width: 100%; text-align: left; min-height: 54px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 10px;
       background: #fff; color: var(--espresso); font: 400 16px 'Jost', sans-serif; cursor: pointer; transition: all .15s; }
.opt:hover { border-color: var(--taupe); }
.opt.on { background: var(--espresso); color: var(--linen); border-color: var(--espresso); }
.opt.skip { background: transparent; border-style: dashed; color: var(--taupe); }
.navrow { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.link { background: none; border: 0; color: var(--taupe); font: 500 14px 'Jost', sans-serif; letter-spacing: .06em; cursor: pointer; padding: 8px 0; }

/* forms */
label { display: block; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--taupe); margin: 16px 0 6px; }
input[type=text], input[type=email] { width: 100%; height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px;
       background: #fff; font: 400 17px 'Jost', sans-serif; color: var(--espresso); }
input:focus { outline: 2px solid var(--taupe); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 18px 0; text-transform: none; letter-spacing: 0; color: var(--espresso); font-weight: 400; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--deep-rose); }
.err { color: #9b2c2c; font-size: 14px; margin: 10px 0 0; min-height: 1em; }

/* results */
.score { text-align: center; margin: 10px 0 28px; }
.score .big { font: 600 clamp(54px, 15vw, 84px)/1 'Cormorant Garamond', serif; }
.legend { display: flex; gap: 18px; justify-content: center; font-size: 14px; margin: 6px 0 18px; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: -1px; margin-right: 6px; }
.d1 { background: var(--espresso); } .d2 { background: var(--rose); }
.area { padding: 14px 0; border-top: 1px solid var(--line); }
.area .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.area .name { font-weight: 500; }
.area .pct { font: 600 22px 'Cormorant Garamond', serif; }
.area .sync { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.track { position: relative; height: 8px; background: var(--sand); border-radius: 4px; margin: 10px 0 2px; }
.track .m { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; transform: translate(-50%, -50%); border: 2px solid var(--linen); }
.track .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--taupe); border-radius: 4px; }
.ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--taupe); }
.gap { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin: 14px 0; }
.gap .stmt { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 21px; line-height: 1.25; margin: 4px 0 10px; }
.ask { border-left: 3px solid var(--rose); padding-left: 14px; margin-top: 12px; }
.ask .eyebrow { color: var(--deep-rose); margin-bottom: 4px; }
.support { border: 1px solid var(--rose); background: #fff; border-radius: 12px; padding: 18px 20px; margin: 20px 0; }
.center { text-align: center; }
.offer { background: var(--espresso); color: var(--linen); border-radius: 14px; padding: 26px 24px; margin: 30px 0 10px; }
.offer h2 { color: var(--linen); }
.offer .eyebrow { color: var(--sand); }
.offer .btn { background: var(--linen); color: var(--deep-rose); }
.offer ul { padding-left: 18px; margin: 10px 0 18px; }
.spin { width: 28px; height: 28px; border: 3px solid var(--sand); border-top-color: var(--taupe); border-radius: 50%; animation: r 1s linear infinite; margin: 40px auto; }
@keyframes r { to { transform: rotate(360deg); } }
