/* Where Should I Live? — v2 visual direction (Jess, 2026-07-06): clean & neutral,
   16personalities-style — white space, instruction steps, straight-to-quiz, dot scale.
   Instrument Serif stays as the trust anchor; decoration removed. */

:root {
  --bg: #FDFDFC;
  --ink: #2A2722;
  --muted: #8A857C;
  --line: #E8E5DF;
  --accent: #B3572D;      /* agree side / brand accent */
  --cool: #9A958C;        /* disagree side */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--ink); font-family: "DM Sans", system-ui, sans-serif; line-height: 1.55; }
main { max-width: 620px; margin: 0 auto; padding: 3.5rem 1.25rem 5rem; }
h1, h2, h3 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -0.01em; }
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: .3rem; }
h2 { font-size: 1.55rem; margin: 2rem 0 .8rem; }
h3 { font-size: 1.25rem; margin-bottom: .4rem; }
p { margin-bottom: .7rem; }
.sub { color: var(--muted); font-size: 1rem; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--muted); margin-bottom: .3rem; }
.hint { display: block; font-size: .78rem; color: var(--muted); font-weight: 400; }
.honest { font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: .9rem; margin-top: 2.5rem; }
.prototype-note { background: #F6F5F2; border: 1px dashed var(--line); border-radius: 10px; padding: .8rem 1rem; font-size: .88rem; margin: 1rem 0; }

/* intro + steps (16P-style) */
.intro { text-align: center; margin-bottom: 2.5rem; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.8rem 0 1.2rem; text-align: left; }
.steps li { display: flex; flex-direction: column; gap: .15rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1rem; font-size: .82rem; color: var(--muted); }
.steps li strong { color: var(--ink); font-size: .95rem; }
.step-n { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .78rem; margin-bottom: .35rem; }
.alt-path { font-size: .85rem; color: var(--muted); }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* buttons */
.btn { font: inherit; cursor: pointer; border-radius: 12px; padding: .85rem 1.4rem; border: 1px solid var(--line); background: #fff; transition: transform .06s ease, box-shadow .12s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 3px 14px rgba(42,39,34,.07); }
.btn.primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn.big { width: 100%; padding: 1.05rem; font-size: 1.05rem; }
.linklike { background: none; border: none; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; margin-top: 1.4rem; }
.linklike.inline { margin: 0; color: var(--accent); }

/* quiz */
.quiz { text-align: center; }
.progress { height: 4px; background: var(--line); border-radius: 2px; margin-bottom: 1.6rem; }
.progress .bar { height: 100%; background: var(--accent); border-radius: 2px; transition: width .25s ease; }
.dimlabel { text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; color: var(--muted); margin-bottom: .6rem; }
.quiz h2 { font-size: 1.7rem; min-height: 4rem; margin-top: 0; }

/* dot scale (16P-style) */
.scale { display: flex; align-items: center; justify-content: center; gap: .9rem; margin: 1.8rem 0 .6rem; }
.scale .end { font-size: .85rem; color: var(--cool); }
.scale .end.agree { color: var(--accent); }
.dot { border-radius: 50%; background: #fff; cursor: pointer; transition: transform .08s ease, background .12s ease; }
.dot:hover { transform: scale(1.12); }
.d1 { width: 44px; height: 44px; border: 2.5px solid var(--cool); }
.d2 { width: 36px; height: 36px; border: 2px solid var(--cool); }
.d3 { width: 28px; height: 28px; border: 2px solid var(--line); }
.d4 { width: 36px; height: 36px; border: 2px solid var(--accent); }
.d5 { width: 44px; height: 44px; border: 2.5px solid var(--accent); }
.d1:hover, .d2:hover { background: var(--cool); }
.d3:hover { background: var(--line); }
.d4:hover, .d5:hover { background: var(--accent); }

/* sliders */
.sliders h2 { margin-top: 0; }
.slider-row { margin: 1.5rem 0; }
.slider-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.slider-head .blurb { font-size: .78rem; color: var(--muted); text-align: right; }
.slider-ends { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin: .3rem 0 .1rem; }
input[type="range"] { width: 100%; }
.live-list { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; margin: 1.5rem 0; }
.live-list ol { list-style: none; counter-reset: n; }
.live-list li { counter-increment: n; display: flex; justify-content: space-between; padding: .3rem 0; border-bottom: 1px dotted var(--line); }
.live-list li::before { content: counter(n) "."; color: var(--muted); margin-right: .6rem; min-width: 1.4rem; display: inline-block; }
.live-list li .flag-name { flex: 1; }

/* results */
.archetype-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem 1.7rem; box-shadow: 0 4px 24px rgba(42,39,34,.04); }
.archetype-card h1 { font-size: 2.2rem; }
.tagline { font-style: italic; color: var(--muted); margin-bottom: .8rem; }
.country-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .9rem 1.1rem; margin-bottom: .7rem; }
.cc-head { display: flex; align-items: baseline; gap: .7rem; }
.rank { font-family: "Instrument Serif", Georgia, serif; color: var(--accent); min-width: 2.2rem; }
.fit { margin-left: auto; color: var(--muted); font-size: .9rem; }
.fit.big { color: var(--ink); font-weight: 600; }
.closest { font-size: .82rem; color: var(--muted); margin: .25rem 0 0 2.9rem; }
.chart { margin: .9rem 0 .2rem 2.9rem; }
.chart-key { font-size: .75rem; color: var(--muted); margin-bottom: .35rem; }
.chart-row { display: flex; align-items: center; gap: .6rem; margin-bottom: .3rem; }
.chart-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; min-width: 6.5rem; }
.chart-bars { flex: 1; }
.chart-bar { height: 6px; border-radius: 3px; margin: 2px 0; }
.locked .blurred { filter: blur(1px); color: var(--muted); letter-spacing: .1em; }
.lock { font-size: .85rem; }
.paywall { border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; margin-top: 2rem; background: #fff; }
.paywall .hook { font-size: .9rem; color: var(--accent); margin: .8rem 0; }
.report p { font-size: 1.02rem; margin-bottom: .9rem; }
.avoid { border-top: 1px solid var(--line); margin-top: 1.6rem; padding-top: 1.2rem; color: var(--muted); }
