/* 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;
  --ease-out: cubic-bezier(.22,.9,.3,1); --spring: cubic-bezier(.34,1.5,.64,1);
  --t-fast: 150ms; --t: 240ms; --t-slow: 420ms;
  --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%; -moz-osx-font-smoothing: grayscale; }
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; text-wrap: balance; }
p, li { text-wrap: pretty; }
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-property: transform, background-color, box-shadow, opacity; transition-duration: var(--t-fast); transition-timing-function: var(--ease-out); width: 100%; min-height: 54px; -webkit-tap-highlight-color: transparent; }
.btn:active:not([disabled]) { transform: scale(.97); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 6px 16px rgba(217,101,63,.28); }
.btn-primary:hover { background: var(--coral-dark); box-shadow: 0 8px 22px rgba(217,101,63,.34); }
.btn-dark:hover { background: #17454E; }
.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-property: border-color, background-color, transform, box-shadow; transition-duration: var(--t-fast); transition-timing-function: var(--ease-out); -webkit-tap-highlight-color: transparent; }
.choice:hover { border-color: #CFC4B4; box-shadow: 0 4px 14px rgba(29,35,48,.06); }
.choice:active { transform: scale(.98); }
.choice.on { border-color: var(--teal); background: var(--teal-soft); animation: picked var(--t-slow) var(--spring); }
@keyframes picked { 40% { transform: scale(1.02); } }
.choice .box { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #BDB3A4; flex: none; display: grid; place-items: center; }
.choice .box { transition-property: background-color, border-color; transition-duration: var(--t-fast); }
.choice.on .box { background: var(--teal); border-color: var(--teal); }
.choice.on .box::after { animation: tick var(--t) var(--spring); }
@keyframes tick { from { opacity: 0; transform: rotate(-45deg) translate(1px, -1px) scale(.3); } }
.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-property: border-color, transform, box-shadow; transition-duration: var(--t-fast); transition-timing-function: var(--ease-out); }
.tile:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(29,35,48,.08); }
.tile:active { transform: scale(.97); }
.tile.on { border-color: var(--teal); background: var(--teal-soft); }
.tile:hover .ico { transform: rotate(-8deg) scale(1.08); }
.tile .ico { transition: transform var(--t) var(--spring); }
.tile .ico { font-size: 34px; display: block; margin-bottom: 8px; }

/* Funnel */
.screen { padding: 8px 0 40px; animation: enter var(--t-slow) var(--ease-out) both; }
.screen.q { animation-duration: 300ms; }
.screen.q.back { animation-name: enter-back; }
@keyframes enter { from { opacity: 0; transform: translateY(12px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes enter-back { from { opacity: 0; transform: translateY(-10px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* Lists come in one item after another, 60 ms apart. */
.stagger > * { animation: rise 380ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms + 80ms); }
.places .choice { animation: rise 260ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms); margin-top: 8px; }
.progress { height: 6px; background: #EADFD0; border-radius: 99px; overflow: hidden; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), #2C7280); border-radius: 99px; transition: width var(--t-slow) var(--ease-out); position: relative; }
.progress i::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 24px; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55)); border-radius: 99px; }
.qhead .num { font-variant-numeric: tabular-nums; }
.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; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--teal); color: #fff;
  padding: 12px 18px 14px; font-size: 15px; font-weight: 600; border-radius: 0 0 16px 16px; box-shadow: 0 8px 22px rgba(30,85,96,.22); overflow: hidden; }
