/* Web funnel (/quiz, /ru/quiz) — v5 "soft app": the app's palette (lib/theme/app_colors.dart) — canvas #F8F9FF,
   primary #5269FF, soft #E9ECFF, border #E0E4FF, pink #FFE5F8, orange #FF8002, green #34C759 — white cards with soft
   blue shadows, big heavy Manrope headlines, calm fade-up motion. Persona photos: realistic, cut-out where it is a before/after. */
:root {
  --f-ink: #14152B; --f-mute: rgba(20, 21, 43, .6); --f-bg: #F8F9FF; --f-blue: #5269FF; --f-blue2: #6A65FF;
  --f-soft: #E9ECFF; --f-line: #E0E4FF; --f-pink: #FFE5F8; --f-orange: #FF8002; --f-green: #34C759; --f-lemon: #FFF4D9;
  --f-shadow: 0 10px 30px rgba(82, 105, 255, .12); --f-shadow-s: 0 4px 14px rgba(82, 105, 255, .1);
  --f-r: 24px; --f-ease: cubic-bezier(.22, 1, .36, 1);
}
.fn-body { min-height: 100vh; background: var(--f-bg); color: var(--f-ink); }
.fn-body button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; font: inherit; color: inherit; }
.fn-head { display: flex; justify-content: center; padding: 14px var(--gutter) 0; }
.fn-head .brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 17px; }
.fn-head .brand img { width: 28px; height: 28px; }
.fn-main { max-width: 470px; margin: 0 auto; padding: 0 var(--gutter) calc(40px + env(safe-area-inset-bottom)); }

/* top bar */
.fn-top { display: flex; align-items: center; gap: 10px; margin: 10px 0 18px; }
.fn-back { width: 38px; height: 38px; flex: 0 0 38px; border: 0; border-radius: 50%; background: #fff; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: var(--f-shadow-s); }
.fn-back:disabled { visibility: hidden; }
.fn-sp { width: 38px; flex: 0 0 38px; }
.fn-prog { flex: 1; text-align: center; }
.fn-prog b { display: block; margin-bottom: 7px; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--f-blue); }
.fn-segs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.fn-segs span { height: 6px; border-radius: 6px; background: var(--f-soft); overflow: hidden; }
.fn-segs i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--f-blue), var(--f-blue2)); transition: width .7s var(--f-ease); }

/* type */
.fn-screen { text-align: center; padding-bottom: 116px; }
.fn-screen h1, .fn-offer h1 { font-weight: 800; font-size: clamp(26px, 7.6vw, 32px); line-height: 1.12; letter-spacing: -.025em; margin: 0; }
.fn-h2, .fn-sec h2 { font-weight: 800; font-size: 21px; letter-spacing: -.015em; }
.fn-h2 { margin: 26px 0 12px; text-align: left; }
.fn-sub { margin-top: 10px; color: var(--f-mute); font-size: 15.5px; line-height: 1.5; }
.fn-text { margin-top: 10px; color: var(--f-mute); font-size: 16px; line-height: 1.5; text-align: left; }
.fn-note { margin-top: 12px; color: rgba(20, 21, 43, .45); font-size: 12.5px; line-height: 1.45; }
.fn-quote { font-size: clamp(22px, 6.2vw, 27px) !important; }
.fn-kicker { display: inline-block; margin-bottom: 10px; padding: 6px 12px; border-radius: 99px; background: var(--f-soft); color: var(--f-blue); font-weight: 800; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; }
.fn-t-help h1, .fn-t-mood h1, .fn-t-planv h1, .fn-t-memory h1, .fn-t-proof h1, .fn-t-team h1 { text-align: left; }

/* photo cards (gender, age) */
.fn-cards { display: grid; gap: 12px; margin-top: 20px; }
.fn-cards.two { grid-template-columns: 1fr 1fr; }
.fn-card { position: relative; padding: 0; border: 0; border-radius: var(--f-r); overflow: hidden; background: #fff; cursor: pointer; box-shadow: var(--f-shadow); transition: transform .35s var(--f-ease), box-shadow .35s var(--f-ease); }
.fn-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; display: block; }
.fn-card span { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); font-weight: 800; font-size: 14px; white-space: nowrap; }
.fn-card i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--f-blue); color: #fff; font-size: 13px; }
.fn-card:hover { transform: translateY(-3px); }
.fn-card:active, .fn-card.on { transform: scale(.98); box-shadow: 0 0 0 3px var(--f-blue), var(--f-shadow); }
.fn-legal { margin-top: 20px; font-size: 11.5px; line-height: 1.5; color: rgba(20, 21, 43, .5); }
.fn-legal a { color: var(--f-ink); text-decoration: underline; }

