/* Layout: Fintablo homepage in the product's own colours. Hero = job headline, a live product demo in a glass frame,
   and a dithered "cash-flow ribbons" canvas behind it. Below: audience fork, bento, AI, stories, help, final CTA.
   Deliberately single (light) theme: the real product and fintablo.ru are light. */
:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --soft: #F4F7FF;
  --soft-2: #EDF2FE;
  --line: #DDE6FF;
  --ink: #091A4E;
  --ink-2: #404C72;
  --ink-3: #5F667F;
  --navy: #142969;
  --blue: #2951CA;
  --blue-press: #1C3C9B;
  --sky: #4183D4;
  --tint: #E4EAFB;
  --pos: #1B7138;
  --pos-mark: #299F51;
  --pos-tint: #E1FAE5;
  --neg: #A92816;
  --neg-mark: #EB3C23;
  --neg-tint: #FAEFED;
  --ai: #8520B8;
  --ai-tint: #F5F0FA;
  --font: "Geist", -apple-system, "Segoe UI", sans-serif;
  --num: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --quote: var(--font);
}
* { box-sizing: border-box; }
/* шапка липкая, около 88 px: при переходе по якорю и клавишей Tab элемент не уходит под неё */
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
/* на тёмных блоках и в подвале рамка фокуса белая: синяя на тёмно-синем почти не видна */
.band :focus-visible, .dark :focus-visible, .sj-foot :focus-visible { outline-color: #fff; }
button { font: inherit; color: inherit; }
.gut { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.in { max-width: 1180px; margin: 0 auto; }
.num { font-family: var(--num); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; }
.neg { color: var(--neg); } .pos { color: var(--pos); }

.btn { display: inline-flex; align-items: center; gap: 8px; font: 500 14px var(--font); padding: 12px 16px; border-radius: 12px; border: 0; cursor: pointer; white-space: nowrap; transition: background-color .3s; }
.btn.primary { background: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-press); }
.btn.soft { background: var(--tint); color: var(--navy); }
.btn.soft:hover { background: #DCE5FB; }
.btn.lg { font-size: 16px; padding: 12px 24px; }
.arrow { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 14px; flex: none; transition: transform .2s; }

/* Prototype strip */
.proto { background: var(--navy); color: #C9D2F0; font: 400 12px var(--font); text-align: center; padding-block: 8px; }
.proto a { text-decoration: underline; text-underline-offset: 2px; color: #fff; }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(255,255,255,.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.scrolled { border-bottom-color: var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: #fff; }
.nav .in { display: flex; align-items: center; gap: 32px; height: 62px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-size: 18px; letter-spacing: -.02em; color: var(--navy); }
.logo i { width: 28px; height: 28px; border-radius: 8px; background: var(--navy); color: #fff; display: inline-grid; place-items: center; font: 700 12px var(--font); font-style: normal; }
.menu { display: flex; gap: 24px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.menu a:hover { color: var(--ink); }
.caret::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .55; }
.nav .right { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 500; }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px 0; border-radius: 2px; }
.nav .mobmenu { display: none; height: auto; border-top: 1px solid var(--line); padding-block: 8px 16px; }
.mobmenu a { display: block; padding: 12px 0; font-weight: 500; border-bottom: 1px solid var(--line); }
.nav.open .mobmenu { display: block; }
@media (min-width: 1021px) { .nav.open .mobmenu { display: none; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: 80px 24px; text-align: center; }
#fx { display: none; position: absolute; left: 0; top: 0; z-index: 0; pointer-events: none; }
.hero > .in, .hero .stage { position: relative; z-index: 1; }
.hero > .in { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.ann { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 16px; }
.ann b { color: var(--navy); font-weight: 600; }
.ann .go { background: var(--tint); color: var(--blue); border-radius: 999px; padding: 2px 8px; font-size: 12px; }
.h1 { font-size: clamp(38px, 5.4vw, 70px); font-weight: 650; line-height: 1.03; letter-spacing: -.045em; max-width: 21ch; color: var(--ink); }
.h1 .mute { color: var(--head-sky); }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 38em; line-height: 1.5; }
.lede b { color: var(--ink); font-weight: 600; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 16px; justify-content: center; font-size: 12px; color: var(--ink-3); }
.trust span::before { content: "✓"; color: var(--pos-mark); margin-right: 8px; }

/* Live product window: rebuilt after real Fintablo screens from the updates blog on fintablo.ru.
   Colours were measured off those screenshots; labels and layout copy the product, data is demo. */
.stage { margin-top: 92px; }
.frame { max-width: 1100px; margin: 0 auto; padding: 10px; border-radius: 22px; background: rgba(255,255,255,.55); border: 1px solid rgba(41,81,202,.14); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); text-align: left; }
.win { --c: #F1F2F7; --t: #33343B; --t2: #75777C; --t3: #A3A5AD; --ac: #5A76C9; --ac-h: #4B66B6; --lav: #D4DBFF; --lav2: #E7EBFE; --hl: #EEF0FE; --hd: #F7F7F8; --ln: #ECEDF1; --gr: #299F51; --bl: #4183D4; --rd: #A92816; --it: #EEF0FE;
  --pf: "Geist", -apple-system, "Segoe UI", sans-serif;
  font-family: var(--pf); color: var(--t); background: var(--c); border: 1px solid #E2E4EB; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 2px rgba(20,14,48,.06), 0 30px 70px -40px rgba(20,14,48,.35); }
.win button { font-family: var(--pf); }
.win .n { font-variant-numeric: tabular-nums; white-space: nowrap; }
.win svg { flex: none; }
.topbar { height: 56px; display: flex; align-items: center; gap: 14px; padding: 0 18px 0 14px; background: #fff; border-bottom: 1px solid var(--ln); font-size: 15px; color: #2F3258; }
.topbar .coll { color: var(--ac); font-size: 20px; line-height: 1; }
.topbar .lg { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 21px; letter-spacing: -.01em; color: #2F3258; }
.topbar .lg i { width: 30px; height: 30px; border-radius: 7px; background: #3B4E82; color: #fff; display: inline-grid; place-items: center; font: 700 10px var(--pf); font-style: normal; }
.theme { display: inline-flex; gap: 2px; background: #EEF0F6; border-radius: 999px; padding: 3px; }
.theme i { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #B9BCC8; }
.theme i.on { background: #fff; color: var(--ac); box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.theme svg { width: 15px; height: 15px; }
.topbar .live { font: 600 11.5px var(--pf); color: var(--ac); background: var(--lav2); border-radius: 6px; padding: 3px 8px; white-space: nowrap; }
.topbar .rt { margin-left: auto; display: flex; align-items: center; }
.topbar .rt > span { padding: 0 16px; border-left: 1px solid var(--ln); white-space: nowrap; }
.topbar .rt > span:first-child { border-left: 0; }
.topbar .rt b { font-weight: 700; }
.topbar .dd { width: 10px; height: 10px; margin-left: 4px; vertical-align: 1px; }
.topbar .ic { display: flex; gap: 16px; align-items: center; }
.topbar .ic svg { width: 21px; height: 21px; }
.topbar .task { position: relative; display: inline-flex; }
.topbar .task em { position: absolute; left: 50%; top: 17px; transform: translateX(-50%); font: 600 9px var(--pf); font-style: normal; background: var(--ac); color: #fff; border-radius: 3px; padding: 0 3px; white-space: nowrap; }
.topbar .bell { position: relative; display: inline-flex; }
.topbar .bell::after { content: ""; position: absolute; right: 1px; top: 0; width: 6px; height: 6px; border-radius: 50%; background: #E5484D; }
.app { display: grid; grid-template-columns: 222px minmax(0, 1fr); height: 790px; }
.side { background: #fff; border-right: 1px solid var(--ln); padding: 14px 10px; display: flex; flex-direction: column; gap: 1px; font-size: 15px; }
.side .grp, .side .top { display: flex; align-items: center; gap: 9px; padding: 8px 6px; color: var(--t); border: 0; background: none; border-radius: 6px; text-align: left; }
.side .grp::before { content: ""; width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 5px solid #4A4B53; margin: 0 2px; }
.side .grp.open::before { transform: rotate(90deg); }
.side .grp.on { color: var(--ac); font-weight: 600; }
.side .grp svg, .side .top svg { width: 19px; height: 19px; }
.side .top { cursor: pointer; padding-left: 21px; }
.side .top:hover { background: #F6F7FB; }
.side .top[aria-current="page"] { color: var(--ac); font-weight: 600; }
.side .sub { display: block; border: 0; background: none; text-align: left; padding: 7px 8px 7px 44px; font-size: 13.5px; color: #4A4B53; border-radius: 6px; cursor: pointer; }
.side .sub:hover { background: #F6F7FB; color: var(--t); }
.side .sub[aria-current="page"] { color: var(--ac); font-weight: 600; }
.side .low { margin-top: auto; border-top: 1px solid var(--ln); padding-top: 8px; display: flex; flex-direction: column; gap: 1px; }
.view { padding: 14px; display: flex; flex-direction: column; gap: 10px; overflow: auto; min-width: 0; }
.view.swap { animation: vin .28s ease; }
@keyframes vin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.pc { background: #fff; border-radius: 12px; box-shadow: 0 1px 2px rgba(20,14,48,.05); }
.ph { padding: 18px 22px 0; }
.ph.nt { padding-bottom: 18px; }
.ph h4 { margin: 0 0 14px; font: 600 25px/1.15 var(--pf); color: #2E3346; letter-spacing: -.005em; }
.ph.nt h4 { margin: 0; }
.ptabs { display: flex; gap: 30px; font-size: 14.5px; color: #8A8C93; }
.ptabs span { padding-bottom: 10px; border-bottom: 3px solid transparent; white-space: nowrap; }
.ptabs span.on { color: var(--ac); font-weight: 600; border-color: var(--ac); }
.tb { padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.per { display: inline-flex; align-items: center; gap: 14px; background: var(--lav); color: #2E3346; border-radius: 6px; padding: 7px 12px; font-size: 14px; white-space: nowrap; }
.per i { color: #5D6170; font-style: normal; }
.per .dd { width: 11px; height: 11px; }
.tico { display: inline-flex; gap: 14px; color: var(--ac); }
.tico svg { width: 21px; height: 21px; }
.segs { display: inline-flex; flex-wrap: wrap; border: 1px solid #DFE1E8; border-radius: 6px; overflow: hidden; }
.segs button { border: 0; border-left: 1px solid #DFE1E8; background: #fff; padding: 6px 12px; font-size: 14px; color: #6E7078; cursor: pointer; white-space: nowrap; }
.segs button:first-child { border-left: 0; }
.segs button:hover { color: var(--t); }
.segs button[aria-pressed="true"] { background: var(--lav2); color: var(--ac); box-shadow: inset 0 0 0 1px #B4C2F0; }
.pbtn { border: 0; border-radius: 6px; padding: 8px 14px; font: 600 14px var(--pf); cursor: pointer; background: var(--ac); color: #fff; white-space: nowrap; }
.pbtn:hover { background: var(--ac-h); }
.pbtn.ghost { background: var(--lav2); color: var(--ac); }
.pbtn.ghost:hover { background: var(--lav); }
.pbtn.hint { animation: ring 1.6s ease-out 3; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(90,118,201,.5); } 100% { box-shadow: 0 0 0 10px rgba(90,118,201,0); } }
.acts { display: flex; gap: 8px; flex-wrap: wrap; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kc { position: relative; padding: 14px 18px 16px; display: flex; flex-direction: column; gap: 2px; }
.kc h5 { margin: 0; font: 600 17px var(--pf); color: var(--t); }
.kc small { font-size: 13.5px; color: var(--t3); margin-bottom: 8px; }
.kc .big { font: 400 26px/1.1 var(--pf); letter-spacing: -.01em; }
.ring { position: absolute; right: 16px; top: 16px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; color: var(--col); background: conic-gradient(var(--col) calc(var(--p) * 360deg), #E9EAEF 0); }
.ring::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
.ring span { position: relative; }
.kc:has(.ring) h5, .kc:has(.ring) small { padding-right: 58px; }
.g { color: var(--gr); } .bneg { color: var(--bl); } .r { color: var(--rd); } .ac { color: var(--ac); }
.g2 { display: grid; grid-template-columns: minmax(0, 1fr) 270px; gap: 10px; align-items: start; }
.col { display: flex; flex-direction: column; gap: 10px; }
.cc { padding: 14px 14px 6px; }
.ttl { display: flex; justify-content: space-between; align-items: center; gap: 8px; font: 600 15px var(--pf); color: var(--t); padding: 0 4px 4px; }
.pchip { font: 600 12.5px var(--pf); padding: 3px 9px; border-radius: 6px; white-space: nowrap; }
.pchip.ok { background: #E3F3E6; color: #2E7D3E; }
.pchip.bad { background: #FAEFED; color: #A92816; }
.chost { position: relative; }
.chart { width: 100%; height: auto; display: block; touch-action: pan-y; cursor: crosshair; }
.chart text { font-family: var(--pf); }
.tip { position: absolute; z-index: 2; pointer-events: none; background: #2E3346; color: #fff; border-radius: 8px; padding: 6px 10px; font-size: 13px; line-height: 1.3; white-space: nowrap; transform: translate(-50%, calc(-100% - 12px)); display: flex; flex-direction: column; }
.tip.l { transform: translate(-8px, calc(-100% - 12px)); } .tip.r { transform: translate(calc(-100% + 8px), calc(-100% - 12px)); }
.tip[hidden] { display: none; }
.tip span { color: #B9BCC8; }
.tip b { font-weight: 600; }
.tip b.neg { color: #CD8FF7; } .tip b.pos { color: #8FD9A0; }
.aic { padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; border: 1px solid #E3DAFB; }
.aic .who { display: flex; align-items: center; gap: 7px; font: 600 13.5px var(--pf); color: #6A4FD0; }
.aic .who::before { content: "✦"; }
.aic p { font-size: 14.5px; line-height: 1.4; }
.aic .why { color: var(--t2); font-size: 14px; border-top: 1px dashed #E3DAFB; padding-top: 8px; }
.ops { padding: 4px 0 6px; font-size: 14px; }
.ops .oh { font: 600 11.5px var(--pf); text-transform: uppercase; letter-spacing: .03em; color: var(--t2); background: var(--hd); padding: 8px 14px; border-radius: 12px 12px 0 0; }
.ops .orow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; padding: 6px 14px; border-top: 1px solid var(--ln); }
.ops .orow:first-of-type { border-top: 0; }
.ops .orow span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ops .orow small { grid-column: 1; font-size: 12.5px; color: var(--t3); }
.ops .orow .n { grid-row: 1 / span 2; grid-column: 2; align-self: center; }
@media (min-width: 1021px) { .ops .orow { grid-template-columns: minmax(0, 1fr) 150px auto; } .ops .orow span:first-child { grid-column: 1; grid-row: 1; } .ops .orow small { grid-column: 2; grid-row: 1; align-self: center; font-size: 13px; } .ops .orow .n { grid-column: 3; grid-row: 1; } }
.sx { overflow-x: auto; }
.pt { width: 100%; border-collapse: collapse; font-size: 14px; }
.pt th { background: var(--hd); color: var(--t2); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; padding: 11px 14px; text-align: right; white-space: nowrap; }
.pt th:first-child { border-radius: 12px 0 0 0; } .pt th:last-child { border-radius: 0 12px 0 0; }
.pt td { padding: 8px 14px; text-align: right; border-top: 1px solid var(--ln); white-space: nowrap; }
.pt th:first-child, .pt td:first-child, .pt .lt { text-align: left; }
.pt tr.b td { font-weight: 600; }
.pt tr.s td:first-child { padding-left: 50px; color: #45464D; }
.pt tr.s2 td:first-child { padding-left: 50px; }
.pt tr.pp td { color: var(--t2); }
.pt tr.hl td { background: var(--hl); }
.pt tr.it td { background: var(--it); font-weight: 600; }
.pt td small.il { display: inline; margin-left: 8px; }
.pt td small { display: block; font-size: 12.5px; color: var(--t3); font-weight: 400; }
.cv { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #EEEFF2; border: 0; padding: 0; margin: -4px 10px -4px 0; vertical-align: middle; }
.cv::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid #6E7078; border-bottom: 1.5px solid #6E7078; transform: translateY(-2px) rotate(45deg); transition: transform .3s; }
button.cv { cursor: pointer; }
button.cv[aria-expanded="true"] { background: var(--ac); }
button.cv[aria-expanded="true"]::before { border-color: #fff; transform: translateY(2px) rotate(-135deg); }
.dseg { display: inline-flex; border: 1px solid #DFE1E8; border-radius: 6px; overflow: hidden; background: #fff; }
.dseg button { border: 0; background: none; font-size: 13px; padding: 3px 8px; color: #6E7078; cursor: pointer; }
.dseg button + button { border-left: 1px solid #DFE1E8; }
.dseg button[aria-pressed="true"] { background: var(--lav2); color: var(--ac); font-weight: 600; }
.tbh { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; }
.srt { width: 9px; height: 11px; margin-left: 5px; vertical-align: -1px; color: #A3A5AD; }
.mbar { display: inline-block; width: 34px; height: 6px; border-radius: 3px; background: #E9F7E3; margin-right: 8px; vertical-align: 1px; overflow: hidden; }
.mbar i { display: block; height: 100%; background: #86C98A; border-radius: 3px; }
.mbar.neg { background: #E6EEFB; } .mbar.neg i { background: var(--bl); }
.pt tr.loss td { background: #F9F5FC; }
.pt tr.loss .pchip { margin-left: 6px; font-size: 11.5px; padding: 1px 7px; }
.ailine { display: flex; align-items: center; gap: 12px 16px; font-size: 14px; color: #4A4B53; padding: 10px 14px 12px; border-top: 1px solid var(--ln); background: #FBF9FF; border-radius: 0 0 12px 12px; }
.ailine p { flex: 1; min-width: 0; }
.ailine .st { color: var(--t); }
.pt.cmp td, .pt.cmp th { padding-left: 9px; padding-right: 9px; }
.pt.cmp { font-size: 13.5px; }
.pt.cmp td { padding-top: 7px; padding-bottom: 7px; }
.pt.cmp tr.s td:first-child { padding-left: 46px; }
@media (max-width: 760px) { .ailine { flex-direction: column; align-items: flex-start; } }
.ailine b { color: #6A4FD0; font-weight: 600; }
.note.step { background: #fff; border: 1px solid #E3DAFB; }
.hint2 { font-size: 13px; color: var(--t3); padding: 8px 14px 10px; }
.note { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; padding: 12px 16px; font-size: 14.5px; background: var(--it); }
.rec { padding: 13px 18px; display: flex; flex-direction: column; gap: 6px; }
.rec .who { display: flex; align-items: center; gap: 7px; font: 600 13px var(--pf); color: #6A4FD0; }
.rec .who::before { content: "✦"; }
.rec .q { font: 600 17px var(--pf); color: var(--t); }
.rec p { font-size: 14.5px; color: #4A4B53; line-height: 1.45; }
.muted { color: var(--ink-3); }
.tag { font-size: 11px; padding: 2px 7px; border-radius: 6px; background: var(--soft); color: var(--ink-2); white-space: nowrap; }
.demo-note { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 14px; }
.demo-note b { color: var(--ink-2); font-weight: 500; }
@media (max-width: 1020px) {
  .win .g2 { grid-template-columns: minmax(0, 1fr); }
  .app { height: 820px; }
  .topbar .co, .topbar .live { display: none; }
}
@media (max-width: 760px) {
  .frame { padding: 6px; border-radius: 16px; }
  .app { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; height: auto; }
  .view { overflow: visible; padding: 10px; }
  .side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--ln); padding: 8px; gap: 4px; scrollbar-width: none; }
  .side::-webkit-scrollbar { display: none; }
  .side .grp, .side .low { display: none; }
  .side [data-view="prof"] { order: -1; }
  .side .sub, .side .top { padding: 7px 11px; white-space: nowrap; flex: none; font-size: 14px; }
  .side .sub[aria-current="page"], .side .top[aria-current="page"] { background: var(--lav2); }
  .topbar { gap: 10px; padding: 0 12px; }
  .topbar .theme, .topbar .hp, .topbar .task, .topbar .coll { display: none; }
  .topbar .rt > span { padding: 0 10px; }
  .topbar .lg { font-size: 18px; }
  .ph { padding: 14px 16px 0; } .ph.nt { padding-bottom: 14px; }
  .ph h4 { font-size: 21px; }
  .ptabs { gap: 18px; overflow-x: auto; scrollbar-width: none; }
  .kpis { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .kpis .kc:first-child { grid-column: 1 / -1; }
  .kc .big { font-size: 21px; }
  .kc .ring { width: 44px; height: 44px; font-size: 13px; right: 12px; top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .view.swap, .pbtn.hint { animation: none; }
}

/* Sections */
.sec { padding-block: 96px 0; }
.sec-h { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.h2 { font-size: clamp(34px, 4.8vw, 58px); font-weight: 650; line-height: 1.05; letter-spacing: -.04em; max-width: 22ch; }
.h2 .mute { color: var(--head-sky); }
.sub { font-size: 18px; color: var(--ink-2); max-width: 36em; }
.eyebrow { align-self: flex-start; font: 500 12px var(--num); color: var(--blue); background: var(--tint); border-radius: 999px; padding: 4px 12px; text-transform: uppercase; letter-spacing: .08em; }

/* Logos */
.logos { padding-block: 48px 0; text-align: center; display: flex; flex-direction: column; gap: 24px; align-items: center; }
.logos .big { font-size: 14px; color: var(--ink-2); }
.logos .big b { color: var(--ink); font-weight: 600; }
.wm { display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: center; align-items: center; color: #98A0B8; font-weight: 600; font-size: 18px; letter-spacing: -.02em; }
.wm span.serif { font-family: var(--quote); font-style: normal; font-weight: 400; }
.wm span.caps { text-transform: uppercase; letter-spacing: .08em; font-size: 14px; }

/* Audience fork */
.fork { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.aud { background: var(--soft); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 16px; min-height: 300px; }
.aud .k { font: 500 12px var(--num); color: var(--blue); text-transform: uppercase; letter-spacing: .08em; }
.aud h3 { font-size: 24px; font-weight: 650; letter-spacing: -.03em; line-height: 1.1; }
.aud p { color: var(--ink-2); }
.aud .pts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.aud .pts span { font-size: 12px; background: #fff; border-radius: 8px; padding: 4px 12px; }
.aud .more { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; }
.aud:hover .arrow, .bento a:hover .arrow { transform: translateX(3px); }
.inds { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.inds a { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; color: var(--ink); font-weight: 500; }
.inds a:hover { background: var(--soft); }
.inds svg { width: 16px; height: 16px; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bc { background: var(--soft); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; min-height: 340px; }
.bc.w3 { grid-column: span 3; } .bc.w2 { grid-column: span 2; }
.bc .k { font-size: 12px; color: var(--blue); font-weight: 500; }
.bc .hd { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.bc h3 { font-size: 20px; font-weight: 650; letter-spacing: -.025em; line-height: 1.15; }
.bc p { font-size: 14px; color: var(--ink-2); }
.frag { margin-top: auto; background: #fff; border-radius: 12px; border: 1px solid var(--line); padding: 16px; font-size: 12px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(15,26,61,.04); }
.frag .r { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.frag .r:first-child { border-top: 0; padding-top: 0; }
.frag .r.tot { font-weight: 600; }
/* «Автоматическая загрузка»: новая строка приходит сверху раньше, чем уходит нижняя, и длинные строки на телефоне
   переносились по-разному. Карточка меняла высоту каждые 2,4 с, страница ниже прыгала (Миша, 03.11) */
.bc[data-card="import"] .frag { overflow: hidden; }
.bc[data-card="import"] .frag .r { white-space: nowrap; }
.bc[data-card="import"] .frag .r > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.dup { font-size: 12px; padding: 2px 8px; border-radius: 6px; background: var(--neg-tint); color: var(--neg); text-decoration: line-through; }
.pipe { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pipe span { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 12px; }
.pipe i { color: var(--ink-3); font-style: normal; }
.tg-chat { display: flex; flex-direction: column; gap: 8px; }
.tg-chat .b { align-self: flex-start; max-width: 90%; background: #fff; border: 1px solid var(--line); border-radius: 12px 12px 12px 4px; padding: 8px 12px; font-size: 12px; }
.tg-chat .b.me { align-self: flex-end; background: var(--tint); border-color: var(--tint); border-radius: 12px 12px 4px 12px; }
.mini-chart { width: 100%; height: auto; display: block; }

/* AI section */
.aiwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; }
.qs { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.qs div { display: flex; gap: 12px; align-items: baseline; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.qs div::before { content: "?"; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ai-tint); color: var(--ai); font: 600 12px var(--num); flex: none; }
.aipanel { background: var(--soft); border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.tabs { display: inline-flex; background: #fff; border-radius: 12px; padding: 4px; align-self: flex-start; border: 1px solid var(--line); }
.tabs button { font: 500 14px var(--font); border: 0; background: none; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--blue); color: #fff; }
.airec { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.airec .who { font-size: 12px; font-weight: 600; color: var(--ai); display: flex; gap: 8px; align-items: center; }
.airec .who::before { content: "✦"; }
.airec p { font-size: 14px; line-height: 1.5; }
.airec .meta { font-size: 12px; color: var(--ink-3); }

/* MCP release: copy from the Fintablo announcement; scheme mirrors its key visual (reports → MCP → AI chat). */
.ann .new { background: var(--blue); color: #fff; border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 600; }
.mcpwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.steps { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: st; display: flex; flex-direction: column; gap: 12px; }
.steps li { counter-increment: st; display: flex; gap: 12px; align-items: baseline; font-size: 16px; }
.steps li::before { content: counter(st); display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); color: var(--blue); font: 600 12px var(--num); flex: none; }
.lnk2 { color: var(--blue); font-weight: 500; margin-top: 8px; }
.mcpviz { position: relative; aspect-ratio: 100 / 78; border-radius: 24px; overflow: hidden; color: #fff;
  background: radial-gradient(circle at 52% 50%, rgba(255,255,255,.07) 0 14%, transparent 14.2% 24%, rgba(255,255,255,.05) 24.2% 24.5%, transparent 24.7% 36%, rgba(255,255,255,.05) 36.2% 36.5%, transparent 36.7%), #142969; }
.mcpviz .wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.mcpviz .lbl { position: absolute; font: 600 12px var(--num); letter-spacing: .08em; color: #AFC0F2; }
.mcpviz .rep { position: absolute; left: 5%; width: 32%; background: #fff; color: var(--ink); border-radius: 12px; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.mcpviz .rep b { font-size: 18px; font-weight: 650; letter-spacing: -.02em; color: var(--navy); }
.mcpviz .rep span { font-size: 12px; color: var(--ink-2); }
.mcpviz .hub { position: absolute; left: 52%; top: 50%; width: 22%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; display: grid; place-items: center; font: 700 clamp(16px, 2vw, 24px) var(--font); letter-spacing: -.02em; background: var(--blue); box-shadow: 0 0 0 6px rgba(255,255,255,.12), 0 0 0 1px rgba(255,255,255,.6) inset; }
.mcpviz .chat { position: absolute; left: 67%; top: 27%; width: 29%; background: #fff; color: var(--ink); border-radius: 16px 16px 16px 4px; padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.mcpviz .chat .cq { font-size: 12px; font-weight: 600; color: var(--blue); }
.mcpviz .chat p { font-size: clamp(15px, 1.5vw, 19px); font-weight: 650; line-height: 1.15; letter-spacing: -.02em; color: var(--navy); }
.mcpviz .dots { display: inline-flex; gap: 4px; }
.mcpviz .dots b { width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: blink 1.2s infinite; }
.mcpviz .dots b:nth-child(2) { animation-delay: .2s; } .mcpviz .dots b:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 100% { opacity: .25; } 40% { opacity: 1; } }
.mcpviz .also { position: absolute; left: 5%; right: 5%; bottom: 4%; font-size: 12px; color: #C9D2F0; }
.mcpfacts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.mcpfacts div { border: 1px solid var(--line); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.mcpfacts b { font-size: 16px; font-weight: 650; }
.mcpfacts span { font-size: 14px; color: var(--ink-2); }
.mcpwarn { margin-top: 16px; font-size: 14px; color: var(--ink-3); }
@media (max-width: 1020px) {
  .mcpwrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .mcpfacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .mcpviz { aspect-ratio: auto; display: flex; flex-direction: column; gap: 12px; padding: 16px; }
  .mcpviz .wires { display: none; }
  .mcpviz .lbl, .mcpviz .rep, .mcpviz .hub, .mcpviz .chat, .mcpviz .also { position: static; width: auto; transform: none; }
  .mcpviz .hub { width: 84px; align-self: center; }
  .mcpfacts { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .mcpviz .dots b { animation: none; opacity: .7; } }

/* Stories */
.stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.story { border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 16px; min-height: 380px; color: var(--ink); }
.story.t1 { background: #EAF0FD; } .story.t2 { background: #E5F4EA; } .story.t3 { background: #FFF2DC; }
.story .k { font: 500 12px var(--num); text-transform: uppercase; letter-spacing: .08em; color: rgba(15,26,61,.55); }
.story .metric { font-size: clamp(36px, 4vw, 48px); font-weight: 650; letter-spacing: -.04em; line-height: 1; }
.story .metric small { display: block; font-size: 16px; font-weight: 500; letter-spacing: -.01em; margin-top: 8px; color: rgba(15,26,61,.72); }
.story blockquote { margin: 0; font: 400 18px/1.55 var(--quote); }
.story .by { margin-top: auto; font-size: 14px; display: flex; flex-direction: column; gap: 2px; }
.story .by b { font-weight: 600; }
.story .by span { color: rgba(15,26,61,.6); }
.story .read { font-weight: 500; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.q { border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.q .by { margin-top: auto; font-size: 12px; color: var(--ink-3); }
.q .by b { color: var(--ink); font-weight: 600; display: block; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 80px; }
.stat { padding: 24px 24px; display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { font-size: 24px; font-weight: 600; letter-spacing: -.03em; color: var(--navy); }
.stat span { font-size: 14px; color: var(--ink-2); }

/* Help + safety */
.help { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hc { border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.hc .lvl { display: flex; gap: 4px; }
.hc .lvl i { width: 22px; height: 6px; border-radius: 4px; background: var(--soft-2); }
.hc .lvl i.on { background: var(--blue); }
.hc h3 { font-size: 20px; font-weight: 650; letter-spacing: -.02em; }
.hc p { font-size: 14px; color: var(--ink-2); }
.hc .lnk { margin-top: auto; font-weight: 500; font-size: 14px; color: var(--blue); }
.safe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.sf { background: var(--soft); border-radius: 16px; padding: 24px; display: grid; grid-template-columns: 40px 1fr; gap: 8px 16px; }
.sf svg { width: 28px; height: 28px; grid-row: span 3; }
.sf h3 { font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.sf p { font-size: 14px; color: var(--ink-2); }
.reg { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; }
.reg span { font-size: 12px; color: var(--ink-2); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }

/* Final CTA */
.final { padding-block: 96px; text-align: center; }
.final .in { display: flex; flex-direction: column; gap: 24px; align-items: center; }
.final .h2 { max-width: 16ch; font-size: clamp(38px, 5.6vw, 68px); }

/* Footer */
.foot { border-top: 1px solid var(--line); padding-block: 48px 40px; font-size: 14px; }
.foot .cols { display: grid; grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot h5 { margin: 0 0 12px; font-size: 12px; font-weight: 600; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--ink-2); }
.foot ul a:hover { color: var(--ink); }
.foot .legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-3); display: flex; flex-direction: column; gap: 4px; }

/* What changed */
.changes { background: var(--soft); border-top: 1px solid var(--line); padding-block: 40px 64px; }
.changes details { max-width: 1180px; margin: 0 auto; }
.changes summary { cursor: pointer; font-weight: 600; font-size: 16px; }
.changes ol { margin: 16px 0 0; padding-left: 1.3em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 40px; font-size: 14px; color: var(--ink-2); }
.changes ol b { color: var(--ink); font-weight: 600; }
.pal { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pal span { display: inline-flex; align-items: center; gap: 8px; font: 400 12px var(--num); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 4px 12px 4px 8px; }
.pal i { width: 18px; height: 18px; border-radius: 6px; border: 1px solid rgba(15,26,61,.08); }

/* Below the first screen: light and dark bands alternate, cards carry product colours,
   the cursor lights cards up, blocks rise in once, numbers count up. Motion stops under «reduce motion». */
.band { position: relative; overflow: hidden; background: #0E1838; color: #fff; padding-block: 96px; margin-top: 96px; }
.band .bfx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.band > .in { position: relative; z-index: 1; }
.band .h2 { color: #fff; }
.band .h2 .mute { color: var(--sky-dark); }
.band .sub { color: #C3CCEB; }
.band .eyebrow { background: rgba(255,255,255,.1); color: #BFCCF5; }
.band .qs div { color: #fff; }
.band .airec, .band .frag { color: var(--ink); }
.band .qs div::before { background: rgba(150,110,255,.25); color: #E1D3FF; }
.band .aipanel { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.band .tabs { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); }
.band .tabs button { color: #C3CCEB; }
.band .tabs button[aria-selected="true"] { background: #fff; color: var(--navy); }
.band .btn.primary { background: #fff; color: var(--navy); }
.band .btn.primary:hover { background: #E4EAFB; }
.band .btn.soft { background: rgba(255,255,255,.12); color: #fff; }
.band .btn.soft:hover { background: rgba(255,255,255,.2); }
.final.band { padding-block: 96px; }
.final.band .h2 { color: #fff; }
.final.band .sub { color: #C3CCEB; }

/* Cursor light and lift on cards */
.lit { position: relative; isolation: isolate; transition: transform .25s var(--ease), box-shadow .25s; }
.lit::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; z-index: -1;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(41,81,202,.13), transparent 60%); }
.lit:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -28px rgba(15,26,61,.45); }
.lit:hover::after { opacity: 1; }
.dark.lit::after { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(147,166,234,.22), transparent 60%); }

/* Coloured feature cards */
.bc.t-blue { background: linear-gradient(160deg, #E3EBFD, #F5F8FE 65%); }
.bc.t-green { background: linear-gradient(160deg, #DDF2E5, #F4FBF6 65%); }
.bc.t-amber { background: linear-gradient(160deg, #FFEFD2, #FFF9EF 65%); }
.bc.t-violet { background: linear-gradient(160deg, #ECE3FD, #F8F5FE 65%); }
.bc.t-green .k { color: var(--pos); } .bc.t-amber .k { color: #A35F00; } .bc.t-violet .k { color: var(--ai); }
.dark { background: linear-gradient(160deg, #1B3279, #142969 55%, #0E1D52); color: #fff; }
.dark h3 { color: #fff; }
.dark p, .dark .muted { color: #C3CCEB; }
.bc.dark .k, .aud.dark .k { color: #BFCCF5; }
.dark .arrow { background: #fff; color: var(--navy); }
.dark .frag { color: var(--ink); }
.aud.dark .pts span { background: rgba(255,255,255,.12); color: #fff; }
.aud.light { background: linear-gradient(160deg, #E3EBFD, #F5F8FE 70%); }

/* Clients marquee */
.marq { width: 100%; max-width: 920px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marq .wm { flex-wrap: nowrap; width: max-content; gap: 64px; padding-right: 64px; animation: marq 26s linear infinite; }
@keyframes marq { to { transform: translateX(-50%); } }

/* Stories and stats */
.story { transition: transform .25s var(--ease), box-shadow .25s; }
.story:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -28px rgba(15,26,61,.4); }
.story.t1 .metric { color: var(--blue); } .story.t2 .metric { color: var(--pos); } .story.t3 .metric { color: #A35F00; }
.story .metric small { color: var(--ink-2); }
.stats { background: var(--navy); color: #fff; border: 0; border-radius: 24px; overflow: hidden; }
.stat { border-right-color: rgba(255,255,255,.14); padding: 24px 24px; }
.stat b { color: #fff; font-size: clamp(30px, 3.4vw, 42px); }
.stat span { color: #C3CCEB; }

/* Help */
.hc { transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.hc:hover { transform: translateY(-4px); border-color: #C9D5F5; box-shadow: 0 22px 44px -28px rgba(15,26,61,.35); }
.hc .lvl i.on { background: linear-gradient(90deg, var(--blue), var(--sky)); }

/* Rise in once on scroll */
.js-rv .rv { transform: translateY(16px); transition: transform .7s var(--ease); }
.js-rv .rv.on { transform: none; }
.js-rv .rv.done { transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.js-rv .rv.done.lit:hover, .js-rv .rv.done.story:hover, .js-rv .rv.done.hc:hover { transform: translateY(-4px); }
@media (max-width: 760px) {
  .band { padding-block: 80px; margin-top: 80px; }
  .stat:nth-child(-n+2) { border-bottom-color: rgba(255,255,255,.14); }
}
@media (prefers-reduced-motion: reduce) {
  .lit, .story, .hc { transition: none; }
  .lit:hover, .story:hover, .hc:hover { transform: none; }
  .marq .wm { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding-right: 0; }
  .marq .wm .dup, .marq .wm .copy { display: none; }
  .marq { -webkit-mask-image: none; mask-image: none; }
}

/* Interactive cursor: a soft light follows the pointer; particle sculptures turn in 3D after it.
   Idea taken from ainativeconf.ru, shapes and colours are Fintablo's own (₽, project bars, ФТ). */
.cglow { position: fixed; left: 0; top: 0; width: 680px; height: 680px; margin: -96px 0 0 -96px; border-radius: 50%; pointer-events: none; z-index: 15; opacity: 0; transition: opacity .6s, background .4s;
  background: radial-gradient(circle, rgba(41,81,202,.13) 0%, rgba(41,81,202,.05) 34%, rgba(41,81,202,0) 62%); mix-blend-mode: multiply; will-change: transform; }
.cglow.on { opacity: 1; }
.cglow.ondark { background: radial-gradient(circle, rgba(110,145,255,.32) 0%, rgba(110,145,255,.1) 34%, rgba(110,145,255,0) 62%); mix-blend-mode: screen; }
.sculpt { position: absolute; left: 0; top: 0; pointer-events: none; }
.hero .sculpt { z-index: 0; }
.final.band .sculpt { z-index: 0; }
@media (max-width: 1020px) { .sculpt { display: none; } }
body { counter-reset: sec; }
.sec .sec-h .eyebrow::before { counter-increment: sec; content: counter(sec, decimal-leading-zero) " — "; opacity: .65; }
@media (pointer: coarse), (prefers-reduced-motion: reduce) { .cglow { display: none; } }
/* Wide screens: text on the left, the particle figure on the right, as in the reference. */
@media (min-width: 1021px) {
  .hero > .in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); row-gap: 24px; align-items: start; text-align: left; }
  .hero > .in > * { grid-column: 1; justify-self: start; }
  .hero > .in::after { content: ""; grid-column: 2; grid-row: 1 / span 5; min-height: 440px; }
  .hero .h1 { max-width: 14ch; font-size: clamp(56px, 5.8vw, 80px); }
  .hero .lede { max-width: 34em; }
  .hero .ctas, .hero .trust { justify-content: flex-start; }
  .final.band .in { align-items: flex-start; text-align: left; }
  .final.band .h2 { max-width: 11ch; }
  .final.band .ctas { justify-content: flex-start; }
}

/* Version 2, recoloured in version 4: brandbook headings (deep blue + light blue), brand blue accents, calmer backgrounds. */
:root { --deep: #091A4E; --head-sky: #4183D4; --sky-dark: #86B1E8; --on-dark: #C9D4F6; }
.h1, .h2 { color: var(--deep); }
.h1 .mute, .h2 .mute { color: var(--head-sky); }
.band .h2 .mute { color: var(--sky-dark); }
.sec .sec-h .eyebrow::before { color: var(--blue); opacity: 1; font-weight: 600; }
.ann .new { background: var(--blue); color: #fff; }
.band { background: radial-gradient(1100px 520px at 85% 0%, #1D357F 0%, #0E1838 62%); }
.band .qs div::before { background: rgba(65,131,212,.22); color: var(--sky-dark); }
.band .btn.primary { background: #fff; color: var(--blue); }
.band .btn.primary:hover { background: var(--on-dark); }
.band .btn.primary:hover { background: #F7BE9F; }
.band .eyebrow { color: var(--on-dark); }
.stat b { color: var(--sky-dark); }
.story.t3 { background: linear-gradient(160deg, #FBE1D3, #FEF5F0 70%); }
.story.t3 .metric { color: var(--blue); }
.bc.t-amber { background: linear-gradient(160deg, #FBE1D3, #FEF5F0 65%); }
.bc.t-amber .k { color: #2E609D; }
.mcpviz .chat .cq { color: var(--blue); }
.mcpviz .hub { box-shadow: 0 0 0 6px rgba(134,177,232,.22), 0 0 0 1px rgba(255,255,255,.6) inset; }
.cglow.ondark { background: radial-gradient(circle, rgba(65,131,212,.24) 0%, rgba(65,131,212,.07) 34%, rgba(65,131,212,0) 62%); }
.hc .lvl i.on { background: var(--blue); }
.inds a:hover { border-color: var(--sky-dark); }

/* ===== Version 3: elayadesign/landing-page-design + design-to-motion, plus an accessibility pass ===== */
:root { --ease: cubic-bezier(.22,1,.36,1); }
body { font-size: 16px; line-height: 24px; }
p, li, .sub, .lede { text-wrap: pretty; }
/* Headline sizes on the type scale, stepped by width instead of fluid values */
.h1 { font-size: 36px; line-height: 1.05; max-width: 680px; }
.lede { font-size: 18px; line-height: 28px; max-width: 680px; }
.h2 { font-size: 30px; line-height: 36px; }
.story .metric { font-size: 36px; }
.stat b { font-size: 30px; }
.final .h2 { font-size: 36px; line-height: 40px; }
@media (min-width: 640px) { .h1 { font-size: 48px; } .h2 { font-size: 36px; line-height: 40px; } .final .h2 { font-size: 48px; line-height: 1; } }
@media (min-width: 1021px) {
  .h1, .hero .h1 { font-size: 60px; max-width: 680px; }
  .lede { font-size: 20px; line-height: 28px; }
  .h2 { font-size: 48px; line-height: 1.05; }
  .story .metric { font-size: 48px; }
  .stat b { font-size: 36px; }
  .final .h2 { font-size: 60px; }
}
@media (min-width: 1280px) { .h1, .hero .h1 { font-size: 72px; } }

/* Flat backgrounds only (B4) */
.bc.t-blue, .aud.light { background: #E8EEFC; }
.bc.t-green { background: #E3F3E8; }
.bc.t-amber { background: #ECF3FB; }
.story.t3 { background: #ECF3FB; }
.story.t3 .metric { color: #2E609D; }
.bc.t-violet { background: #EEE7FC; }
.dark { background: #142969; }
.band { background: #0E1838; }
.mcpviz { background: #142969; }
.hc .lvl i.on { background: var(--blue); }
.lit::after { display: none; }
.lit:hover { background-color: color-mix(in srgb, currentColor 0%, transparent); }
.bc.t-blue:hover, .aud.light:hover { background: #DEE7FB; }
.bc.t-green:hover { background: #D8EEE0; }
.bc.t-amber:hover { background: #DBE8F8; }
.bc.t-violet:hover { background: #E6DCFB; }
.dark:hover { background: #18307A; }

/* Buttons: physical feedback, B9 */
.btn, .pbtn, .mini { transition: background-color .3s var(--ease), transform .3s var(--ease); }
.btn:active, .pbtn:active, .segs button:active, .side button:active { transform: scale(.98); }
.btn.lg { font-size: 16px; font-weight: 600; padding: 12px 24px; }
.nav .right .btn { font-size: 14px; font-weight: 600; padding: 8px 12px; }

/* Floating navigation, B7 */
.nav { top: calc(env(safe-area-inset-top, 0px) + 12px); width: fit-content; max-width: calc(100% - 32px); margin: 12px auto 0; padding-left: 16px; padding-right: 8px;
  border: 1px solid rgba(15,26,61,.08); border-radius: 16px; background: rgba(255,255,255,.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.nav.scrolled { border-color: rgba(15,26,61,.12); box-shadow: 0 8px 24px -16px rgba(15,26,61,.3); }
.nav .in { height: 56px; gap: 24px; max-width: none; }
.burger span { transition: transform .5s var(--ease), opacity .3s var(--ease); }
.nav.open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .burger span:nth-child(2) { opacity: 0; }
.nav.open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1020px) {
  .nav { width: calc(100% - 32px); }
  .nav.open { position: fixed; inset: calc(env(safe-area-inset-top, 0px) + 12px) 16px 16px; width: auto; max-width: none; margin: 0; z-index: 40; background: rgba(255,255,255,.94); display: flex; flex-direction: column; }
  .nav.open .in { width: 100%; }
  .nav.open .mobmenu { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; border: 0; padding-block: 16px; }
  .nav.open .mobmenu a { font-size: 24px; line-height: 32px; font-weight: 600; border: 0; padding: 8px 0; animation: navin .5s var(--ease) both; animation-delay: calc(min(var(--i, 0) * 60ms, 340ms)); }
}
@keyframes navin { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Hero: one primary action, secondary as a quiet link, proof line */
.ctas .alt { align-self: center; font-size: 16px; font-weight: 500; color: var(--blue); text-decoration: underline; text-decoration-color: rgba(41,81,202,.3); text-underline-offset: 4px; transition: text-decoration-color .3s var(--ease); }
.ctas .alt:hover { text-decoration-color: var(--blue); }
.trust .proof::before { content: none; }
.trust .proof { color: var(--ink-2); font-weight: 600; }

/* Tagline reveal, B11 */

/* FAQ, A2 */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; padding: 16px 24px; background: #fff; transition: border-color .3s var(--ease); }
.faq details[open] { border-color: #C9D5F5; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 18px; line-height: 28px; font-weight: 600; color: var(--deep); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 20px var(--num); color: var(--blue); transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 8px; color: var(--ink-2); }
@media (max-width: 760px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* Skip link and animation pause, WCAG 2.4.1 and 2.2.2 */
.skip { position: absolute; left: 16px; top: -64px; z-index: 60; background: var(--deep); color: #fff; padding: 8px 12px; border-radius: 8px; transition: top .3s var(--ease); }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 8px); }
.motion-toggle { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid rgba(15,26,61,.12); background: rgba(255,255,255,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font: 500 14px var(--font); color: var(--deep); cursor: pointer; transition: background-color .3s var(--ease); }
.motion-toggle:hover { background: #fff; }
.motion-toggle svg { width: 16px; height: 16px; }
html.paused .marq .wm { animation-play-state: paused; }
.marq:hover .wm, .marq:focus-within .wm { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .motion-toggle { display: none; } }
/* Phones: the pause control shrinks to an icon, standalone controls get 44 px touch targets (WCAG 2.5.5) */
@media (max-width: 760px) {
  .motion-toggle { width: 44px; height: 44px; padding: 0; justify-content: center; }
  .motion-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .burger { width: 44px; height: 44px; }
  .lnk, .lnk2, .ctas .alt { display: inline-flex; align-items: center; min-height: 44px; }
  .fork-tabs button, [role="tablist"] button { min-height: 44px; }
}

/* Contrast fixes in the product window, WCAG 1.4.3 */
.win { --t2: #63666D; --t3: #6E717A; --gr: #1B7138; --bl: #2D6BBE; --rd: #A92816; --ac: #4A65BB; --ac-h: #3F58A8; }
.ann .new { background: var(--blue); }
/* Geist is a touch wider than Onest: keep the toolbar on one line */
.win .tb { column-gap: 8px; }
@media (min-width: 1021px) { .app { height: 812px; } }
@media (min-width: 761px) and (max-width: 1020px) { .app { height: 852px; } }
i, em { font-style: normal; }
.band .eyebrow { color: var(--on-dark); }
.band .ctas .alt { color: var(--on-dark); text-decoration-color: rgba(201,212,246,.4); }
.band .ctas .alt:hover { text-decoration-color: var(--on-dark); }
.frag .r .num, .frag .dup { white-space: nowrap; }
.frag .r > span:first-child { min-width: 0; }

/* design-to-motion: feature cards rise on scroll, then each visual acts out its story */
.js-rv .bc.rv { transform: translateY(24px) scale(.985); transition: transform .9s cubic-bezier(.16,1,.3,1); }
.js-rv .bc.rv.on { transform: none; }
.frag .r { transition: background-color .5s var(--ease); }
.frag .r.hl { background: rgba(41,81,202,.08); border-radius: 8px; }
.frag .r.enter { animation: opin .9s cubic-bezier(.16,1,.3,1) both; }
.frag .r.leave { animation: opout .5s var(--ease) both; }
@keyframes opin { from { opacity: 0; transform: translateY(-10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes opout { to { opacity: 0; transform: translateY(8px); } }
.pipe span { transition: background-color .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease); }
.pipe span.on { background: var(--pos); border-color: var(--pos); color: #fff; }
.pipe i { transition: color .5s var(--ease); }
.pipe i.on { color: var(--pos); }
.tg-chat .b.typing { display: inline-flex; gap: 4px; padding: 12px; }
.tg-chat .b.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: tdot 1.2s infinite; }
.tg-chat .b.typing i:nth-child(2) { animation-delay: .2s; } .tg-chat .b.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes tdot { 0%, 100% { opacity: .3; } 40% { opacity: 1; } }
.tg-chat .b.ans { transition: opacity .7s cubic-bezier(.33,1,.68,1), filter .7s cubic-bezier(.33,1,.68,1), transform .9s cubic-bezier(.16,1,.3,1); }
.tg-chat .b.ans.wait { opacity: 0; filter: blur(4px); transform: translateY(10px); }
.mini-chart .scrub { transition: opacity .5s var(--ease); }
@media (prefers-reduced-motion: reduce) { .frag .r.enter, .frag .r.leave { animation: none; } }

/* Integration scheme after the brandbook: sources on the left, Финтабло in the middle, reports on the right */
.flow { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-top: 48px; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.flow-lines path { fill: none; stroke: #C7D3F5; stroke-width: 1.25; transition: stroke .5s var(--ease); }
.flow-lines path.hot { stroke: var(--blue); }
.flow-lines circle { fill: var(--blue); }
.fl-col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px; }
.fl-cap { font: 500 12px var(--num); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-top: 8px; }
.fl-cap:first-child { margin-top: 0; }
.fl-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fl-node { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; font-size: 14px; line-height: 20px; transition: border-color .5s var(--ease), box-shadow .5s var(--ease); }
.fl-node .tx { display: flex; flex-direction: column; min-width: 0; }
.fl-node b { font-weight: 600; color: var(--deep); }
.fl-node .hint { color: var(--ink-3); font-size: 12px; line-height: 16px; }
.fl-node .st { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-3); white-space: nowrap; margin-left: auto; transition: color .5s var(--ease); }
.fl-node .st::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #C7CFE4; transition: background-color .5s var(--ease); }
.fl-node.on .st { color: var(--pos); }
.fl-node.on .st::before { background: var(--pos-mark); }
.fl-node.flash { border-color: #9DB3EE; box-shadow: 0 0 0 4px rgba(41,81,202,.08); }
.fl-hub { position: relative; z-index: 1; }
.fl-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; box-shadow: 0 24px 48px -24px rgba(9,26,78,.28); }
.fl-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.fl-head .lg { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--navy); color: #fff; font: 700 14px var(--font); flex: none; }
.fl-head b { display: block; font-size: 18px; line-height: 24px; color: var(--deep); }
.fl-head span { font-size: 14px; color: var(--ink-3); }
.fl-ops { display: flex; flex-direction: column; gap: 8px; height: 280px; overflow: hidden; }
.fl-op { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; background: var(--soft); border-radius: 12px; padding: 8px 12px; font-size: 14px; line-height: 20px; flex: none; }
.fl-op .who { color: var(--deep); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fl-op .sum { white-space: nowrap; }
.fl-op .tg { grid-column: 1 / -1; justify-self: start; font-size: 12px; line-height: 16px; padding: 2px 8px; border-radius: 6px; background: var(--tint); color: var(--blue); transition: background-color .5s var(--ease), color .5s var(--ease); }
.fl-op .tg.ask { background: #fff; color: var(--ink-2); box-shadow: inset 0 0 0 1px #9DB3EE; }
.fl-op .tg.wait { background: transparent; color: var(--ink-3); padding-left: 0; }
.fl-op.enter { animation: opin .9s cubic-bezier(.16,1,.3,1) both; }
.fl-op.leave { animation: opout .5s var(--ease) both; }
.fl-foot { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; font-size: 14px; color: var(--ink-2); }
.fl-foot b { color: var(--deep); font-variant-numeric: tabular-nums; }
@media (max-width: 1020px) {
  .flow { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 32px; }
  .flow-lines { display: none; }
  .fl-src .fl-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fl-src .hint { display: none; }
  .fl-hub::before, .fl-out::before { content: ""; position: absolute; left: 50%; top: -32px; width: 2px; height: 24px; margin-left: -1px; border-radius: 2px; background: #C7D3F5; }
}
@media (max-width: 480px) { .fl-src .fl-node .st { font-size: 0; gap: 0; } .fl-src .fl-node { padding: 8px 12px; } }
@media (prefers-reduced-motion: reduce) { .fl-op.enter, .fl-op.leave { animation: none; } }

/* Responsive */
@media (max-width: 1020px) {
  .menu, .nav .right .login { display: none; }
  .burger { display: block; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bc.w3, .bc.w2 { grid-column: span 1; }
  .aiwrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .foot .cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav .right .btn { padding: 8px 12px; font-size: 14px; }
  .fork, .bento, .stories, .quotes, .help, .safe { grid-template-columns: minmax(0, 1fr); }
  .bc { min-height: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .changes ol { grid-template-columns: minmax(0, 1fr); }
  .sec { padding-block: 80px 0; }
  .ctas .btn { flex: 1 1 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .hero { padding-block: 48px 16px; }
  .h1 { font-size: 30px; }
  .nav .right .btn { display: none; }
  .ann { border-radius: 16px; text-align: left; font-size: 12px; padding: 8px 12px 8px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .arrow, .btn { transition: none; }
}

/* ===== Версия 5: концепт Ивана один в один, шапка и подвал наши (shapka.css) ===== */
/* в артефакте поля страницы обнулял рантайм claude.ai; без него у браузера белая рамка 8 px по краям */
html, body { margin: 0; padding: 0; }
/* после финального синего блока идут частые вопросы, потом тёмный подвал */
#faq { padding-bottom: 112px; }
/* тёмный блок ИИ: снизу полоса под живой прогноз (ai-fx.js), точечных лент нет */
#ai.band { padding-bottom: 290px; }
.band .aifx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
/* график прогноза на всю ширину блока, к краям мягко затухает */
.band .aifx { -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
@media (max-width: 760px) { #ai.band { padding-bottom: 230px; } }
/* белая кнопка на тёмном: при наведении оставался персиковый цвет из ранней версии концепта */
.band .btn.primary:hover { background: #E4EAFB; }
/* широкие мониторы: страница не стоит узкой колонкой посередине, на ноутбуке всё как у Ивана */
@media (min-width: 1700px) { .in { max-width: 1360px; } .stage .frame { max-width: 1240px; } }
@media (min-width: 2000px) { .in { max-width: 1520px; } .stage .frame { max-width: 1380px; } }
@media (min-width: 2300px) { .in { max-width: 1680px; } .stage .frame { max-width: 1520px; } }
/* планшет: крупные суммы в карточках окна не помещались в три колонки и обрезались */
@media (min-width: 761px) and (max-width: 1020px) { .kc .big { font-size: 21px; } }
/* номер в подписи раздела на тёмной полосе был синим на тёмном и почти не читался */
.band .sec-h .eyebrow::before { color: var(--on-dark); }

/* ---------- 29.10: окно продукта оживает: тёмная тема, сворачивание разделов, подсказка там, где в демо действия нет ---------- */
.win { position: relative; }
.theme i, .side .grp, .ptabs span, .per, .tico svg, .topbar .coll, .topbar .rt > span, .topbar .ic > * { cursor: pointer; }
.theme i:focus-visible, .side .grp:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
.side .sub[hidden] { display: none !important; }
.demo-toast { position: absolute; left: 50%; bottom: 18px; z-index: 6; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; justify-content: center;
  max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 12px; background: #2E3346; color: #fff; font-size: 13.5px; line-height: 1.4; text-align: center;
  box-shadow: 0 14px 32px -14px rgba(20, 14, 48, .55); opacity: 0; transform: translate(-50%, 10px); pointer-events: none; transition: opacity .2s, transform .2s; }
.demo-toast.on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.demo-toast a { color: #B4C2F0; font-weight: 600; white-space: nowrap; text-decoration: none; }
.demo-toast a:hover { color: #fff; }

/* тёмная тема окна: тот же продукт ночью, цвета денег светлее, чтобы читались на тёмном */
.win.is-dark { --c: #10131F; --t: #E7E9F2; --t2: #A6ABBD; --t3: #80869A; --ac: #92A8F6; --ac-h: #ABBDF8; --lav: #2A3466; --lav2: #232B54;
  --hl: #1C2340; --hd: #161A2A; --ln: #262B40; --gr: #4CC27A; --bl: #75AEF3; --rd: #C48BF5; --it: #1C2340; border-color: #262B40; background: var(--c); color: var(--t); }
.win.is-dark .topbar, .win.is-dark .side, .win.is-dark .pc, .win.is-dark .segs button, .win.is-dark .dseg, .win.is-dark .note.step { background: #161A2A; }
.win.is-dark .topbar, .win.is-dark .topbar .lg, .win.is-dark .ph h4, .win.is-dark .per { color: var(--t); }
.win.is-dark .topbar .lg i { background: #4A5EA8; }
.win.is-dark .theme { background: #232842; }
.win.is-dark .theme i.on { background: #2F3658; color: #fff; box-shadow: none; }
.win.is-dark .side .sub, .win.is-dark .ailine, .win.is-dark .rec p { color: #C9CDDA; }
.win.is-dark .side .grp::before { border-left-color: #C9CDDA; }
.win.is-dark .side .top:hover, .win.is-dark .side .sub:hover { background: #1D2238; }
.win.is-dark .ptabs, .win.is-dark .per i, .win.is-dark .segs button, .win.is-dark .dseg button { color: #9AA0B4; }
.win.is-dark .segs, .win.is-dark .segs button, .win.is-dark .dseg, .win.is-dark .dseg button + button { border-color: #2C3250; }
.win.is-dark .segs button[aria-pressed="true"], .win.is-dark .dseg button[aria-pressed="true"] { background: #2A3466; color: #fff; box-shadow: inset 0 0 0 1px #3D4A8A; }
.win.is-dark .ring::before { background: #161A2A; }
.win.is-dark .aic, .win.is-dark .aic .why, .win.is-dark .note.step { border-color: #3A3466; }
.win.is-dark .cv::before { border-color: #9AA0B4; }
.win.is-dark .loss td { background: #221B33; }
.win.is-dark .pchip.bad { background: #2E2342; color: #D7AEFA; }
.win.is-dark .demo-toast { background: #2F3658; }

/* тёмная тема: полоса ИИ под таблицей, строки внутри сделки, кнопка и график платёжного календаря */
.win.is-dark .ailine { background: #1B1830; color: #C9CDDA; }
.win.is-dark .ailine b, .win.is-dark .aic .who { color: #B9A5F7; }
.win.is-dark .pt tr.s td:first-child { color: #C9CDDA; }
.win.is-dark .pbtn { background: #4A65BB; color: #fff; }
.win.is-dark .pbtn:hover { background: #5A76C9; }
.win.is-dark .pbtn.ghost { background: #232B54; color: #C9D4F6; }
.win.is-dark svg line[stroke="#EEEFF3"] { stroke: #232842; }
.win.is-dark svg line[stroke="#C9CBD3"] { stroke: #3A4160; }
.win.is-dark svg text[stroke="#fff"] { stroke: #161A2A; }
.win.is-dark svg circle[fill="#fff"] { fill: #161A2A; }
