/* Selfscope: warm paper, deep teal ink, one coral accent for the actions that matter. */
:root {
  --bg: #F7F2EA; --card: #FFFDF9; --ink: #1D2330; --muted: #5F6472; --line: #E6DED2;
  --teal: #1E5560; --teal-soft: #DCE9E7; --coral: #D9653F; --coral-dark: #B9502E; --gold: #D9A94E;
  --ok: #2F7A55; --warn: #A6452A;
  --radius: 18px; --shadow: 0 1px 2px rgba(29,35,48,.05), 0 8px 24px rgba(29,35,48,.06);
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--teal); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 12px; letter-spacing: -.01em; }
h1 { font-size: clamp(30px, 7vw, 46px); }
h2 { font-size: clamp(24px, 5vw, 32px); }
h3 { font-size: 20px; }
p { margin: 0 0 14px; }
.muted { color: var(--muted); }
.small { font-size: 14px; line-height: 1.45; }
.tiny { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.center { text-align: center; }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 20px; }
.wide { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; max-width: 980px; margin: 0 auto; }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -.01em; }
.brand svg { width: 28px; height: 28px; }
.top nav a { color: var(--ink); text-decoration: none; font-size: 15px; margin-left: 18px; }

/* Buttons */
.btn { appearance: none; border: 0; border-radius: 999px; padding: 16px 22px; font: 600 17px/1.2 var(--sans); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: transform .08s ease, background .15s ease, opacity .15s; width: 100%; min-height: 54px; }
.btn:active { transform: scale(.985); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 6px 16px rgba(217,101,63,.28); }
.btn-primary:hover { background: var(--coral-dark); }
.btn-dark { background: var(--teal); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.link { background: none; border: 0; color: var(--teal); font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }

/* Cards and lists */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.stack > * + * { margin-top: 12px; }
.choice { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: var(--card); border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; font: 500 17px/1.35 var(--sans); color: var(--ink); cursor: pointer; transition: border-color .12s, background .12s; }
.choice:hover { border-color: #CFC4B4; }
.choice.on { border-color: var(--teal); background: var(--teal-soft); }
.choice .box { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #BDB3A4; flex: none; display: grid; place-items: center; }
.choice.on .box { background: var(--teal); border-color: var(--teal); }
.choice.on .box::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px 12px; text-align: center; cursor: pointer; font: 600 18px var(--sans); color: var(--ink); transition: border-color .12s, transform .08s; }
.tile:hover { border-color: var(--teal); }
.tile:active { transform: scale(.98); }
.tile .ico { font-size: 34px; display: block; margin-bottom: 8px; }

/* Funnel */
.screen { padding: 8px 0 40px; animation: rise .28s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.progress { height: 6px; background: #EADFD0; border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--teal); border-radius: 99px; transition: width .25s ease; }
.qhead { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: var(--muted); margin: 14px 0 22px; }
.statement { font-family: var(--serif); font-size: clamp(23px, 5.6vw, 29px); line-height: 1.25; margin: 0 0 8px; }
.scale .choice { padding: 14px 18px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; font-weight: 700; color: var(--teal); margin-bottom: 10px; }
.hero-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: #EADFD0; margin: 18px 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.field { width: 100%; padding: 16px 16px; border: 1.5px solid var(--line); border-radius: 14px; font: 17px var(--sans); background: #fff; color: var(--ink); }
.field:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30,85,96,.15); }
.error { color: var(--warn); font-size: 14.5px; margin: 8px 0 0; }
.spinner { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps { list-style: none; padding: 0; margin: 24px 0; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: var(--muted); transition: color .2s; }
.steps li .dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; }
.steps li.now { color: var(--ink); }
.steps li.now .dot { border-color: var(--teal); border-top-color: transparent; animation: spin .9s linear infinite; }
.steps li.done { color: var(--ink); }
.steps li.done .dot { background: var(--teal); border-color: var(--teal); }
.steps li.done .dot::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translateY(-1px); }

/* Paywall */
.timerbar { position: sticky; top: 0; z-index: 5; background: var(--teal); color: #fff; text-align: center; padding: 10px 16px; font-size: 15px; font-weight: 600; }
.timerbar b { font-variant-numeric: tabular-nums; font-size: 17px; margin-left: 6px; }
.locked { position: relative; overflow: hidden; }
.locked .blur { filter: blur(7px); user-select: none; pointer-events: none; opacity: .75; }
.locked .lock { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; }
.locked .lock span { background: rgba(255,253,249,.92); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow); }
.ghostline { height: 12px; border-radius: 6px; background: #E8DFD2; margin: 9px 0; }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding: 7px 0 7px 30px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-soft); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 16px; width: 8px; height: 4px; border: 2px solid var(--teal); border-top: 0; border-right: 0; transform: rotate(-45deg); }
.price { border: 2px solid var(--teal); border-radius: var(--radius); padding: 18px; background: var(--card); }
.price .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.price .big { font-size: 30px; font-weight: 700; font-family: var(--sans); }
.price s { color: var(--muted); font-size: 17px; margin-right: 6px; }
.badge { display: inline-block; background: var(--gold); color: #3A2A07; font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; cursor: pointer; padding: 12px 0; }
.agree input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--teal); flex: none; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); font-size: 15.5px; }