.timerbar .tb-label { display: inline-flex; align-items: center; gap: 9px; }
.timerbar .tb-dot { width: 8px; height: 8px; border-radius: 50%; background: #F2B39E; box-shadow: 0 0 0 0 rgba(242,179,158,.7); animation: tbpulse 1.6s ease-out infinite; }
.timerbar b { font-variant-numeric: tabular-nums; font-size: 20px; letter-spacing: .02em; background: rgba(255,255,255,.14); padding: 4px 12px; border-radius: 10px; min-width: 64px; text-align: center; }
.timerbar .tb-track { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.18); }
.timerbar .tb-track i { display: block; height: 100%; background: #F2B39E; transform-origin: left; transition: transform 1s linear; }
@keyframes tbpulse { 70% { box-shadow: 0 0 0 7px rgba(242,179,158,0); } 100% { box-shadow: 0 0 0 0 rgba(242,179,158,0); } }
@media (prefers-reduced-motion: reduce) { .timerbar .tb-dot { animation: none; } .timerbar .tb-track i { transition: none; } }
.timerbar { transition: background-color var(--t-slow); }
.timerbar.ending { background: var(--coral); }
.timerbar.ending b { display: inline-block; animation: beat 1s var(--ease-out) infinite; }
@keyframes beat { 15% { transform: scale(1.12); } 40% { transform: none; } }
.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 { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,253,249,.94); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 15px; box-shadow: var(--shadow); }
.locked .lock svg { width: 18px; height: 18px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; }
.locked:hover .lock svg { animation: jiggle 500ms var(--ease-out); }
@keyframes jiggle { 25% { transform: rotate(-10deg); } 50% { transform: rotate(8deg); } 75% { transform: rotate(-4deg); } }
/* A slow light passing over the hidden report. */
.locked::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.5) 50%, transparent 65%); transform: translateX(-100%); animation: sheen 3.2s var(--ease-out) 1s infinite; pointer-events: none; }
@keyframes sheen { 60%, 100% { transform: translateX(100%); } }
.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 .big { font-variant-numeric: tabular-nums; }
.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-note { font-size: 13.5px; line-height: 1.45; color: var(--muted); margin: 16px 0 12px; }
.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); width: 0; transition: width 900ms var(--ease-out) 120ms; }
.bar.in .track i { width: var(--w); }
.bar .lbl b { font-variant-numeric: tabular-nums; }
.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); width: 0; transition: width 900ms var(--ease-out) 150ms; }
.axis .track i.l { right: 50%; } .axis .track i.r { left: 50%; }
.axis.in .track i { width: var(--w); }
.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; }

