/* VENN — wine + cream with lime pop. Editorial hero (big type, grain, taste-tile wall), one-question-per-screen flow. */
:root {
  --bg: #f4eee6; --card: #fff; --ink: #1b1215; --muted: #6f6266; --faint: #9a8e91;
  --sep: #e6ddd3; --fill: #ece4da; --fill-2: #ddd1c4; --seg-on: #fff;
  --wine: #5a1126; --cream: #f6efe6; --lime: #d6f35c;
  --t-lime: #d6f35c; --t-pink: #ffb3cc; --t-lilac: #d4c3ff; --t-blue: #b5c9ff; --t-peach: #ffc49b; --t-yellow: #ffe27a; --t-mint: #b2ecd2;
  --sel-bg: var(--wine); --sel-ink: #fff6ec;
  --accent: #b0234a; --accent-ink: #8e1838; --accent-soft: #f7e0e6;
  --btn: var(--wine); --btn-ink: #fff6ec; --ok: #2e7d4f; --err: #d3243b;
  --nav: rgba(244, 238, 230, .85);
  --r: 18px;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", system-ui, sans-serif;
  --display: Anton, "Pretendard Variable", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #140c0f; --card: #21161a; --ink: #f6eee6; --muted: #b5a6aa; --faint: #857579;
    --sep: #3a2c31; --fill: #2c1f24; --fill-2: #45343a; --seg-on: #5a4a50;
    --sel-bg: var(--lime); --sel-ink: #1b1215;
    --accent: #ff8db4; --accent-ink: #ff9ebf; --accent-soft: #3a1a24;
    --btn: var(--lime); --btn-ink: #1b1215; --ok: #5fd08f; --err: #ff5c70;
    --nav: rgba(20, 12, 15, .8);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.5 var(--font); letter-spacing: -0.015em; word-break: keep-all; overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 20px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- landing ---------- */
.topbar { position: absolute; inset: 0 0 auto; z-index: 5; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--cream); text-decoration: none; }
.wordmark { font-family: var(--display); font-size: 24px; line-height: 1; letter-spacing: .06em; }
.venn-mark { width: 34px; height: 22px; flex: none; }
.venn-mark g { isolation: isolate; }
.venn-mark .v1 { fill: var(--lime); }
.venn-mark .v2 { fill: var(--t-pink); mix-blend-mode: multiply; }

.topbar-tag { font-size: 13px; font-weight: 700; color: var(--wine); background: var(--lime); padding: 5px 11px; border-radius: 999px; }