/* Report */
.report-head { display: grid; gap: 18px; align-items: center; }
.report-head .art { border-radius: var(--radius); overflow: hidden; background: #EFE7DA; width: 62%; max-width: 260px; margin: 0 auto; }
.report-head .art img { width: 100%; height: auto; }
.typecode { font-family: var(--serif); overflow-wrap: anywhere; font-size: clamp(38px, 10vw, 60px); letter-spacing: .04em; line-height: 1; }
.bar { margin: 14px 0; }
.bar .lbl { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 6px; }
.bar .track { height: 10px; border-radius: 99px; background: #EDE5D9; overflow: hidden; }
.bar .track i { display: block; height: 100%; border-radius: 99px; background: var(--teal); }
.axis { margin: 18px 0; }
.axis .ends { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; color: var(--muted); margin-bottom: 7px; }
.axis .ends b { color: var(--ink); font-size: 13px; }
.axis .ends .on { color: var(--ink); font-weight: 700; }
.axis .track { height: 10px; border-radius: 99px; background: #EDE5D9; position: relative; overflow: hidden; }
.axis .track i { position: absolute; top: 0; bottom: 0; background: var(--teal); }
.axis .track u { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #CFC4B4; }
.section { margin: 26px 0; }
.section p { white-space: pre-line; }
.rows div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.rows div b { text-align: right; }

/* Account */
.tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 14px; }
.tabs a { white-space: nowrap; padding: 9px 14px; border-radius: 99px; text-decoration: none; color: var(--ink); font-size: 15px; border: 1px solid var(--line); background: var(--card); }
.tabs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.test { padding: 0; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.test img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.test div { padding: 14px 16px 16px; }
.test h3 { font-size: 17px; margin-bottom: 4px; }
@media (max-width: 420px) { .test p { display: none; } .test div { padding: 10px 12px 12px; } }
.pill { display: inline-block; font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--teal-soft); color: var(--teal); }
.pill.warn { background: #F6E0D6; color: var(--warn); }
.list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.notice { background: #FFF6E8; border: 1px solid #F0DDB8; border-radius: 14px; padding: 14px 16px; font-size: 15px; }

/* Landing */
.hero { padding-top: 24px; padding-bottom: 8px; }
.hero h1 { font-size: clamp(34px, 8vw, 56px); }
.split { display: grid; gap: 28px; align-items: center; }
@media (min-width: 820px) { .split { grid-template-columns: 1.1fr .9fr; } .report-head { grid-template-columns: 260px 1fr; } }
.how { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; }
.how li { counter-increment: s; position: relative; padding-left: 46px; }
.how li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 700; }
section.band { padding: 44px 0; }
section.band.alt { background: #F0E8DC; }

/* Legal pages */
.legal { padding: 10px 0 60px; }
.legal h1 { font-size: 34px; }
.legal h2 { font-size: 22px; margin-top: 30px; }
.legal p, .legal li { font-size: 16px; color: #2B3140; }

/* Footer and cookie banner */
footer { border-top: 1px solid var(--line); padding: 26px 20px 110px; font-size: 13.5px; color: var(--muted); }
footer .links a { color: var(--muted); margin-right: 14px; display: inline-block; margin-bottom: 6px; }
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; max-width: 560px; margin: 0 auto; background: var(--ink); color: #fff; border-radius: 16px; padding: 16px; font-size: 14.5px; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.cookie a { color: #fff; }
.cookie .pair { margin-top: 12px; }
.cookie .btn { min-height: 44px; padding: 10px 14px; font-size: 15px; }
.cookie .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }

@media (prefers-reduced-motion: reduce) { .screen { animation: none; } * { transition: none !important; } }