/* Motion: reveal on scroll, portraits, bursts, the loader */
.reveal { opacity: 0; transform: translateY(14px); transition-property: opacity, transform; transition-duration: 560ms; transition-timing-function: var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.pop { animation: pop 700ms var(--spring) both; }
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(8px); } }
img { outline: 1px solid rgba(0,0,0,.06); outline-offset: -1px; }
.orbit { width: 64px; height: 64px; display: block; margin: 8px auto 18px; }
.orbit g { transform-origin: 32px 32px; animation: spin 1.6s cubic-bezier(.6,.1,.4,.9) infinite; }
.burst { position: absolute; left: 50%; top: 50%; pointer-events: none; }
.burst i { position: absolute; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--c); animation: fly 1100ms var(--ease-out) forwards; }
@keyframes fly { 0% { transform: rotate(var(--a)) translateY(0) scale(.4); opacity: 1; } 100% { transform: rotate(var(--a)) translateY(calc(-1 * var(--d))) scale(1); opacity: 0; } }
.ring { position: relative; width: 92px; height: 92px; margin: 6px 0 18px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 7; }
.ring .bg { stroke: #EADFD0; }
.ring .fg { stroke: var(--coral); stroke-linecap: round; stroke-dashoffset: var(--to); animation: fill 1100ms var(--ease-out) both 150ms; }
@keyframes fill { from { stroke-dashoffset: var(--from); } }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 20px; font-variant-numeric: tabular-nums; }
/* Picture answers: a 2x2 grid of scenes. */
.vis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vchoice { position: relative; padding: 0; border: 2px solid transparent; border-radius: 16px; overflow: hidden; cursor: pointer; background: #EADFD0; aspect-ratio: 1; transition-property: transform, border-color, box-shadow; transition-duration: var(--t); transition-timing-function: var(--ease-out); -webkit-tap-highlight-color: transparent; }
.vchoice img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.vchoice span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 10px; color: #fff; font: 600 15px/1.25 var(--sans); text-align: left; background: linear-gradient(transparent, rgba(16,20,28,.72)); }
.vchoice:hover img { transform: scale(1.05); }
.vchoice:active { transform: scale(.97); }
.vchoice.on { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(217,101,63,.25); animation: picked var(--t-slow) var(--spring); }
.vchoice.on::after { content: ""; position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; border-radius: 50%; background: var(--coral) 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='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; animation: pop 400ms var(--spring); }
.lbl { display: block; font-weight: 600; font-size: 15px; margin: 18px 0 8px; }

.portrait { width: min(78%, 300px); margin: 6px auto 22px; border-radius: 22px; overflow: hidden; background: #EFE7DA; box-shadow: 0 2px 6px rgba(29,35,48,.08), 0 22px 48px rgba(29,35,48,.16); }
.portrait img { width: 100%; height: auto; outline: 0; }
.archname { font-size: clamp(32px, 8vw, 48px); margin-bottom: 18px; }

.part { margin: 16px 0 0; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; }
.part h4 { margin: 0 0 8px; font: 600 16px var(--sans); }
.part p:last-child { margin-bottom: 0; }
details.fold { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 0; margin: 12px 0; }
details.fold summary { display: flex; align-items: center; gap: 14px; padding: 14px 16px; font-weight: 600; }
details.fold summary::after { margin-left: auto; }
details.fold summary img { width: 56px; height: 84px; object-fit: cover; border-radius: 12px; flex: none; }
details.fold .fold-body { padding: 0 16px 16px; }
details.fold .rows div span { color: var(--muted); }

/* 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%; height: auto; }
.test div { padding: 14px 16px 16px; }
.grid.roomy { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.grid.roomy .test p { display: block; }
.test { transition-property: transform, box-shadow; transition-duration: var(--t); transition-timing-function: var(--ease-out); }
.test img { transition: transform 700ms var(--ease-out); }
a.test:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(29,35,48,.06), 0 16px 34px rgba(29,35,48,.12); }
a.test:hover img { transform: scale(1.04); }
a.test:active { transform: scale(.98); }
.test .meta { font-size: 13px; color: var(--teal); font-weight: 600; margin-top: 8px; display: block; }
.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; }

/* Hero portraits, fanned out and floating */
.fan { position: relative; height: clamp(300px, 72vw, 460px); display: grid; place-items: center; }
.fan figure { position: absolute; margin: 0; width: clamp(150px, 38vw, 230px); border-radius: 20px; overflow: hidden; background: #EADFD0; box-shadow: 0 2px 6px rgba(29,35,48,.08), 0 20px 44px rgba(29,35,48,.16); transform: translateX(var(--x)) rotate(var(--r)) scale(var(--s, 1)); animation: deal 800ms var(--spring) both, float 6s ease-in-out infinite; animation-delay: calc(var(--d) * .25), var(--d); }
.fan figure:nth-child(3) { z-index: 2; }
.fan img { width: 100%; height: auto; outline: 0; }
.fan figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(255,253,249,.92); border-radius: 99px; padding: 4px 11px; font: 600 13px var(--sans); }
@keyframes deal { from { opacity: 0; transform: translateX(0) translateY(30px) rotate(0); } }
@keyframes float { 50% { translate: 0 -8px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 7px 13px; border-radius: 99px; background: var(--teal-soft); color: var(--teal); font-weight: 600; font-size: 14.5px; transition: transform var(--t) var(--spring), background-color var(--t-fast); }
.chips span:hover { transform: translateY(-2px) rotate(-2deg); background: #CFE1DE; }
.reveal.in .chips span { animation: rise 420ms var(--ease-out) both; animation-delay: calc(var(--i) * 50ms + 150ms); }
.top nav a { transition: color var(--t-fast); }
.top nav a:hover { color: var(--teal); }

/* Admin */
.a-wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px 60px; }
.a-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.a-days { display: flex; gap: 6px; } .a-days .btn { min-height: 38px; padding: 8px 14px; font-size: 14px; width: auto; }
.a-kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 14px 0; }
.a-kpi { padding: 14px; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.a-kpi span { font-size: 13px; color: var(--muted); } .a-kpi b { font-size: 26px; font-variant-numeric: tabular-nums; } .a-kpi small { font-size: 12px; color: var(--muted); }
.a-card { margin: 14px 0; overflow-x: auto; }
.a-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.a-table th, .a-table td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.a-table th { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.a-step { display: grid; grid-template-columns: 150px 1fr 60px 120px; gap: 10px; align-items: center; margin: 8px 0; font-size: 14px; }
.a-step .track { height: 12px; background: #EDE5D9; border-radius: 99px; overflow: hidden; } .a-step .track i { display: block; height: 100%; background: var(--teal); border-radius: 99px; }
.a-step small { color: var(--muted); }
.a-days-chart { display: flex; align-items: flex-end; gap: 3px; height: 140px; }
.a-days-chart div { flex: 1; position: relative; height: 100%; }
.a-days-chart i, .a-days-chart u, .a-days-chart em { position: absolute; bottom: 0; left: 0; right: 0; border-radius: 3px 3px 0 0; }
.a-days-chart i { background: #E6DED2; } .a-days-chart u { background: var(--teal); left: 20%; right: 20%; } .a-days-chart em { background: var(--coral); left: 35%; right: 35%; }
.a-filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; margin: 10px 0 16px; }
.a-filters .field { padding: 11px 12px; font-size: 15px; } .a-filters .btn { min-height: 44px; padding: 10px; }
.a-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 12px; padding: 12px 14px; margin: 8px 0; text-decoration: none; color: var(--ink); font-size: 14px; }
.a-row:hover { border-color: var(--teal); }
@media (max-width: 760px) { .a-row { grid-template-columns: 1fr 1fr; } .a-step { grid-template-columns: 110px 1fr 44px; } .a-step small { display: none; } }
.a-timeline div { display: grid; grid-template-columns: 190px 60px 1fr; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.a-timeline time { color: var(--muted); font-variant-numeric: tabular-nums; } .a-timeline em { color: var(--muted); font-style: normal; font-size: 12.5px; }
.a-timeline .hot span { font-weight: 700; color: var(--teal); }
@media (max-width: 600px) { .a-timeline div { grid-template-columns: 1fr; gap: 2px; } }

.a-two { display: grid; gap: 14px; } @media (min-width: 900px) { .a-two { grid-template-columns: 1fr 1fr; align-items: start; } }
.a-two .a-card { margin: 0 0 14px; }
.a-scroll { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 12px; }
.a-clients tr[data-id], .a-table tr[data-id] { cursor: pointer; } .a-table tr[data-id]:hover td { background: #FBF7F0; }
.a-clients td { white-space: normal; min-width: 90px; vertical-align: top; }
.a-card .rows a { color: var(--teal); }

/* 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; }

.ctable { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 10px 0 18px; display: block; overflow-x: auto; }
.ctable th, .ctable td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.ctable th { font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.legal .notice { margin: 8px 0 18px; }

/* 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) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .bar .track i, .axis .track i { width: var(--w); }
}

/* Free in the app */
.steps-num { margin: 16px 0 20px; padding-left: 22px; display: grid; gap: 8px; }
.steps-num li { padding-left: 4px; }
.pw-wrap { position: relative; margin-top: 6px; }
.pw-wrap .field { padding-right: 72px; }
.pw-wrap .link { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.qr-card { display: inline-block; margin: 20px auto 6px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); }
.qr-card img { display: block; width: 220px; height: 220px; image-rendering: pixelated; }
.tap-card { display: block; width: 100%; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.tap-card .lock span { transition: transform var(--t-fast, .15s); }
.tap-card:hover .lock span, .tap-card:active .lock span { transform: scale(1.04); }

/* Locked preview (as in the app) */
.lp-hero { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 3 / 2; background: #EADFD0; cursor: pointer; }
.lp-hero img { width: 100%; height: 100%; object-fit: cover; filter: blur(16px); transform: scale(1.15); }
.lp-hero-over { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 16px; }
.lp-hero-over b { color: #fff; font-family: var(--serif, Georgia, serif); font-size: 22px; font-weight: 600; text-shadow: 0 2px 10px rgba(0,0,0,.35); }
.lp-lock { width: 58px; height: 58px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.lp-lock svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
.lp-pill { background: rgba(255,253,249,.94); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; box-shadow: var(--shadow); transition: transform .15s; }
.lp-hero:hover .lp-pill, .lp-hero:active .lp-pill { transform: scale(1.04); }
.lp-card { margin-top: 18px; padding: 22px; border-radius: 28px; border: 1px solid rgba(102,143,137,.25); background: linear-gradient(180deg, rgba(102,143,137,.14), var(--card, #fff)); }
.lp-cap { font-weight: 600; margin: 16px 0 10px; }
.lp-promo { margin-top: 6px; }
.lp-radar-wrap { position: relative; display: flex; justify-content: center; }
.lp-radar { width: 220px; height: 220px; }
.lp-dot { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 20px; box-shadow: 0 0 0 6px rgba(255,255,255,.7); }
.lp-faces { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px 8px; margin: 14px 0 8px; justify-items: center; }
.lp-faces img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; filter: blur(2.5px); opacity: .75; border: 2px solid #fff; }
.lp-bars { display: grid; gap: 10px; }
.lp-bars div { display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 10px; align-items: center; font-size: 14px; }
.lp-bars i { height: 10px; border-radius: 5px; background: #E8DFD2; overflow: hidden; display: block; }
.lp-bars i b { display: block; height: 100%; border-radius: 5px; }
.lp-hide { color: #D6CCBE; letter-spacing: -1px; overflow: hidden; white-space: nowrap; }
.lp-bars em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.lp-peek { position: relative; height: 420px; overflow: hidden; border-radius: 22px; background: rgba(247,242,234,.5);
  -webkit-mask-image: linear-gradient(transparent, #000 8%, #000 90%, transparent); mask-image: linear-gradient(transparent, #000 8%, #000 90%, transparent); }
.lp-peek-in { width: 238%; transform-origin: top left; transform: scale(.42); filter: blur(9px); pointer-events: none; user-select: none; }
.lp-peek-in img { filter: blur(10px); }
.lp-peek-in.go { animation: lpPeek 30s ease-in-out infinite alternate; }
@keyframes lpPeek { from { transform: scale(.42) translateY(0); } to { transform: scale(.42) translateY(calc(var(--travel, 0px) / .42)); } }
@media (prefers-reduced-motion: reduce) { .lp-peek-in.go { animation: none; } }

/* The app's sign-in screen, with the email and password fields marked */
.signin-shot { margin: 24px auto 0; max-width: 240px; text-align: center; }
.signin-frame { position: relative; border-radius: 26px; overflow: hidden; border: 6px solid #1D2330; box-shadow: var(--shadow); }
.signin-frame img { display: block; width: 100%; height: auto; }
.signin-mark { position: absolute; left: 4%; width: 92%; top: 50.8%; height: 17.8%; border: 3px solid var(--coral); border-radius: 14px; box-shadow: 0 0 0 4px rgba(217,101,63,.18); animation: markPulse 1.8s ease-in-out infinite; }
@keyframes markPulse { 50% { box-shadow: 0 0 0 9px rgba(217,101,63,.08); } }
@media (prefers-reduced-motion: reduce) { .signin-mark { animation: none; } }
.signin-shot figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