.hero { position: relative; overflow: hidden; background: var(--wine); color: var(--cream); padding: 92px 0 40px; isolation: isolate; }
.hero::before { /* film grain */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .16; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.kicker { margin: 0 0 14px; font-family: var(--display); font-size: 15px; letter-spacing: .08em; color: var(--lime); }
.hero h1 { margin: 0; font-size: clamp(56px, 17vw, 84px); line-height: .98; font-weight: 900; letter-spacing: -0.06em; }
.hero mark { position: relative; display: inline-block; padding: 0 .08em; margin: .04em 0; background: var(--lime); color: var(--wine); border-radius: .14em; transform: rotate(-2.5deg); }
.lede { margin: 20px 0 0; font-size: 18px; line-height: 1.5; color: rgba(246, 239, 230, .78); }

.wall { margin: 34px 0 26px; display: grid; gap: 10px; }
.wall-row { display: flex; gap: 10px; width: max-content; animation: slide 76s linear infinite; }
.wall-row:nth-child(2) { animation-direction: reverse; animation-duration: 88s; margin-left: -60px; }
@keyframes slide { to { transform: translateX(-50%); } }
.tile { flex: none; display: flex; flex-direction: column; justify-content: space-between; width: 104px; height: 128px; padding: 12px; border-radius: 16px; color: #1b1215; font-weight: 800; font-size: 15px; letter-spacing: -0.03em; }
.tile span { font-size: 34px; line-height: 1; }
.tile:nth-child(3n) { transform: rotate(1.5deg); }
.tile:nth-child(4n) { transform: rotate(-1.5deg); }
.g-act { background: var(--t-lime); } .g-culture { background: var(--t-lilac); } .g-food { background: var(--t-peach); } .g-home { background: var(--t-blue); }

.start { background: var(--cream); color: #1b1215; border-radius: 26px; padding: 22px 18px 18px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.start-q { margin: 0 4px 14px; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.start-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.start-btns button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 8px 16px; border: 0; border-radius: 18px; background: var(--wine); color: var(--cream); font-size: 18px; font-weight: 800; transition: transform .15s; }
.start-btns button span { font-size: 34px; line-height: 1; }
.start-btns button:hover { transform: translateY(-2px); }
.start-btns button:active { transform: scale(.97); }
.resume { display: block; width: 100%; margin-top: 10px; padding: 12px; border: 0; border-radius: 14px; background: var(--t-lime); color: #1b1215; font-weight: 700; font-size: 15px; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13px; font-weight: 600; color: #6f6266; }
.count { margin: 16px 0 0; text-align: center; font-size: 14px; font-weight: 600; color: rgba(246, 239, 230, .8); }

.sec { padding: 64px 0 0; }
.eyebrow { margin: 0 0 8px; font-family: var(--display); font-size: 14px; letter-spacing: .08em; color: var(--accent); }
.sec h2, .final h2 { margin: 0 0 22px; font-size: 32px; line-height: 1.2; font-weight: 900; letter-spacing: -0.05em; }
.how { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.how li { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--r); background: var(--card); }
.how .n { flex: none; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; color: var(--accent); }
.how h3 { margin: 2px 0 4px; font-size: 18px; letter-spacing: -0.03em; }
.how p { margin: 0; font-size: 15px; color: var(--muted); }

.phone { max-width: 360px; margin: 0 auto; padding: 18px 16px 20px; border-radius: 32px; background: var(--card); box-shadow: inset 0 0 0 1px var(--sep); }
.phone-from { margin: 0 0 12px; text-align: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.bubble { width: fit-content; max-width: 86%; padding: 12px 15px; border-radius: 20px 20px 20px 6px; background: var(--fill); font-size: 15px; line-height: 1.45; white-space: pre-line; }
.bubble.me { margin: 10px 0 0 auto; border-radius: 20px 20px 6px 20px; background: var(--wine); color: var(--cream); font-weight: 700; }
.caption { margin: 12px 0 0; text-align: center; font-size: 13px; color: var(--faint); }

.why { display: grid; gap: 10px; }
.why article { padding: 20px; border-radius: 22px; color: #1b1215; }
.why span { font-size: 30px; }
.why h3 { margin: 8px 0 4px; font-size: 20px; letter-spacing: -0.04em; }
.why p { margin: 0; font-size: 15px; opacity: .8; }
.c-lime { background: var(--t-lime); } .c-pink { background: var(--t-pink); } .c-lilac { background: var(--t-lilac); }

.faq { border-radius: var(--r); background: var(--card); overflow: hidden; }
.faq details + details { border-top: 1px solid var(--sep); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 18px; list-style: none; font-weight: 700; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; font-weight: 400; line-height: 1; color: var(--faint); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0; padding: 0 18px 18px; font-size: 15px; color: var(--muted); }

.final { margin: 64px 0 0; padding: 36px 24px; border-radius: 28px; background: var(--wine); color: var(--cream); text-align: center; }
.final h2 { margin-bottom: 22px; }
.cta { display: inline-flex; align-items: center; justify-content: center; height: 58px; padding: 0 30px; border: 0; border-radius: 18px; background: var(--lime); color: #1b1215; font-size: 18px; font-weight: 800; letter-spacing: -0.03em; transition: transform .15s; }
.cta:active { transform: scale(.97); }

.foot { padding: 40px 20px 120px; text-align: center; font-size: 13px; color: var(--faint); }
.foot p { margin: 6px 0 0; }

.sticky { position: fixed; inset: auto 0 0; z-index: 20; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--bg) 35%); animation: up .25s ease-out; }
.sticky .cta { display: flex; width: 100%; max-width: 520px; margin: 0 auto; box-shadow: 0 10px 30px rgba(90, 17, 38, .25); }
@keyframes up { from { transform: translateY(100%); } }

/* ---------- flow ---------- */
.flow { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; background: var(--bg); }
.flow-top { display: flex; align-items: center; gap: 12px; width: 100%; max-width: 560px; margin: 0 auto; padding: calc(10px + env(safe-area-inset-top)) 12px 10px; }
.icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 12px; background: transparent; }
.icon-btn svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: var(--fill); }
.bar { flex: 1; height: 8px; border-radius: 999px; background: var(--fill); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width .35s cubic-bezier(.3, .7, .3, 1); }
.counter { min-width: 46px; text-align: right; font-family: var(--display); font-size: 15px; color: var(--faint); letter-spacing: .03em; }
.counter b { font-weight: 400; color: var(--ink); }

.flow-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.q-wrap { max-width: 560px; margin: 0 auto; padding: 18px 20px 32px; animation: enter .32s cubic-bezier(.2, .8, .3, 1); }
.q-wrap.back { animation-name: enter-back; }
@keyframes enter { from { opacity: 0; transform: translateX(28px); } }
@keyframes enter-back { from { opacity: 0; transform: translateX(-28px); } }
.q { margin: 0; font-size: 28px; line-height: 1.3; font-weight: 800; letter-spacing: -0.045em; white-space: pre-line; }
.q-sub { margin: 8px 0 0; font-size: 16px; color: var(--muted); }
.q-body { margin-top: 26px; }

.flow-foot { width: 100%; max-width: 560px; margin: 0 auto; padding: 10px 20px calc(14px + env(safe-area-inset-bottom)); }
.next { display: flex; align-items: center; justify-content: center; width: 100%; height: 58px; border: 0; border-radius: 18px; background: var(--btn); color: var(--btn-ink); font-size: 18px; font-weight: 800; letter-spacing: -0.03em; transition: opacity .15s, transform .15s; }
.next:active { transform: scale(.98); }
.next:disabled { opacity: .3; cursor: default; transform: none; }

/* single-choice cards */
.opts { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 12px 16px 12px 12px; border: 0; border-radius: var(--r); background: var(--card); text-align: left; font-size: 18px; font-weight: 700; letter-spacing: -0.03em; box-shadow: inset 0 0 0 1.5px var(--sep); transition: transform .12s, background .15s, color .15s; }
.opt .emo { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; font-size: 26px; background: var(--tile, var(--fill)); }
.opt::after { content: ""; margin-left: auto; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--fill-2); flex: none; }
.opt:hover { transform: translateY(-1px); }
.opt:active { transform: scale(.98); }
.opt.on { background: var(--sel-bg); color: var(--sel-ink); box-shadow: none; }
.opt.on::after { box-shadow: none; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%231b1215' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.opt.on .emo { background: var(--lime); }

/* multi-choice chips */
.grp { margin: 22px 0 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
.grp:first-child { margin-top: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 10px 14px; border: 0; border-radius: 999px; background: var(--card); font-size: 16px; font-weight: 700; letter-spacing: -0.03em; box-shadow: inset 0 0 0 1.5px var(--sep); transition: transform .12s, background .15s; }
.chip:active { transform: scale(.95); }
.chip.on { color: #1b1215; box-shadow: none; }
.chip.on.g-act, .chip.on[data-g="act"] { background: var(--t-lime); }
.chip.on[data-g="culture"] { background: var(--t-lilac); }
.chip.on[data-g="food"] { background: var(--t-peach); }
.chip.on[data-g="home"] { background: var(--t-blue); }
.chip:disabled { opacity: .35; cursor: default; }

.dist-all { width: 100%; margin-bottom: 10px; padding: 13px; border: 0; border-radius: 14px; background: var(--fill); font-weight: 700; font-size: 16px; }
.dist-all.on { background: var(--sel-bg); color: var(--sel-ink); }
.districts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dist { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 11px 12px; border: 0; border-radius: 14px; background: var(--card); text-align: left; box-shadow: inset 0 0 0 1.5px var(--sep); transition: background .15s, transform .12s; }
.dist b { font-size: 17px; letter-spacing: -0.03em; }
.dist small { font-size: 12px; line-height: 1.3; color: var(--muted); }
.dist:active { transform: scale(.96); }
.dist.on { background: var(--sel-bg); color: var(--sel-ink); box-shadow: none; }
.dist.on small { color: inherit; opacity: .75; }

/* form fields inside the flow */
.fields { display: grid; gap: 22px; }
.field { display: block; }
.field > span, .field-lbl { display: block; margin: 0 0 8px; font-size: 15px; font-weight: 700; }
.field em { margin-left: 6px; font-style: normal; font-weight: 500; font-size: 13px; color: var(--faint); }
.field input:not([type=checkbox]), .field select, .field textarea, .box {
  width: 100%; height: 56px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--card);
  font-size: 18px; font-weight: 600; box-shadow: inset 0 0 0 1.5px var(--sep); outline: none; transition: box-shadow .15s;
}
.field textarea { height: auto; padding: 14px 16px; line-height: 1.5; resize: none; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); font-weight: 500; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%239a8e91' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 16px center no-repeat; cursor: pointer; }
.unit { position: relative; }
.unit i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 600; color: var(--faint); }
input[type=number] { -moz-appearance: textfield; }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.range i { font-style: normal; color: var(--faint); }
.hint { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.field.err > span, .field.err .field-lbl { color: var(--err); }
.field.err input, .field.err select, .field.err textarea { box-shadow: inset 0 0 0 2px var(--err); }
.field .ferr { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--err); }

.pills { display: flex; gap: 6px; padding: 4px; border-radius: 16px; background: var(--fill); }
.pills button { flex: 1; min-height: 46px; padding: 6px 8px; border: 0; border-radius: 12px; background: transparent; font-size: 16px; font-weight: 700; color: var(--muted); transition: background .15s, color .15s; }
.pills button.on { background: var(--card); color: var(--ink); box-shadow: 0 2px 8px rgba(27, 18, 21, .12); }
.pills.disabled { opacity: .35; pointer-events: none; }
.mbti { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mbti .pills { flex-direction: column; gap: 4px; }
.mbti .pills button { min-height: 40px; font-family: var(--display); font-weight: 400; font-size: 20px; letter-spacing: .04em; }
.textlink { margin-top: 10px; padding: 0; border: 0; background: none; font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--sep); font-weight: 700; cursor: pointer; }
.switch { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 51px; height: 31px; margin: 0; border-radius: 999px; background: var(--fill-2); cursor: pointer; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.15); transition: transform .2s; }
.switch:checked { background: var(--accent); }
.switch:checked::after { transform: translateX(20px); }

.prompts { display: grid; gap: 8px; }
.prompt { padding: 14px 16px; border: 0; border-radius: 14px; background: var(--card); text-align: left; font-size: 16px; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--sep); }
.prompt.on { background: var(--sel-bg); color: var(--sel-ink); box-shadow: none; }
.answer { margin-top: 16px; padding: 16px; border-radius: 18px; background: var(--t-yellow); color: #1b1215; }
.answer p { margin: 0 0 10px; font-weight: 800; font-size: 17px; }
.answer textarea { width: 100%; border: 0; border-radius: 12px; background: rgba(255,255,255,.7); padding: 12px 14px; font-size: 17px; font-weight: 600; line-height: 1.45; resize: none; outline: none; color: #1b1215; }
.answer textarea::placeholder { color: #8f7f6a; }
.answer .count-line { display: flex; justify-content: flex-end; margin-top: 6px; font-size: 13px; font-weight: 600; color: #6b5a44; }

.agree { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--sep); cursor: pointer; }
.agree input { flex: none; appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin: 0; border-radius: 8px; box-shadow: inset 0 0 0 2px var(--fill-2); cursor: pointer; }
.agree input:checked { box-shadow: none; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.agree span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.agree b { color: var(--ink); }
.agree a { font-weight: 700; color: var(--ink); }
.agree { flex-wrap: wrap; }
.agree span { flex: 1; }
.agree .ferr { flex-basis: 100%; margin: 0 0 0 36px; }
.agree.err { box-shadow: inset 0 0 0 2px var(--err); }
.more summary { font-size: 15px; font-weight: 700; color: var(--muted); cursor: pointer; list-style: none; }
.more summary::-webkit-details-marker { display: none; }
.more textarea { margin-top: 10px; }
#ts:not(:empty) { display: flex; justify-content: center; }
.flow-msg { margin: 0; min-height: 1.4em; text-align: center; font-size: 14px; font-weight: 600; color: var(--err); }

/* done + taste report */
.done-kicker { display: inline-block; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px; background: var(--lime); color: #1b1215; font-size: 14px; font-weight: 800; }
.report { position: relative; margin-top: 24px; padding: 22px 20px 20px; border-radius: 28px; color: #1b1215; overflow: hidden; isolation: isolate; }
.report::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .2; mix-blend-mode: multiply; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.th-out { background: linear-gradient(160deg, #d6f35c, #8fe0b8); }
.th-home { background: linear-gradient(160deg, #d4c3ff, #b5c9ff); }
.th-cafe { background: linear-gradient(160deg, #ffc49b, #ffe27a); }
.th-culture { background: linear-gradient(160deg, #ffb3cc, #d4c3ff); }
.th-friends { background: linear-gradient(160deg, #ffe27a, #ffb3cc); }
.r-top { display: flex; justify-content: space-between; margin: 0; font-family: var(--display); font-size: 13px; letter-spacing: .08em; }
.r-emoji { margin: 18px 0 6px; font-size: 64px; line-height: 1; }
.r-label { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 900; letter-spacing: -0.05em; }
.r-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 0; }
.r-tags span { padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.65); font-size: 14px; font-weight: 700; }
.r-chart { margin: 20px 0 0; }
.r-chart p { margin: 0 0 8px; font-size: 13px; font-weight: 800; }
.r-bar { display: flex; height: 16px; gap: 3px; }
.r-bar span { border-radius: 6px; }
.r-bar .g-act, .r-legend .g-act::before { background: #4f7a00; }
.r-bar .g-culture, .r-legend .g-culture::before { background: #6b3fd6; }
.r-bar .g-food, .r-legend .g-food::before { background: #d4580e; }
.r-bar .g-home, .r-legend .g-home::before { background: #2f5fd6; }
.r-legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 8px; font-size: 13px; font-weight: 700; }
.r-legend span::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 5px; border-radius: 3px; }
.r-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 18px 0 0; }
.r-facts div { padding: 10px; border-radius: 14px; background: rgba(255,255,255,.55); }
.r-facts dt { font-size: 12px; font-weight: 700; opacity: .7; }
.r-facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 800; }
.done-actions { display: grid; gap: 8px; margin-top: 20px; }
.ghost { height: 52px; border: 0; border-radius: 16px; background: var(--fill); font-weight: 700; font-size: 16px; }
.done-note { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 80; transform: translateX(-50%); padding: 12px 18px; border-radius: 14px; background: var(--ink); color: var(--bg); font-size: 15px; font-weight: 700; animation: up .2s ease-out; }

/* ---------- shared bits (admin, privacy) ---------- */
.nav { position: sticky; top: 0; z-index: 10; background: var(--nav); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--sep); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.brand .wordmark { font-size: 22px; }
.brand .venn-mark .v1 { fill: var(--wine); }
.brand .venn-mark .v2 { fill: var(--t-pink); }
.nav-cta { padding: 7px 14px; border-radius: 999px; background: var(--btn); color: var(--btn-ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 26px; border: 0; border-radius: 14px; background: var(--btn); color: var(--btn-ink); font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn:disabled { opacity: .4; cursor: default; }
.btn.block { display: flex; width: 100%; }
.card { background: var(--card); border-radius: var(--r); overflow: hidden; }
.row { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 54px; padding: 10px 16px; }
.row + .row::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; border-top: 1px solid var(--sep); }
.lbl { flex: none; font-weight: 600; }
.row > input { flex: 1; min-width: 0; padding: 6px 0; border: 0; background: transparent; text-align: right; outline: none; }
.seg { display: flex; gap: 2px; padding: 2px; border-radius: 10px; background: var(--fill); }
.seg label { position: relative; flex: 1; }
.seg input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.seg span { display: block; padding: 6px 8px; border-radius: 8px; text-align: center; font-size: 15px; font-weight: 600; white-space: nowrap; }
.seg input:checked + span { background: var(--seg-on); box-shadow: 0 2px 6px rgba(0,0,0,.1); }
.msg { min-height: 1.5em; margin: 12px 4px 0; font-size: 15px; text-align: center; color: var(--muted); }
.msg.err { color: var(--err); }
.msg.ok { color: var(--ok); }

.doc { padding: 40px 20px 0; }
.doc h1 { margin: 0 0 8px; font-size: 32px; letter-spacing: -0.04em; }
.doc .card { padding: 4px 20px 20px; margin-top: 20px; }
.doc h2 { margin: 20px 0 6px; font-size: 17px; }
.doc p, .doc li { font-size: 15px; color: var(--muted); }
.doc ul { padding-left: 20px; margin: 0; }

/* Keep the first question above the fold on phones. */
@media (max-width: 600px) {
  .hero { padding-top: 78px; }
  .hero h1 { font-size: clamp(50px, 14.5vw, 76px); }
  .lede { margin-top: 16px; font-size: 17px; }
  .wall { margin: 24px 0 18px; }
  .tile { width: 92px; height: 108px; padding: 10px; font-size: 14px; }
  .tile span { font-size: 30px; }
}
@media (max-width: 600px) and (max-height: 860px) {
  .wall-row:nth-child(2) { display: none; }
}
@media (min-width: 720px) {
  .why { grid-template-columns: repeat(3, 1fr); }
  .tile { width: 120px; height: 148px; }
}
