/* ================= THEME TOKENS ================= */
:root {
  --font: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Unbounded", "Onest", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --max: 1200px;
  --r-lg: 32px;
  --r-md: 24px;
}
/* A · Midnight (dark) */
html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07080B;
  --tx: #F3F4F7;
  --mu: rgba(243, 244, 247, 0.70);
  --mu2: rgba(243, 244, 247, 0.60);
  --acc: #8B7CFF;
  --acc-tx: #A89DFF;
  --on-acc: #07080B;
  --btn-bg: #F3F4F7;
  --btn-tx: #07080B;
  --ok: #3DD9C1;
  --ok-fill: #3DD9C1;
  --warn: #FFC84A;
  --card: rgba(255, 255, 255, 0.04);
  --card-line: rgba(255, 255, 255, 0.09);
  --card-shadow: none;
  --float: rgba(18, 20, 27, 0.9);
  --inset: rgba(0, 0, 0, 0.35);
  --inset-line: rgba(255, 255, 255, 0.06);
  --track: rgba(255, 255, 255, 0.09);
  --soft: rgba(255, 255, 255, 0.06);
  --blob-a: #8B7CFF; --blob-b: #2F6BFF; --blob-c: #6FD3FF; --blob-d: #8B7CFF;
  --blob-op: 0.30;
  --grad-text: linear-gradient(90deg, #FFFFFF 0%, #8B7CFF 28%, #6FD3FF 55%, #FFFFFF 80%, #FFFFFF 100%);
  --wall: linear-gradient(145deg, #151829 0%, #0D0F18 100%);
  --wall-line: rgba(255, 255, 255, 0.08);
  --widget: rgba(255, 255, 255, 0.06);
  --widget-line: rgba(255, 255, 255, 0.1);
  --widget-tx2: rgba(243, 244, 247, 0.72);
  --panel: #0F1117;
  --pro-border: linear-gradient(135deg, #8B7CFF, #6FD3FF);
  --phone-bezel: #16181F;
  --dots: rgba(255, 255, 255, 0.08);
}
/* C · Glass (light) */
html[data-theme="light"] {
  color-scheme: light;
  --bg: #EDF0F7;
  --tx: #0B1020;
  --mu: #3A4260;
  --mu2: #4B5470;
  --acc: #0066F0;
  --acc-tx: #0057D9;
  --on-acc: #FFFFFF;
  --btn-bg: #0066F0;
  --btn-tx: #FFFFFF;
  --ok: #0E8A5F;
  --ok-fill: #30C06B;
  --warn: #FF9F0A;
  --card: rgba(255, 255, 255, 0.58);
  --card-line: rgba(255, 255, 255, 0.78);
  --card-shadow: 0 24px 60px -30px rgba(20, 30, 80, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --float: rgba(255, 255, 255, 0.72);
  --inset: rgba(255, 255, 255, 0.72);
  --inset-line: rgba(255, 255, 255, 0.9);
  --track: rgba(11, 16, 32, 0.08);
  --soft: rgba(11, 16, 32, 0.06);
  --blob-a: #5B8CFF; --blob-b: #FF72B6; --blob-c: #3ED8F2; --blob-d: #9B6BFF;
  --blob-op: 0.5;
  --grad-text: linear-gradient(90deg, #0066F0 0%, #8A5CFF 30%, #F0438F 55%, #0066F0 100%);
  --wall: linear-gradient(135deg, #2A4FE8 0%, #6B3CE6 50%, #C8327E 100%);
  --wall-line: transparent;
  --widget: rgba(255, 255, 255, 0.72);
  --widget-line: rgba(255, 255, 255, 0.85);
  --widget-tx2: #2A3150;
  --panel: linear-gradient(135deg, #2A4FE8 0%, #6B3CE6 50%, #C8327E 100%);
  --pro-border: linear-gradient(135deg, #0066F0, #8A5CFF, #F0438F);
  --phone-bezel: #FFFFFF;
  --dots: rgba(11, 16, 32, 0.06);
}

/* ================= BASE ================= */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--tx);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background-color .4s ease, color .4s ease;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -0.045em; line-height: 1.05; }
h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.num { font-family: var(--display); font-weight: 600; letter-spacing: -0.04em; }
.mono { font-family: var(--mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 8px; }

/* glass surfaces (light = frosted white, dark = soft dark) */
.glass {
  background: var(--card);
  border: 1px solid var(--card-line);
  box-shadow: var(--card-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
}

/* ================= LIVING BACKGROUND (fixed layer) ================= */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: var(--blob-op); will-change: transform; }
.blob.b1 { width: 52vmax; height: 52vmax; top: -18vmax; left: -16vmax; background: var(--blob-a); animation: drift1 22s ease-in-out infinite alternate; }
.blob.b2 { width: 48vmax; height: 48vmax; top: -6vmax; right: -20vmax; background: var(--blob-b); animation: drift2 26s ease-in-out infinite alternate; }
.blob.b3 { width: 40vmax; height: 40vmax; bottom: -18vmax; left: 20vmax; background: var(--blob-c); animation: drift3 30s ease-in-out infinite alternate; }
.blob.b4 { width: 36vmax; height: 36vmax; bottom: -10vmax; right: -8vmax; background: var(--blob-d); animation: drift1 28s ease-in-out -8s infinite alternate; }
html[data-theme="dark"] .blob.b3 { opacity: 0.16; }
html[data-theme="dark"] .blob.b4 { opacity: 0.18; }

/* ================= HEADER ================= */
.top { position: sticky; top: 0; z-index: 20; padding-top: 12px; }
.bar {
  display: flex; align-items: center; gap: 12px;
  min-height: 64px; padding: 8px 8px 8px 16px; border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
html[data-theme="dark"] .logo-light, html[data-theme="light"] .logo-dark { display: none; }
html[data-theme="light"] .brand img { box-shadow: 0 0 0 1px rgba(11, 16, 32, .08); }
.menu { display: none; gap: 30px; margin: 0 auto; font-size: 15px; font-weight: 500; color: var(--mu); }
.menu a:hover { color: var(--tx); }
.bar-end { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.langs { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: var(--soft); }
.langs a { min-width: 40px; height: 38px; padding: 0 10px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--mu); }
.langs a[aria-current="page"] { background: var(--btn-bg); color: var(--btn-tx); }
.lang-menu { display: none; position: relative; }
.lang-menu summary {
  list-style: none; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  font-size: 13px; font-weight: 700; background: var(--btn-bg); color: var(--btn-tx);
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-pop {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 30;
  display: flex; flex-direction: column; min-width: 88px; padding: 6px; border-radius: 18px;
  background: var(--bg);
  border: 1px solid var(--card-line);
  box-shadow: 0 16px 40px -20px rgba(10, 14, 40, 0.45);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.lang-pop a { width: 100%; justify-content: flex-start; padding: 0 14px; border-radius: 12px; }
.theme-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: var(--soft); color: var(--tx);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
}
.theme-btn:hover { transform: rotate(-20deg) scale(1.06); }
.theme-btn svg { width: 20px; height: 20px; }
html[data-theme="dark"] .ico-moon, html[data-theme="light"] .ico-sun { display: none; }

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-main { background: var(--btn-bg); color: var(--btn-tx); }
.btn-main:hover { box-shadow: 0 14px 36px -12px var(--acc); }
.btn-ghost { background: var(--card); border-color: var(--card-line); color: var(--tx); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 17px; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-short { display: inline; }
.btn-long { display: none; }

/* ================= HERO ================= */
.hero { display: grid; gap: 40px; padding: 48px 0 24px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.chip {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  min-height: 36px; padding: 0 14px 0 6px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--mu);
}
.chip b { min-height: 24px; padding: 0 10px; border-radius: 999px; background: var(--acc); color: var(--on-acc); font-size: 12px; display: inline-flex; align-items: center; }
@media (max-width: 400px) {
  .chip { gap: 6px; padding: 0 8px 0 4px; font-size: 12px; white-space: nowrap; }
  .chip b { font-size: 11px; padding: 0 7px; }
}
.hero h1 { font-size: clamp(40px, 10.4vw, 80px); display: flex; flex-direction: column; }
.grad { background: var(--grad-text); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s linear infinite; }
.lede { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.55; color: var(--mu); max-width: 540px; text-wrap: pretty; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--mu2); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; color: var(--ok); }

/* stage: real screenshot in a phone frame + floating cards */
.stage { position: relative; height: 640px; }
.phone {
  position: absolute; left: 50%; top: 0; width: 260px; margin-left: -130px;
  padding: 9px; border-radius: 46px; background: var(--phone-bezel);
  box-shadow: 0 0 0 1px var(--card-line), 0 50px 110px -40px rgba(10, 14, 40, 0.75);
  animation: bob 7s ease-in-out infinite;
}
.phone img { width: 100%; border-radius: 37px; }
html[data-theme="dark"] .shot-light, html[data-theme="light"] .shot-dark { display: none; }
.float {
  position: absolute; z-index: 2; padding: 14px; border-radius: 22px;
  background: var(--float); border: 1px solid var(--card-line); box-shadow: 0 24px 50px -24px rgba(10, 14, 40, 0.6);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
}
.float { max-width: calc(100% - 16px); }
.f-add { left: 8px; top: 468px; width: min(150px, calc(100% - 16px)); display: flex; flex-direction: column; gap: 8px; animation: bob 8s ease-in-out -2s infinite; }
.f-ring { right: 8px; top: 132px; width: 112px; padding: 8px 8px 6px; display: flex; flex-direction: column; align-items: center; gap: 2px; animation: bob 9s ease-in-out -4s infinite; }
.f-ring .f-label { font-size: 11px; line-height: 1.2; text-align: center; max-width: 100%; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.f-ring .ring-wrap { width: 52px; height: 52px; }
.f-ring .ring-wrap .num { font-size: 13px; }
.f-rent { display: none; }
.f-label { align-self: flex-start; font-size: 12px; font-weight: 600; color: var(--mu); display: flex; align-items: center; gap: 8px; }
.f-label i { width: 22px; height: 22px; border-radius: 7px; background: var(--acc); color: var(--on-acc); display: inline-flex; align-items: center; justify-content: center; font-style: normal; }
.f-label i svg { width: 12px; height: 12px; }
.field { min-height: 44px; padding: 0 14px; border-radius: 13px; background: var(--inset); border: 1px solid var(--inset-line); display: flex; align-items: center; font-size: 15px; }
/* --tw = length of the typed example in ch: "coffee 60" = 9ch, "káva 60" / "кофе 60" = 7ch */
.typed { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; width: var(--tw, 9ch); animation: type 6s steps(9, end) infinite; }
.caret { color: var(--acc); animation: blink 1s step-end infinite; }
.logged { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; animation: popin 6s ease infinite; }
.logged .ok { width: 20px; height: 20px; border-radius: 50%; background: var(--ok-fill); color: #07080B; display: inline-flex; align-items: center; justify-content: center; }
html[data-theme="light"] .logged .ok { color: #FFFFFF; }
.logged .ok svg { width: 11px; height: 11px; }
.logged span:nth-child(2) { flex-grow: 1; }
.ring-wrap { position: relative; width: 80px; height: 80px; }
.ring-wrap .num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 17px; }
.ring-track { stroke: var(--track); }
.ring { stroke-dasharray: 264; stroke-dashoffset: 100; animation: ring 6s cubic-bezier(.3, .7, .2, 1) infinite; }
.small-mu { font-size: 12px; font-weight: 600; color: var(--mu); }

/* ================= CURRENCY STRIP ================= */
.strip { overflow: hidden; padding: 20px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.strip-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.strip-row { display: flex; gap: 10px; padding-right: 10px; }
.cur { min-height: 48px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; }
.cur span { font-weight: 500; color: var(--mu2); }

/* ================= SECTIONS ================= */
.sec { padding: 88px 0 0; }
.sec-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--acc-tx); }
.sec h2 { font-size: clamp(32px, 6.4vw, 56px); }

/* how it works */
.steps { display: grid; gap: 14px; }
.step { padding: 18px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 20px; }
.step-vis { min-height: 160px; border-radius: 22px; background: var(--inset); border: 1px solid var(--inset-line); display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 20px; }
.step-vis.center { align-items: center; }
.step-body { display: flex; gap: 14px; align-items: flex-start; }
.step-n { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--acc); color: var(--on-acc); display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 600; font-size: 14px; }
.step h3 { font-size: 21px; margin-bottom: 6px; }
.step p { font-size: 15px; line-height: 1.6; color: var(--mu); }
.pill-input { width: min(260px, 100%); min-height: 50px; padding: 0 6px 0 16px; border-radius: 999px; background: var(--soft); border: 1px solid var(--card-line); display: flex; align-items: center; justify-content: space-between; font-size: 15px; }
html[data-theme="light"] .pill-input { background: #FFFFFF; }
.pill-input i { width: 38px; height: 38px; border-radius: 50%; background: var(--acc); color: var(--on-acc); display: inline-flex; align-items: center; justify-content: center; }
.pill-input i svg { width: 16px; height: 16px; }
.pill-ok { min-height: 32px; padding: 0 12px; border-radius: 999px; background: var(--ok-fill); color: #07080B; display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; animation: popin 6s ease infinite; }
html[data-theme="light"] .pill-ok { color: #FFFFFF; background: #0E8A5F; }
.big-num { font-size: clamp(34px, 5vw, 44px); }
.track { height: 9px; border-radius: 5px; background: var(--track); overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 5px; background: var(--acc); transform-origin: left; animation: fillx 6s cubic-bezier(.3, .7, .2, 1) infinite; }
.rows { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.row { display: flex; gap: 12px; white-space: nowrap; }
.row .d { width: 52px; color: var(--mu2); }
.row .n { flex-grow: 1; }
.row .a { font-weight: 700; }
.spark { width: 100%; height: 56px; }
.draw { stroke-dasharray: 700; stroke-dashoffset: 0; animation: draw 7s ease-in-out infinite; }

/* features: widget wall */
.wall { position: relative; overflow: hidden; padding: 14px; border-radius: 40px; background: var(--wall); border: 1px solid var(--wall-line); }
.wall-blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.wall-blob.w1 { width: 60%; aspect-ratio: 1; top: -25%; left: -15%; background: #3ED8F2; opacity: .45; animation: drift1 20s ease-in-out infinite alternate; }
.wall-blob.w2 { width: 55%; aspect-ratio: 1; bottom: -30%; right: -12%; background: #FFB35C; opacity: .4; animation: drift2 24s ease-in-out infinite alternate; }
html[data-theme="dark"] .wall-blob.w1 { background: #8B7CFF; opacity: .28; }
html[data-theme="dark"] .wall-blob.w2 { background: #2F6BFF; opacity: .25; }
.widgets { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); grid-auto-flow: dense; gap: 12px; }
.wg-stats { grid-column: span 1; }
.wg {
  position: relative; overflow: hidden; border-radius: 28px; padding: 16px;
  background: var(--widget); border: 1px solid var(--widget-line);
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.wg:hover { transform: scale(1.02); }
.wg h3 { font-size: 15px; display: flex; align-items: center; gap: 8px; }
.wg h3 i { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; }
.wg h3 i svg { width: 15px; height: 15px; }
.wg p, .wg .cap { font-size: 13px; line-height: 1.45; font-weight: 500; color: var(--widget-tx2); }
.wg-wide { grid-column: span 2; }
.wg-wallets { grid-column: span 2; grid-row: span 2; min-height: 320px; justify-content: flex-start; }
.cards-fan { position: relative; flex-grow: 1; min-height: 170px; margin-top: 8px; }
.money-card { position: absolute; width: min(210px, 62%); aspect-ratio: 1.7; padding: 14px; border-radius: 20px; color: #FFFFFF; display: flex; flex-direction: column; justify-content: space-between; font-size: 12px; font-weight: 700; }
.money-card .num { font-size: 19px; }
.money-card.c1 { left: 0; top: 0; transform: rotate(-6deg); background: linear-gradient(135deg, #3ED8F2, #2A8CF0); }
.money-card.c2 { left: 14%; top: 22px; transform: rotate(-1deg); background: linear-gradient(135deg, #30C06B, #0E8A5F); }
.money-card.c3 { left: 28%; top: 44px; transform: rotate(4deg); background: linear-gradient(135deg, #1B1F33, #0B1020); box-shadow: 0 18px 36px -16px rgba(0, 0, 0, 0.7); border: 1px solid rgba(255, 255, 255, 0.12); }
.wg-ring { align-items: center; }
.wg-ring h3 { align-self: flex-start; }
.recur { display: flex; flex-direction: column; gap: 6px; }
.recur div { min-height: 32px; padding: 0 10px; border-radius: 10px; background: var(--inset); display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.recur b { width: 44px; color: var(--acc-tx); }
html[data-theme="light"] .recur b { color: #C8264F; }
.recur span { flex-grow: 1; }
.bars { height: 72px; display: flex; align-items: flex-end; gap: 6px; }
.bars i { flex-grow: 1; border-radius: 6px; background: var(--track); transform-origin: bottom; animation: grow 6s cubic-bezier(.3, .7, .2, 1) infinite; }
.bars i.hi { background: linear-gradient(180deg, #FF9F0A, #F0438F); }
html[data-theme="dark"] .bars i.hi { background: var(--acc); }
.looks { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.looks span { height: 52px; border-radius: 12px; }
.offline-ico { width: 40px; height: 40px; border-radius: 12px; background: #0B1020; color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; }
html[data-theme="dark"] .offline-ico { background: var(--acc); color: #07080B; }
.offline-ico svg { width: 20px; height: 20px; }
.type-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.type-row .field { flex: 1 1 160px; }
html[data-theme="light"] .type-row .field, html[data-theme="light"] .f-add .field { background: #FFFFFF; }
.receipt { flex: 0 0 auto; padding: 10px 14px; border-radius: 16px; background: var(--inset); display: flex; flex-direction: column; font-size: 12px; font-weight: 600; color: var(--widget-tx2); animation: popin 6s ease infinite; }
html[data-theme="light"] .receipt { background: #FFFFFF; }
.receipt b { font-size: 15px; color: var(--tx); }
.receipt em { font-style: normal; color: var(--ok); }

/* privacy */
.privacy { border-radius: 40px; padding: 32px 22px; display: grid; gap: 28px; align-items: center; }
.privacy h2 { font-size: clamp(30px, 5.6vw, 52px); }
.privacy-text { display: flex; flex-direction: column; gap: 18px; }
.privacy-text p { font-size: 17px; line-height: 1.6; color: var(--mu); max-width: 560px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { min-height: 38px; padding: 0 14px; border-radius: 999px; background: var(--soft); display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.tag svg { width: 15px; height: 15px; color: var(--ok); }
.lock { position: relative; height: 220px; display: flex; align-items: center; justify-content: center; }
.lock .scan { position: absolute; width: 200px; height: 200px; animation: spin 3.2s linear infinite; }
.lock .scan2 { position: absolute; width: 164px; height: 164px; animation: spin 5s linear infinite reverse; }
.lock-box { position: relative; width: 100px; height: 100px; border-radius: 32px; display: flex; align-items: center; justify-content: center; animation: bob 7s ease-in-out infinite; }
.lock-box svg { width: 44px; height: 44px; }

/* pricing */
.prices { display: grid; gap: 14px; }
.price { padding: 28px 22px; border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 22px; }
.price-top { display: flex; flex-direction: column; gap: 6px; }
.price-top .t { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 18px; }
.price-top .p { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-top .p .num { font-size: clamp(44px, 7vw, 60px); line-height: 1; }
.price-top .p span:last-child { font-size: 15px; color: var(--mu); }
.soon-badge { min-height: 28px; padding: 0 12px; border-radius: 999px; background: var(--acc); color: var(--on-acc); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; font-weight: 500; }
.checks li { display: flex; align-items: center; gap: 10px; }
.checks li i { width: 20px; height: 20px; flex-shrink: 0; border-radius: 50%; background: var(--ok-fill); color: #07080B; display: inline-flex; align-items: center; justify-content: center; }
html[data-theme="light"] .checks li i { color: #FFFFFF; background: #0E8A5F; }
.checks li i svg { width: 11px; height: 11px; }
.price .btn { margin-top: auto; }
.price-pro { position: relative; border: 2px solid transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--pro-border) border-box; }
html[data-theme="light"] .price-pro { background: linear-gradient(rgba(255,255,255,.8), rgba(255,255,255,.8)) padding-box, var(--pro-border) border-box; }
.price-pro p { font-size: 15px; line-height: 1.6; color: var(--mu); }
.planned { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.planned i { width: 20px; height: 20px; border-radius: 50%; background: var(--pro-border); color: #FFFFFF; display: inline-flex; align-items: center; justify-content: center; }
.planned i svg { width: 11px; height: 11px; }

/* video soon */
.video { margin-top: 14px; border-radius: var(--r-md); padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.video .play { width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; background: var(--soft); display: inline-flex; align-items: center; justify-content: center; }
.video .play svg { width: 18px; height: 18px; }
.video div { display: flex; flex-direction: column; }
.video b { font-size: 16px; }
.video span { font-size: 14px; color: var(--mu); }

/* faq */
.faq-list { border-radius: 28px; padding: 4px 0; }
.faq-list details { padding: 0 18px; }
.faq-list summary { list-style: none; cursor: pointer; min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 16px; border-bottom: 1px solid var(--card-line); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details:last-child summary { border-bottom: 0; }
.faq-list details[open] summary { border-bottom: 0; }
.faq-list summary svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--mu2); transition: transform .3s ease; }
.faq-list details[open] summary svg { transform: rotate(90deg); }
.faq-list details p { padding: 0 0 18px; font-size: 15px; line-height: 1.6; color: var(--mu); border-bottom: 1px solid var(--card-line); }
.faq-list details:last-child p { border-bottom: 0; }
.faq-more { margin-top: 18px; font-size: 15px; color: var(--mu); }
.faq-more a { font-weight: 700; color: var(--acc-tx); }

/* final cta + footer */
.cta { position: relative; overflow: hidden; margin-top: 88px; border-radius: 40px; padding: 48px 24px; background: var(--panel); border: 1px solid var(--wall-line); color: #FFFFFF; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.cta h2 { position: relative; font-size: clamp(34px, 7vw, 72px); }
.cta p { position: relative; font-size: 17px; line-height: 1.55; max-width: 520px; color: rgba(255, 255, 255, 0.85); }
.cta .actions { position: relative; justify-content: center; }
.cta .btn-main { background: #FFFFFF; color: #0B1020; }
.cta .btn-ghost { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.4); color: #FFFFFF; }
.cta-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.cta-glow.g1 { width: 70%; aspect-ratio: 1; top: -60%; left: -10%; background: #8B7CFF; opacity: .4; animation: drift1 20s ease-in-out infinite alternate; }
.cta-glow.g2 { width: 60%; aspect-ratio: 1; bottom: -60%; right: -10%; background: #2F6BFF; opacity: .35; animation: drift2 24s ease-in-out infinite alternate; }
html[data-theme="light"] .cta-glow.g1 { background: #3ED8F2; opacity: .45; }
html[data-theme="light"] .cta-glow.g2 { background: #FFB35C; opacity: .4; }
.foot { padding: 40px 0 48px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; font-size: 14px; color: var(--mu); }
.foot .brand { font-size: 15px; margin-right: auto; }
.foot a:hover { color: var(--tx); }
.foot p { flex-basis: 100%; font-size: 13px; color: var(--mu2); }

/* ================= REVEAL ON SCROLL (only when JS runs) ================= */
.js .reveal { opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.hero .rise { animation: rise 1s cubic-bezier(.2, .8, .2, 1) both; }

/* ================= RESPONSIVE ================= */
@media (min-width: 560px) {
  .f-rent { display: flex; left: 8px; right: auto; top: 488px; width: max-content; max-width: calc(100% - 16px); align-items: center; gap: 12px; white-space: normal; animation: bob 8.5s ease-in-out -1s infinite; }
  .f-rent > div { min-width: 0; }
  .f-rent .num { white-space: nowrap; flex-shrink: 0; }
  .f-rent .small-mu { white-space: normal; }
  .stage { height: 600px; }
  .phone { width: 280px; margin-left: -140px; }
}
@media (min-width: 720px) {
  .wrap { width: min(var(--max), calc(100% - 64px)); }
  .btn-short { display: none; }
  .btn-long { display: inline; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .widgets { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wg-stats { grid-column: span 2; }
  .wg-offline { grid-column: span 2; }
  .wg-type { grid-column: span 4; }
  .wall { padding: 24px; border-radius: 48px; }
  .privacy { padding: 48px; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
  .cta { padding: 80px 48px; border-radius: 48px; }
  .sec { padding-top: 120px; }
}
@media (min-width: 1000px) {
  .menu { display: flex; }
  .bar-end { margin-left: 0; }
  .hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); padding: 72px 0 32px; gap: 32px; }
  .stage { height: 660px; }
  .phone { width: 300px; margin-left: -150px; top: 10px; }
  .f-add { left: 8px; top: 508px; width: min(188px, calc(100% - 16px)); padding: 14px; }
  .f-ring { right: 8px; top: 132px; width: 120px; padding: 12px; }
  .f-ring .ring-wrap { width: 64px; height: 64px; }
  .f-ring .f-label { font-size: 12px; }
  .f-rent { left: auto; right: 8px; top: 528px; }
  .widgets { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 176px; gap: 18px; }
  .wg { padding: 20px; border-radius: 32px; }
  .wg-wallets { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .wg-budget { grid-column: 3; grid-row: 1; }
  .wg-goal { grid-column: 4; grid-row: 1; }
  .wg-recur { grid-column: 5 / span 2; grid-row: 1; }
  .wg-port { grid-column: 3 / span 2; grid-row: 2; }
  .wg-stats { grid-column: 5 / span 2; grid-row: 2; }
  .wg-looks { grid-column: 1 / span 2; grid-row: 3; }
  .wg-offline { grid-column: 3; grid-row: 3; }
  .wg-type { grid-column: 4 / span 3; grid-row: 3; }
  .wall { padding: 40px; border-radius: 56px; }
  .step { padding: 24px; }
  .privacy { padding: 64px 72px; }
  .lock { height: 300px; }
  .lock .scan { width: 260px; height: 260px; }
  .lock .scan2 { width: 212px; height: 212px; }
  .lock-box { width: 128px; height: 128px; border-radius: 40px; }
  .lock-box svg { width: 54px; height: 54px; }
  .faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
  .faq-list details { padding: 0 26px; }
  .faq-list summary { min-height: 68px; font-size: 18px; }
}

/* 44px targets. Under 520px languages collapse so the bar stays one line at every width. */
.menu a { min-height: 44px; display: inline-flex; align-items: center; }
.langs a { min-width: 44px; height: 44px; }
@media (max-width: 519px) {
  .bar { flex-wrap: nowrap; border-radius: 28px; }
  .brand { flex: 1 1 auto; min-width: 0; }
  .brand span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bar-end { flex: 0 0 auto; width: auto; margin-left: auto; justify-content: flex-end; }
  .langs > .lang-wide { display: none; }
  .lang-menu { display: block; }
}
@media (max-width: 400px) {
  .bar { padding-right: 6px; gap: 6px; }
  .bar .btn { padding: 0 10px; font-size: 13px; }
}
@media (min-width: 1000px) {
  .f-rent { right: 8px; }
  .f-rent .num { font-size: 15px; }
}
@media (max-width: 479px) {
  .brand span { display: none; }
}
@media (max-width: 380px) {
  .langs a { min-width: 44px; height: 44px; padding: 0 8px; }
}
/* Phone GPUs choke on four 90px blurs. Keep the living background, cheaper. */
@media (max-width: 719px) {
  .blob { filter: blur(60px); }
  .blob.b4 { display: none; }
  .widgets { grid-auto-rows: auto; }
  .wg { justify-content: flex-start; }
  .wg-wallets { grid-row: auto; min-height: 0; }
  .cards-fan { flex-grow: 0; min-height: 0; height: 168px; }
  .lock { height: 168px; }
  .lock .scan { width: 150px; height: 150px; }
  .lock .scan2 { width: 124px; height: 124px; }
}

/* ================= KEYFRAMES ================= */
@keyframes drift1 { to { transform: translate(8vmax, 6vmax) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-9vmax, 5vmax) scale(.9); } }
@keyframes drift3 { to { transform: translate(6vmax, -7vmax) scale(1.12); } }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes shimmer { from { background-position: 0% 0; } to { background-position: -200% 0; } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes type { 0%, 8% { width: 0; } 38%, 82% { width: var(--tw, 9ch); } 94%, 100% { width: 0; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes popin { 0%, 40% { opacity: 0; transform: translateY(8px) scale(.97); } 47%, 82% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(-4px); } }
@keyframes ring { 0% { stroke-dashoffset: 264; } 35%, 85% { stroke-dashoffset: 100; } 100% { stroke-dashoffset: 264; } }
@keyframes draw { 0% { stroke-dashoffset: 700; } 45%, 88% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 700; } }
@keyframes grow { 0% { transform: scaleY(.06); } 35%, 88% { transform: scaleY(1); } 100% { transform: scaleY(.06); } }
@keyframes fillx { 0% { transform: scaleX(0); } 35%, 88% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ================= POLISH 13.10 (task D5) ================= */
/* Header: once the page scrolls, content under the bar is blurred and faded, never sharp above it. */
.top::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: -14px; z-index: -1; pointer-events: none;
  background: color-mix(in srgb, var(--bg) 62%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent);
  opacity: 0; transition: opacity .3s ease;
}
html.scrolled .top::before { opacity: 1; }
html.scrolled .top .bar { background: var(--float); }
.brand-long { font-weight: inherit; font-style: normal; }
@media (max-width: 519px) {
  .langs { background: transparent; padding: 0; }
}
@media (max-width: 479px) {
  .brand span { display: inline; font-size: 16px; }
}
@media (max-width: 419px) {
  .brand-long { display: none; }
}
@media (max-width: 339px) {
  .brand span { display: none; }
}

/* Hero under 720px: cards sit in a tidy row under the phone instead of covering the screenshot. */
@media (max-width: 719px) {
  .stage { height: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: stretch; }
  .stage .phone { position: relative; left: auto; top: auto; margin: 0 auto; grid-column: 1 / -1; }
  .stage .float { position: relative; left: auto; right: auto; top: auto; width: auto; max-width: none; margin-top: -48px; background: color-mix(in srgb, var(--bg) 86%, transparent); }
  .stage .f-add { grid-column: 1; grid-row: 2; padding: 12px; }
  .stage .f-ring { grid-column: 2; grid-row: 2; padding: 12px; justify-content: center; gap: 8px; }
  .stage .f-rent { grid-column: 1 / -1; grid-row: 3; margin-top: 0; }
  .f-ring .ring-wrap { width: 64px; height: 64px; }
  .f-ring .ring-wrap .num { font-size: 15px; }
  .f-ring .f-label { font-size: 12px; }
  .f-add .field { font-size: 14px; padding: 0 12px; }
  .logged { font-size: 12px; gap: 6px; }
  .logged span:last-child { white-space: nowrap; }
}
/* 720–999px: hero is one column, so the cards hug the phone instead of the far page edges. */
@media (min-width: 720px) and (max-width: 999px) {
  .f-ring { right: auto; left: calc(50% + 124px); top: 120px; width: 128px; padding: 12px; }
  .f-ring .ring-wrap { width: 64px; height: 64px; }
  .f-ring .ring-wrap .num { font-size: 15px; }
  .f-add { left: max(8px, calc(50% - 124px - 188px)); top: 300px; width: 188px; }
  .f-rent { left: calc(50% + 70px); right: auto; top: 470px; }
}
@media (min-width: 1000px) {
  .f-ring { width: 136px; }
}
.f-ring .ring-wrap .num { letter-spacing: -0.02em; }

/* Privacy: rings and box move together, so the rings always stay round around it. The box shows our logo. */
div.lock { height: auto; flex-direction: column; gap: 14px; padding: 12px 0; }
.lock-core { --ring: 196px; position: relative; width: var(--ring); height: var(--ring); display: flex; align-items: center; justify-content: center; animation: bob 7s ease-in-out infinite; }
.lock .lock-core .scan { width: 100%; height: 100%; }
.lock .lock-core .scan2 { width: 80%; height: 80%; }
.lock .lock-box { width: 96px; height: 96px; border-radius: 30px; animation: none; }
.lock-box img { width: 60px; height: 60px; border-radius: 17px; }
.lock-badge {
  position: absolute; right: -9px; bottom: -9px; width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--acc); color: var(--on-acc); border: 3px solid var(--bg);
  box-shadow: 0 8px 18px -8px var(--acc);
}
.lock-box .lock-badge svg { width: 16px; height: 16px; }
.lock-name { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; color: var(--mu); }
@media (min-width: 1000px) {
  .lock-core { --ring: 260px; }
  .lock .lock-box { width: 128px; height: 128px; border-radius: 40px; }
  .lock-box img { width: 80px; height: 80px; border-radius: 22px; }
  .lock-badge { width: 40px; height: 40px; }
  .lock-box .lock-badge svg { width: 19px; height: 19px; }
  .lock-name { font-size: 17px; }
}