/* options */
.fn-opts { display: grid; gap: 10px; margin-top: 20px; text-align: left; }
.fn-opt { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 12px 16px; border: 1.5px solid transparent; border-radius: 20px; background: #fff; font-size: 16px; font-weight: 600; text-align: left; cursor: pointer; box-shadow: var(--f-shadow-s); transition: border-color .25s, background .25s, transform .25s var(--f-ease); }
.fn-opt:active { transform: scale(.985); }
.fn-opt.on { border-color: var(--f-blue); background: #F3F5FF; }
.fn-opt.has-img { padding-left: 10px; }
.fn-ico { flex: 0 0 50px; width: 50px; height: 50px; display: grid; place-items: center; }
.fn-ico img { width: 50px; height: 50px; object-fit: contain; }
.fn-opt-t { flex: 1; }
.fn-radio, .fn-check { flex: 0 0 22px; width: 22px; height: 22px; border: 2px solid var(--f-line); border-radius: 50%; background: #fff; transition: all .25s; }
.fn-check { border-radius: 7px; }
.fn-opt.on .fn-radio { border-color: var(--f-blue); box-shadow: inset 0 0 0 4px #fff; background: var(--f-blue); }
.fn-opt.on .fn-check { border-color: var(--f-blue); background: var(--f-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* scale */
.fn-scale { display: flex; justify-content: space-between; gap: 8px; margin-top: 30px; }
.fn-scale button { flex: 1; max-width: 62px; aspect-ratio: 1; border: 0; border-radius: 50%; background: #fff; font-weight: 800; font-size: 19px; cursor: pointer; box-shadow: var(--f-shadow-s); transition: all .3s var(--f-ease); }
.fn-scale button.on { background: linear-gradient(135deg, var(--f-blue), var(--f-blue2)); color: #fff; transform: scale(1.08); }
.fn-scale-legend { display: flex; justify-content: space-between; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--f-mute); }

/* footer CTA */
.fn-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; display: grid; gap: 6px; padding: 14px var(--gutter) calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(248, 249, 255, 0), var(--f-bg) 35%); }
.fn-foot .btn, .fn-sticky { width: 100%; max-width: 438px; margin: 0 auto; min-height: 58px; border: 0; border-radius: 99px; background: linear-gradient(90deg, var(--f-blue), var(--f-blue2)); color: #fff; font-weight: 800; font-size: 17px; box-shadow: 0 10px 24px rgba(82, 105, 255, .35); }
.fn-foot .btn:active { transform: scale(.98); }
.fn-foot .btn:disabled { opacity: .4; box-shadow: none; }
.fn-skip { border: 0; background: none; color: var(--f-mute); font-weight: 700; padding: 6px; cursor: pointer; }

/* persona photo frame */
.fn-pop { position: relative; margin: 4px auto 20px; width: 76%; max-width: 320px; }
.fn-pop.small { width: 56%; max-width: 230px; }
.fn-pop img:first-child { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 32px; box-shadow: var(--f-shadow); }
.fn-doodle { position: absolute; fill: none; stroke: var(--f-blue); stroke-width: 2.4; stroke-linecap: round; opacity: .8; }
.fn-doodle.d1 { width: 32px; height: 32px; top: -12px; right: -12px; stroke: var(--f-orange); }
.fn-doodle.d2 { width: 52px; height: 24px; bottom: 18px; left: -28px; }
.fn-sticker { position: absolute; right: -14px; bottom: -12px; width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: var(--f-shadow); animation: fnPopIn .7s .35s var(--f-ease) both; }
.fn-sticker img { width: 68px; height: 68px; object-fit: contain; }
@keyframes fnPopIn { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes fnSpin { to { transform: rotate(360deg); } }

/* feature card + chip */
.fn-feature { margin-top: 16px; padding: 16px 18px; border-radius: 22px; text-align: left; background: #fff; box-shadow: var(--f-shadow); border-left: 4px solid var(--f-blue); animation: fnUp .7s .25s var(--f-ease) both; }
.fn-feature span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--f-blue); }
.fn-feature b { display: block; margin-top: 3px; font-size: 18px; font-weight: 800; }
.fn-feature p { margin-top: 3px; font-size: 14.5px; line-height: 1.45; color: var(--f-mute); }
.fn-fchip { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 8px 14px; border-radius: 99px; background: var(--f-pink); color: #B0338B; font-weight: 800; font-size: 12.5px; }
.fn-fchip::before { content: "✦"; }
.fn-breathe { width: 84px; height: 84px; margin: 8px auto -8px; }

/* proof */
.fn-faces { display: flex; justify-content: center; margin: 8px 0 20px; }
.fn-faces img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid #fff; margin-left: -14px; box-shadow: var(--f-shadow-s); animation: fnPopIn .6s var(--f-ease) both; }
.fn-faces img:first-child { margin-left: 0; }
.fn-counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.fn-counters div { padding: 14px 6px; border-radius: 20px; background: #fff; box-shadow: var(--f-shadow-s); }
.fn-counters b { display: block; font-size: 22px; font-weight: 800; color: var(--f-blue); font-variant-numeric: tabular-nums; }
.fn-counters span { font-size: 11.5px; font-weight: 700; color: var(--f-mute); }

/* night */
body.fn-dark-mode { background: #0E0F1F; color: #fff; }
body.fn-dark-mode .fn-head .brand { color: #fff; }
body.fn-dark-mode .fn-back { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: none; }
body.fn-dark-mode .fn-segs span { background: rgba(255, 255, 255, .15); }
body.fn-dark-mode .fn-foot { background: linear-gradient(180deg, rgba(14, 15, 31, 0), #0E0F1F 35%); }
.fn-night { position: relative; text-align: left; }
.fn-night-photo { display: block; width: 100%; aspect-ratio: 4 / 4.2; object-fit: contain; object-position: bottom; padding-top: 90px; box-sizing: border-box; border-radius: 30px; background: radial-gradient(circle at 50% 70%, #3A3F8F, #12132A 75%); }
.fn-night h1 { color: #fff; margin-top: 18px !important; }
.fn-night > p { margin-top: 10px; color: rgba(255, 255, 255, .7); line-height: 1.5; }
.fn-night .fn-fchip { background: rgba(255, 255, 255, .12); color: #fff; }
.fn-chat { position: absolute; left: 12px; right: 12px; top: 14px; display: grid; gap: 8px; }
.fn-msg { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.35; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .6s var(--f-ease), transform .6s var(--f-ease); box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.fn-msg.show { opacity: 1; transform: none; }
.fn-msg.me { justify-self: end; background: var(--f-blue); color: #fff; border-bottom-right-radius: 6px; }
.fn-msg.ai { justify-self: start; background: #fff; color: var(--f-ink); border-bottom-left-radius: 6px; }
.fn-msg.typing { display: none; gap: 4px; }
.fn-msg.typing.show { display: inline-flex; }
.fn-msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--f-blue); animation: fnDot 1.2s infinite; }
.fn-msg.typing i:nth-child(2) { animation-delay: .2s; } .fn-msg.typing i:nth-child(3) { animation-delay: .4s; }
.fn-msg.reply:not(.show) { display: none; }
@keyframes fnDot { 0%, 60%, 100% { opacity: .35; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* mood week */
.fn-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; margin: 0 0 18px; padding: 12px 6px; border-radius: 22px; background: #fff; box-shadow: var(--f-shadow); }
.fn-week div { display: grid; justify-items: center; gap: 4px; animation: fnPopIn .6s var(--f-ease) both; }
.fn-week .fn-lottie { display: block; width: 36px; height: 36px; }
.fn-week span { font-size: 11px; font-weight: 800; color: var(--f-mute); }

/* plan steps */
.fn-steps { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; text-align: left; }
.fn-steps li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: #fff; font-weight: 700; font-size: 15px; box-shadow: var(--f-shadow-s); animation: fnUp .7s var(--f-ease) both; }
.fn-steps i { flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; background: var(--f-soft); color: var(--f-blue); }
.fn-steps li:first-child i { background: var(--f-blue); color: #fff; }

/* team: endless marquee */
.fn-marquee { margin: 16px calc(-1 * var(--gutter)) 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.fn-marquee + .fn-marquee { margin-top: 12px; }
.fn-track { display: flex; gap: 12px; width: max-content; padding: 6px 0 12px; animation: fnMarquee 38s linear infinite; }
.fn-marquee.rev .fn-track { animation-direction: reverse; animation-duration: 44s; }
@keyframes fnMarquee { to { transform: translateX(-50%); } }
.fn-psy { width: 128px; flex: 0 0 128px; border-radius: 22px; background: #fff; overflow: hidden; box-shadow: var(--f-shadow-s); text-align: left; }
.fn-psy img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; display: block; }
.fn-psy > div { padding: 9px 11px 12px; }
.fn-psy b { font-size: 15px; font-weight: 800; }
.fn-psy-style { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 700; color: var(--f-blue); line-height: 1.25; }
.fn-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fn-chips span { padding: 5px 11px; border-radius: 99px; background: var(--f-soft); color: var(--f-blue); font-size: 12px; font-weight: 700; }
.fn-psy .fn-chips.sm { display: none; }
.fn-psy .fn-chips.sm span { padding: 3px 8px; font-size: 10.5px; }

/* memory: sessions on a line */
.fn-mem { position: relative; display: grid; gap: 14px; margin: 4px 0 22px; padding-left: 30px; text-align: left; }
.fn-mem::before { content: ""; position: absolute; left: 10px; top: 18px; bottom: 18px; width: 2px; background: linear-gradient(var(--f-blue), var(--f-pink)); border-radius: 2px; }
.fn-mem div { position: relative; padding: 13px 16px; border-radius: 20px; background: #fff; box-shadow: var(--f-shadow-s); animation: fnUp .8s var(--f-ease) both; }
.fn-mem div i { position: absolute; left: -26px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #fff; border: 3px solid var(--f-blue); }
.fn-mem div:last-child { background: linear-gradient(135deg, var(--f-blue), var(--f-blue2)); color: #fff; }
.fn-mem div:last-child span { color: rgba(255, 255, 255, .75); }
.fn-mem div:last-child i { background: var(--f-blue); border-color: #fff; box-shadow: 0 0 0 4px rgba(82, 105, 255, .25); }
.fn-mem span { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--f-blue); }
.fn-mem b { font-size: 15.5px; }

/* loaders */
.fn-ring { position: relative; width: 150px; height: 150px; margin: 16px auto; }
.fn-ring.big { width: 190px; height: 190px; }
.fn-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.fn-ring circle { fill: none; stroke: var(--f-soft); stroke-width: 9; }
.fn-ring .p { stroke: var(--f-blue); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: 327; }
.fn-ring b, .fn-ring .fn-pct { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; font-size: 36px; font-weight: 800; color: var(--f-ink); font-variant-numeric: tabular-nums; }
.fn-check-list { display: grid; gap: 12px; max-width: 320px; margin: 18px auto 0; padding: 0; list-style: none; text-align: left; }
.fn-check-list li { position: relative; padding-left: 34px; font-weight: 700; color: rgba(20, 21, 43, .35); transition: color .5s; }
.fn-check-list li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; box-sizing: border-box; border: 2px solid var(--f-line); border-radius: 50%; background: #fff; }
.fn-check-list li.active { color: var(--f-ink); }
.fn-check-list li.active::before { border-color: var(--f-blue); border-top-color: transparent; animation: fnSpin .9s linear infinite; }
.fn-check-list li.done { color: var(--f-ink); }
.fn-check-list li.done::before { border-color: var(--f-green); background: var(--f-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; animation: none; }
.fn-badge { display: inline-block; margin-top: 24px; padding: 10px 16px; border-radius: 99px; background: #fff; box-shadow: var(--f-shadow-s); font-weight: 800; font-size: 14px; }
.fn-revslide { position: relative; min-height: 170px; margin-top: 20px; }
.fn-revslide blockquote { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; }
.fn-revslide blockquote.on { opacity: 1; }

/* reviews */
.fn-revslide blockquote, .fn-reviews blockquote { margin: 0; padding: 16px 18px; border-radius: 22px; background: #fff; text-align: left; box-shadow: var(--f-shadow-s); }
.fn-stars-r, .fn-stars { color: var(--f-orange); letter-spacing: 2px; font-size: 15px; }
.fn-revslide p, .fn-reviews p { margin-top: 6px; font-size: 15px; line-height: 1.45; }
.fn-revslide footer, .fn-reviews footer { margin-top: 8px; font-size: 12.5px; color: var(--f-mute); }
.fn-reviews { display: grid; gap: 12px; margin-top: 14px; }

/* summary: meter */
.fn-meter { margin-top: 18px; padding: 18px; border-radius: 26px; background: #fff; box-shadow: var(--f-shadow); text-align: left; animation: fnUp .7s .1s var(--f-ease) both; }
.fn-meter-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.fn-meter-head span { font-weight: 700; font-size: 14px; color: var(--f-mute); }
.fn-meter-head b { font-size: 20px; font-weight: 800; color: var(--f-orange); }
.fn-meter-bar { position: relative; height: 12px; margin: 46px 0 8px; border-radius: 12px; background: linear-gradient(90deg, var(--f-green), #FFC531 50%, var(--f-orange) 80%, #FF4D4D); }
.fn-meter-bar em { position: absolute; top: 50%; left: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #fff; border: 5px solid var(--f-ink); box-sizing: border-box; animation: fnSlide 1.6s .4s var(--f-ease) forwards; }
.fn-meter-bar em span { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); padding: 5px 10px; border-radius: 10px; background: var(--f-ink); color: #fff; font-style: normal; font-size: 12px; font-weight: 800; white-space: nowrap; }
.fn-meter-bar em span::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--f-ink); }
@keyframes fnSlide { to { left: var(--pos); } }
.fn-meter-scale { display: flex; justify-content: space-between; font-size: 11.5px; font-weight: 700; color: var(--f-mute); }
.fn-mrow { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; margin-top: 16px; font-size: 14px; }
.fn-mrow span { font-weight: 700; }
.fn-mrow b { font-weight: 800; color: var(--f-blue); }
.fn-mrow.warn b { color: var(--f-orange); }
.fn-mrow i { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: var(--f-soft); overflow: hidden; }
.fn-mrow u { display: block; height: 100%; width: 0; border-radius: 8px; background: var(--f-blue); animation: fnGrow 1.2s .8s var(--f-ease) forwards; }
.fn-mrow.warn u { background: var(--f-orange); }
@keyframes fnGrow { to { width: var(--w); } }
.fn-factors-card { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: center; margin-top: 12px; padding: 14px; border-radius: 24px; background: #fff; box-shadow: var(--f-shadow-s); text-align: left; animation: fnUp .7s .3s var(--f-ease) both; }
.fn-fac-photo { width: 92px; height: 116px; object-fit: contain; object-position: bottom; border-radius: 18px; background: linear-gradient(180deg, var(--f-soft), var(--f-pink)); }
.fn-factors-card h2 { font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.fn-factors { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.fn-factors li { position: relative; padding-left: 16px; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.fn-factors li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--f-orange); }
.fn-good { margin-top: 12px; padding: 14px 16px; border-radius: 22px; background: #EAF9EE; text-align: left; animation: fnUp .7s .5s var(--f-ease) both; }
.fn-good b { font-weight: 800; color: #1E8E3E; }
.fn-good p { margin-top: 3px; font-size: 14px; line-height: 1.45; }

/* timeline */
.fn-timeline { position: relative; display: grid; gap: 10px; margin-top: 20px; text-align: left; }
.fn-timeline div { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; padding: 13px 16px; border-radius: 20px; background: #fff; box-shadow: var(--f-shadow-s); animation: fnUp .7s var(--f-ease) both; }
.fn-timeline i { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 800; background: var(--f-soft); color: var(--f-blue); }
.fn-timeline span { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--f-mute); }
.fn-timeline b { font-size: 15.5px; line-height: 1.3; }
.fn-timeline .now { background: linear-gradient(135deg, var(--f-blue), var(--f-blue2)); color: #fff; box-shadow: 0 10px 24px rgba(82, 105, 255, .3); }
.fn-timeline .now i { background: #fff; color: var(--f-blue); }
.fn-timeline .now span { color: rgba(255, 255, 255, .75); }

/* compare */
.fn-art { display: block; max-width: 100%; max-height: 18vh; margin: 0 auto 14px; object-fit: contain; }
.fn-compare { width: 100%; margin-top: 16px; border-collapse: separate; border-spacing: 0; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--f-shadow); text-align: left; font-size: 14px; }
.fn-compare th, .fn-compare td { padding: 13px 10px; border-bottom: 1px solid var(--f-line); vertical-align: middle; }
.fn-compare tr:last-child td { border-bottom: 0; }
.fn-compare th { font-size: 12px; font-weight: 800; text-align: center; }
.fn-compare td:first-child { padding-left: 16px; font-weight: 600; line-height: 1.3; }
.fn-compare td:not(:first-child), .fn-compare th:not(:first-child) { width: 72px; text-align: center; }
.fn-compare .pro { background: #F3F5FF; }
.fn-compare th.pro { color: var(--f-blue); }
.fn-compare th.pro em { display: block; margin-bottom: 2px; font-style: normal; font-size: 9.5px; }
.fn-t-compare .fn-compare tbody tr { animation: fnUp .6s var(--f-ease) both; }
.fn-yes, .fn-no { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-style: normal; font-size: 12px; font-weight: 900; }
.fn-yes { background: var(--f-blue); color: #fff; }
.fn-no { background: #F2F2F5; color: rgba(20, 21, 43, .35); }
.fn-lock { display: inline-block; width: 20px; height: 20px; color: rgba(20, 21, 43, .35); }
.fn-lock svg { width: 100%; height: 100%; }

/* name */
.fn-input { width: 100%; margin-top: 22px; padding: 17px 18px; border: 1.5px solid var(--f-line); border-radius: 20px; background: #fff; font: inherit; font-size: 18px; font-weight: 700; text-align: center; outline: none; transition: border-color .25s, box-shadow .25s; }
.fn-input:focus { border-color: var(--f-blue); box-shadow: 0 0 0 4px rgba(82, 105, 255, .12); }

/* match */
.fn-match { margin-top: 18px; border-radius: 28px; background: #fff; overflow: hidden; box-shadow: var(--f-shadow); text-align: left; animation: fnUp .8s var(--f-ease) both; }
.fn-match-img { position: relative; }
.fn-match-img img { display: block; width: 100%; aspect-ratio: 1 / .9; object-fit: cover; object-position: top; }
.fn-match-img div { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 16px; background: linear-gradient(180deg, rgba(20, 21, 43, 0), rgba(20, 21, 43, .78)); color: #fff; }
.fn-match-img b { display: block; font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.fn-match-img span { font-size: 14px; font-weight: 700; opacity: .9; }
.fn-match-body { padding: 16px 18px 18px; }
.fn-match-body > p { font-size: 15px; line-height: 1.5; color: var(--f-mute); }
.fn-match h3 { margin: 18px 0 8px; font-size: 16px; font-weight: 800; }
.fn-match ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.fn-match li { position: relative; padding: 10px 12px 10px 42px; border-radius: 16px; background: var(--f-bg); animation: fnUp .7s var(--f-ease) both; }
.fn-match li::before { content: "✓"; position: absolute; left: 12px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; display: grid; place-items: center; background: var(--f-green); color: #fff; font-size: 12px; font-weight: 900; }
.fn-match li b { display: block; font-size: 12px; font-weight: 700; color: var(--f-mute); }
.fn-match li span { font-size: 14.5px; font-weight: 800; }
.fn-others { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.fn-others div { display: grid; justify-items: center; gap: 4px; }
.fn-others img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid #fff; box-shadow: var(--f-shadow-s); }
.fn-others span { font-size: 12px; font-weight: 700; color: var(--f-mute); }

/* offer */
.fn-offer { text-align: center; padding: 6px 0 90px; }
.fn-ba { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; text-align: left; }
.fn-ba::after { content: "→"; position: absolute; left: 50%; top: 34%; width: 38px; height: 38px; margin-left: -19px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--f-blue); font-weight: 900; font-size: 18px; box-shadow: var(--f-shadow); z-index: 2; }
.fn-ba-col { border-radius: 26px; background: #fff; overflow: hidden; padding-bottom: 14px; box-shadow: var(--f-shadow-s); }
.fn-ba-img { position: relative; background: linear-gradient(180deg, #ECEDF3, #DCDEE8); }
.fn-ba-col.after .fn-ba-img { background: linear-gradient(180deg, var(--f-soft), var(--f-pink)); }
.fn-ba-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; object-position: bottom; display: block; padding-top: 34px; box-sizing: border-box; }
.fn-ba-img span { position: absolute; left: 10px; top: 10px; padding: 5px 11px; border-radius: 99px; background: rgba(255, 255, 255, .9); font-size: 11.5px; font-weight: 800; }
.fn-ba-col.after .fn-ba-img span { background: var(--f-blue); color: #fff; }
.fn-ba ul { display: grid; gap: 7px; margin: 0; padding: 12px 12px 0; list-style: none; font-size: 13px; font-weight: 600; line-height: 1.3; }
.fn-ba li { position: relative; padding-left: 18px; }
.fn-ba li::before { content: "✕"; position: absolute; left: 0; top: 0; font-size: 11px; font-weight: 900; color: var(--f-orange); }
.fn-ba .after li::before { content: "✓"; color: var(--f-green); }
.fn-cta { margin-top: 22px; }
.fn-stores { justify-content: center; }
.fn-stores .store-badge { border-radius: 18px; box-shadow: var(--f-shadow-s); }
.fn-sec { margin-top: 36px; }
.fn-mypsy { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: 24px; background: #fff; text-align: left; box-shadow: var(--f-shadow); }
.fn-mypsy img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: top; }
.fn-mypsy .fn-kicker { margin: 0 0 4px; padding: 4px 10px; font-size: 10.5px; }
.fn-mypsy b { display: block; font-size: 15.5px; font-weight: 800; line-height: 1.3; }
.fn-mypsy p { margin-top: 4px; font-size: 13px; color: var(--f-mute); line-height: 1.4; }
.fn-weeks { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; text-align: left; }
.fn-weeks li { padding: 13px 16px; border-radius: 20px; background: #fff; box-shadow: var(--f-shadow-s); }
.fn-weeks li:first-child { background: linear-gradient(135deg, var(--f-blue), var(--f-blue2)); color: #fff; }
.fn-weeks li:first-child span { color: rgba(255, 255, 255, .75); }
.fn-weeks span { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--f-mute); }
.fn-weeks b { display: block; margin-top: 2px; font-size: 15.5px; }
.fn-inside { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; text-align: left; }
.fn-inside div { padding: 14px; border-radius: 20px; background: #fff; box-shadow: var(--f-shadow-s); }
.fn-inside i { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 10px; background: var(--f-soft); color: var(--f-blue); font-style: normal; font-weight: 900; font-size: 13px; }
.fn-inside b { display: block; margin-top: 8px; font-size: 14px; line-height: 1.3; }
.fn-inside span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--f-mute); line-height: 1.35; }
.fn-faq { text-align: left; }
.fn-faq h2 { text-align: center; margin-bottom: 10px; }
.fn-faq details { margin-top: 10px; border-radius: 20px; background: #fff; box-shadow: var(--f-shadow-s); }
.fn-faq summary { position: relative; padding: 15px 44px 15px 16px; font-weight: 700; cursor: pointer; list-style: none; }
.fn-faq summary::-webkit-details-marker { display: none; }
.fn-faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--f-blue); transition: transform .3s; }
.fn-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.fn-faq details p { padding: 0 16px 15px; font-size: 14.5px; color: var(--f-mute); }
.fn-disc { margin-top: 26px; font-size: 12px; color: rgba(20, 21, 43, .45); line-height: 1.5; }
.fn-sticky { position: fixed; left: var(--gutter); right: var(--gutter); bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 20; display: flex; align-items: center; justify-content: center; width: auto; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s, transform .4s var(--f-ease); }
.fn-sticky.show { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 560px) { .fn-stores { flex-direction: column; align-items: stretch; } .fn-stores .store-badge { justify-content: center; } }
@media (min-width: 900px) { .fn-sticky { display: none; } }

/* motion: calm fades, no slides */
.fn-in, .fn-in-back { animation: fnIn .55s var(--f-ease) both; }
.fn-out, .fn-out-back { animation: fnOut .2s ease both; }
@keyframes fnIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fnOut { to { opacity: 0; } }
@keyframes fnUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.fn-opts > *, .fn-cards > *, .fn-scale > *, .fn-counters > * { animation: fnUp .6s var(--f-ease) both; }
.fn-opts > :nth-child(2), .fn-cards > :nth-child(2), .fn-scale > :nth-child(2), .fn-counters > :nth-child(2) { animation-delay: .06s; }
.fn-opts > :nth-child(3), .fn-cards > :nth-child(3), .fn-scale > :nth-child(3), .fn-counters > :nth-child(3) { animation-delay: .12s; }
.fn-opts > :nth-child(4), .fn-cards > :nth-child(4), .fn-scale > :nth-child(4) { animation-delay: .18s; }
.fn-opts > :nth-child(5), .fn-scale > :nth-child(5) { animation-delay: .24s; }
.fn-opts > :nth-child(6) { animation-delay: .3s; }
.fn-foot .btn { animation: fnUp .6s .2s var(--f-ease) both; }
@media (max-height: 700px) { .fn-pop { width: 60%; } .fn-pop.small { width: 44%; } .fn-card img { aspect-ratio: 1; } }
@media (prefers-reduced-motion: reduce) { .fn-body *, .fn-body *::before, .fn-body *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; } .fn-meter-bar em { left: var(--pos); } .fn-mrow u { width: var(--w); } }

/* ===== v6 ===== */
/* gender / age: cut-out person peeking out of a colour block; every persona has the same head-to-waist framing */
.fn-cut { position: relative; display: block; padding: 0; border: 0; background: none; cursor: pointer; aspect-ratio: 4 / 5; transition: transform .35s var(--f-ease); }
.fn-cut-bg { position: absolute; left: 0; right: 0; bottom: 0; height: 74%; border-radius: 26px; background: linear-gradient(160deg, #8C9BFF, var(--f-blue)); box-shadow: var(--f-shadow); transition: box-shadow .3s; }
.fn-cards > :nth-child(2) .fn-cut-bg, .fn-cut[data-v="m"] .fn-cut-bg { background: linear-gradient(160deg, #FFB1E4, #F06BC4); }
.fn-cards > :nth-child(3) .fn-cut-bg { background: linear-gradient(160deg, #FFC27A, var(--f-orange)); }
.fn-cards > :nth-child(4) .fn-cut-bg { background: linear-gradient(160deg, #A9E7B9, #2FB65A); }
.fn-cut img { position: absolute; left: 50%; bottom: 0; height: 100%; width: auto; max-width: 112%; transform: translateX(-50%); object-fit: contain; object-position: bottom; -webkit-mask-image: linear-gradient(#000 86%, transparent); mask-image: linear-gradient(#000 86%, transparent); border-bottom-left-radius: 26px; border-bottom-right-radius: 26px; }
.fn-cut-l { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 12px; border-radius: 16px; background: #fff; font-weight: 800; font-size: 14px; white-space: nowrap; box-shadow: var(--f-shadow-s); }
.fn-cut-l i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--f-ink); color: #fff; font-size: 13px; }
.fn-cut:hover { transform: translateY(-3px); }
.fn-cut:active, .fn-cut.on { transform: scale(.97); }
.fn-cut.on .fn-cut-bg { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--f-blue), var(--f-shadow); }
.fn-cards.two { row-gap: 18px; }

/* help: one floating illustration */
.fn-float { width: 180px; height: 180px; margin: 0 auto 10px; animation: fnUp .7s var(--f-ease) both; }
.fn-float img { width: 100%; height: 100%; object-fit: contain; animation: fnBob 3.2s ease-in-out infinite; transform-origin: 50% 90%; }
@keyframes fnBob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }

/* night: phone with a chat to a friend */
.fn-phone { width: 86%; max-width: 320px; margin: 0 auto; border-radius: 34px; padding: 10px; background: #1B1C33; box-shadow: 0 20px 50px rgba(0, 0, 0, .45), inset 0 0 0 1.5px rgba(255, 255, 255, .08); }
.fn-phone-top { display: flex; justify-content: space-between; align-items: center; padding: 6px 12px 10px; font-size: 12px; color: rgba(255, 255, 255, .6); }
.fn-phone-top b { color: #fff; font-size: 14px; }
.fn-phone-chat { display: grid; gap: 6px; min-height: 230px; align-content: start; padding: 14px 10px; border-radius: 24px; background: #0E0F1F; }
.fn-phone .fn-msg { box-shadow: none; font-size: 13.5px; }
.fn-phone .fn-msg.ai { background: #2A2C4A; color: #fff; }
.fn-phone .fn-msg.typing i { background: #fff; }
.fn-seen { justify-self: end; font-size: 11px; color: rgba(255, 255, 255, .45); opacity: 0; transition: opacity .5s; }
.fn-seen.show { opacity: 1; }
.fn-push { display: flex; gap: 10px; align-items: center; width: 92%; max-width: 340px; margin: -40px auto 0; position: relative; padding: 12px 14px; border-radius: 20px; background: rgba(255, 255, 255, .96); color: var(--f-ink); box-shadow: 0 16px 40px rgba(82, 105, 255, .45); opacity: 0; transform: translateY(14px) scale(.96); transition: opacity .6s var(--f-ease), transform .6s var(--f-ease); }
.fn-push.show { opacity: 1; transform: none; }
.fn-push img { width: 36px; height: 36px; border-radius: 10px; }
.fn-push b { display: block; font-size: 13px; font-weight: 800; }
.fn-push span { font-size: 13.5px; line-height: 1.35; }

/* mood: trend line under the week */
.fn-week-line { position: absolute; left: 6px; right: 6px; bottom: 8px; width: calc(100% - 12px); height: 44px; }
.fn-week-line path { fill: none; stroke: var(--f-blue); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: fnDraw 2s 1.2s var(--f-ease) forwards; }
@keyframes fnDraw { to { stroke-dashoffset: 0; } }

/* plan: A → B chart */
.fn-chart { position: relative; margin-top: 20px; padding: 18px 14px 12px; border-radius: 26px; background: #fff; box-shadow: var(--f-shadow); }
.fn-chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.fn-chart-line { stroke-dasharray: 420; stroke-dashoffset: 420; animation: fnDraw 1.8s .3s var(--f-ease) forwards; }
.fn-chart-area { opacity: 0; animation: fnFade 1s 1.2s forwards; }
.fn-chart-a { fill: #fff; stroke: var(--f-orange); stroke-width: 5; }
.fn-chart-b { fill: #fff; stroke: var(--f-green); stroke-width: 5; opacity: 0; animation: fnFade .5s 1.9s forwards; }
@keyframes fnFade { to { opacity: 1; } }
.fn-chart-tag { position: absolute; padding: 6px 10px; border-radius: 12px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.fn-chart-tag.a { left: 14px; top: 58%; background: #FFF0E0; color: #C25E00; }
.fn-chart-tag.b { right: 14px; top: 6px; background: var(--f-green); color: #fff; opacity: 0; animation: fnFade .5s 2s forwards; }
.fn-chart-x { display: flex; justify-content: space-between; margin-top: 6px; padding: 0 6px; font-size: 11.5px; font-weight: 700; color: var(--f-mute); }

/* carousels of big cards (team + picker) */
.fn-carousel { display: flex; gap: 14px; margin: 18px calc(-1 * var(--gutter)) 0; padding: 4px var(--gutter) 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; text-align: left; }
.fn-carousel::-webkit-scrollbar { display: none; }
.fn-carousel > * { flex: 0 0 84%; scroll-snap-align: center; }
.fn-dots { display: flex; justify-content: center; gap: 6px; }
.fn-dots i { width: 7px; height: 7px; border-radius: 7px; background: var(--f-line); transition: all .35s var(--f-ease); }
.fn-dots i.on { width: 22px; background: var(--f-blue); }
.fn-bigpsy { border-radius: 28px; background: #fff; overflow: hidden; box-shadow: var(--f-shadow); }
.fn-bigpsy img { display: block; width: 100%; aspect-ratio: 1 / .95; object-fit: cover; object-position: top; }
.fn-bigpsy div { padding: 14px 16px 18px; }
.fn-bigpsy b { font-size: 22px; font-weight: 800; }
.fn-bigpsy span { display: block; margin-top: 2px; font-size: 13px; font-weight: 800; color: var(--f-blue); }
.fn-bigpsy p { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--f-mute); }

/* picker card — like the app's match card */
.fn-pick > * { flex-basis: 86%; }
.fn-pcard { border-radius: 28px; background: #fff; overflow: hidden; box-shadow: var(--f-shadow); }
.fn-pcard.best { background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--f-blue), #8B7CFF) border-box; border: 2.5px solid transparent; }
.fn-pcard-img { position: relative; }
.fn-pcard-img img { display: block; width: 100%; aspect-ratio: 1 / .82; object-fit: cover; object-position: top; }
.fn-pcard-img em { position: absolute; left: 12px; top: 12px; padding: 6px 11px; border-radius: 99px; background: rgba(255, 255, 255, .92); font-style: normal; font-size: 12px; font-weight: 800; color: var(--f-blue); }
.fn-pcard.best .fn-pcard-img em { background: linear-gradient(90deg, var(--f-blue), #8B7CFF); color: #fff; }
.fn-pcard-img div { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 12px; background: linear-gradient(rgba(18, 19, 28, 0), rgba(18, 19, 28, .78)); color: #fff; }
.fn-pcard-img b { display: block; font-size: 24px; font-weight: 800; }
.fn-pcard-img span { font-size: 13px; font-weight: 700; opacity: .92; }
.fn-pcard-body { padding: 14px 16px 16px; }
.fn-pcard-body > p { font-size: 14px; line-height: 1.45; color: var(--f-mute); margin-bottom: 6px; }
.fn-scl { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; margin-top: 8px; font-size: 13px; }
.fn-scl span { font-weight: 700; }
.fn-scl b { font-weight: 800; color: var(--f-blue); }
.fn-scl i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--f-soft); overflow: hidden; }
.fn-scl u { display: block; height: 100%; width: var(--w); border-radius: 6px; background: linear-gradient(90deg, var(--f-blue), #8B7CFF); }
.fn-pick-btn { width: 100%; margin-top: 14px; min-height: 50px; border: 0; border-radius: 99px; background: var(--f-soft); color: var(--f-blue) !important; font-weight: 800 !important; font-size: 15.5px; cursor: pointer; }
.fn-pcard.best .fn-pick-btn { background: linear-gradient(90deg, var(--f-blue), var(--f-blue2)); color: #fff !important; box-shadow: 0 10px 22px rgba(82, 105, 255, .3); }
.fn-t-match { padding-bottom: 40px; }

/* summary: gradient hero like the app's best card */
.fn-hero { margin-top: 18px; padding: 20px 18px 16px; border-radius: 28px; background: linear-gradient(135deg, var(--f-blue), #8B7CFF); color: #fff; text-align: left; box-shadow: 0 16px 36px rgba(82, 105, 255, .35); animation: fnUp .7s var(--f-ease) both; }
.fn-hero > span { font-size: 13px; font-weight: 700; opacity: .85; }
.fn-hero > b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.02em; }
.fn-hero .fn-meter-bar { margin-top: 44px; }
.fn-hero .fn-meter-bar em { border-color: var(--f-ink); }
.fn-hero .fn-meter-scale { color: rgba(255, 255, 255, .8); }
.fn-meter { padding-top: 4px; }
.fn-tags { margin-top: 12px; padding: 16px; border-radius: 24px; background: #fff; box-shadow: var(--f-shadow-s); text-align: left; animation: fnUp .7s .35s var(--f-ease) both; }
.fn-tags h2 { font-size: 14px; font-weight: 800; margin-bottom: 10px; }
.fn-tags div { display: flex; flex-wrap: wrap; gap: 8px; }
.fn-tags span { padding: 8px 12px; border-radius: 14px; background: #FFF0E0; color: #A44F00; font-size: 13.5px; font-weight: 700; line-height: 1.3; }

/* 4-week plan on the same line as "memory" */
.fn-weekline div.now { background: linear-gradient(135deg, var(--f-blue), var(--f-blue2)); color: #fff; }
.fn-weekline div.now span { color: rgba(255, 255, 255, .8); }
.fn-weekline div.now i { background: var(--f-blue); border-color: #fff; box-shadow: 0 0 0 5px rgba(82, 105, 255, .25); }
.fn-weekline div:last-child:not(.now) { background: #fff; color: var(--f-ink); }
.fn-weekline div:last-child:not(.now) span { color: var(--f-blue); }
.fn-weekline div:last-child:not(.now) i { background: #fff; border-color: var(--f-green); box-shadow: none; }

/* compare: ChatGPT muted grey, SpaceWithYou bright */

/* offer: colour bands */
.fn-band { position: relative; margin: 28px calc(-1 * var(--gutter)) 0; padding: 28px var(--gutter); border-radius: 32px; overflow: hidden; }
.fn-band h2 { font-weight: 800; font-size: 21px; }
.fn-band.hero { margin-top: 0; padding-bottom: 0; border-radius: 0 0 36px 36px; background: radial-gradient(120% 80% at 50% 0%, #8B7CFF, var(--f-blue) 60%); color: #fff; }
.fn-band.hero h1 { color: #fff; }
.fn-band.pink { background: var(--f-pink); }
.fn-band.blue { background: var(--f-soft); }
.fn-band.lemon { background: var(--f-lemon); }
.fn-spark { position: absolute; width: 22px; height: 22px; fill: rgba(255, 255, 255, .85); animation: fnTwinkle 2.6s ease-in-out infinite; }
.fn-spark.s1 { left: 22px; top: 70px; } .fn-spark.s2 { right: 28px; top: 120px; width: 14px; animation-delay: 1.2s; }
@keyframes fnTwinkle { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
.fn-ba2 { display: grid; grid-template-columns: 1fr 36px 1fr; align-items: end; margin-top: 14px; }
.fn-ba2 figure { position: relative; margin: 0; }
.fn-ba2 img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; object-position: bottom; }
.fn-ba2 figure:first-child img { filter: saturate(.7); }
.fn-ba2 span { position: absolute; left: 50%; top: 0; transform: translateX(-50%); z-index: 2; padding: 6px 12px; border-radius: 99px; background: rgba(255, 255, 255, .25); backdrop-filter: blur(6px); font-size: 12px; font-weight: 800; white-space: nowrap; }
.fn-ba2 .after span { background: #fff; color: var(--f-blue); }
.fn-ba2 > i { align-self: center; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--f-blue); font-style: normal; font-weight: 900; box-shadow: var(--f-shadow); }
.fn-ba-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; text-align: left; }
.fn-ba-lists ul { display: grid; align-content: start; gap: 8px; margin: 0; padding: 14px 12px; list-style: none; border-radius: 22px; background: #fff; box-shadow: var(--f-shadow-s); font-size: 13px; font-weight: 600; line-height: 1.3; }
.fn-ba-lists ul.after { background: #EAF9EE; }
.fn-ba-lists li { position: relative; padding-left: 18px; }
.fn-ba-lists li::before { content: "✕"; position: absolute; left: 0; top: 0; font-size: 11px; font-weight: 900; color: var(--f-orange); }
.fn-ba-lists .after li::before { content: "✓"; color: var(--f-green); }
.fn-band .fn-mypsy { box-shadow: none; }
.fn-band .fn-inside div, .fn-band .fn-reviews blockquote { box-shadow: none; }
.fn-t-mood .fn-week .fn-lottie { width: 44px; height: 44px; }
.fn-t-mood .fn-note { text-align: left; }
.fn-chart-tag.a { top: 44%; }

/* ===== v7 ===== */
/* help: the pain illustration sits on the photo without a circle and moves gently */
.fn-sticker { width: 104px; height: 104px; right: -22px; bottom: -18px; background: none; box-shadow: none; border-radius: 0; }
.fn-sticker img { width: 104px; height: 104px; animation: fnBob 3.2s ease-in-out infinite; transform-origin: 50% 90%; filter: drop-shadow(0 8px 14px rgba(20, 21, 43, .18)); }

/* night: SpaceWithYou arrives as a push at the top of the phone */
.fn-phone { position: relative; }
.fn-phone .fn-push { position: absolute; left: 8px; right: 8px; top: 8px; z-index: 3; width: auto; max-width: none; margin: 0; padding: 10px 12px; border-radius: 18px; background: rgba(245, 246, 255, .97); backdrop-filter: blur(12px); transform: translateY(-24px); }
.fn-phone .fn-push.show { transform: none; }
.fn-phone .fn-push b { display: flex; justify-content: space-between; }
.fn-phone .fn-push small { font-size: 11px; font-weight: 600; color: var(--f-mute); }
.fn-night h1 { margin-top: 26px !important; }

/* picker card as in the app */
.fn-pick { padding-top: 22px; }
.fn-pcard { position: relative; overflow: visible; background: none; box-shadow: none; border: 0; }
.fn-pcard.best { border: 0; background: none; }
.fn-pcard > em { position: absolute; left: 50%; top: -16px; z-index: 2; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 14px; border-radius: 99px; background: #fff; color: var(--f-blue); font-style: normal; font-size: 13.5px; font-weight: 700; white-space: nowrap; box-shadow: var(--f-shadow-s); }
.fn-pcard.best > em { background: var(--f-blue); color: #fff; }
.fn-pcard > em i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--f-blue); font-style: normal; font-size: 12px; font-weight: 900; }
.fn-pcard:not(.best) > em { padding-right: 14px; }
.fn-pcard-img { position: relative; border-radius: 30px; overflow: hidden; background: #fff; box-shadow: var(--f-shadow); border: 2.5px solid transparent; }
.fn-pcard.best .fn-pcard-img { border-color: var(--f-blue); }
.fn-pcard-img img { aspect-ratio: 3 / 3.7; }
.fn-pcard-img > div { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 16px 14px; background: rgba(255, 255, 255, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--f-ink); text-align: left; }
.fn-pcard-img b { font-size: 24px; font-weight: 800; color: var(--f-ink); }
.fn-pcard-img span { display: block; margin-top: 2px; font-size: 15px; font-weight: 500; opacity: 1; color: var(--f-ink); }
.fn-pcard-img p { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.fn-pcard-img p i { padding: 6px 12px; border-radius: 10px; background: rgba(82, 105, 255, .14); color: var(--f-blue); font-style: normal; font-size: 12.5px; font-weight: 600; }
.fn-t-match { padding-bottom: 116px; }
.fn-t-match .fn-sub { margin-top: 6px; }

/* offer v7: BetterMe / Flo structure */
.fn-obar { position: sticky; top: 0; z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 calc(-1 * var(--gutter)); padding: 10px var(--gutter); background: rgba(248, 249, 255, .9); backdrop-filter: blur(12px); }
.fn-obar b { font-weight: 800; font-size: 15px; }
.fn-obar a { padding: 9px 16px; border-radius: 99px; background: linear-gradient(90deg, var(--f-blue), var(--f-blue2)); color: #fff; font-weight: 800; font-size: 14px; }
.fn-ometrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: -26px; position: relative; z-index: 3; }
.fn-ometrics > div { display: grid; gap: 10px; padding: 14px 12px; border-radius: 22px; background: #fff; box-shadow: var(--f-shadow); text-align: left; }
.fn-om span { display: block; font-size: 11.5px; font-weight: 700; color: var(--f-mute); }
.fn-om b { display: block; font-size: 14.5px; font-weight: 800; }
.fn-om i { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; margin-top: 5px; }
.fn-om u { height: 6px; border-radius: 6px; background: var(--f-soft); }
.now .fn-om u.on { background: var(--f-orange); }
.after .fn-om u.on { background: var(--f-green); }
.now .fn-om b { color: #C25E00; }
.after .fn-om b { color: #1E8E3E; }
.fn-ogoal { display: grid; gap: 0; margin-top: 14px; border-radius: 22px; background: #fff; box-shadow: var(--f-shadow-s); text-align: left; }
.fn-ogoal div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 16px; border-bottom: 1px solid var(--f-line); }
.fn-ogoal div:last-child { border-bottom: 0; }
.fn-ogoal span { font-size: 13.5px; color: var(--f-mute); font-weight: 600; }
.fn-ogoal b { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 800; text-align: right; }
.fn-ogoal img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; object-position: top; }
.fn-bigcta { display: flex; align-items: center; justify-content: center; min-height: 60px; border-radius: 99px; background: linear-gradient(90deg, var(--f-blue), var(--f-blue2)); color: #fff; font-weight: 800; font-size: 18px; box-shadow: 0 12px 28px rgba(82, 105, 255, .4); animation: fnPulse 2.4s ease-in-out infinite; }
@keyframes fnPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.025); } }
.fn-cta .fn-stores { margin-top: 12px; }
.fn-oproof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.fn-oproof div { padding: 14px 6px; border-radius: 20px; background: #fff; }
.fn-oproof b { display: block; font-size: 20px; font-weight: 800; color: var(--f-blue); }
.fn-oproof span { font-size: 11.5px; font-weight: 700; color: var(--f-mute); }
.fn-orev { display: flex; gap: 12px; margin: 14px calc(-1 * var(--gutter)) 0; padding: 0 var(--gutter) 4px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.fn-orev::-webkit-scrollbar { display: none; }
.fn-orev blockquote { flex: 0 0 82%; scroll-snap-align: center; }
.fn-inside .c0 i { background: var(--f-soft); color: var(--f-blue); }
.fn-inside .c1 i { background: var(--f-pink); color: #B0338B; }
.fn-inside .c2 i { background: #EAF9EE; color: #1E8E3E; }
.fn-inside .c3 i { background: #FFF0E0; color: #C25E00; }
.fn-band.final { margin-bottom: 8px; background: radial-gradient(120% 90% at 50% 0%, #8B7CFF, var(--f-blue) 65%); color: #fff; text-align: center; }
.fn-band.final h2 { margin-top: 10px; }
.fn-band.final > p { margin-top: 6px; opacity: .9; }
.fn-final-psy { width: 86px; height: 86px; border-radius: 50%; object-fit: cover; object-position: top; border: 4px solid rgba(255, 255, 255, .7); }
.fn-band.final .fn-bigcta { background: #fff; color: var(--f-blue); box-shadow: 0 12px 28px rgba(0, 0, 0, .18); }
.fn-band.final .fn-note { color: rgba(255, 255, 255, .8); }
.fn-band.final .store-badge { box-shadow: none; }
.fn-offer .fn-band.hero { margin-top: 0; padding-bottom: 36px; }
.fn-final-psy { display: block; margin: 0 auto; }

/* ===== v8 ===== */
.fn-fchip { display: none !important; }
.fn-t-mood .fn-week { margin-top: 10px; padding: 18px 8px; border-radius: 26px; }
/* sticker stays inside the photo frame */
.fn-sticker { right: 6px; bottom: 6px; }
/* night: iOS-style notification banner */
.fn-phone .fn-push { left: 6px; right: 6px; top: 6px; display: grid; grid-template-columns: 38px 1fr; gap: 10px; padding: 11px 12px; border-radius: 22px; background: rgba(235, 236, 245, .82); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.fn-phone .fn-push img { width: 38px; height: 38px; border-radius: 9px; }
.fn-phone .fn-push b { font-size: 13px; font-weight: 700; letter-spacing: 0; }
.fn-phone .fn-push b small { font-size: 12px; font-weight: 500; color: rgba(20, 21, 43, .5); }
.fn-phone .fn-push span { display: block; margin-top: 1px; font-size: 13.5px; line-height: 1.3; color: #14152B; }
/* plan chart: dots + week themes under the axis */
.fn-chart { padding: 54px 12px 14px; }
.fn-chart-tag.a { left: 12px; top: 14px; }
.fn-chart-tag.b { right: 12px; top: 14px; }
.fn-chart-dot { fill: #fff; stroke: var(--f-blue); stroke-width: 4; opacity: 0; animation: fnFade .4s forwards; }
.fn-chart-x { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; padding: 0; text-align: left; }
.fn-chart-x div { opacity: 0; animation: fnUp .6s var(--f-ease) forwards; }
.fn-chart-x b { display: block; font-size: 11px; font-weight: 800; color: var(--f-blue); text-transform: uppercase; letter-spacing: .04em; }
.fn-chart-x span { display: block; margin-top: 2px; font-size: 11.5px; font-weight: 600; line-height: 1.3; color: var(--f-ink); }
/* carousel arrows (desktop) */
.fn-dots { align-items: center; gap: 8px; }
.fn-arrow { width: 34px; height: 34px; margin: 0 6px; border: 0; border-radius: 50%; background: #fff; color: var(--f-blue) !important; font-size: 20px; font-weight: 800; line-height: 1; cursor: pointer; box-shadow: var(--f-shadow-s); }
.fn-carousel { cursor: grab; }
.fn-carousel img { -webkit-user-drag: none; user-select: none; }
/* offer top: white, BetterMe-style before/after cards with metrics */
.fn-otitle { margin-top: 14px !important; }
.fn-oba { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; text-align: left; }
.fn-oba > div { border-radius: 24px; background: #fff; box-shadow: var(--f-shadow); overflow: hidden; padding-bottom: 12px; }
.fn-oba > div > .fn-om { padding: 0 12px; margin-top: 10px; }
.fn-oba-img { position: relative; background: linear-gradient(180deg, #ECEDF3, #DADCE6); }
.fn-oba .after .fn-oba-img { background: linear-gradient(180deg, #E9ECFF, #FFE5F8); }
.fn-oba-img img { display: block; width: 100%; aspect-ratio: 4 / 4.4; object-fit: contain; object-position: bottom; padding-top: 30px; box-sizing: border-box; }
.fn-oba-img span { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); padding: 5px 12px; border-radius: 99px; background: #fff; font-size: 12px; font-weight: 800; white-space: nowrap; }
.fn-oba .after .fn-oba-img span { background: var(--f-blue); color: #fff; }
.fn-oba > i { position: absolute; left: 50%; top: 24%; width: 36px; height: 36px; margin-left: -18px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--f-blue); font-style: normal; font-weight: 900; box-shadow: var(--f-shadow); z-index: 2; }
.fn-chart { padding-top: 50px; } .fn-chart-tag.a { top: auto; bottom: 46%; left: 14px; } .fn-chart-tag { font-size: 11.5px; }
.fn-chart-tag.a { bottom: 50%; }

/* offer v9: "what's inside" as one list, plan as a roadmap */
.fn-olist { margin: 14px 0 0; padding: 6px 16px; list-style: none; border-radius: 26px; background: #fff; box-shadow: var(--f-shadow); text-align: left; }
.fn-olist li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--f-line); }
.fn-olist li:last-child { border-bottom: 0; }
.fn-olist i { flex: 0 0 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--f-soft); color: var(--f-blue); }
.fn-olist .c1 i { background: var(--f-pink); color: #C2369A; }
.fn-olist .c2 i { background: #EAF9EE; color: #1E8E3E; }
.fn-olist .c3 i { background: #FFF0E0; color: #C25E00; }
.fn-olist svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fn-olist b { display: block; font-size: 15.5px; font-weight: 800; }
.fn-olist span { display: block; margin-top: 2px; font-size: 13.5px; line-height: 1.35; color: var(--f-mute); }
.fn-road { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 16px; padding: 18px 12px 16px; border-radius: 26px; background: #fff; box-shadow: var(--f-shadow); text-align: left; }
.fn-road::before { content: ""; position: absolute; left: 12%; right: 12%; top: 34px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--f-blue), #8B7CFF 60%, var(--f-green)); }
.fn-road div { position: relative; display: grid; justify-items: center; text-align: center; }
.fn-road i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 3px solid var(--f-blue); color: var(--f-blue); font-style: normal; font-weight: 800; }
.fn-road div:last-child i { border-color: var(--f-green); color: #1E8E3E; }
.fn-road .now i { background: var(--f-blue); color: #fff; box-shadow: 0 0 0 5px rgba(82, 105, 255, .2); }
.fn-road span { margin-top: 8px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--f-blue); }
.fn-road b { margin-top: 3px; font-size: 12.5px; font-weight: 700; line-height: 1.3; }

/* offer v10: trust block */
.fn-trust-card { margin-top: 14px; padding: 20px 20px 16px; border-radius: 28px; background: radial-gradient(120% 120% at 0% 0%, #8B7CFF, var(--f-blue) 55%, #3E52E6); color: #fff; text-align: left; box-shadow: 0 16px 36px rgba(82, 105, 255, .32); }
.fn-trust-main { display: flex; align-items: center; gap: 14px; }
.fn-trust-main > b { font-size: 56px; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.fn-trust-main .fn-stars { display: block; color: #FFD45C; font-size: 20px; letter-spacing: 3px; }
.fn-trust-main small { font-size: 13.5px; font-weight: 600; opacity: .85; }
.fn-trust-row { display: grid; grid-template-columns: 1fr 1fr; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .22); }
.fn-trust-row div + div { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .22); }
.fn-trust-row b { display: block; font-size: 22px; font-weight: 800; }
.fn-trust-row small { font-size: 12.5px; font-weight: 600; opacity: .85; }
.fn-trust-rev { margin: 14px calc(-1 * var(--gutter)) 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.fn-trust-rev .fn-track { gap: 12px; padding: 4px 0 14px; animation-duration: 46s; }
.fn-trust-rev .fn-track:hover { animation-play-state: paused; }
.fn-trust-rev blockquote { width: 250px; flex: 0 0 250px; margin: 0; padding: 14px 16px; border-radius: 22px; background: #fff; box-shadow: var(--f-shadow-s); text-align: left; }
.fn-trust-rev blockquote > div { display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; align-items: center; }
.fn-trust-rev blockquote i { grid-row: span 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--f-soft); color: var(--f-blue); font-style: normal; font-weight: 800; font-size: 13px; }
.fn-trust-rev blockquote b { font-size: 13.5px; font-weight: 800; }
.fn-trust-rev .fn-stars { font-size: 11px; letter-spacing: 1px; }
.fn-trust-rev p { margin-top: 10px; font-size: 14px; line-height: 1.45; }
.fn-trust-rev small { display: inline-block; margin-top: 10px; padding: 3px 9px; border-radius: 99px; background: var(--f-bg); font-size: 11.5px; font-weight: 700; color: var(--f-mute); }
/* trust v11: one compact line instead of a big card */
.fn-trust h2 { font-size: 19px; }
.fn-trust-line { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 13px; color: var(--f-mute); }
.fn-trust-line span { white-space: nowrap; }
.fn-trust-line span + span::before { content: "·"; margin-right: 14px; color: var(--f-line); }
.fn-trust-line b { color: var(--f-ink); font-weight: 800; }
.fn-trust-line span:first-child b { color: var(--f-orange); }
.fn-trust-rev { margin-top: 10px; }
.fn-trust-rev blockquote { width: 230px; flex-basis: 230px; padding: 12px 14px; border-radius: 18px; }
.fn-trust-rev p { margin-top: 6px; font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.fn-trust-rev small { margin-top: 6px; }
.fn-trust-line span + span::before { content: none; } .fn-trust-line { gap: 4px 16px; }
