/* Findoc UI kit. Подключите файл и добавьте class="fd-light" на <body>. */
@font-face{font-family:Inter;font-weight:400;font-display:swap;src:url(../fonts/inter-cyrillic-400-normal.woff2) format('woff2');unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;font-weight:400;font-display:swap;src:url(../fonts/inter-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:Inter;font-weight:500;font-display:swap;src:url(../fonts/inter-cyrillic-500-normal.woff2) format('woff2');unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;font-weight:500;font-display:swap;src:url(../fonts/inter-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:Inter;font-weight:600;font-display:swap;src:url(../fonts/inter-cyrillic-600-normal.woff2) format('woff2');unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;font-weight:600;font-display:swap;src:url(../fonts/inter-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:Inter;font-weight:700;font-display:swap;src:url(../fonts/inter-cyrillic-700-normal.woff2) format('woff2');unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;font-weight:700;font-display:swap;src:url(../fonts/inter-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:Inter;font-weight:800;font-display:swap;src:url(../fonts/inter-cyrillic-800-normal.woff2) format('woff2');unicode-range:U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Inter;font-weight:800;font-display:swap;src:url(../fonts/inter-latin-800-normal.woff2) format('woff2')}

/* ==== Findoc — дизайн-токены (светлая тема) ==== */
:root{
  /* текст */
  --fd-heading:#0A2F55;   /* заголовки, основной тёмный */
  --fd-body:#3D5B74;      /* основной текст (контраст ≥ 6:1 на фонах) */
  --fd-muted:#6F8AA0;     /* подписи, сноски */
  --fd-accent:#1576B0;    /* ссылки, eyebrow-надписи */
  --fd-accent-2:#1F8EC6;  /* акцент в заголовках */
  /* поверхности */
  --fd-white:#FFFFFF;
  --fd-tint:#F2F8FC;      /* фон чередующихся секций (совпадает с разделителями-волнами) */
  --fd-line:#D6ECF7;      /* обводки карточек */
  --fd-divider:#E3EEF5;   /* линии внутри карточек/таблиц */
  --fd-highlight:#EAF7FD; /* подсветка колонки Findoc в таблицах */
  /* бренд (из робота и кнопок) */
  --fd-navy:#0B4A72; --fd-ink:#062643; --fd-cyan:#6FD6FF; --fd-cyan-2:#3FB5E3;
  /* статусы */
  --fd-ok:#17A77A;   --fd-ok-bg:#E3FAF2;   --fd-ok-line:#8EE6C8;
  --fd-warn:#8A5600; --fd-warn-bg:#FFF4D6; --fd-warn-line:#F2D28A;
  --fd-risk:#B42339; --fd-risk-bg:#FFE8EB; --fd-risk-line:#F7B6C0;
  /* радиусы и тени */
  --fd-r-card:24px; --fd-r-btn:16px; --fd-r-btn-l:20px;
  --fd-shadow-card:inset 0 0 0 1.5px #D6ECF7,0 24px 50px -30px rgba(10,47,85,.35);
  --fd-container:1200px;
}
.card{border-radius:var(--fd-r-card);background:#fff;box-shadow:var(--fd-shadow-card)}
.eyebrow{color:var(--fd-accent);font-weight:800;font-size:14px;letter-spacing:.16em;text-transform:uppercase}

/* Findoc UI — кнопки и элементы. Шрифт: Inter 600/700/800 */
:root{
  --fd-navy:#0B4A72; --fd-ink:#062643; --fd-bg:#061831; --fd-surface:#0C2646;
  --fd-cyan:#6FD6FF; --fd-cyan-2:#3FB5E3; --fd-mint:#3EE3B0; --fd-text:#EAF9FF; --fd-muted:#8FB9D3;
}
.btn{font-family:Inter,system-ui,sans-serif;font-weight:700;letter-spacing:-.01em;display:inline-flex;align-items:center;justify-content:center;gap:.55em;
  position:relative;isolation:isolate;border:0;cursor:pointer;white-space:nowrap;text-decoration:none;
  height:52px;padding:0 26px;font-size:17px;border-radius:16px;transition:transform .15s ease,box-shadow .2s ease,background .2s ease,color .2s ease}
.btn svg{width:1.15em;height:1.15em;flex:none}
.btn-l{height:64px;padding:0 34px;font-size:20px;border-radius:20px}
.btn-s{height:40px;padding:0 18px;font-size:15px;border-radius:12px}

/* Primary — глянец как у робота: голубой градиент, тёмно-синий контур, блик сверху */
.btn-primary{color:var(--fd-ink);
  background:linear-gradient(180deg,#C4F4FF 0%,#7AD8F4 48%,#38ABDC 100%);
  box-shadow:inset 0 0 0 2.5px var(--fd-navy),inset 0 -4px 0 2px rgba(11,74,114,.18),0 12px 30px -10px rgba(63,198,245,.65)}
.btn-primary::before{content:"";position:absolute;z-index:-1;left:12px;right:12px;top:5px;height:42%;border-radius:10px;
  background:linear-gradient(180deg,rgba(255,255,255,.85),rgba(255,255,255,0))}
.btn-primary.is-hover,.btn-primary:hover{background:linear-gradient(180deg,#D9FAFF 0%,#8FE3FA 48%,#45B9E6 100%);
  box-shadow:inset 0 0 0 2.5px var(--fd-navy),inset 0 -4px 0 2px rgba(11,74,114,.18),0 0 0 6px rgba(111,214,255,.16),0 16px 40px -8px rgba(63,198,245,.85);transform:translateY(-2px)}
.btn-primary.is-active,.btn-primary:active{background:linear-gradient(180deg,#7AD2EE 0%,#46B2DD 55%,#2A93C6 100%);
  box-shadow:inset 0 0 0 2.5px var(--fd-navy),inset 0 4px 8px rgba(6,38,67,.35),0 6px 16px -8px rgba(63,198,245,.6);transform:translateY(1px)}
.btn-primary.is-active::before,.btn-primary:active::before{opacity:.35}
.btn-primary.is-disabled,.btn-primary:disabled{color:#5E7C92;background:linear-gradient(180deg,#3A566D,#2B4459);box-shadow:inset 0 0 0 2px #22384B;cursor:not-allowed;transform:none}
.btn-primary.is-disabled::before,.btn-primary:disabled::before{opacity:.12}

/* Secondary — стеклянная, голубой контур */
.btn-secondary{color:var(--fd-text);background:linear-gradient(180deg,rgba(111,214,255,.10),rgba(111,214,255,.03));
  box-shadow:inset 0 0 0 2px rgba(111,214,255,.55),inset 0 1px 0 2px rgba(255,255,255,.06)}
.btn-secondary.is-hover,.btn-secondary:hover{background:linear-gradient(180deg,rgba(111,214,255,.20),rgba(111,214,255,.08));
  box-shadow:inset 0 0 0 2px var(--fd-cyan),0 0 24px -4px rgba(111,214,255,.45);transform:translateY(-2px)}
.btn-secondary.is-active,.btn-secondary:active{background:rgba(6,24,49,.6);box-shadow:inset 0 0 0 2px var(--fd-cyan-2),inset 0 3px 8px rgba(0,0,0,.4);transform:translateY(1px)}
.btn-secondary.is-disabled,.btn-secondary:disabled{color:#4F6B82;box-shadow:inset 0 0 0 2px #22384B;background:transparent;cursor:not-allowed;transform:none}

/* Ghost — текстовая ссылка со стрелкой */
.btn-ghost{color:var(--fd-cyan);background:none;padding:0 4px;height:auto}
.btn-ghost svg{transition:transform .2s}
.btn-ghost.is-hover,.btn-ghost:hover{color:#BFF1FF;text-shadow:0 0 14px rgba(111,214,255,.7)}
.btn-ghost.is-hover svg,.btn-ghost:hover svg{transform:translateX(5px)}

/* Круглая иконка-кнопка */
.btn-icon{width:56px;height:56px;padding:0;border-radius:50%}
.btn-icon.btn-s{width:44px;height:44px}

/* Dropzone для загрузки PDF */
.dropzone{font-family:Inter,sans-serif;width:560px;padding:34px 28px;border-radius:24px;text-align:center;color:var(--fd-text);
  background:linear-gradient(180deg,rgba(111,214,255,.07),rgba(111,214,255,.02));border:2px dashed rgba(111,214,255,.45)}
.dropzone.is-hover{border-color:var(--fd-cyan);background:rgba(111,214,255,.12);box-shadow:0 0 40px -6px rgba(111,214,255,.45)}
.dropzone svg{display:block;margin:0 auto}
.dropzone b{display:block;font-size:20px;margin:14px 0 6px}
.dropzone span{color:var(--fd-muted);font-size:15px;font-weight:600}

/* Бейдж-чип */
.chip{font-family:Inter,sans-serif;display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 14px;border-radius:999px;font-weight:700;font-size:14px;color:#fff;
  background:rgba(62,227,176,.12);box-shadow:inset 0 0 0 1.5px rgba(62,227,176,.55)}
.chip.info{background:rgba(111,214,255,.10);box-shadow:inset 0 0 0 1.5px rgba(111,214,255,.5)}

/* Findoc UI — светлая тема. Подключать ПОСЛЕ findoc-buttons.css и добавить класс :root:not([data-theme="dark"]) .fd-light на <body> */
:root:not([data-theme="dark"]) .fd-light{
  --fd-bg:#FFFFFF; --fd-tint:#F2F8FC; --fd-heading:#0A2F55; --fd-body:#4A6A85; --fd-accent:#1576B0; --fd-line:#CFE6F3;
  background:var(--fd-bg); color:var(--fd-heading);
}
:root:not([data-theme="dark"]) .fd-light .btn-primary{box-shadow:inset 0 0 0 2.5px var(--fd-navy),inset 0 -4px 0 2px rgba(11,74,114,.18),0 12px 26px -10px rgba(21,118,176,.55)}
:root:not([data-theme="dark"]) .fd-light .btn-primary.is-hover,:root:not([data-theme="dark"]) .fd-light .btn-primary:hover{box-shadow:inset 0 0 0 2.5px var(--fd-navy),inset 0 -4px 0 2px rgba(11,74,114,.18),0 0 0 6px rgba(63,181,227,.16),0 16px 34px -8px rgba(21,118,176,.55)}
:root:not([data-theme="dark"]) .fd-light .btn-primary.is-disabled,:root:not([data-theme="dark"]) .fd-light .btn-primary:disabled{color:#9FB3C3;background:linear-gradient(180deg,#EEF3F7,#DCE6EE);box-shadow:inset 0 0 0 2px #CBD8E2}
:root:not([data-theme="dark"]) .fd-light .btn-primary.is-disabled::before,:root:not([data-theme="dark"]) .fd-light .btn-primary:disabled::before{opacity:.5}

:root:not([data-theme="dark"]) .fd-light .btn-secondary{color:var(--fd-heading);background:linear-gradient(180deg,#FFFFFF,#F1F9FD);
  box-shadow:inset 0 0 0 2px #9ED8F0,0 6px 16px -10px rgba(10,47,85,.25)}
:root:not([data-theme="dark"]) .fd-light .btn-secondary.is-hover,:root:not([data-theme="dark"]) .fd-light .btn-secondary:hover{background:linear-gradient(180deg,#FFFFFF,#E4F5FC);box-shadow:inset 0 0 0 2px #3FB5E3,0 10px 24px -10px rgba(21,118,176,.45);transform:translateY(-2px)}
:root:not([data-theme="dark"]) .fd-light .btn-secondary.is-active,:root:not([data-theme="dark"]) .fd-light .btn-secondary:active{background:#E1F1F9;box-shadow:inset 0 0 0 2px #2A93C6,inset 0 3px 6px rgba(10,47,85,.12);transform:translateY(1px)}
:root:not([data-theme="dark"]) .fd-light .btn-secondary.is-disabled,:root:not([data-theme="dark"]) .fd-light .btn-secondary:disabled{color:#A9BCCB;background:#F6F9FB;box-shadow:inset 0 0 0 2px #DDE7EE;transform:none}

:root:not([data-theme="dark"]) .fd-light .btn-ghost{color:var(--fd-accent)}
:root:not([data-theme="dark"]) .fd-light .btn-ghost.is-hover,:root:not([data-theme="dark"]) .fd-light .btn-ghost:hover{color:#0B4A72;text-shadow:none}

:root:not([data-theme="dark"]) .fd-light .dropzone{color:var(--fd-heading);background:linear-gradient(180deg,#FFFFFF,#F2FAFE);border-color:#9ED8F0}
:root:not([data-theme="dark"]) .fd-light .dropzone.is-hover{border-color:#3FB5E3;background:#E9F7FD;box-shadow:0 12px 36px -12px rgba(21,118,176,.4)}
:root:not([data-theme="dark"]) .fd-light .dropzone span{color:var(--fd-body)}

:root:not([data-theme="dark"]) .fd-light .chip{color:#0B6B4F;background:#E3FAF2;box-shadow:inset 0 0 0 1.5px #8EE6C8}
:root:not([data-theme="dark"]) .fd-light .chip.info{color:#0B4A72;background:#E6F5FC;box-shadow:inset 0 0 0 1.5px #A6DDF3}

/* ================================================================
   Findoc — layout (светлая тема). Кнопки/бейджи/dropzone — выше в этом файле.
   Брейкпоинты: 1180 · 960 · 700 · 420
   ================================================================ */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px;-webkit-text-size-adjust:100%}
body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:16px;line-height:1.55;color:var(--fd-heading);background:#fff;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:var(--fd-accent)}
h1,h2,h3,h4,p{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
button{font:inherit;cursor:pointer}
:focus-visible{outline:3px solid #3FB5E3;outline-offset:3px;border-radius:8px}
.skip{position:absolute;left:-999px;top:8px;z-index:100;background:#fff;padding:10px 16px;border-radius:10px}
.skip:focus{left:12px}
.container{width:100%;max-width:1248px;margin:0 auto;padding:0 24px}
.accent{color:var(--fd-accent-2)}
.btn svg{fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.btn-block{display:flex;width:100%}
.btn-ondark{color:#fff;background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 2px rgba(255,255,255,.75)}
.btn-ondark:hover{background:rgba(255,255,255,.22);transform:translateY(-2px)}
.chip svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2.2}

/* ---------- typography ---------- */
h1{font-size:clamp(34px,4.6vw,58px);font-weight:800;line-height:1.06;letter-spacing:-.03em}
h2{font-size:clamp(28px,3.2vw,44px);font-weight:800;line-height:1.1;letter-spacing:-.025em;margin-bottom:16px}
h3{font-size:20px;font-weight:800;line-height:1.3;margin-bottom:8px;letter-spacing:-.01em}
.lead{font-size:clamp(17px,1.4vw,19px);font-weight:500;color:var(--fd-body);line-height:1.55}
.eyebrow{margin-bottom:12px}
:where(.card,.rf,.path-item) p{color:var(--fd-body);font-size:15px;font-weight:500}
.note{color:var(--fd-muted);font-size:14px;margin-top:10px}
.footnote{color:var(--fd-muted);font-size:13.5px;margin-top:14px}
.center{text-align:center}
.muted-p{color:var(--fd-body);margin-top:14px}

/* ---------- tags ---------- */
.tag{display:inline-flex;align-items:center;height:28px;padding:0 12px;border-radius:999px;font-weight:800;font-size:12px;letter-spacing:.08em;white-space:nowrap;flex:none}
.tag.stop{background:var(--fd-risk-bg);color:var(--fd-risk);box-shadow:inset 0 0 0 1.5px var(--fd-risk-line)}
.tag.risk{background:var(--fd-warn-bg);color:var(--fd-warn);box-shadow:inset 0 0 0 1.5px var(--fd-warn-line)}
.tag.fix{background:var(--fd-ok-bg);color:#0B6B4F;box-shadow:inset 0 0 0 1.5px var(--fd-ok-line)}
.tag.info{background:#E6F5FC;color:var(--fd-navy);box-shadow:inset 0 0 0 1.5px #A6DDF3}

/* ---------- header ---------- */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.72);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);transition:box-shadow .25s,background .25s}
.site-header.scrolled{background:rgba(255,255,255,.92);box-shadow:0 1px 0 var(--fd-line),0 10px 30px -18px rgba(10,47,85,.35)}
.header-row{display:flex;align-items:center;gap:24px;height:112px;transition:height .25s}
.site-header.scrolled .header-row{height:84px}
.logo img{height:76px;width:auto;transition:height .25s}
.site-header.scrolled .logo img{height:60px}
.main-nav{display:flex;align-items:center;gap:22px;margin-left:auto}
.main-nav>a{color:var(--fd-heading);font-weight:600;font-size:15px;text-decoration:none;padding:6px 2px;position:relative}
.main-nav>a::after{content:"";position:absolute;left:0;right:0;bottom:0;height:2px;border-radius:2px;background:#3FB5E3;transform:scaleX(0);transition:transform .2s}
.main-nav>a:hover::after,.main-nav>a.active::after{transform:scaleX(1)}
.nav-actions{display:flex;gap:10px;margin-left:10px}
.burger{display:none;margin-left:auto;width:48px;height:48px;border:0;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 2px #9ED8F0;position:relative}
.burger span{position:absolute;left:13px;right:13px;height:2.5px;border-radius:2px;background:var(--fd-heading);transition:transform .25s,opacity .2s}
.burger span:nth-child(1){top:16px}.burger span:nth-child(2){top:23px}.burger span:nth-child(3){top:30px}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ---------- hero ---------- */
.hero{position:relative;background:#F7FBFE url(../images/03-backgrounds/bg-hero-A-aurora-1920x1080.png) center/cover no-repeat;margin-top:-112px;padding:150px 0 90px}
@media (min-width:1921px){.hero{background-image:url(../images/03-backgrounds/bg-hero-A-aurora-2560x1440.png)}}
.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:32px;align-items:center}
.hero-text .chip{margin-bottom:22px}
.hero-text .lead{margin:22px 0 32px;max-width:590px}
.btn-row{display:flex;flex-wrap:wrap;gap:14px}
.hero .note{margin-left:6px}
.trust{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
/* визуал: карточка и робот в одной «коробке» с фиксированными пропорциями — не перекрываются на любой ширине */
.hero-visual{position:relative;width:100%;max-width:620px;aspect-ratio:620/560;justify-self:end}
.hero-card{position:absolute;left:0;top:0;width:40%;z-index:2;filter:drop-shadow(0 14px 22px rgba(10,47,85,.18))}
.hero-robot{position:absolute;right:0;bottom:0;height:78%;width:auto;max-width:none;filter:drop-shadow(0 22px 28px rgba(10,47,85,.22))}
.float{animation:float 6s ease-in-out infinite}
@keyframes float{50%{transform:translateY(-8px)}}

/* ---------- stats ---------- */
.stats-wrap{position:relative;z-index:3;margin-top:-56px}
.stats{display:grid;grid-template-columns:repeat(4,1fr);padding:28px 8px}
.stats li{display:flex;gap:16px;align-items:center;padding:4px 22px}
.stats li+li{border-left:1.5px solid var(--fd-divider)}
.stats img{width:60px;flex:none}
.stats b{display:block;font-size:32px;font-weight:800;letter-spacing:-.03em;line-height:1.1}
.stats span{display:block;color:var(--fd-body);font-size:14px;line-height:1.4;font-weight:500}

/* ---------- sections ---------- */
.section{padding:100px 0}
.section.tint{background:var(--fd-tint);padding-top:40px}
.divider{display:block;width:100%;height:auto;margin:-1px 0;pointer-events:none;user-select:none}
.divider.on-tint{background:#fff}
.sec-head{max-width:820px;margin-bottom:44px}
.sec-head.center{margin-left:auto;margin-right:auto;text-align:center}
.sec-head.with-robot{max-width:none;display:flex;justify-content:space-between;align-items:flex-end;gap:30px}
.sec-head.with-robot>div{max-width:720px}
.side-robot{height:220px;width:auto;flex:none;filter:drop-shadow(0 18px 22px rgba(10,47,85,.18))}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.card{transition:transform .25s,box-shadow .25s}
.feature,.reason{padding:28px 26px}
.feature:hover,.reason:hover,.promise:hover,.tariff:hover{transform:translateY(-4px);box-shadow:inset 0 0 0 1.5px #A6DDF3,0 30px 60px -30px rgba(10,47,85,.45)}
.feature-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:18px}
.feature-top img{width:60px}
.feature-top .big{font-size:28px;font-weight:800;color:var(--fd-accent);letter-spacing:-.02em;white-space:nowrap}

/* ---------- tables ---------- */
.table-wrap{margin-top:52px;padding:12px 16px 6px;overflow-x:auto;-webkit-overflow-scrolling:touch}
.cmp{width:100%;min-width:760px;border-collapse:separate;border-spacing:0;font-size:15.5px}
.cmp th,.cmp td{padding:17px 20px;text-align:left;vertical-align:top;border-bottom:1.5px solid var(--fd-divider)}
.cmp thead th{font-size:14.5px;color:var(--fd-body);font-weight:700;border-bottom:0}
.cmp tbody th{color:var(--fd-heading);font-weight:700;width:26%}
.cmp td{color:var(--fd-body);font-weight:500}
.cmp .fd{background:var(--fd-highlight);color:var(--fd-heading);font-weight:800}
.cmp thead th.fd{background:linear-gradient(180deg,#C4F4FF,#7AD8F4);color:var(--fd-ink);font-size:17px;border-radius:18px 18px 0 0;box-shadow:inset 0 0 0 2px var(--fd-navy)}
.cmp tbody tr:last-child th,.cmp tbody tr:last-child td{border-bottom:0}
.cmp tbody tr:last-child td.fd{border-radius:0 0 18px 18px}
.cmp .ok{color:var(--fd-ok);font-weight:900;font-size:18px}
.cmp tr.total th,.cmp tr.total td{font-weight:800;color:var(--fd-heading)}

/* ---------- who ---------- */
.seg{display:inline-flex;gap:6px;padding:6px;border-radius:18px;background:var(--fd-tint);box-shadow:inset 0 0 0 1.5px var(--fd-line);margin-bottom:28px;max-width:100%}
.seg button{border:0;background:none;height:48px;padding:0 22px;border-radius:13px;font-weight:700;font-size:16px;color:var(--fd-body);transition:.2s}
.seg button[aria-selected="true"]{color:var(--fd-ink);background:linear-gradient(180deg,#C4F4FF 0%,#7AD8F4 48%,#38ABDC 100%);box-shadow:inset 0 0 0 2.5px var(--fd-navy),0 10px 22px -10px rgba(21,118,176,.55)}
.path{display:flex;gap:36px;align-items:center;padding:40px 44px}
.path-body{flex:1}
.path-intro{font-size:18px;font-weight:600;color:var(--fd-heading)!important;line-height:1.55;max-width:760px}
.path-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:28px}
.path-item{animation:fadeUp .35s ease both}
.path-item img{width:52px;margin-bottom:12px}
.path-item h3{font-size:18px}
.path-robot{width:280px;flex:none;filter:drop-shadow(0 18px 22px rgba(10,47,85,.2))}
@keyframes fadeUp{from{opacity:0;transform:translateY(10px)}}

/* ---------- quiz ---------- */
.quiz-sec{background:#EEF7FC url(../images/03-backgrounds/bg-section-soft-tint-1920x1080.png) center/cover}
.quiz-grid{display:grid;grid-template-columns:420px 1fr;gap:60px;align-items:center}
.quiz-robot{width:300px;margin-top:26px;filter:drop-shadow(0 18px 22px rgba(10,47,85,.2))}
.quiz{padding:36px;max-width:680px;min-height:430px}
.q-meta{display:flex;justify-content:space-between;color:var(--fd-muted);font-weight:800;font-size:13px;letter-spacing:.12em}
.q-bar{height:8px;border-radius:4px;background:var(--fd-divider);margin:14px 0 26px;overflow:hidden}
.q-bar i{display:block;height:100%;border-radius:4px;background:linear-gradient(90deg,#3FB5E3,#7BF0CF);transition:width .35s}
.q-title{font-size:24px;font-weight:800;line-height:1.3;margin-bottom:22px}
.q-opts{display:grid;gap:12px}
.opt{display:flex;align-items:center;gap:14px;min-height:60px;padding:12px 20px;border:0;border-radius:16px;background:#fff;box-shadow:inset 0 0 0 2px #CFE6F3;font-weight:700;font-size:17px;color:var(--fd-heading);text-align:left;transition:.15s}
.opt i{width:22px;height:22px;border-radius:50%;box-shadow:inset 0 0 0 2px #9ED8F0;flex:none;transition:.15s}
.opt:hover{box-shadow:inset 0 0 0 2px #3FB5E3,0 10px 24px -12px rgba(21,118,176,.45);background:#F0FAFF;transform:translateY(-1px)}
.opt:hover i,.opt.sel i{background:radial-gradient(circle,#1F8EC6 0 42%,transparent 47%);box-shadow:inset 0 0 0 2px #1F8EC6}
.q-foot{display:flex;justify-content:space-between;align-items:center;margin-top:24px;min-height:40px}
.q-back{border:0;background:none;color:var(--fd-muted);font-weight:700;padding:8px 2px}
.q-back:hover{color:var(--fd-accent)}
.q-result h3{font-size:26px;margin:16px 0 6px}
.q-note{color:var(--fd-muted)!important;font-size:13.5px!important;margin-top:18px}
.q-anim{animation:fadeUp .3s ease both}

/* ---------- checklist ---------- */
.chk{margin:20px 0 26px}
.chk li{position:relative;padding-left:32px;margin:11px 0;color:var(--fd-body);font-weight:600;font-size:15.5px}
.chk li::before{content:"";position:absolute;left:0;top:1px;width:21px;height:21px;border-radius:50%;background:var(--fd-ok-bg) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%2317A77A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/21px;box-shadow:inset 0 0 0 1.5px var(--fd-ok-line)}
.chk li.no{color:#9FB3C3}
.chk li.no::before{background:#F1F5F8;box-shadow:inset 0 0 0 1.5px #DCE6EE}

/* ---------- calculator ---------- */
.calc{display:grid;grid-template-columns:1fr 440px;overflow:hidden}
.calc-inputs{padding:40px 44px}
.rng{display:block;margin-bottom:26px}
.rng:last-child{margin-bottom:0}
.rng-top{display:flex;justify-content:space-between;gap:12px;font-weight:700;color:var(--fd-body);margin-bottom:12px}
.rng-top b{color:var(--fd-heading);font-size:18px;white-space:nowrap}
input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:10px;border-radius:5px;background:linear-gradient(90deg,#3FB5E3,#7BF0CF) 0/var(--p,50%) 100% no-repeat,#E3EEF5;outline:none;margin:8px 0}
input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:28px;height:28px;border-radius:50%;background:linear-gradient(180deg,#fff,#C4F4FF);box-shadow:inset 0 0 0 3px var(--fd-navy),0 4px 10px rgba(10,47,85,.25);cursor:grab;transition:transform .15s}
input[type=range]::-webkit-slider-thumb:hover{transform:scale(1.1)}
input[type=range]::-moz-range-thumb{width:24px;height:24px;border-radius:50%;border:3px solid var(--fd-navy);background:linear-gradient(180deg,#fff,#C4F4FF);cursor:grab}
input[type=range]::-moz-range-track{height:10px;border-radius:5px;background:transparent}
.calc-result{padding:40px 44px;background:linear-gradient(160deg,#EAF7FD,#D9F0FA);box-shadow:inset 1.5px 0 0 var(--fd-line)}
.calc-label{font-weight:700;color:var(--fd-body)}
.calc-big{font-size:clamp(36px,4vw,52px);font-weight:800;letter-spacing:-.03em;line-height:1.1;margin:6px 0 20px;font-variant-numeric:tabular-nums}
.calc-rows{margin:0 0 22px}
.calc-rows div{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-top:1.5px solid #C9E6F4}
.calc-rows dt{color:var(--fd-body);font-weight:600}
.calc-rows dd{margin:0;font-weight:800;font-size:18px;font-variant-numeric:tabular-nums}
.calc-rows dd.good{color:var(--fd-ok)}

/* ---------- steps ---------- */
.steps{display:flex;align-items:flex-start;justify-content:space-between;gap:0;margin-top:70px}
.step{position:relative;flex:1;max-width:360px;padding:40px 30px 30px}
.step .badge{position:absolute;top:-36px;left:26px;width:72px}
.step .tag{margin-top:6px}
.step-icon{width:84px;margin:14px 0 8px}
.step-note{margin-top:14px;padding-top:14px;border-top:1.5px solid var(--fd-divider);color:var(--fd-muted)!important;font-size:14px!important}
.connector{flex:0 0 110px;align-self:center;margin-top:-40px}
.connector img{width:110px}
.center-cta{text-align:center;margin-top:48px}

/* ---------- report ---------- */
.report-grid{display:grid;grid-template-columns:1fr 560px;gap:50px;align-items:start}
.report-features{display:grid;grid-template-columns:1fr 1fr;gap:28px 30px}
.rf{display:flex;gap:16px}
.rf img{width:56px;flex:none}
.rf h3{font-size:18px}
.page-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.page-tabs button{border:0;height:40px;padding:0 16px;border-radius:12px;font-weight:700;font-size:14px;color:var(--fd-heading);background:#fff;box-shadow:inset 0 0 0 2px #9ED8F0;transition:.2s}
.page-tabs button:hover{box-shadow:inset 0 0 0 2px #3FB5E3}
.page-tabs button[aria-selected="true"]{color:var(--fd-ink);background:linear-gradient(180deg,#C4F4FF 0%,#7AD8F4 48%,#38ABDC 100%);box-shadow:inset 0 0 0 2.5px var(--fd-navy)}
.sheet{padding:30px;min-height:330px}
.sheet-top{display:flex;justify-content:space-between;gap:10px;color:var(--fd-muted);font-weight:800;font-size:12px;letter-spacing:.1em}
.sheet h3{font-size:24px;margin:14px 0 10px}
.sheet .r,.sheet .plan-line{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 0;border-top:1.5px solid var(--fd-divider);font-weight:600;font-size:15px;color:var(--fd-heading)}
.sheet .rows{margin-top:16px}
.sheet .plan-line b{flex:none;min-width:112px;height:30px;border-radius:15px;background:#E6F5FC;box-shadow:inset 0 0 0 1.5px #A6DDF3;color:var(--fd-navy);font-size:12px;letter-spacing:.05em;display:flex;align-items:center;justify-content:center}
.sheet .plan-line span:nth-child(2){flex:1}
.sheet-in{animation:fadeUp .3s ease both}
.process{margin-top:50px}
.proc{display:flex;gap:18px;padding:26px}
.proc img{width:56px;flex:none}
.proc h3{font-size:19px;margin-top:10px}

/* ---------- pricing ---------- */
.tariffs{align-items:stretch}
.tariff{position:relative;display:flex;flex-direction:column;padding:34px 32px 32px}
.tariff h3{font-size:24px}
.t-desc{min-height:48px}
.price{font-size:44px;font-weight:800;letter-spacing:-.03em;margin-top:16px;color:var(--fd-heading)}
.price span{font-size:14px;color:var(--fd-muted);font-weight:700;letter-spacing:0;margin-left:6px}
.tariff .chk{flex:1}
.tariff.pro{box-shadow:inset 0 0 0 2.5px #3FB5E3,0 30px 60px -30px rgba(21,118,176,.55);background:linear-gradient(180deg,#F0FAFF,#fff 40%)}
.tariff .rec{position:absolute;top:-14px;right:28px}
.promo{margin-top:28px;display:flex;align-items:center;gap:28px;padding:28px 36px;background:linear-gradient(120deg,#EAF7FD,#DFF6EE)}
.promo img{width:88px;flex:none}
.promo>div{flex:1}
.promo h3{font-size:23px}
.footnote.center{text-align:center}

/* ---------- security ---------- */
.security{display:grid;grid-template-columns:440px 1fr;gap:60px;align-items:center}
.sec-robot{width:100%;filter:drop-shadow(0 22px 28px rgba(10,47,85,.2))}
.sec-items{margin-top:28px}
.mini{display:flex;gap:14px;padding:20px}
.mini img{width:48px;flex:none}
.mini h3{font-size:17px;margin-bottom:4px}
.mini p{font-size:14px!important}

/* ---------- promises ---------- */
.promise{padding:32px 30px;text-align:center}
.promise img{width:80px;margin:0 auto 18px}

/* ---------- faq ---------- */
.faq-sec{padding-top:0}
.faq-grid{display:grid;grid-template-columns:360px 1fr;gap:60px;align-items:start}
.faq-side img{width:300px;margin-top:20px;filter:drop-shadow(0 18px 22px rgba(10,47,85,.2))}
.faq details{border-radius:20px;background:#fff;box-shadow:inset 0 0 0 1.5px var(--fd-line);margin-bottom:14px;transition:box-shadow .2s}
.faq details[open]{box-shadow:inset 0 0 0 2px #3FB5E3,0 16px 34px -20px rgba(21,118,176,.45)}
.faq summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 26px;font-weight:800;font-size:18px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";width:12px;height:12px;flex:none;border-right:2.6px solid var(--fd-accent);border-bottom:2.6px solid var(--fd-accent);transform:rotate(45deg) translate(-3px,-3px);transition:transform .2s}
.faq details[open] summary::after{transform:rotate(225deg) translate(-3px,-3px)}
.faq details p{padding:0 26px 22px;color:var(--fd-body);font-weight:500}

/* ---------- cta ---------- */
.cta-sec{padding-top:0}
.cta{position:relative;display:flex;align-items:center;min-height:380px;border-radius:32px;overflow:hidden;background:#1F8EC6 url(../images/03-backgrounds/bg-cta-bright-1920x640.png) center/cover;box-shadow:0 30px 60px -30px rgba(21,118,176,.6);padding:56px 64px}
.cta-text{position:relative;z-index:2;max-width:720px}
.cta h2{color:#fff}
.cta p{color:#E6F7FF;font-size:19px;font-weight:500;margin:0 0 30px}
.cta-robot{position:absolute;right:30px;bottom:-16px;height:340px;width:auto;max-width:none}

/* ---------- footer ---------- */
.site-footer{background:var(--fd-tint);border-top:1.5px solid var(--fd-line);padding:60px 0 36px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px}
.f-brand img{height:64px;width:auto}
.f-brand p{color:var(--fd-body);font-size:15px;margin:16px 0}
.mail{font-weight:700;text-decoration:none}
.site-footer h4{font-size:16px;font-weight:800;margin-bottom:12px}
.site-footer nav a{display:block;color:var(--fd-body);text-decoration:none;font-size:15px;margin:8px 0}
.site-footer nav a:hover{color:var(--fd-accent)}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:40px;padding-top:24px;border-top:1.5px solid var(--fd-line)}
.footer-bottom p{color:var(--fd-muted);font-size:13px;max-width:880px}
.to-top{position:fixed;right:22px;bottom:22px;z-index:40;width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--fd-ink);background:linear-gradient(180deg,#C4F4FF,#7AD8F4 48%,#38ABDC);box-shadow:inset 0 0 0 2.5px var(--fd-navy),0 10px 24px -8px rgba(21,118,176,.6);opacity:0;transform:translateY(12px);pointer-events:none;transition:.25s}
.to-top.show{opacity:1;transform:none;pointer-events:auto}
.to-top svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}

/* ---------- reveal ---------- */
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.js .reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.js .reveal{opacity:1;transform:none;transition:none}.float{animation:none}*{transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* =================== RESPONSIVE =================== */
@media (max-width:1180px){
  .main-nav{gap:16px}.main-nav>a{font-size:14px}
  .grid-4{grid-template-columns:repeat(2,1fr)}
  .report-grid{grid-template-columns:1fr}
  .report-preview{max-width:620px}
  .calc{grid-template-columns:1fr 380px}
  .security{grid-template-columns:340px 1fr;gap:40px}
  .quiz-grid{grid-template-columns:340px 1fr;gap:40px}
}
@media (max-width:1360px){
  .burger{display:block}
  .main-nav{position:fixed;inset:84px 12px auto 12px;flex-direction:column;align-items:stretch;gap:4px;padding:16px;background:#fff;border-radius:22px;box-shadow:inset 0 0 0 1.5px var(--fd-line),0 30px 60px -20px rgba(10,47,85,.35);margin:0;opacity:0;transform:translateY(-10px);pointer-events:none;transition:.22s}
  .main-nav.open{opacity:1;transform:none;pointer-events:auto}
  .main-nav>a{padding:14px 12px;font-size:17px;border-radius:12px}
  .main-nav>a:hover{background:var(--fd-tint)}
  .main-nav>a::after{display:none}
  .nav-actions{margin:10px 0 0;flex-direction:column}
  .nav-actions .btn{height:52px;font-size:17px}
  .header-row{height:84px}
  .logo img{height:60px}
  .hero{margin-top:-84px;padding-top:120px}
}
@media (max-width:960px){
  .hero-grid{grid-template-columns:1fr;gap:10px}
  .hero-visual{justify-self:center;max-width:520px}
  .stats{grid-template-columns:repeat(2,1fr);row-gap:22px}
  .stats li:nth-child(3){border-left:0}
  .grid-3{grid-template-columns:1fr 1fr}
  .path{flex-direction:column;align-items:stretch;padding:32px}
  .path-robot{display:none}
  .quiz-grid{grid-template-columns:1fr}
  .quiz-robot{display:none}
  .quiz{max-width:none}
  .calc{grid-template-columns:1fr}
  .calc-result{box-shadow:inset 0 1.5px 0 var(--fd-line)}
  .steps{flex-direction:column;align-items:center;gap:0}
  .step{width:100%;max-width:560px}
  .connector{flex:none;height:90px;margin:0;display:flex;align-items:center}
  .connector img{width:34px;content:url(../images/08-transitions/connector-vertical.png)}
  .security{grid-template-columns:1fr}
  .sec-robot{max-width:340px;margin:0 auto}
  .faq-grid{grid-template-columns:1fr;gap:10px}
  .faq-side img{display:none}
  .footer-grid{grid-template-columns:1fr 1fr}
  .f-brand{grid-column:1/-1}
  .cta{padding:44px 40px 300px;align-items:flex-start}
  .cta-robot{right:50%;transform:translateX(50%);height:280px}
  .sec-head.with-robot .side-robot{height:170px}
}
@media (max-width:700px){
  .hero{background-image:url(../images/03-backgrounds/bg-hero-A-aurora-mobile-1080x1920.png);background-position:center top;padding-bottom:70px}
  .section{padding:72px 0}
  .section.tint{padding-top:24px}
  .btn-row .btn{width:100%}
  .btn-l{height:58px;font-size:18px}
  .stats{grid-template-columns:1fr;padding:16px 4px}
  .stats li{border-left:0!important;padding:12px 18px}
  .stats li+li{border-top:1.5px solid var(--fd-divider)}
  .grid-4,.grid-3,.grid-2,.path-grid,.report-features{grid-template-columns:1fr}
  .sec-head.with-robot{flex-direction:column;align-items:flex-start}
  .sec-head.with-robot .side-robot{display:none}
  .seg{display:flex;width:100%}
  .seg button{flex:1;padding:0 10px;font-size:14px;line-height:1.2}
  .quiz,.calc-inputs,.calc-result,.sheet{padding:24px 20px}
  .q-title{font-size:21px}
  .promo{flex-direction:column;align-items:flex-start;padding:26px 22px}
  .promo .btn{width:100%}
  .tariff{padding:30px 24px 26px}
  .cta{padding:36px 24px 250px;border-radius:26px}
  .cta-robot{height:230px}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column;align-items:flex-start}
  .sheet .plan-line{flex-wrap:wrap}
  .table-wrap{margin-left:-8px;margin-right:-8px}
}
@media (max-width:420px){
  .container{padding:0 16px}
  .logo img{height:52px}
  .chip{font-size:12.5px}
  .price{font-size:38px}
}

/* fixes */
.calc-big,.q-title{color:var(--fd-heading)}
.rf,.proc,.mini,.promo{align-items:flex-start}
.promo{align-items:center}
.rf img,.proc img,.mini img,.feature-top img,.stats img{height:auto;align-self:flex-start}
.stats img{align-self:center}
@media (min-width:1181px){.report-grid{grid-template-columns:1fr 600px}}
.cta-text{min-width:0;width:100%}
.scroll-hint{display:none;color:var(--fd-muted);font-size:13px;font-weight:600;margin:14px 0 -38px}
@media (max-width:700px){
  .btn{white-space:normal;text-align:center;line-height:1.25}
  .btn-l,.btn-block,.btn-row .btn{height:auto;min-height:56px;padding:12px 20px}
  .scroll-hint{display:block}
  .cta h2{font-size:28px}
}


/* ================================================================
   ТЕМЫ: светлая (по умолчанию) и тёмная — html[data-theme="dark"]
   ================================================================ */
:root{--fd-page:#FFFFFF;--edge-a:#3FB5E3;--edge-b:#6FD6FF}
body{background:var(--fd-page);transition:background-color .3s,color .3s}

/* разделители-волны (inline SVG, цвет из переменных) */
svg.divider{display:block;width:100%;height:auto;aspect-ratio:1920/200;margin:-1px 0;background:var(--fd-page);pointer-events:none;overflow:visible}
svg.divider.flip{transform:scaleY(-1)}
.dv-fill{fill:var(--fd-tint);transition:fill .3s}
.dv-glow{fill:none;stroke:url(#fdEdge);stroke-width:8;opacity:.28;filter:url(#fdGlow)}
.dv-line{fill:none;stroke:url(#fdEdge);stroke-width:2.5}
#fdEdge .e0{stop-color:var(--edge-a);stop-opacity:0}
#fdEdge .e1{stop-color:var(--edge-a);stop-opacity:.75}
#fdEdge .e2{stop-color:var(--edge-b);stop-opacity:1}

/* переключатель темы */
.theme-toggle{flex:none;position:relative;width:48px;height:48px;border:0;border-radius:50%;background:#fff;box-shadow:inset 0 0 0 2px #9ED8F0,0 6px 16px -10px rgba(10,47,85,.35);color:var(--fd-navy);display:flex;align-items:center;justify-content:center;transition:transform .2s,box-shadow .2s,background .3s;margin-left:6px}
.theme-toggle:hover{transform:translateY(-2px) rotate(-8deg);box-shadow:inset 0 0 0 2px #3FB5E3,0 10px 22px -10px rgba(21,118,176,.5)}
.theme-toggle svg{position:absolute;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:opacity .25s,transform .35s}
.theme-toggle .i-moon{fill:currentColor;stroke:none}
.theme-toggle .i-sun{opacity:0;transform:rotate(-90deg) scale(.6)}
[data-theme="dark"] .theme-toggle .i-moon{opacity:0;transform:rotate(90deg) scale(.6)}
[data-theme="dark"] .theme-toggle .i-sun{opacity:1;transform:none}
@media (max-width:1360px){.theme-toggle{margin-left:auto}.burger{margin-left:10px}}

/* логотипы */
.logo-dark{display:none!important}
[data-theme="dark"] .logo-light{display:none!important}
[data-theme="dark"] .logo-dark{display:block!important}

/* ================= ТЁМНАЯ ТЕМА ================= */
[data-theme="dark"]{
  color-scheme:dark;
  --fd-page:#0B1D33;          /* основной фон — тёмно-синий, не чёрный */
  --fd-tint:#0F2743;          /* чередующиеся секции */
  --fd-heading:#EEF8FF;
  --fd-body:#B3CADB;
  --fd-muted:#86A3BA;
  --fd-accent:#6FD6FF;
  --fd-accent-2:#7FDCFA;
  --fd-line:rgba(127,220,250,.20);
  --fd-divider:rgba(127,220,250,.13);
  --fd-highlight:rgba(111,214,255,.10);
  --fd-shadow-card:inset 0 0 0 1.5px rgba(127,220,250,.20),0 24px 50px -28px rgba(0,6,16,.8);
  --edge-a:#3FC6F5;--edge-b:#9BEBFF;
}
[data-theme="dark"] body{background:var(--fd-page);color:var(--fd-heading)}
[data-theme="dark"] .card{background:linear-gradient(180deg,#143457,#10294A);box-shadow:var(--fd-shadow-card)}
[data-theme="dark"] .feature:hover,[data-theme="dark"] .reason:hover,[data-theme="dark"] .promise:hover,[data-theme="dark"] .tariff:hover{box-shadow:inset 0 0 0 1.5px rgba(127,220,250,.45),0 30px 60px -28px rgba(0,6,16,.9),0 0 40px -12px rgba(63,198,245,.35)}

/* шапка и меню */
[data-theme="dark"] .site-header{background:rgba(11,29,51,.72)}
[data-theme="dark"] .site-header.scrolled{background:rgba(11,29,51,.94);box-shadow:0 1px 0 var(--fd-line),0 10px 30px -18px rgba(0,0,0,.6)}
[data-theme="dark"] .theme-toggle,[data-theme="dark"] .burger{background:#122E4F;box-shadow:inset 0 0 0 2px rgba(111,214,255,.45);color:#FFE08A}
[data-theme="dark"] .burger span{background:#EEF8FF}
@media (max-width:1360px){
  [data-theme="dark"] .main-nav{background:#10294A;box-shadow:inset 0 0 0 1.5px var(--fd-line),0 30px 60px -20px rgba(0,0,0,.7)}
  [data-theme="dark"] .main-nav>a:hover{background:#163A60}
}

/* первый экран */
[data-theme="dark"] .hero{background-color:#0B1D33;background-image:url(../images/03-backgrounds/bg-hero-dark-aurora-1920x1080.png)}
@media (min-width:1921px){[data-theme="dark"] .hero{background-image:url(../images/03-backgrounds/bg-hero-dark-aurora-2560x1440.png)}}
@media (max-width:700px){[data-theme="dark"] .hero{background-image:url(../images/03-backgrounds/bg-hero-dark-aurora-mobile-1080x1920.png)}}
[data-theme="dark"] .hero-robot,[data-theme="dark"] .side-robot,[data-theme="dark"] .path-robot,[data-theme="dark"] .quiz-robot,[data-theme="dark"] .sec-robot,[data-theme="dark"] .faq-side img{filter:drop-shadow(0 20px 30px rgba(0,6,16,.55)) drop-shadow(0 0 36px rgba(63,198,245,.22))}
[data-theme="dark"] .hero-card{filter:drop-shadow(0 14px 22px rgba(0,6,16,.5)) drop-shadow(0 0 24px rgba(63,198,245,.25))}

/* метки */
[data-theme="dark"] .tag.stop{background:rgba(240,86,104,.14);color:#FF9AA8;box-shadow:inset 0 0 0 1.5px rgba(255,122,140,.45)}
[data-theme="dark"] .tag.risk{background:rgba(242,183,51,.14);color:#FFD27A;box-shadow:inset 0 0 0 1.5px rgba(255,210,122,.42)}
[data-theme="dark"] .tag.fix{background:rgba(62,227,176,.13);color:#7BF0CF;box-shadow:inset 0 0 0 1.5px rgba(123,240,207,.42)}
[data-theme="dark"] .tag.info{background:rgba(111,214,255,.12);color:#9BE3F7;box-shadow:inset 0 0 0 1.5px rgba(111,214,255,.40)}

/* таблицы */
[data-theme="dark"] .cmp .fd{background:rgba(111,214,255,.09);color:#EEF8FF}
[data-theme="dark"] .cmp .ok{color:#7BF0CF}

/* переключатели-вкладки */
[data-theme="dark"] .seg{background:#0D2340;box-shadow:inset 0 0 0 1.5px var(--fd-line)}
[data-theme="dark"] .seg button{color:var(--fd-body)}
[data-theme="dark"] .seg button[aria-selected="true"]{color:var(--fd-ink)}
[data-theme="dark"] .page-tabs button{background:#10294A;color:var(--fd-heading);box-shadow:inset 0 0 0 2px rgba(111,214,255,.4)}
[data-theme="dark"] .page-tabs button[aria-selected="true"]{color:var(--fd-ink);background:linear-gradient(180deg,#C4F4FF 0%,#7AD8F4 48%,#38ABDC 100%);box-shadow:inset 0 0 0 2.5px var(--fd-navy)}
[data-theme="dark"] .sheet .plan-line b{background:rgba(111,214,255,.12);color:#9BE3F7;box-shadow:inset 0 0 0 1.5px rgba(111,214,255,.4)}

/* тест */
[data-theme="dark"] .quiz-sec{background:#0D2340;background-image:radial-gradient(700px 500px at 90% 10%,rgba(47,168,213,.22),transparent 70%),radial-gradient(600px 400px at 0% 100%,rgba(21,126,134,.22),transparent 70%)}
[data-theme="dark"] .opt{background:#0F2743;color:var(--fd-heading);box-shadow:inset 0 0 0 2px rgba(111,214,255,.28)}
[data-theme="dark"] .opt:hover{background:#15385E;box-shadow:inset 0 0 0 2px #3FC6F5,0 10px 24px -12px rgba(63,198,245,.5)}
[data-theme="dark"] .opt i{box-shadow:inset 0 0 0 2px rgba(111,214,255,.55)}
[data-theme="dark"] .opt:hover i,[data-theme="dark"] .opt.sel i{background:radial-gradient(circle,#6FD6FF 0 42%,transparent 47%);box-shadow:inset 0 0 0 2px #6FD6FF}
[data-theme="dark"] .q-bar,[data-theme="dark"] input[type=range]{background-color:rgba(127,220,250,.14)}
[data-theme="dark"] .chk li::before{background-color:rgba(62,227,176,.14);box-shadow:inset 0 0 0 1.5px rgba(123,240,207,.45)}
[data-theme="dark"] .chk li.no{color:#5F7C94}
[data-theme="dark"] .chk li.no::before{background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.12)}

/* калькулятор */
[data-theme="dark"] .calc-result{background:linear-gradient(160deg,#16395F,#112E50);box-shadow:inset 1.5px 0 0 var(--fd-line)}
[data-theme="dark"] .calc-rows div{border-top-color:rgba(127,220,250,.16)}
[data-theme="dark"] .calc-rows dd.good{color:#7BF0CF}
@media (max-width:960px){[data-theme="dark"] .calc-result{box-shadow:inset 0 1.5px 0 var(--fd-line)}}

/* тарифы, промо */
[data-theme="dark"] .tariff.pro{background:linear-gradient(180deg,#18406A,#10294A 45%);box-shadow:inset 0 0 0 2.5px #3FC6F5,0 30px 60px -28px rgba(0,6,16,.9),0 0 50px -14px rgba(63,198,245,.4)}
[data-theme="dark"] .promo{background:linear-gradient(120deg,#15395F,#12394A)}

/* FAQ */
[data-theme="dark"] .faq details{background:#10294A;box-shadow:inset 0 0 0 1.5px var(--fd-line)}
[data-theme="dark"] .faq details[open]{box-shadow:inset 0 0 0 2px #3FC6F5,0 16px 34px -20px rgba(63,198,245,.4)}

/* CTA и футер */
[data-theme="dark"] .cta{background-color:#0E4F86;background-image:url(../images/03-backgrounds/bg-cta-dark-1920x640.png);box-shadow:inset 0 0 0 1.5px rgba(191,241,255,.25),0 30px 60px -30px rgba(63,198,245,.45)}
[data-theme="dark"] .site-footer{background:#091829;border-top-color:var(--fd-line)}
[data-theme="dark"] .footer-bottom{border-top-color:var(--fd-line)}

/* выделение и скролл */
[data-theme="dark"] ::selection{background:rgba(111,214,255,.35);color:#fff}
[data-theme="dark"] .skip{background:#10294A;color:#fff}
/* fixes */
.main-nav>a{white-space:nowrap}
[data-theme="dark"] .cmp thead th.fd{background:linear-gradient(180deg,#C4F4FF,#7AD8F4);color:var(--fd-ink);box-shadow:inset 0 0 0 2px var(--fd-navy)}
@media (min-width:961px){.cta-text{max-width:600px}.cta-robot{right:10px}}
.logo{flex:none}
@media (min-width:1241px){.main-nav{gap:14px}.main-nav>a{font-size:14.5px}.nav-actions{margin-left:6px;gap:8px}}

/* ================================================================
   МНОГОСТРАНИЧНАЯ ВЕРСИЯ: шапки разделов, крошки, новые блоки
   ================================================================ */
.page-hero{position:relative;background:#F7FBFE url(../images/03-backgrounds/bg-hero-A-aurora-1920x1080.png) center 70%/cover no-repeat;margin-top:-112px;padding:150px 0 64px}
[data-theme="dark"] .page-hero{background-color:#0B1D33;background-image:url(../images/03-backgrounds/bg-hero-dark-aurora-1920x1080.png)}
.page-hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:40px;align-items:center}
.page-hero h1{font-size:clamp(32px,4vw,52px)}
.page-hero .lead{margin:18px 0 28px;max-width:640px}
.page-hero-robot{justify-self:end;height:300px;width:auto;max-width:100%;object-fit:contain;filter:drop-shadow(0 22px 28px rgba(10,47,85,.22))}
[data-theme="dark"] .page-hero-robot{filter:drop-shadow(0 20px 30px rgba(0,6,16,.55)) drop-shadow(0 0 36px rgba(63,198,245,.22))}
.crumbs{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:600;color:var(--fd-muted);margin-bottom:18px}
.crumbs a{color:var(--fd-accent);text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.main-nav>a.active{color:var(--fd-accent)}

.more-link{margin-top:40px;text-align:center}
.faq .more-link{margin-top:22px;text-align:left}

/* пошаговая инструкция */
.guide{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;counter-reset:g}
.guide li{display:flex;gap:18px;padding:26px}
.guide-n{flex:none;width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:22px;color:var(--fd-navy);background:linear-gradient(180deg,#E9FBFF,#9FE3F7 50%,#4DB7DE);box-shadow:inset 0 0 0 3px var(--fd-navy)}
.guide h3{font-size:19px}
.tip{display:flex;gap:18px;align-items:flex-start;padding:26px 28px;margin-top:26px;background:linear-gradient(120deg,#FFF9E6,#FFFFFF)}
.tip img{width:56px;flex:none;height:auto}
[data-theme="dark"] .tip{background:linear-gradient(120deg,#2A2F3A,#13304F)}

/* причины подробно */
.reason-detail{padding:28px 26px;display:flex;flex-direction:column}
.todo{margin-top:auto;padding-top:16px;border-top:1.5px solid var(--fd-divider)}
.reason-detail p+.todo{margin-top:16px}
.todo b{display:block;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--fd-accent);margin-bottom:6px}

/* две колонки */
.split{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}
.sheet.static{min-height:0}
.chk.big li{font-size:17px}
.list-card{padding:30px 32px}
.list-card h3{font-size:22px}
.chk.cross li::before{background:#FFE8EB url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M6.5 6.5l7 7M13.5 6.5l-7 7' fill='none' stroke='%23D93A52' stroke-width='2.4' stroke-linecap='round'/></svg>") center/21px;box-shadow:inset 0 0 0 1.5px #F7B6C0}
[data-theme="dark"] .chk.cross li::before{background-color:rgba(240,86,104,.14);box-shadow:inset 0 0 0 1.5px rgba(255,122,140,.45)}
.faq.narrow{max-width:880px;margin:0 auto}

/* тизер экспресс-оценки */
.teaser-grid{display:grid;grid-template-columns:320px 1fr;gap:50px;align-items:center}
.teaser .quiz-robot{display:block!important;margin:0;width:100%}

/* контакты */
.contact-big{margin-top:12px!important;font-size:18px!important;font-weight:800}
.contact-big a{text-decoration:none}
.doc-links a{display:block;margin:6px 0;font-weight:600;text-decoration:none}
.doc-links a:hover{text-decoration:underline}

/* футер на 5 колонок */
.footer-grid.five{grid-template-columns:1.3fr repeat(4,1fr);gap:32px}

/* 404 */
.err404{padding-bottom:100px}.e-illus{width:min(760px,100%);margin:0 auto 10px}.err404 h1{font-size:clamp(30px,4vw,48px)}
[data-theme="dark"] .e-illus{filter:drop-shadow(0 0 36px rgba(63,198,245,.22))}

@media (max-width:1360px){.page-hero{margin-top:-84px;padding-top:120px}}
@media (max-width:1180px){.footer-grid.five{grid-template-columns:repeat(4,1fr)}.footer-grid.five .f-brand{grid-column:1/-1}}
@media (max-width:960px){
  .page-hero-grid{grid-template-columns:1fr}
  .page-hero-robot{justify-self:center;height:220px}
  .guide,.split{grid-template-columns:1fr}
  .teaser-grid{grid-template-columns:1fr;gap:10px}
  .teaser .quiz-robot{max-width:240px;margin:0 auto}
  .footer-grid.five{grid-template-columns:1fr 1fr}
}
@media (max-width:700px){
  .page-hero{padding-bottom:40px;background-image:url(../images/03-backgrounds/bg-hero-A-aurora-mobile-1080x1920.png);background-position:center top}
  [data-theme="dark"] .page-hero{background-image:url(../images/03-backgrounds/bg-hero-dark-aurora-mobile-1080x1920.png)}
  .page-hero-robot{height:180px}
  .guide li{padding:22px 20px}
  .footer-grid.five{grid-template-columns:1fr}
  .more-link .btn{width:100%}
}

/* ===== минималистичная главная ===== */
.steps-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;counter-reset:none}
.steps-mini li{display:flex;gap:16px;align-items:flex-start}
.steps-mini img{width:60px;height:auto;flex:none}
.steps-mini h3{font-size:20px;margin:6px 0 6px}
.steps-mini p{color:var(--fd-body);font-weight:500;font-size:15.5px}
.hub{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.hub-card{display:flex;align-items:center;gap:16px;padding:22px 22px;text-decoration:none;color:var(--fd-heading)}
.hub-card img{width:52px;height:auto;flex:none}
.hub-t{flex:1;display:flex;flex-direction:column;gap:4px}
.hub-t b{font-size:18px;font-weight:800}
.hub-t span{color:var(--fd-body);font-size:14.5px;font-weight:500;line-height:1.45}
.hub-arrow{width:22px;height:22px;flex:none;fill:none;stroke:var(--fd-accent);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.hub-card:hover{transform:translateY(-3px);box-shadow:inset 0 0 0 2px #3FB5E3,0 24px 44px -26px rgba(21,118,176,.55)}
.hub-card:hover .hub-arrow{transform:translateX(4px)}
.tariff-mini-row{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:980px;margin:0 auto}
.tariff-mini{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:28px 22px 24px}
.tariff-mini .rec{position:absolute;top:-14px;left:50%;transform:translateX(-50%)}
.tm-name{font-size:18px;font-weight:800}
.tm-price{font-size:38px;font-weight:800;letter-spacing:-.03em;color:var(--fd-heading)}
.tm-desc{color:var(--fd-body);font-size:14.5px;font-weight:500;min-height:42px}
.tariff-mini .btn{margin-top:8px}
.tariff-mini.pro{box-shadow:inset 0 0 0 2.5px #3FB5E3,0 30px 60px -30px rgba(21,118,176,.55);background:linear-gradient(180deg,#F0FAFF,#fff 50%)}
[data-theme="dark"] .tariff-mini.pro{background:linear-gradient(180deg,#18406A,#10294A 50%);box-shadow:inset 0 0 0 2.5px #3FC6F5,0 0 50px -14px rgba(63,198,245,.4)}
[data-theme="dark"] .hub-card:hover{box-shadow:inset 0 0 0 2px #3FC6F5,0 24px 44px -26px rgba(0,6,16,.9)}
@media (max-width:960px){.steps-mini,.hub{grid-template-columns:1fr 1fr}.steps-mini li:last-child{grid-column:1/-1}}
@media (max-width:700px){.steps-mini,.hub,.tariff-mini-row{grid-template-columns:1fr}.steps-mini li:last-child{grid-column:auto}}

/* ================================================================
   FINDOC-БОТ · Liquid Glass: приветствие, демо, экскурсия, тест-драйв, тариф
   ================================================================ */
:root{
  --lg-fill:linear-gradient(145deg,rgba(255,255,255,.93),rgba(244,251,255,.88) 55%,rgba(232,247,255,.91));
  --lg-edge:rgba(255,255,255,1);
  --lg-edge2:rgba(255,255,255,.5);
  --lg-shadow:0 30px 80px -24px rgba(10,47,85,.36),0 8px 22px -10px rgba(10,47,85,.2);
  --lg-blur:blur(30px) saturate(180%);
  --lg-chip:rgba(226,242,251,.8);
  --lg-chip-line:rgba(255,255,255,.95);
  --lg-ink:#0A2F55;
  --lg-sub:#3C5A74;
  --lg-soft:rgba(240,249,255,.9);
}
[data-theme="dark"]{
  --lg-fill:linear-gradient(145deg,rgba(34,76,118,.93),rgba(19,50,86,.9) 55%,rgba(22,58,98,.93));
  --lg-edge:rgba(170,230,255,.55);
  --lg-edge2:rgba(170,230,255,.14);
  --lg-shadow:0 30px 80px -24px rgba(0,8,20,.8),0 0 0 .5px rgba(127,220,250,.18);
  --lg-blur:blur(30px) saturate(150%);
  --lg-chip:rgba(255,255,255,.08);
  --lg-chip-line:rgba(170,230,255,.2);
  --lg-ink:#EAF6FF;
  --lg-sub:#AFC8DD;
  --lg-soft:rgba(255,255,255,.06);
}
.fdg-lock,.fdg-lock body{overflow:hidden}
.to-top{bottom:96px}

/* базовое стекло */
.fdg-glass{position:relative;isolation:isolate;background:var(--lg-fill);-webkit-backdrop-filter:var(--lg-blur);backdrop-filter:var(--lg-blur);
  box-shadow:inset 0 1.5px 0 var(--lg-edge),inset 0 -1px 0 var(--lg-edge2),inset 0 0 0 1px var(--lg-edge2),var(--lg-shadow);color:var(--lg-ink);font-family:Inter,sans-serif}
.fdg-glass::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.2px;pointer-events:none;z-index:-1;
  background:linear-gradient(160deg,rgba(255,255,255,1),rgba(255,255,255,.2) 28%,rgba(255,255,255,0) 60%,rgba(140,220,255,.7));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.fdg-glass::after{content:"";position:absolute;left:6%;right:6%;top:0;height:40%;border-radius:inherit;pointer-events:none;z-index:-1;
  background:radial-gradient(120% 90% at 30% 0%,rgba(255,255,255,.7),rgba(255,255,255,0) 70%);opacity:.6}
[data-theme="dark"] .fdg-glass::before{background:linear-gradient(160deg,rgba(190,240,255,.75),rgba(190,240,255,.08) 30%,rgba(0,0,0,0) 60%,rgba(111,214,255,.5))}
[data-theme="dark"] .fdg-glass::after{background:radial-gradient(120% 90% at 30% 0%,rgba(190,240,255,.14),rgba(190,240,255,0) 70%)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .fdg-glass{background:#F4FBFF}[data-theme="dark"] .fdg-glass{background:#15365A}
}

/* аватар в стеклянном кольце */
.fdg-ava{position:relative;flex:none;display:grid;place-items:center;width:58px;height:58px;border-radius:50%;padding:3px;
  background:linear-gradient(160deg,#fff,rgba(170,225,250,.7));box-shadow:0 8px 20px -8px rgba(10,47,85,.45),inset 0 0 0 1px rgba(255,255,255,.8)}
.fdg-ava img{width:100%;height:100%;border-radius:50%;display:block}
.fdg-ava.big{width:84px;height:84px}
.fdg-ava.live{animation:fdgBreath 4s ease-in-out infinite}
.fdg-ava.live::before{content:"";position:absolute;inset:-5px;border-radius:50%;background:radial-gradient(circle,rgba(111,214,255,.45),rgba(111,214,255,0) 70%);z-index:-1;animation:fdgGlow 3s ease-in-out infinite}
[data-theme="dark"] .fdg-ava{background:linear-gradient(160deg,rgba(190,240,255,.6),rgba(63,198,245,.2));box-shadow:0 0 24px -6px rgba(63,198,245,.6)}
@keyframes fdgBreath{0%,100%{transform:translateY(0) rotate(0)}30%{transform:translateY(-3px) rotate(-3deg)}60%{transform:translateY(-1px) rotate(2deg)}}
@keyframes fdgGlow{50%{opacity:.35;transform:scale(1.12)}}

/* кнопки-капсулы */
.fdg-b{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 20px;border:0;border-radius:999px;font:700 15px/1 Inter,sans-serif;text-decoration:none;cursor:pointer;
  transition:transform .25s cubic-bezier(.3,1.6,.5,1),box-shadow .2s,background .2s;white-space:nowrap;position:relative;overflow:hidden}
.fdg-b svg{width:1.1em;height:1.1em;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;transition:transform .25s}
.fdg-b:hover svg{transform:translateX(3px)}
.fdg-b.primary{color:#fff;background:linear-gradient(180deg,#4FC3F4,#1E8FD0 60%,#1679B8);
  box-shadow:inset 0 1.5px 0 rgba(255,255,255,.6),inset 0 -2px 6px rgba(6,60,110,.35),0 10px 24px -10px rgba(21,118,176,.8);text-shadow:0 1px 1px rgba(6,50,90,.35)}
.fdg-b.primary::after,.fdg-b.gold::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 35%,rgba(255,255,255,.45) 50%,transparent 65%);transform:translateX(-120%);animation:fdgShine 4.5s ease-in-out 1.2s infinite;pointer-events:none}
.fdg-b.primary:hover{transform:translateY(-2px) scale(1.03);box-shadow:inset 0 1.5px 0 rgba(255,255,255,.7),inset 0 -2px 6px rgba(6,60,110,.35),0 16px 32px -10px rgba(21,118,176,.9)}
.fdg-b.clear{color:var(--lg-ink);background:var(--lg-chip);box-shadow:inset 0 1px 0 var(--lg-chip-line),inset 0 0 0 1px var(--lg-chip-line)}
.fdg-b.clear:hover{background:#fff;transform:translateY(-1px)}
[data-theme="dark"] .fdg-b.clear:hover{background:rgba(255,255,255,.16)}
.fdg-b.gold{color:#3D2600;background:linear-gradient(180deg,#FFE58A,#FFC23D 60%,#F2A516);
  box-shadow:inset 0 1.5px 0 rgba(255,255,255,.75),inset 0 -2px 6px rgba(160,90,0,.3),0 10px 24px -10px rgba(200,130,0,.7)}
.fdg-b.gold:hover{transform:translateY(-2px) scale(1.03)}
.fdg-b.big{min-height:52px;padding:0 26px;font-size:16px}
.fdg-b.small{min-height:36px;padding:0 14px;font-size:13.5px}
.fdg-b:active{transform:scale(.96)}
.fdg-b:focus-visible,.fdg-plan-card:focus-visible,.fdg-partner:focus-visible,.fdg-drop:focus-visible{outline:3px solid #6FD6FF;outline-offset:3px}
@keyframes fdgShine{0%,55%{transform:translateX(-120%)}100%{transform:translateX(120%)}}

/* кнопка запуска */
.fdg-launcher{position:fixed;right:20px;bottom:20px;z-index:60;display:flex;align-items:center;gap:10px;padding:5px 18px 5px 5px;border:0;border-radius:999px;font:800 15px Inter,sans-serif;cursor:pointer;transition:transform .3s cubic-bezier(.3,1.5,.5,1),opacity .3s;animation:fdgIn .6s cubic-bezier(.2,.9,.25,1.2) backwards}
.fdg-launcher .fdg-ava{width:44px;height:44px;padding:2px}
.fdg-launcher:hover{transform:translateY(-3px) scale(1.03)}
.fdg-launcher .fdg-ava::after{content:"";position:absolute;inset:0;border-radius:50%;border:2px solid #3FB5E3;opacity:0;animation:fdgPulse 2.8s ease-out infinite}
.fdg-launcher.hi .fdg-ava{animation:fdgHi .9s ease-in-out}
@keyframes fdgPulse{0%{opacity:.7;transform:scale(.95)}80%,100%{opacity:0;transform:scale(1.4)}}
@keyframes fdgHi{20%{transform:rotate(-14deg)}40%{transform:rotate(12deg)}60%{transform:rotate(-8deg)}80%{transform:rotate(5deg)}}
@keyframes fdgIn{from{opacity:0;transform:translateY(20px) scale(.9)}}
.fdg-launcher.fdg-hide{opacity:0;pointer-events:none;transform:translateY(16px) scale(.9)}

/* подложка — лёгкая, сайт остаётся виден */
.fdg-overlay{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:16px;
  background:radial-gradient(60% 60% at 50% 50%,rgba(8,34,62,.24),rgba(8,34,62,.07));animation:fdgFadeIn .6s ease backwards;transition:opacity .3s}
[data-theme="dark"] .fdg-overlay{background:radial-gradient(60% 60% at 50% 50%,rgba(0,8,20,.45),rgba(0,8,20,.14))}
.fdg-overlay.bye{opacity:0;pointer-events:none}
.fdg-overlay.bye .fdg-modal{transform:translateY(10px) scale(.96);transition:transform .3s}
@keyframes fdgFadeIn{from{opacity:0}}

/* центральное окно */
.fdg-modal{width:min(560px,100%);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;padding:18px 26px 26px;border-radius:34px;
  animation:fdgPop .7s cubic-bezier(.2,.9,.25,1.12) .1s backwards;transition:width .4s cubic-bezier(.3,1,.4,1),height .4s cubic-bezier(.3,1,.4,1);scrollbar-width:thin}
.fdg-modal.compact{width:min(470px,100%)}
.fdg-modal.wide{width:min(660px,100%)}
@keyframes fdgPop{from{opacity:0;transform:translateY(26px) scale(.92)}}
.fdg-top{display:flex;align-items:center;gap:10px;margin:0 -8px 18px}
.fdg-x{flex:none;margin-left:auto;width:34px;height:34px;display:grid;place-items:center;border:0;border-radius:50%;color:var(--lg-sub);cursor:pointer;background:var(--lg-chip);box-shadow:inset 0 0 0 1px var(--lg-chip-line);transition:transform .25s}
.fdg-x:hover{color:var(--lg-ink);transform:rotate(90deg)}
.fdg-x svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round}

/* этапы — сегменты iOS с «плывущей» подсветкой */
.fdg-stages{position:relative;flex:1;display:flex;gap:4px;margin:0;padding:4px;list-style:none;border-radius:999px;background:var(--lg-chip);box-shadow:inset 0 0 0 1px var(--lg-chip-line)}
.fdg-seg{position:absolute;left:4px;top:4px;bottom:4px;width:0;border-radius:999px;background:#fff;box-shadow:0 3px 10px -3px rgba(10,47,85,.3),inset 0 0 0 .5px rgba(255,255,255,.9);transition:transform .5s cubic-bezier(.3,1.3,.5,1),width .5s cubic-bezier(.3,1.3,.5,1)}
[data-theme="dark"] .fdg-seg{background:rgba(255,255,255,.16);box-shadow:inset 0 0 0 1px rgba(190,240,255,.3)}
.fdg-stages li{position:relative;flex:1;display:flex;align-items:center;justify-content:center;gap:6px;min-height:28px;padding:0 6px;border-radius:999px;font-size:12px;font-weight:700;color:var(--lg-sub);white-space:nowrap;transition:color .3s}
.fdg-stages i{width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.45;transition:.3s}
.fdg-stages li.done{color:#17A77A}.fdg-stages li.done i{opacity:1}
.fdg-stages li.on{color:var(--lg-ink)}
.fdg-stages li.on i{background:#1E8FD0;opacity:1;box-shadow:0 0 0 3px rgba(30,143,208,.2);animation:fdgDot 1.6s ease-in-out infinite}
[data-theme="dark"] .fdg-stages li.on i{background:#6FD6FF}
[data-theme="dark"] .fdg-stages li.done{color:#7BF0CF}
@keyframes fdgDot{50%{box-shadow:0 0 0 5px rgba(30,143,208,0)}}

/* смена шагов: уход и появление по очереди */
.fdg-body{transition:opacity .17s,transform .17s}
.fdg-body.leave{opacity:0;transform:translateX(-14px);pointer-events:none}
.fdg-body.enter [data-s]{animation:fdgRise .55s cubic-bezier(.2,.9,.3,1.1) backwards;animation-delay:var(--d,0ms)}
.fdg-body.enter.back [data-s]{animation-name:fdgRiseBack}
@keyframes fdgRise{from{opacity:0;transform:translate(14px,8px)}}
@keyframes fdgRiseBack{from{opacity:0;transform:translate(-14px,8px)}}
.fdg-slot [data-s]{animation:fdgRise .5s cubic-bezier(.2,.9,.3,1.1) backwards;animation-delay:calc(var(--d,0ms) + 150ms)}

/* приветствие */
.fdg-hello{text-align:center}
.fdg-hello-art{position:relative;width:230px;height:170px;margin:-4px auto 6px}
.fdg-hello-bot{position:relative;width:208px;height:auto;margin-left:10px;transform-origin:50% 90%;animation:fdgHello 1.6s cubic-bezier(.3,1.3,.5,1) .35s backwards,fdgFloat 5s ease-in-out 2s infinite;filter:drop-shadow(0 14px 18px rgba(10,47,85,.28))}
@keyframes fdgHello{0%{opacity:0;transform:translateY(40px) scale(.7)}35%{opacity:1;transform:translateY(-6px) scale(1.03)}50%{transform:rotate(-6deg)}65%{transform:rotate(5deg)}80%{transform:rotate(-3deg)}100%{transform:none}}
@keyframes fdgFloat{50%{transform:translateY(-7px) rotate(-1.5deg)}}
.fdg-halo{position:absolute;left:50%;top:52%;width:190px;height:190px;margin:-95px 0 0 -95px;border-radius:50%;background:radial-gradient(circle,rgba(111,214,255,.55),rgba(111,214,255,.15) 45%,rgba(111,214,255,0) 70%);animation:fdgGlow 4s ease-in-out infinite}
.fdg-say{position:absolute;right:-40px;top:-8px;padding:8px 14px;border-radius:18px 18px 18px 4px;font-weight:800;font-size:15px;color:#fff;background:linear-gradient(180deg,#4FC3F4,#1679B8);box-shadow:0 10px 20px -8px rgba(21,118,176,.7),inset 0 1px 0 rgba(255,255,255,.5);animation:fdgSay .6s cubic-bezier(.3,1.6,.5,1) 1.1s backwards}
@keyframes fdgSay{from{opacity:0;transform:scale(.3) translate(-20px,20px)}}
.fdg-spark{position:absolute;width:14px;height:14px;background:#6FD6FF;clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%);animation:fdgTwinkle 2.4s ease-in-out infinite}
.fdg-spark.s1{left:8px;top:30px}.fdg-spark.s2{right:26px;bottom:34px;width:10px;height:10px;animation-delay:.8s;background:#7BF0CF}.fdg-spark.s3{left:36px;bottom:10px;width:9px;height:9px;animation-delay:1.5s;background:#FFD27A}
@keyframes fdgTwinkle{0%,100%{opacity:.2;transform:scale(.6) rotate(0)}50%{opacity:1;transform:scale(1.15) rotate(45deg)}}
.fdg-hello h2{margin-top:4px}
.fdg-type{min-height:4.5em}
.fdg-ghost{display:none}
.fdg-typed{white-space:pre-wrap}
.fdg-caret{display:inline-block;width:2px;height:1.05em;margin-left:2px;vertical-align:-2px;background:#1E8FD0;animation:fdgCaret .8s steps(2) infinite}
@keyframes fdgCaret{50%{opacity:0}}
.fdg-chips{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:16px 0 0;padding:0;list-style:none}
.fdg-chips li{padding:7px 12px;border-radius:999px;font-size:13px;font-weight:700;color:var(--lg-ink);background:var(--lg-chip);box-shadow:inset 0 0 0 1px var(--lg-chip-line)}
.fdg-chips li::before{content:"✓ ";color:#17A77A;font-weight:900}
.fdg-actions.center{justify-content:center}
.fdg-actions.center .fdg-b{flex:0 1 auto;min-width:260px}

/* робот печатает */
.fdg-slot{min-height:186px}
.fdg-typing{display:inline-flex;gap:5px;padding:14px 18px;border-radius:20px 20px 20px 6px;background:var(--lg-soft);box-shadow:inset 0 0 0 1px var(--lg-chip-line)}
.fdg-typing i{width:8px;height:8px;border-radius:50%;background:#3FB5E3;animation:fdgTyping 1s ease-in-out infinite}
.fdg-typing i:nth-child(2){animation-delay:.15s}.fdg-typing i:nth-child(3){animation-delay:.3s}
@keyframes fdgTyping{0%,60%,100%{transform:translateY(0);opacity:.4}30%{transform:translateY(-5px);opacity:1}}

.fdg-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.fdg-head b{display:block;font-size:16px}
.fdg-head span{font-size:13px;color:var(--lg-sub);font-weight:600}
.fdg-card{position:relative;border-radius:24px;padding:18px 20px;background:var(--lg-soft);box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 0 0 1px rgba(255,255,255,.7),0 10px 26px -18px rgba(10,47,85,.35)}
.fdg-card.pop{animation:fdgCard .5s cubic-bezier(.2,1,.3,1.15) backwards}
@keyframes fdgCard{from{opacity:0;transform:translateY(10px) scale(.96);border-radius:20px 20px 20px 6px}}
.fdg-card.risk{background:linear-gradient(160deg,#FFF0D2,#FFF8EC)}
.fdg-card.ok{background:linear-gradient(160deg,#D6F7EA,#EFFCF6)}
[data-theme="dark"] .fdg-card{box-shadow:inset 0 1px 0 rgba(190,240,255,.2),inset 0 0 0 1px rgba(190,240,255,.12)}
[data-theme="dark"] .fdg-card.risk{background:rgba(242,183,51,.14)}
[data-theme="dark"] .fdg-card.ok{background:rgba(62,227,176,.12)}
.fdg-card-ic{position:absolute;right:14px;top:12px;width:54px;height:54px;animation:fdgBob 3.4s ease-in-out infinite}
.fdg-card-ic img{width:100%;height:100%}
.fdg-card:not(.feats) h3{padding-right:58px}
.fdg-tag,.fdg-eyebrow{display:inline-block;margin:0 0 6px;font-size:11.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:#1679B8}
[data-theme="dark"] .fdg-tag,[data-theme="dark"] .fdg-eyebrow{color:#6FD6FF}
.fdg-card.risk .fdg-tag{color:#9A5F00}.fdg-card.ok .fdg-tag{color:#0B6B4F}
[data-theme="dark"] .fdg-card.risk .fdg-tag{color:#FFD27A}[data-theme="dark"] .fdg-card.ok .fdg-tag{color:#7BF0CF}
.fdg-card h3{font-size:21px;margin:0 0 8px;color:var(--lg-ink);letter-spacing:-.01em}
.fdg-card ul{margin:0;padding:0;list-style:none}
.fdg-card li{position:relative;padding-left:20px;margin:8px 0 0;font-size:15px;line-height:1.45;color:var(--lg-ink);font-weight:500}
.fdg-card:not(.feats) li::before{content:"";position:absolute;left:3px;top:.55em;width:8px;height:8px;border-radius:50%;background:#3FB5E3}
.fdg-card.risk li::before{background:#F2A516}.fdg-card.ok li::before{background:#27C995}
/* плюсы */
.fdg-feats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px!important}
.fdg-card .fdg-feats li{margin:0;padding:10px 6px 10px;text-align:center;border-radius:18px;background:rgba(255,255,255,.75);box-shadow:inset 0 0 0 1px rgba(255,255,255,.9),0 6px 16px -12px rgba(10,47,85,.4);transition:transform .3s cubic-bezier(.3,1.6,.5,1)}
[data-theme="dark"] .fdg-card .fdg-feats li{background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(190,240,255,.14)}
.fdg-feats li:hover{transform:translateY(-3px)}
.fdg-feats img{display:block;width:44px;height:44px;margin:0 auto 4px}
.fdg-feats li:hover img{animation:fdgJump .6s}
.fdg-feats b{display:block;font-size:14px;line-height:1.2}
.fdg-feats span{display:block;font-size:12px;font-weight:600;color:var(--lg-sub);line-height:1.25;margin-top:2px}
@keyframes fdgJump{40%{transform:translateY(-6px) scale(1.08)}}
@keyframes fdgBob{50%{transform:translateY(-5px)}}

.fdg-foot{display:flex;align-items:center;gap:8px;margin-top:18px}
.fdg-foot .fdg-prev{margin-left:auto}
.fdg-foot .fdg-dots+.fdg-next{margin-left:auto}
.fdg-dots{display:flex;gap:6px}
.fdg-dots i{width:8px;height:8px;border-radius:4px;background:rgba(60,90,116,.25);transition:width .4s cubic-bezier(.3,1.4,.5,1),background .3s}
.fdg-dots i.was{background:rgba(30,143,208,.45)}
.fdg-dots i.on{width:24px;background:#1E8FD0}
[data-theme="dark"] .fdg-dots i{background:rgba(190,240,255,.25)}[data-theme="dark"] .fdg-dots i.was{background:rgba(111,214,255,.5)}[data-theme="dark"] .fdg-dots i.on{background:#6FD6FF}

.fdg-modal h2{font-size:clamp(23px,3vw,29px);line-height:1.15;margin:0 0 8px;color:var(--lg-ink);letter-spacing:-.02em}
.fdg-hero{display:flex;gap:18px;align-items:center}
.fdg-lead{color:var(--lg-sub);font-size:15.5px;font-weight:500;line-height:1.5;margin:0}
.fdg-plan{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:22px 0 0;padding:0;list-style:none}
.fdg-plan li{display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:18px;background:var(--lg-chip);box-shadow:inset 0 0 0 1px var(--lg-chip-line);font-weight:700;font-size:14px}
.fdg-plan b{flex:none;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;color:#fff;font-size:13px;background:linear-gradient(180deg,#4FC3F4,#1679B8);box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}
.fdg-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.fdg-actions .fdg-b.primary{flex:1}
.fdg-note{color:var(--lg-sub);font-size:13px;margin:14px 0 0}
.fdg-note.center{text-align:center}
.fdg-later{border:0;background:none;color:#1679B8;font:700 13px Inter,sans-serif;cursor:pointer;text-decoration:underline;text-underline-offset:3px;padding:0 2px}
[data-theme="dark"] .fdg-later{color:#6FD6FF}

/* тест-драйв */
.fdg-drop{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;margin-top:22px;padding:26px;border-radius:26px;border:2px dashed rgba(30,143,208,.45);background:var(--lg-soft);color:var(--lg-ink);font-family:Inter,sans-serif;cursor:pointer;transition:.25s}
.fdg-drop:hover{border-color:#1E8FD0;transform:translateY(-2px);box-shadow:0 16px 30px -18px rgba(21,118,176,.6)}
.fdg-drop-ic{width:60px;height:60px;animation:fdgBob 2.4s ease-in-out infinite}
.fdg-drop-ic img{width:100%;height:100%}
.fdg-drop:hover .fdg-drop-ic{animation:fdgJump .6s}
.fdg-drop b{font-size:17px}.fdg-drop>span:last-child{color:var(--lg-sub);font-weight:600;font-size:13.5px}
[data-theme="dark"] .fdg-drop{border-color:rgba(111,214,255,.45)}
.fdg-scan{display:flex;justify-content:center;margin-top:18px;animation:fdgRise .4s backwards}
.fdg-doc{position:relative;width:96px;height:120px;padding:16px 14px;border-radius:14px;background:#fff;box-shadow:0 14px 28px -14px rgba(10,47,85,.5),inset 0 0 0 1.5px #CFE8F5;overflow:hidden}
[data-theme="dark"] .fdg-doc{background:#1B3F66;box-shadow:inset 0 0 0 1.5px rgba(111,214,255,.3)}
.fdg-doc i{display:block;height:6px;margin:0 0 9px;border-radius:3px;background:#D5E9F4}
.fdg-doc i:nth-child(2){width:70%}.fdg-doc i:nth-child(4){width:55%}.fdg-doc i:nth-child(6){width:80%}
[data-theme="dark"] .fdg-doc i{background:rgba(190,240,255,.2)}
.fdg-beam{position:absolute;left:0;right:0;top:0;height:26px;background:linear-gradient(180deg,rgba(111,214,255,0),rgba(111,214,255,.55),rgba(111,214,255,0));border-bottom:2px solid #3FB5E3;animation:fdgScan 1.3s ease-in-out infinite alternate}
@keyframes fdgScan{to{transform:translateY(96px)}}
.fdg-progress{margin-top:18px}
.fdg-bar{height:8px;border-radius:4px;background:rgba(60,90,116,.15);overflow:hidden}
.fdg-bar i{display:block;height:100%;width:0;border-radius:4px;background:linear-gradient(90deg,#3FB5E3,#7BF0CF,#3FB5E3);background-size:200% 100%;transition:width .6s cubic-bezier(.3,1,.4,1);animation:fdgFlow 1.5s linear infinite}
@keyframes fdgFlow{to{background-position:-200% 0}}
.fdg-progress ul{list-style:none;margin:14px 0 0;padding:0}
.fdg-progress li{position:relative;padding:8px 0 8px 32px;color:var(--lg-sub);font-weight:600;opacity:.55;transition:opacity .3s,transform .3s}
.fdg-progress li.run,.fdg-progress li.done{color:var(--lg-ink);opacity:1}
.fdg-progress li.run{transform:translateX(4px)}
.fdg-progress li::before{content:"";position:absolute;left:0;top:7px;width:22px;height:22px;box-sizing:border-box;border-radius:50%;border:2px solid rgba(60,90,116,.25)}
.fdg-progress li.run::before{border-color:#3FB5E3;border-top-color:transparent;animation:fdgSpin 1s linear infinite}
.fdg-progress li.done{transform:none}
.fdg-progress li.done::before{border:0;background:#E3FAF2 url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%2317A77A' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/22px;animation:fdgCheck .4s cubic-bezier(.3,1.8,.5,1)}
@keyframes fdgSpin{to{transform:rotate(360deg)}}
@keyframes fdgCheck{from{transform:scale(.3)}}

/* результат: кольцо вероятности */
.fdg-res-top{display:flex;justify-content:space-between;align-items:center;gap:16px}
.fdg-gauge{position:relative;flex:none;width:128px;height:128px}
.fdg-gauge svg{width:100%;height:100%;transform:rotate(-90deg)}
.fdg-gauge circle{fill:none;stroke-width:11;stroke-linecap:round}
.fdg-gauge .trk{stroke:rgba(60,90,116,.13)}
[data-theme="dark"] .fdg-gauge .trk{stroke:rgba(190,240,255,.12)}
.fdg-gauge .val{stroke:#F2A516;transition:stroke-dashoffset 1.2s cubic-bezier(.3,1,.4,1),stroke .9s ease .3s}
.fdg-gauge.go .val{stroke:#27C995}
.fdg-gauge-n{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding-bottom:10px;font-size:34px;font-weight:800;letter-spacing:-.03em;color:var(--lg-ink)}
.fdg-gauge-n b{font-weight:800}
.fdg-gauge small{position:absolute;left:0;right:0;bottom:30px;text-align:center;font-size:11.5px;font-weight:700;color:var(--lg-sub)}
.fdg-gauge .fdg-spark{opacity:0;animation:none}
.fdg-gauge.go .fdg-spark{animation:fdgTwinkle 2.2s ease-in-out 1.1s infinite}
.fdg-gauge .s1{left:-6px;top:6px}.fdg-gauge .s2{right:-4px;bottom:8px}.fdg-gauge .s3{right:4px;top:-4px}
.fdg-rows{margin-top:14px;border-radius:22px;overflow:hidden;background:var(--lg-soft);box-shadow:inset 0 0 0 1px rgba(255,255,255,.8)}
[data-theme="dark"] .fdg-rows{box-shadow:inset 0 0 0 1px rgba(190,240,255,.12)}
.fdg-rows div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 16px;font-weight:600;font-size:14.5px}
.fdg-rows div+div{border-top:1px solid rgba(60,90,116,.12)}
[data-theme="dark"] .fdg-rows div+div{border-top-color:rgba(190,240,255,.1)}
.fdg-pill{flex:none;display:inline-block;padding:5px 10px;border-radius:999px;font-size:11.5px;font-weight:800;letter-spacing:.04em;white-space:nowrap}
.fdg-rows .fdg-pill{animation:fdgCheck .45s cubic-bezier(.3,1.8,.5,1) backwards;animation-delay:calc(var(--d,0ms) + 300ms)}
.fdg-pill.stop{color:#B42318;background:rgba(255,120,110,.18)}
.fdg-pill.risk{color:#8A5300;background:rgba(255,190,60,.25)}
.fdg-pill.fix{color:#0B6B4F;background:rgba(62,227,176,.22)}
.fdg-pill.info{color:#fff;background:linear-gradient(180deg,#4FC3F4,#1679B8);font-size:10px;padding:3px 8px;vertical-align:2px}
[data-theme="dark"] .fdg-pill.stop{color:#FF9B92}[data-theme="dark"] .fdg-pill.risk{color:#FFD27A}[data-theme="dark"] .fdg-pill.fix{color:#7BF0CF}
.fdg-step1{margin-top:12px;padding:12px 16px;border-radius:18px;background:rgba(111,214,255,.16);box-shadow:inset 0 0 0 1px rgba(63,181,227,.3);font-weight:600;font-size:14.5px;line-height:1.5}
.fdg-step1 b{color:#1679B8}[data-theme="dark"] .fdg-step1 b{color:#6FD6FF}

/* выбор тарифа */
.fdg-plans{display:grid;gap:8px;margin-top:20px}
.fdg-plan-card{display:flex;align-items:center;gap:14px;padding:14px 16px;border-radius:22px;text-decoration:none;color:var(--lg-ink);background:var(--lg-soft);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 0 0 1px rgba(255,255,255,.7);transition:transform .3s cubic-bezier(.3,1.5,.5,1),box-shadow .25s,background .25s}
.fdg-plan-card:hover{transform:translateY(-3px) scale(1.01);background:#fff;box-shadow:inset 0 0 0 1.5px #3FB5E3,0 18px 32px -18px rgba(21,118,176,.6)}
.fdg-plan-card:hover .fdg-pc-go{transform:translateX(3px) scale(1.1)}
.fdg-plan-card.rec{background:linear-gradient(160deg,#D8F3FF,#F4FBFF);box-shadow:inset 0 0 0 2px #3FB5E3,0 16px 34px -20px rgba(21,118,176,.7)}
[data-theme="dark"] .fdg-plan-card{box-shadow:inset 0 1px 0 rgba(190,240,255,.18),inset 0 0 0 1px rgba(190,240,255,.12)}
[data-theme="dark"] .fdg-plan-card:hover{background:rgba(255,255,255,.12)}
[data-theme="dark"] .fdg-plan-card.rec{background:linear-gradient(160deg,rgba(63,198,245,.25),rgba(255,255,255,.05));box-shadow:inset 0 0 0 2px #3FC6F5}
.fdg-pc-main{flex:1;min-width:0}
.fdg-pc-main b{display:block;font-size:16px}
.fdg-pc-desc{display:block;margin-top:3px;font-size:13.5px;font-weight:500;color:var(--lg-sub)}
.fdg-pc-price{text-align:right;font-size:22px;font-weight:800;letter-spacing:-.02em;white-space:nowrap}
.fdg-pc-price small{display:block;font-size:11.5px;font-weight:700;color:var(--lg-sub);letter-spacing:0}
.fdg-pc-go{flex:none;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;color:#fff;background:linear-gradient(180deg,#4FC3F4,#1679B8);box-shadow:inset 0 1px 0 rgba(255,255,255,.6);transition:transform .3s cubic-bezier(.3,1.6,.5,1)}
.fdg-pc-go svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}

/* бесплатно за токены партнёра */
.fdg-partner{position:relative;display:flex;align-items:center;gap:14px;margin-top:12px;padding:14px 16px 14px 8px;border-radius:24px;text-decoration:none;color:#3D2600;overflow:hidden;
  background:linear-gradient(135deg,#FFF0B8,#FFDA7A 55%,#FFC955);box-shadow:inset 0 1.5px 0 rgba(255,255,255,.85),inset 0 0 0 1px rgba(255,255,255,.55),0 16px 34px -20px rgba(200,130,0,.8);transition:transform .3s cubic-bezier(.3,1.5,.5,1)}
.fdg-partner::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 30%,rgba(255,255,255,.6) 45%,transparent 60%);transform:translateX(-100%);animation:fdgShine 3.6s ease-in-out 1s infinite;pointer-events:none}
.fdg-partner:hover{transform:translateY(-3px) scale(1.01)}
.fdg-partner-art{position:relative;flex:none;width:112px;margin:-6px -6px -10px -4px}
.fdg-partner-bot{display:block;width:100%;height:auto;filter:drop-shadow(0 6px 10px rgba(120,70,0,.25));animation:fdgBob 3s ease-in-out infinite}
.fdg-partner-txt{flex:1;min-width:0;font-size:13.5px;font-weight:600;line-height:1.4}
.fdg-partner-txt b{display:block;font-size:17px;margin:2px 0 3px;color:#2E1C00}
.fdg-partner-tag{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#8A5300}
.fdg-partner .fdg-b{flex:none;background:#fff;color:#3D2600;box-shadow:0 6px 16px -8px rgba(120,70,0,.6)}
.fdg-partner .fdg-b::after{display:none}
.fdg-coin{position:absolute;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font:800 12px Inter,sans-serif;color:#7A4A00;background:radial-gradient(circle at 35% 30%,#FFF6C8,#FFD04A 55%,#E9A200);box-shadow:0 3px 6px -2px rgba(120,70,0,.5),inset 0 0 0 1.5px rgba(255,255,255,.6);animation:fdgCoin 2.6s ease-in-out infinite}
.fdg-coin.c1{left:4px;top:4px}.fdg-coin.c2{right:6px;top:18px;width:18px;height:18px;font-size:10px;animation-delay:1.1s}
@keyframes fdgCoin{0%,100%{transform:translateY(0) rotateY(0)}50%{transform:translateY(-8px) rotateY(180deg)}}

/* экскурсия */
.fdg-block{position:fixed;inset:0;z-index:74}
.fdg-spot{position:fixed;z-index:75;border-radius:24px;box-shadow:0 0 0 9999px rgba(8,34,62,.34),0 0 0 2px rgba(255,255,255,.9),0 0 0 6px rgba(111,214,255,.45),0 0 40px 8px rgba(111,214,255,.45);pointer-events:none;opacity:0;transition:opacity .35s,left .55s cubic-bezier(.3,1,.4,1),top .55s cubic-bezier(.3,1,.4,1),width .55s cubic-bezier(.3,1,.4,1),height .55s cubic-bezier(.3,1,.4,1)}
.fdg-spot::after{content:"";position:absolute;inset:-2px;border-radius:inherit;box-shadow:0 0 0 2px rgba(111,214,255,.8);animation:fdgRing 2s ease-out infinite}
@keyframes fdgRing{from{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(1.06)}}
[data-theme="dark"] .fdg-spot{box-shadow:0 0 0 9999px rgba(0,8,20,.5),0 0 0 2px rgba(190,240,255,.8),0 0 0 6px rgba(111,214,255,.35),0 0 40px 8px rgba(111,214,255,.35)}
.fdg-spot.show{opacity:1}
.fdg-tip{position:fixed;z-index:76;padding:18px;border-radius:28px;opacity:0;transform:translateY(12px) scale(.95);transition:opacity .35s,transform .45s cubic-bezier(.3,1.4,.5,1),left .45s,top .45s}
.fdg-tip.show{opacity:1;transform:none}
.fdg-tip-head{display:flex;gap:12px;align-items:center}
.fdg-tip-head .fdg-ava{width:48px;height:48px}
.fdg-step{font-size:11.5px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#1679B8}
[data-theme="dark"] .fdg-step{color:#6FD6FF}
.fdg-tip h3{font-size:18px;margin:2px 0 0;color:var(--lg-ink)}
.fdg-tip p{margin:10px 0 0;color:var(--lg-ink);font-size:14.5px;font-weight:500;line-height:1.5}

/* мини-окно робота «можно бесплатно» */
.fdg-hint{position:fixed;right:20px;bottom:88px;z-index:61;width:290px;padding:58px 18px 16px;border-radius:28px;animation:fdgHintIn .8s cubic-bezier(.2,.9,.25,1.25) backwards;transition:opacity .3s,transform .3s}
.fdg-hint.bye{opacity:0;transform:translateY(14px) scale(.95)}
@keyframes fdgHintIn{from{opacity:0;transform:translateY(30px) scale(.85)}}
.fdg-hint::after{display:none}
.fdg-hint::before{background:linear-gradient(160deg,#fff,rgba(255,255,255,.15) 30%,rgba(255,200,80,0) 60%,rgba(255,200,80,.8))}
.fdg-hint-art{position:absolute;left:12px;top:-54px;width:146px}
.fdg-hint-bot{display:block;width:100%;height:auto;filter:drop-shadow(0 10px 14px rgba(10,47,85,.3));animation:fdgPeek .9s cubic-bezier(.3,1.5,.5,1) .3s backwards,fdgBob 3s ease-in-out 1.2s infinite}
@keyframes fdgPeek{from{opacity:0;transform:translateY(40px) rotate(-8deg)}}
.fdg-hint .fdg-x{position:absolute;top:10px;right:10px;width:30px;height:30px}
.fdg-hint-q{margin:0;font-size:16px;font-weight:700;line-height:1.35;color:var(--lg-ink)}
.fdg-hint-q b{color:#C77800}
[data-theme="dark"] .fdg-hint-q b{color:#FFD27A}
.fdg-hint-more{display:none}
.fdg-hint.open .fdg-hint-more{display:block;animation:fdgRise .4s ease backwards}
.fdg-hint-more p{margin:8px 0 12px;font-size:14px;font-weight:500;line-height:1.45;color:var(--lg-sub)}
.fdg-hint-more .fdg-b{width:100%}
.fdg-hint-how{margin-top:12px}

@media (max-width:700px){
  .fdg-launcher{right:12px;bottom:12px;padding-right:14px}
  .to-top{right:12px;bottom:82px}
  .fdg-overlay{padding:12px}
  .fdg-modal,.fdg-modal.compact,.fdg-modal.wide{width:100%;padding:14px 18px 20px;border-radius:30px;max-height:calc(100dvh - 24px)}
  .fdg-top{margin:0 -6px 14px}
  .fdg-stages li span{display:none}.fdg-stages li{min-height:22px}.fdg-stages li.on span{display:inline;font-size:11.5px}.fdg-stages li.on{flex:2.6}
  .fdg-hero{gap:14px}
  .fdg-ava.big{width:64px;height:64px}
  .fdg-hello-art{width:190px;height:140px}.fdg-say{right:-44px;top:-12px;font-size:14px;padding:7px 12px}.fdg-hello-bot{width:170px}.fdg-halo{width:150px;height:150px;margin:-75px 0 0 -75px}
  .fdg-actions.center .fdg-b{min-width:0;width:100%}
  .fdg-card h3{font-size:19px}
  .fdg-feats{grid-template-columns:repeat(2,1fr)}
  .fdg-plan{grid-template-columns:1fr}
  .fdg-actions .fdg-b{width:100%}
  .fdg-res-top{flex-direction:column;align-items:flex-start}
  .fdg-gauge{align-self:center;width:112px;height:112px}
  .fdg-gauge small{bottom:24px}
  .fdg-rows div{flex-wrap:wrap;padding:10px 14px}
  .fdg-pc-desc{display:none}
  .fdg-plan-card{padding:12px 14px}
  .fdg-partner{flex-wrap:wrap;padding:12px 14px 14px 6px}
  .fdg-partner-art{width:88px}
  .fdg-partner .fdg-b{width:100%}
  .fdg-hint{right:12px;left:auto;bottom:80px;width:min(290px,calc(100vw - 24px))}
}
@media (prefers-reduced-motion:reduce){
  .fdg-glass *,.fdg-launcher,.fdg-launcher *,.fdg-overlay,.fdg-modal,.fdg-hint,.fdg-spot::after{animation:none!important}
}

/* золотая карточка «Про за 0 ₽» в обзоре */
.fdg-card.gold{background:linear-gradient(160deg,#FFF1B8,#FFF8DE);box-shadow:inset 0 0 0 1.5px #F2C14E,0 12px 28px -18px rgba(200,130,0,.6)}
.fdg-card.gold .fdg-tag{color:#8A5300}
.fdg-card.gold li::before{background:#F2A516}
[data-theme="dark"] .fdg-card.gold{background:rgba(255,200,80,.14);box-shadow:inset 0 0 0 1.5px rgba(255,210,122,.4)}
[data-theme="dark"] .fdg-card.gold .fdg-tag{color:#FFD27A}
/* робот машет в первой карточке */
.fdg-ava.wave{animation:fdgHi 1.1s ease-in-out .4s 2,fdgBreath 4s ease-in-out 2.6s infinite}

/* мини-окно: четыре места на экране */
.fdg-hint.p-br{right:20px;bottom:88px}
.fdg-hint.p-bl{left:20px;right:auto;bottom:24px;animation-name:fdgHintL}
.fdg-hint.p-tr{right:20px;top:150px;bottom:auto;animation-name:fdgHintT}
.fdg-hint.p-ml{left:20px;right:auto;top:44%;bottom:auto;animation-name:fdgHintL}
@keyframes fdgHintL{from{opacity:0;transform:translateX(-40px) scale(.9)}}
@keyframes fdgHintT{from{opacity:0;transform:translateY(-24px) scale(.9)}}
.fdg-hint-ring{position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:0 0 0 2px rgba(255,194,61,.9);animation:fdgHintRing 2.2s ease-out infinite}
@keyframes fdgHintRing{from{opacity:.9;transform:scale(1)}to{opacity:0;transform:scale(1.08)}}
.fdg-hint{box-shadow:inset 0 1.5px 0 var(--lg-edge),inset 0 0 0 1px rgba(255,194,61,.55),0 24px 50px -20px rgba(200,130,0,.45),var(--lg-shadow)}
@media (max-width:700px){
  .fdg-hint.p-br{right:12px;bottom:80px}
  .fdg-hint.p-bl{left:12px;bottom:80px}
  .fdg-hint.p-tr{right:12px;top:130px}
  .fdg-hint.p-ml{left:12px;top:40%}
}
@media (prefers-reduced-motion:reduce){.fdg-hint-ring{animation:none}}

/* крестик в подсказке экскурсии */
.fdg-tip .fdg-x{position:absolute;top:12px;right:12px;width:30px;height:30px;margin:0}
.fdg-tip-head{padding-right:34px}
.fdg-chips.left{justify-content:flex-start}
/* старая цена в выборе тарифа */
.fdg-pc-old{position:relative;display:block;width:max-content;margin-left:auto;font-size:13px;font-weight:700;color:#8FA6B9;text-decoration:none;letter-spacing:0}
.fdg-pc-old::after{content:"";position:absolute;left:-2px;right:-2px;top:52%;height:2px;border-radius:2px;background:#E5484D;transform:rotate(-8deg)}

/* ================================================================
   «ПРО ЗА 0 ₽»: вкладка, золотая кнопка, промо-баннер, страница
   ================================================================ */
.main-nav>a.nav-promo{padding:6px 12px;border-radius:999px;color:#5A3A00;background:linear-gradient(180deg,#FFF1B8,#FFD66B);box-shadow:inset 0 0 0 1.5px #E8A915}
.main-nav>a.nav-promo::after{display:none}
.main-nav>a.nav-promo:hover,.main-nav>a.nav-promo.active{background:linear-gradient(180deg,#FFE58A,#FFC23D);box-shadow:inset 0 0 0 2px #C98A00}
[data-theme="dark"] .main-nav>a.nav-promo{color:#3D2600}

.btn-gold{position:relative;color:#3D2600;background:linear-gradient(180deg,#FFF3C4 0%,#FFD66B 48%,#F2A516 100%);
  box-shadow:inset 0 0 0 2.5px #7A4A00,inset 0 -4px 0 2px rgba(122,74,0,.16),0 12px 26px -10px rgba(200,130,0,.55)}
.btn-gold:hover{background:linear-gradient(180deg,#FFF7D6 0%,#FFE08A 48%,#FFB52E 100%);box-shadow:inset 0 0 0 2.5px #7A4A00,inset 0 -4px 0 2px rgba(122,74,0,.16),0 0 0 6px rgba(255,194,61,.2),0 16px 34px -8px rgba(200,130,0,.55)}
.btn-gold svg{width:1.1em;height:1.1em;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}

.promo-band{display:flex;align-items:center;gap:22px;margin-top:40px;padding:18px 28px 18px 14px;border-radius:28px;text-decoration:none;color:#2E1C00;
  background:linear-gradient(120deg,#FFF6D2,#FFE39A 55%,#FFD06A);box-shadow:inset 0 0 0 1.5px #F2C14E,0 26px 50px -30px rgba(200,130,0,.7)}
.promo-band:hover{box-shadow:inset 0 0 0 2.5px #E8A915,0 26px 50px -26px rgba(200,130,0,.8)}
.promo-bot{flex:none;width:170px;height:auto;margin:-26px 0 -22px}
.promo-txt{flex:1;min-width:0;font-size:15.5px;font-weight:600;line-height:1.45;color:#5A3A00}
.promo-txt b{display:block;font-size:clamp(20px,2.2vw,26px);line-height:1.2;margin:4px 0 6px;color:#2E1C00;letter-spacing:-.01em}
.promo-tag{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#8A5300}
.promo-band .btn{flex:none}
[data-theme="dark"] .promo-band{background:linear-gradient(120deg,rgba(255,214,107,.22),rgba(255,194,61,.12));box-shadow:inset 0 0 0 1.5px rgba(255,210,122,.45)}
[data-theme="dark"] .promo-txt{color:#F5DFAE}[data-theme="dark"] .promo-txt b{color:#FFF3D6}[data-theme="dark"] .promo-tag{color:#FFD27A}

.gain-grid .gain{text-align:center;padding:30px 24px}
.gain img{display:block;margin:0 auto 10px}
.gain-n{margin:0 0 8px;font-size:36px;font-weight:800;letter-spacing:-.03em;color:var(--fd-heading)}
.gain-n span{font-size:17px;font-weight:700;letter-spacing:0;color:var(--fd-accent)}
.gain p:last-child{margin:0;color:var(--fd-body)}

.partner-offer{display:grid;grid-template-columns:320px 1fr;gap:40px;align-items:center;padding:36px}
.po-card{position:relative;aspect-ratio:1.586;border-radius:22px;padding:22px;color:#fff;overflow:hidden;
  background:linear-gradient(145deg,#FF5A4A 0%,#EF3124 48%,#C4121A 100%);box-shadow:0 30px 50px -24px rgba(180,20,24,.75),inset 0 1px 0 rgba(255,255,255,.35)}
.po-card::before{content:"";position:absolute;right:-40px;top:-60px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.32),rgba(255,255,255,0) 70%)}
.po-logo{position:absolute;right:16px;top:16px;width:168px;height:auto;z-index:1}
.po-chip{position:absolute;left:22px;top:26px;width:44px;height:32px;border-radius:7px;background:linear-gradient(135deg,#FFE58A,#E0A512);box-shadow:inset 0 0 0 1px rgba(122,74,0,.3)}
.po-plus{position:absolute;left:22px;bottom:44px;font-size:46px;font-weight:800;letter-spacing:-.03em;color:#fff}
.po-name{position:absolute;left:22px;bottom:22px;font-size:14px;font-weight:700;opacity:.9}
.po-body h3{font-size:clamp(22px,2.4vw,28px);margin:0 0 6px}
.po-body .btn-row{margin-top:8px}

/* ================================================================
   СПОКОЙНЫЙ САЙТ: анимации только у фона первого экрана и у ботов
   ================================================================ */
.js .reveal,.js .reveal.in{opacity:1!important;transform:none!important;transition:none!important}
.float{animation:none!important}
:is(main,.site-header,.site-footer) :is(.card,.btn,.hub-card,.tariff-mini,.promo-band,a,img,li):hover{transform:none!important}
.main-nav>a::after{transition:none}

.hero,.page-hero{isolation:isolate}
.fd-ambient{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.fd-blob{position:absolute;border-radius:50%;filter:blur(60px);opacity:.5}
.fd-blob.b1{width:44vw;height:44vw;max-width:640px;max-height:640px;left:-10%;top:-12%;background:radial-gradient(circle,rgba(111,214,255,.55),rgba(111,214,255,0) 70%);animation:fdDrift1 26s ease-in-out infinite alternate}
.fd-blob.b2{width:38vw;height:38vw;max-width:560px;max-height:560px;right:-8%;top:18%;background:radial-gradient(circle,rgba(123,240,207,.45),rgba(123,240,207,0) 70%);animation:fdDrift2 30s ease-in-out infinite alternate}
.fd-blob.b3{width:30vw;height:30vw;max-width:440px;max-height:440px;left:35%;bottom:-18%;background:radial-gradient(circle,rgba(170,200,255,.45),rgba(170,200,255,0) 70%);animation:fdDrift3 34s ease-in-out infinite alternate}
[data-theme="dark"] .fd-blob{opacity:.32}
@keyframes fdDrift1{to{transform:translate(12vw,8vh) scale(1.15)}}
@keyframes fdDrift2{to{transform:translate(-10vw,-6vh) scale(.9)}}
@keyframes fdDrift3{to{transform:translate(-8vw,-10vh) scale(1.2)}}
.fd-bubble{position:absolute;bottom:-40px;border-radius:50%;background:radial-gradient(circle at 32% 30%,rgba(255,255,255,.95),rgba(190,236,255,.35) 45%,rgba(111,214,255,.08) 70%);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.55);animation:fdRise linear infinite;opacity:0}
[data-theme="dark"] .fd-bubble{background:radial-gradient(circle at 32% 30%,rgba(190,240,255,.6),rgba(111,214,255,.15) 45%,rgba(111,214,255,0) 70%);box-shadow:inset 0 0 0 1px rgba(170,230,255,.3)}
@keyframes fdRise{0%{transform:translate(0,0);opacity:0}10%{opacity:.8}50%{transform:translate(18px,-50vh)}90%{opacity:.6}100%{transform:translate(-10px,-100vh);opacity:0}}

@media (max-width:960px){.partner-offer{grid-template-columns:1fr;gap:26px}.po-card{max-width:340px}}
@media (max-width:700px){
  .promo-band{flex-direction:column;align-items:flex-start;gap:12px;padding:20px}
  .promo-bot{width:130px;margin:-40px 0 -6px}
  .promo-band .btn{width:100%}
  .partner-offer{padding:22px}
  .fd-blob{filter:blur(40px)}
}
@media (prefers-reduced-motion:reduce){.fd-ambient{display:none}}
.path-item,.q-anim,.sheet-in{animation:none!important}
/* меню с вкладкой «Про за 0 ₽» помещается на ноутбуках */
@media (min-width:1361px) and (max-width:1460px){
  .main-nav{gap:14px}.main-nav>a{font-size:14px}.main-nav>a.nav-promo{padding:6px 10px}
  .nav-actions{gap:8px}.nav-actions .btn-s{padding:0 12px;font-size:14px}
  .logo img{height:62px;width:auto}
}

/* цены: зачёркнутая старая и сегодняшняя */
.old-price{position:relative;display:inline-block;margin-right:.25em;font-size:.62em;font-weight:700;color:#8FA6B9;text-decoration:none;letter-spacing:0;vertical-align:.18em;white-space:nowrap}
.old-price::after{content:"";position:absolute;left:-2px;right:-2px;top:52%;height:2px;border-radius:2px;background:#E5484D;transform:rotate(-8deg)}
.new-price{color:inherit;white-space:nowrap}
.btn .old-price,td .old-price,.fdg-b .old-price{font-size:.85em;vertical-align:0;color:inherit;opacity:.7}
[data-theme="dark"] .old-price{color:#8AA3BA}

/* страница «Отчёт за 0 ₽» */
.choose-grid{max-width:900px;margin:0 auto}
.card.choose{padding:30px 28px;display:flex;flex-direction:column}
.choose-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.choose-top h3{margin:0;font-size:22px}
.choose-price{margin:14px 0 4px;font-size:38px;font-weight:800;letter-spacing:-.03em;color:var(--fd-heading)}
.choose-d{margin:0;color:var(--fd-body);font-weight:600}
.card.choose .chk{flex:1}
.card.choose .btn{align-self:flex-start}
.partner-list{display:grid;gap:20px}
.partner-more{display:flex;gap:18px;align-items:center;padding:24px 28px;background:transparent;box-shadow:inset 0 0 0 2px var(--fd-line);border-style:dashed}
.partner-more h3{margin:0 0 4px}.partner-more p{margin:0;color:var(--fd-body)}
.price span.new-price{font-size:inherit;font-weight:inherit;color:inherit;letter-spacing:inherit;margin:0;padding:0;background:none}
.price .old-price{font-size:.55em}

/* блок «Тренажёр Findoc» на главной */
.games-row{gap:22px}
.game-card{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:28px 26px 24px;border:0;text-align:left;font-family:Inter,sans-serif;color:var(--fd-heading);cursor:pointer;transition:box-shadow .25s}
.game-card:hover,.game-card:focus-visible{box-shadow:inset 0 0 0 2px #3FB5E3,0 24px 44px -26px rgba(21,118,176,.55);outline:none}
.game-card img{width:64px;height:64px;margin-bottom:4px}
.gc-tag{padding:4px 11px;border-radius:999px;font-size:12px;font-weight:800;color:#1679B8;background:rgba(111,214,255,.18)}
[data-theme="dark"] .gc-tag{color:#6FD6FF}
.game-card b{font-size:21px;letter-spacing:-.01em}
.gc-text{flex:1;font-size:15px;font-weight:500;line-height:1.5;color:var(--fd-body)}
.gc-play{display:inline-flex;align-items:center;gap:8px;margin-top:8px;padding:10px 18px;border-radius:14px;font-weight:800;font-size:15px;color:var(--fd-ink,#0A2F55);background:linear-gradient(180deg,#C4F4FF,#7AD8F4 48%,#38ABDC);box-shadow:inset 0 0 0 2.5px var(--fd-navy,#0B4A72)}
.gc-play svg{width:1.1em;height:1.1em;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}

/* CTA: текст не заходит под робота на ширинах 961–1200 */
@media (min-width:961px){.cta-text{max-width:min(600px,calc(100% - 390px))}}
@media (min-width:961px) and (max-width:1200px){.cta-robot{height:290px}.cta-text{max-width:calc(100% - 380px)}}

/* Шапка: логотип не меняет ширину при прокрутке, переключатель темы всегда в пределах экрана */
.site-header .container{max-width:1440px}
.header-row>.theme-toggle,.header-row>.burger{flex-shrink:0}
.header-row>.main-nav{min-width:0}
@media (min-width:1361px){
  .site-header .logo img,.site-header.scrolled .logo img{height:64px}
}

/* сравнение с брокерами: цена и выгода */
.broker-price{color:#C2372D;font-weight:800;white-space:nowrap}
[data-theme="dark"] .broker-price{color:#FF8A80}
.broker-gain{margin:18px auto 0;max-width:760px;padding:14px 20px;border-radius:18px;text-align:center;font-weight:600;font-size:16px;color:var(--fd-ink);background:linear-gradient(135deg,#E8FBF2,#F0FAFF);box-shadow:inset 0 0 0 1.5px rgba(23,167,122,.35)}
.broker-gain b{color:#128A63}.broker-gain s{color:#C2372D}
[data-theme="dark"] .broker-gain{color:#EAF9FF;background:rgba(23,167,122,.16);box-shadow:inset 0 0 0 1.5px rgba(80,220,170,.45)}
[data-theme="dark"] .broker-gain b{color:#6FE3B5}[data-theme="dark"] .broker-gain s{color:#FF8A80}
.nw{white-space:nowrap}
.report-features>.rf:last-child:nth-child(odd){grid-column:1/-1}

/* ================================================================
   ТРЕНАЖЁР FINDOC: 3 мини-игры
   ================================================================ */
.fdgm-launcher{position:fixed;left:20px;bottom:20px;z-index:60;display:flex;align-items:center;gap:10px;padding:5px 18px 5px 5px;border:0;border-radius:999px;font:800 15px Inter,sans-serif;cursor:pointer;transition:transform .3s cubic-bezier(.3,1.5,.5,1),opacity .3s;animation:fdgIn .6s cubic-bezier(.2,.9,.25,1.2) .3s backwards}
.fdgm-launcher:hover{transform:translateY(-3px) scale(1.03)}
.fdgm-launcher.fdg-hide{opacity:0;pointer-events:none;transform:translateY(16px) scale(.9)}
.fdgm-head{position:relative;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff,#D6F4FF 70%);box-shadow:inset 0 0 0 2px #FFC23D,0 6px 14px -6px rgba(200,130,0,.6)}
.fdgm-head canvas{width:46px;height:46px;animation:fdgmNod 3.4s ease-in-out infinite}
@keyframes fdgmNod{0%,100%{transform:translateY(0) rotate(0)}40%{transform:translateY(-2px) rotate(-6deg)}70%{transform:translateY(0) rotate(4deg)}}
.fdgm-badge{position:absolute;right:-6px;bottom:-4px;display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:linear-gradient(180deg,#FFE58A,#F2A516);box-shadow:0 0 0 2px #fff,0 3px 6px -2px rgba(120,70,0,.6)}
.fdgm-badge svg{width:15px;height:15px;fill:none;stroke:#5A3A00;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.fdgm-ltext{font-weight:900;font-style:italic;letter-spacing:.02em;background:linear-gradient(100deg,#C25A00,#F2A516 50%,#C25A00);-webkit-background-clip:text;background-clip:text;color:transparent}
[data-theme="dark"] .fdgm-ltext{background-image:linear-gradient(100deg,#FFD27A,#FFE58A 50%,#FFD27A)}
.fdgm-launcher:hover .fdgm-head canvas{animation:fdgHi .8s ease-in-out}
@media (prefers-reduced-motion:reduce){.fdgm-head canvas{animation:none}}


.fdgm-tease{position:fixed;left:20px;bottom:84px;z-index:61;width:270px;padding:16px 16px 14px;border-radius:22px;font-size:14px;font-weight:600;line-height:1.45;animation:fdgHintL .7s cubic-bezier(.2,.9,.25,1.25) backwards}
.fdgm-tease b{display:block;font-size:16px;margin-bottom:2px}
.fdgm-tease .fdg-b{display:flex;width:max-content;margin-top:10px}
.fdgm-tease .fdg-x{position:absolute;top:8px;right:8px;width:28px;height:28px}
.fdgm-tease::after{display:none}
.fdg-hint.p-bl{bottom:88px}

.fdg-hint.p-bl{bottom:88px}

/* ---------- окно тренажёра ---------- */
:root{--fdgm-solid:#F4FBFF}[data-theme="dark"]{--fdgm-solid:#17395E}
.fdgm-modal.fdg-modal{width:min(920px,100%);padding:14px 20px 18px}
.fdgm-top{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.fdgm-head.big{width:52px;height:52px;box-shadow:inset 0 0 0 2px #7AD8F4,0 6px 14px -8px rgba(10,47,85,.5)}
.fdgm-head.big canvas{width:50px;height:50px}
.fdgm-title{flex:1;min-width:0}
.fdgm-logo{display:inline-block;font:900 23px/1.1 Inter,sans-serif;font-style:italic;letter-spacing:-.01em;color:var(--lg-ink)}
.fdgm-logo i{background:linear-gradient(100deg,#1679B8,#3FB5E3 50%,#1679B8);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:fdgmShine 4s linear infinite;padding-right:.08em}
[data-theme="dark"] .fdgm-logo i{background-image:linear-gradient(100deg,#6FD6FF,#C8F6FF 50%,#6FD6FF)}
@keyframes fdgmShine{to{background-position:-200% 0}}
.fdgm-sub{display:block;margin-top:3px;font-size:13px;font-weight:600;color:var(--lg-sub)}
.fdgm-back svg{width:1em;height:1em}
.fdgm-body{max-height:calc(100dvh - 140px);overflow:auto;margin:0 -6px;padding:2px 6px 4px;scrollbar-width:thin}
.fdgm-view [data-s]{animation:fdgRise .45s cubic-bezier(.2,.9,.3,1.1) backwards;animation-delay:var(--d,0ms)}
.fdgm-view h2{margin:0 0 8px;font-size:clamp(21px,2.6vw,27px);line-height:1.2;letter-spacing:-.02em;color:var(--lg-ink)}
.fdgm-lead{margin:0 auto;max-width:600px;font-size:15.5px;font-weight:500;line-height:1.55;color:var(--lg-sub)}
.fdgm-lead b{color:var(--lg-ink)}
.fdgm-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.fdgm-actions.center{justify-content:center}
.fdgm-small{margin:14px 0 0;font-size:13px;font-weight:600;color:var(--lg-sub);text-align:center}
.fdgm-small a,.fdgm-link{color:#1679B8;font-weight:700}
.fdgm-link{border:0;background:none;padding:0;font:inherit;font-weight:700;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
[data-theme="dark"] .fdgm-small a,[data-theme="dark"] .fdgm-link{color:#6FD6FF}
.fdgm-view kbd{display:inline-block;padding:1px 7px;border-radius:6px;font:700 12px Inter,sans-serif;background:var(--lg-chip);box-shadow:inset 0 0 0 1px var(--lg-chip-line),0 1px 0 rgba(10,47,85,.15);color:var(--lg-ink)}

/* реплика робота */
.fdgm-intro,.fdgm-say{display:flex;align-items:center;gap:12px}
.fdgm-intro{margin-bottom:14px}
.fdgm-intro p{margin:0;font-weight:600;color:var(--lg-sub)}
.fdgm-say{margin-top:14px;padding:12px 16px 12px 12px;border-radius:20px;background:var(--lg-soft);box-shadow:inset 0 0 0 1px var(--lg-chip-line)}
.fdgm-say .fdg-ava{width:48px;height:48px}
.fdgm-say p{margin:0;font-size:14.5px;font-weight:600;line-height:1.5;color:var(--lg-ink)}
.fdgm-say.good{background:linear-gradient(160deg,#DDF8EC,#F1FCF7);box-shadow:inset 0 0 0 1.5px #8EE6C8}
.fdgm-say.bad{background:linear-gradient(160deg,#FFEDEA,#FFF7F5);box-shadow:inset 0 0 0 1.5px #FFB4AC}
[data-theme="dark"] .fdgm-say.good{background:rgba(62,227,176,.12)}[data-theme="dark"] .fdgm-say.bad{background:rgba(255,120,110,.12)}
.fdgm-say.pop{animation:fdgmPop .45s cubic-bezier(.3,1.5,.5,1)}
@keyframes fdgmPop{from{opacity:.4;transform:scale(.96)}}

/* меню */
.fdgm-menu{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.fdgm-card{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:20px 18px 16px;border:0;border-radius:24px;text-align:left;font-family:Inter,sans-serif;color:var(--lg-ink);cursor:pointer;
  background:var(--lg-soft);box-shadow:inset 0 1px 0 rgba(255,255,255,.95),inset 0 0 0 1px var(--lg-chip-line),0 14px 30px -22px rgba(10,47,85,.5);transition:transform .25s cubic-bezier(.3,1.5,.5,1),box-shadow .25s,background .25s}
.fdgm-card:hover,.fdgm-card:focus-visible{transform:translateY(-4px);background:#fff;box-shadow:inset 0 0 0 2px #3FB5E3,0 22px 40px -22px rgba(21,118,176,.6);outline:none}
[data-theme="dark"] .fdgm-card:hover,[data-theme="dark"] .fdgm-card:focus-visible{background:rgba(255,255,255,.1)}
.fdgm-card img{width:60px;height:60px;margin-bottom:4px;transition:transform .4s cubic-bezier(.3,1.6,.5,1)}
.fdgm-card:hover img{transform:translateY(-4px) rotate(-5deg)}
.fdgm-card-tag{padding:4px 10px;border-radius:999px;font-size:11.5px;font-weight:800;letter-spacing:.03em;color:#1679B8;background:rgba(111,214,255,.18)}
[data-theme="dark"] .fdgm-card-tag{color:#6FD6FF}
.fdgm-card b{font-size:19px;letter-spacing:-.01em}
.fdgm-card-text{flex:1;font-size:14px;font-weight:500;line-height:1.45;color:var(--lg-sub)}
.fdgm-card-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;margin-top:8px;padding-top:12px;border-top:1px solid rgba(60,90,116,.12)}
.fdgm-best{font-size:12px;font-weight:700;color:#17A77A}.fdgm-best.new{color:var(--lg-sub)}
.fdgm-play{display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;font-weight:800;font-size:14px;color:#fff;background:linear-gradient(180deg,#4FC3F4,#1679B8);box-shadow:inset 0 1px 0 rgba(255,255,255,.6)}
.fdgm-play svg,.fdgm-card-foot svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}

/* вступление игры */
.fdgm-gintro{text-align:center;padding:6px 0 4px}
.fdgm-gintro img{width:72px;height:72px;margin-bottom:6px}
.fdgm-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:14px}

/* строка состояния */
.fdgm-hud{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:12px}
.fdgm-lv{padding:6px 12px;border-radius:999px;font-size:13px;font-weight:800;color:#fff;background:linear-gradient(180deg,#4FC3F4,#1679B8)}
.fdgm-found{font-size:14px;font-weight:700;color:var(--lg-sub)}.fdgm-found b{color:var(--lg-ink);font-size:16px}
.fdgm-time{position:relative;flex:1;min-width:120px;display:flex;align-items:center;justify-content:flex-end;height:28px;padding:0 10px;border-radius:999px;overflow:hidden;font-size:13px;font-weight:700;color:var(--lg-ink);background:var(--lg-chip);box-shadow:inset 0 0 0 1px var(--lg-chip-line)}
.fdgm-time i{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(90deg,#7BF0CF,#3FB5E3);opacity:.55;transition:width .1s linear}
.fdgm-time b{position:relative;margin-right:3px;font-size:15px}
.fdgm-time.low i{background:linear-gradient(90deg,#FFB4AC,#FF7A70)}
.fdgm-dots{display:flex;gap:5px;flex:1}
.fdgm-dots i{width:9px;height:9px;border-radius:5px;background:rgba(60,90,116,.22)}.fdgm-dots i.was{background:rgba(30,143,208,.5)}.fdgm-dots i.on{width:24px;background:#1E8FD0}

/* итоги */
.fdgm-res-top{display:flex;align-items:center;gap:18px}
.fdgm-score{flex:none;display:grid;place-items:center;width:104px;height:104px;border-radius:50%;background:radial-gradient(circle,var(--fdgm-solid) 60%,transparent 61%),conic-gradient(#F2A516,#FFD27A,#F2A516);box-shadow:0 10px 24px -12px rgba(10,47,85,.5)}
.fdgm-score.good{background:radial-gradient(circle,var(--fdgm-solid) 60%,transparent 61%),conic-gradient(#27C995,#7BF0CF,#27C995)}
.fdgm-score>span{display:flex;flex-direction:column;align-items:center;font-size:32px;font-weight:800;letter-spacing:-.03em;color:var(--lg-ink);line-height:1}
.fdgm-score small{font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--lg-sub);margin-bottom:3px}
.fdgm-score small.of{display:inline;font-size:15px;letter-spacing:0;text-transform:none;margin:0}
.fdgm-bestline{margin:0;font-size:13.5px;font-weight:600;color:var(--lg-sub)}
.fdgm-log{list-style:none;margin:14px 0 0;padding:0;border-radius:18px;overflow:hidden;background:var(--lg-soft);box-shadow:inset 0 0 0 1px var(--lg-chip-line)}
.fdgm-log li{display:flex;align-items:center;gap:10px;padding:9px 14px;font-size:14px}
.fdgm-log li+li{border-top:1px solid rgba(60,90,116,.1)}
.fdgm-log span{width:78px;font-size:12px;font-weight:700;color:var(--lg-sub)}.fdgm-log b{flex:1}

@media (max-width:760px){
  .fdgm-menu{grid-template-columns:1fr}
  .fdgm-card{padding:16px}
  .fdgm-card img{width:48px;height:48px}
}
@media (max-width:700px){
  .fdgm-modal.fdg-modal{padding:12px 12px 14px}
  .fdgm-sub{display:none}
  .fdgm-logo{font-size:19px}
  .fdgm-head.big{width:42px;height:42px}.fdgm-head.big canvas{width:40px;height:40px}
  .fdgm-back{padding:0 10px;font-size:12.5px}
  .fdgm-res-top{gap:12px}.fdgm-score{width:84px;height:84px}.fdgm-score>span{font-size:26px}
  .fdgm-actions .fdg-b{flex:1 1 100%}
  .fdgm-launcher{left:12px;bottom:12px;padding-right:14px}
  .fdgm-head{width:44px;height:44px}.fdgm-head canvas{width:42px;height:42px}
  .fdgm-tease{left:12px;bottom:74px}
  .fdg-hint.p-bl{bottom:80px}
}
@media (prefers-reduced-motion:reduce){.fdgm-view [data-s],.fdgm-say.pop,.fdgm-logo i{animation:none}}

/* общие мелочи */
.fdgm-tip1{margin:12px 0 0;text-align:center;font-size:13.5px;font-weight:600;color:var(--lg-sub)}
.fdgm-tip1 b{color:var(--lg-ink)}

/* сапёр */
.mn-hud{display:flex;align-items:center;justify-content:space-between;max-width:440px;margin:0 auto 12px}
.mn-stat{display:inline-flex;align-items:center;gap:6px;min-width:84px;padding:6px 14px 6px 8px;border-radius:999px;background:var(--lg-chip);box-shadow:inset 0 0 0 1px var(--lg-chip-line)}
.mn-stat:last-child{justify-content:flex-end}
.mn-stat img{width:28px;height:28px}.mn-stat svg{width:22px;height:22px;fill:none;stroke:var(--lg-sub);stroke-width:2;stroke-linecap:round}
.mn-stat b{font-size:20px;font-variant-numeric:tabular-nums;color:var(--lg-ink)}
.mn-face{width:54px;height:54px;padding:3px;border:0;border-radius:50%;cursor:pointer;background:linear-gradient(160deg,#fff,#AEE4F7);box-shadow:0 6px 14px -6px rgba(10,47,85,.5),inset 0 0 0 2px #7AD8F4;transition:transform .2s}
.mn-face:hover{transform:scale(1.06)}.mn-face img{width:100%;height:100%;border-radius:50%}
.mn-grid{display:grid;grid-template-columns:repeat(var(--w),1fr);gap:4px;max-width:440px;margin:0 auto;padding:8px;border-radius:20px;background:rgba(30,143,208,.12);box-shadow:inset 0 0 0 1px var(--lg-chip-line)}
.mn-c{position:relative;aspect-ratio:1;display:grid;place-items:center;border:0;border-radius:10px;padding:0;cursor:pointer;font:800 18px Inter,sans-serif;touch-action:manipulation;user-select:none;-webkit-user-select:none;
  background:linear-gradient(180deg,#E9FAFF,#9FDFF6);box-shadow:inset 0 1.5px 0 rgba(255,255,255,.9),inset 0 -2px 0 rgba(11,74,114,.18),0 2px 3px -1px rgba(10,47,85,.3);transition:transform .12s,background .15s}
.mn-c:hover:not(.open){transform:translateY(-1px);background:linear-gradient(180deg,#F4FDFF,#B8E9FA)}
.mn-c:active:not(.open){transform:scale(.94)}
[data-theme="dark"] .mn-c{background:linear-gradient(180deg,#3A78A8,#1F5585);box-shadow:inset 0 1.5px 0 rgba(190,240,255,.35),inset 0 -2px 0 rgba(0,0,0,.25)}
.mn-c.open{cursor:default;background:rgba(255,255,255,.75);box-shadow:inset 0 0 0 1px rgba(60,90,116,.12);animation:mnOpen .2s ease-out}
[data-theme="dark"] .mn-c.open{background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(190,240,255,.1)}
@keyframes mnOpen{from{transform:scale(.8);opacity:.3}}
.mn-c img{width:72%;height:72%}
.mn-c.flag{background:linear-gradient(180deg,#E9FAFF,#9FDFF6)}
.mn-c.mine{background:#FFE3E1}.mn-c.boom{background:#FF7A70;animation:mnBoom .5s}
@keyframes mnBoom{30%{transform:scale(1.2)}}
.mn-tag{position:absolute;z-index:2;bottom:calc(100% + 4px);left:50%;transform:translateX(-50%);padding:4px 8px;border-radius:8px;white-space:nowrap;font-size:11px;font-weight:800;color:#fff;background:#C2372D;box-shadow:0 4px 10px -4px rgba(0,0,0,.4)}
.n1{color:#1E8FD0}.n2{color:#17A77A}.n3{color:#E5484D}.n4{color:#7C5CFF}.n5{color:#B26A00}.n6{color:#0E9AA7}.n7{color:#0A2F55}.n8{color:#6B7A90}
[data-theme="dark"] .n1{color:#6FD6FF}[data-theme="dark"] .n2{color:#7BF0CF}[data-theme="dark"] .n3{color:#FF9B92}[data-theme="dark"] .n4{color:#B8A6FF}[data-theme="dark"] .n7{color:#EAF6FF}
.mn-tools{display:flex;justify-content:center;gap:4px;width:max-content;margin:12px auto 0;padding:4px;border-radius:999px;background:var(--lg-chip);box-shadow:inset 0 0 0 1px var(--lg-chip-line)}
.mn-mode{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 16px;border:0;border-radius:999px;background:transparent;font:700 14px Inter,sans-serif;color:var(--lg-sub);cursor:pointer}
.mn-mode img{width:20px;height:20px}
.mn-mode.on{color:var(--lg-ink);background:#fff;box-shadow:0 2px 8px -2px rgba(10,47,85,.3)}
[data-theme="dark"] .mn-mode.on{background:rgba(255,255,255,.16)}

/* ловец токенов */
.cn-wrap{position:relative;display:flex;justify-content:center}
.cn-cv{display:block;border-radius:22px;box-shadow:inset 0 0 0 1px var(--lg-chip-line),0 14px 30px -20px rgba(10,47,85,.5);touch-action:none;cursor:pointer}
.cn-ov{position:absolute;inset:0;display:none;align-items:center;justify-content:center}
.cn-ov.show{display:flex}
.cn-card{display:flex;flex-direction:column;align-items:center;gap:8px;width:min(300px,86%);padding:18px 18px 20px;border-radius:24px;text-align:center;background:var(--lg-fill);box-shadow:inset 0 1.5px 0 var(--lg-edge),inset 0 0 0 1px var(--lg-edge2),0 18px 40px -20px rgba(10,47,85,.5);animation:fdgPop .5s cubic-bezier(.2,.9,.25,1.15) backwards}
.cn-card h2{margin:0}
.cn-bot{width:110px;height:auto;animation:fdgBob 2.4s ease-in-out infinite}
.cn-rules{display:grid;gap:6px;margin:0 0 6px;font-size:14px;font-weight:700;color:var(--lg-ink)}
.cn-rules span{display:flex;align-items:center;gap:8px}.cn-rules img{width:26px;height:26px}
.cn-coin{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;font:900 13px Inter,sans-serif;font-style:normal;color:#7A4A00;background:radial-gradient(circle at 35% 30%,#FFF6C8,#FFD04A 55%,#E9A200);box-shadow:inset 0 0 0 1.5px #B97800}

/* три в ряд: карта */
.m3-map{position:relative;height:min(470px,62vh);border-radius:26px;overflow:hidden;
  background:radial-gradient(60% 50% at 20% 85%,rgba(123,240,207,.35),transparent 70%),radial-gradient(50% 45% at 85% 20%,rgba(255,214,107,.35),transparent 70%),linear-gradient(180deg,#DDF3FF,#F4FCFF);box-shadow:inset 0 0 0 1px var(--lg-chip-line)}
[data-theme="dark"] .m3-map{background:radial-gradient(60% 50% at 20% 85%,rgba(62,227,176,.15),transparent 70%),radial-gradient(50% 45% at 85% 20%,rgba(255,200,80,.12),transparent 70%),linear-gradient(180deg,#123056,#18406A)}
.m3-path{position:absolute;inset:0;width:100%;height:100%}
.m3-path polyline{fill:none;stroke:#3FB5E3;stroke-width:1.2;stroke-dasharray:2.5 2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;stroke-width:5;opacity:.55}
.m3-deco{position:absolute;border-radius:50%;background:rgba(255,255,255,.55)}
.m3-deco.d1{width:90px;height:26px;left:60%;top:78%}.m3-deco.d2{width:70px;height:22px;left:6%;top:32%}.m3-deco.d3{width:60px;height:20px;left:66%;top:6%}
[data-theme="dark"] .m3-deco{background:rgba(170,220,255,.08)}
.m3-node{position:absolute;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:2px;border:0;background:none;padding:0;cursor:pointer;font-family:Inter,sans-serif}
.m3-dot{display:grid;place-items:center;width:60px;height:60px;border-radius:50%;font-size:22px;background:linear-gradient(180deg,#fff,#CDEFFC);box-shadow:inset 0 0 0 3px #1E8FD0,0 8px 16px -8px rgba(10,47,85,.6);transition:transform .25s cubic-bezier(.3,1.6,.5,1)}
.m3-dot img{width:36px;height:36px}
.m3-node:hover:not(:disabled) .m3-dot{transform:scale(1.1)}
.m3-node.done .m3-dot{box-shadow:inset 0 0 0 3px #27C995,0 8px 16px -8px rgba(10,47,85,.6)}
.m3-node.here .m3-dot{box-shadow:inset 0 0 0 3px #F2A516,0 0 0 6px rgba(255,194,61,.3),0 8px 16px -8px rgba(10,47,85,.6);animation:m3Pulse 1.8s ease-in-out infinite}
@keyframes m3Pulse{50%{box-shadow:inset 0 0 0 3px #F2A516,0 0 0 11px rgba(255,194,61,.12),0 8px 16px -8px rgba(10,47,85,.6)}}
.m3-node.locked{cursor:default}.m3-node.locked .m3-dot{background:#E3EAF0;box-shadow:inset 0 0 0 2px #B9C7D3;filter:grayscale(1);opacity:.8}
[data-theme="dark"] .m3-node.locked .m3-dot{background:#29445F;box-shadow:inset 0 0 0 2px #4A6680}
.m3-name{padding:2px 8px;border-radius:999px;font-size:12px;font-weight:800;color:var(--lg-ink);background:rgba(255,255,255,.85);white-space:nowrap}
[data-theme="dark"] .m3-name{background:rgba(10,30,55,.75)}
.m3-stars{height:14px;font-size:13px;line-height:14px;letter-spacing:1px}
.m3-stars i,.m3-bigstars i{font-style:normal;color:rgba(60,90,116,.25)}.m3-stars i.on,.m3-bigstars i.on{color:#FFB800;text-shadow:0 1px 0 #C77800}
.m3-me{position:absolute;bottom:calc(100% - 4px);left:50%;width:40px;height:40px;margin-left:-20px;border-radius:50%;box-shadow:0 0 0 3px #fff,0 6px 12px -6px rgba(10,47,85,.6);animation:fdgBob 2s ease-in-out infinite}
.m3-me img{width:100%;height:100%;border-radius:50%}

@media (max-width:700px){
  .mn-grid{gap:3px;padding:6px}.mn-c{border-radius:8px;font-size:16px}
  .m3-map{height:min(430px,58vh)}.m3-dot{width:50px;height:50px}.m3-dot img{width:30px;height:30px}.m3-name{font-size:11px}
}

/* сапёр: сложность и размеры поля */
.mn-lvls{display:flex;justify-content:center;gap:4px;width:max-content;margin:0 auto 12px;padding:4px;border-radius:999px;background:var(--lg-chip);box-shadow:inset 0 0 0 1px var(--lg-chip-line)}
.mn-lvl{min-height:32px;padding:0 14px;border:0;border-radius:999px;background:transparent;font:700 13px Inter,sans-serif;color:var(--lg-sub);cursor:pointer}
.mn-lvl.on{color:#fff;background:linear-gradient(180deg,#4FC3F4,#1679B8)}
.mn-grid[data-lvl="mid"]{max-width:560px;gap:3px}.mn-grid[data-lvl="hard"]{max-width:700px;gap:3px}
.mn-grid[data-lvl="mid"] .mn-c,.mn-grid[data-lvl="hard"] .mn-c{border-radius:7px;font-size:15px}
.mn-grid[data-lvl="mid"] .mn-hud,.mn-hud{max-width:560px}

/* три в ряд: уровень */
.m3-hud{display:flex;align-items:center;justify-content:space-between;gap:8px;max-width:520px;margin:0 auto 10px}
.m3-lv{display:inline-flex;align-items:center;gap:6px;font-weight:800;font-size:15px;color:var(--lg-ink)}.m3-lv img{width:26px;height:26px}
.m3-goal{display:inline-flex;align-items:center;gap:6px;padding:4px 12px 4px 6px;border-radius:999px;background:#FFF1E2;box-shadow:inset 0 0 0 2px #E8A060}
.m3-goal.done{background:rgba(62,227,176,.2);box-shadow:inset 0 0 0 2px #27C995}
.m3-gbox{display:inline-block;width:30px;height:30px;vertical-align:middle}.m3-gbox svg{width:100%;height:100%}
.m3-goal b{font-size:20px;color:#6E3E14}.m3-goal.done b{color:#17A77A}
[data-theme="dark"] .m3-goal{background:rgba(232,160,96,.16)}[data-theme="dark"] .m3-goal b{color:#FFD9B0}
.m3-sc{display:flex;flex-direction:column;align-items:center;line-height:1}.m3-sc small{font-size:10px;font-weight:700;color:var(--lg-sub)}.m3-sc b{font-size:17px;color:var(--lg-ink)}
.m3-moves{display:flex;flex-direction:column;align-items:center;line-height:1;padding:6px 12px;border-radius:14px;color:#fff;background:linear-gradient(180deg,#4FC3F4,#1679B8)}
.m3-moves b{font-size:22px}.m3-moves small{font-size:10px;font-weight:700;opacity:.9}
.m3-help-btn{width:34px;height:34px;border:0;border-radius:50%;font:900 16px Inter,sans-serif;color:var(--lg-ink);background:var(--lg-chip);box-shadow:inset 0 0 0 1px var(--lg-chip-line);cursor:pointer}
.m3-stage{position:relative;width:min(520px,100%);margin:0 auto}
.m3-board{position:relative;width:100%;aspect-ratio:1;border-radius:22px;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none;
  background:linear-gradient(180deg,#E6F4FC,#D4ECF8);box-shadow:inset 0 0 0 1px var(--lg-chip-line)}
[data-theme="dark"] .m3-board{background:linear-gradient(180deg,#153A60,#11304F)}
.m3-t{position:absolute;width:calc(100% / var(--n));height:calc(100% / var(--n));padding:2.5px;cursor:pointer;transition:left .2s ease,top .28s cubic-bezier(.3,1.2,.5,1),transform .18s,opacity .2s}
.m3-g{position:relative;display:block;width:100%;height:100%;padding:8%;border-radius:12px;background:var(--bg);box-shadow:inset 0 1.5px 0 rgba(255,255,255,.85),inset 0 -2.5px 0 rgba(0,0,0,.1),0 2px 4px -2px rgba(10,47,85,.4)}
.m3-g svg{display:block;width:100%;height:100%;pointer-events:none}
.g-coin{--bg:#FFF1BF}.g-bill{--bg:#D2F5DE}.g-card{--bg:#D5E8FF}.g-piggy{--bg:#FFDCEA}.g-bag{--bg:#FFE6CC}.g-gem{--bg:#E8DEFF}
[data-theme="dark"] .g-coin{--bg:#6B5520}[data-theme="dark"] .g-bill{--bg:#1F5A38}[data-theme="dark"] .g-card{--bg:#1D4A80}[data-theme="dark"] .g-piggy{--bg:#6E2A48}[data-theme="dark"] .g-bag{--bg:#6A4020}[data-theme="dark"] .g-gem{--bg:#44307E}
.m3-t.box .m3-g{--bg:transparent;padding:0;box-shadow:none}
.m3-t.box{cursor:default}
.m3-hp{position:absolute;right:1px;top:1px;display:grid;place-items:center;min-width:18px;height:18px;padding:0 4px;border-radius:9px;font-size:11px;font-weight:900;color:#fff;background:#C2372D;box-shadow:0 0 0 2px #fff}
.m3-bl{position:absolute;left:0;right:0;bottom:1px;text-align:center;font-size:8.5px;font-weight:800;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.7);pointer-events:none}
.m3-t.hitbox{animation:m3Hit .35s}
@keyframes m3Hit{30%{transform:scale(.88) rotate(-4deg)}70%{transform:scale(1.04) rotate(3deg)}}
.m3-t.crack{transform:scale(1.25);opacity:0;transition:transform .25s,opacity .25s}
.m3-sp{position:absolute;inset:14%;display:grid;place-items:center;filter:drop-shadow(0 2px 3px rgba(10,47,85,.6));pointer-events:none}
.m3-sp svg{width:100%;height:100%}
.m3-t.sp .m3-g{box-shadow:inset 0 0 0 2.5px #fff,0 0 0 2px #F2A516,0 4px 10px -3px rgba(200,130,0,.8);animation:m3Glow 1.4s ease-in-out infinite}
@keyframes m3Glow{50%{box-shadow:inset 0 0 0 2.5px #fff,0 0 0 3px #FFD66B,0 0 14px 2px rgba(255,194,61,.8)}}
.m3-t.sp .m3-g svg{opacity:.55}
.m3-prop{animation:m3Spin .6s linear infinite}@keyframes m3Spin{to{transform:rotate(360deg)}}
.m3-spark{animation:m3Blink .4s steps(2) infinite}@keyframes m3Blink{50%{opacity:.2}}
.m3-t.born{animation:m3Born .45s cubic-bezier(.3,1.8,.5,1)}@keyframes m3Born{from{transform:scale(.4)}}
.m3-t.sel{transform:scale(1.08);z-index:2}.m3-t.sel .m3-g{box-shadow:0 0 0 3px #1E8FD0,0 6px 12px -4px rgba(10,47,85,.5)}
.m3-t.pop{transform:scale(0) rotate(20deg);transition:transform .22s ease-in}
.m3-t.no{animation:fdgmShake .3s}
@keyframes fdgmShake{25%{translate:-4px 0}75%{translate:4px 0}}
.m3-float{position:absolute;z-index:3;transform:translate(-50%,-50%);font-weight:900;font-size:15px;color:#fff;text-shadow:0 1px 3px rgba(10,47,85,.9);pointer-events:none;animation:m3Float .9s ease-out forwards;white-space:nowrap}
.m3-float.bad{color:#FFE3E1;font-size:13px}.m3-float.combo{font-size:22px;color:#FFD66B}
@keyframes m3Float{to{transform:translate(-50%,-160%);opacity:0}}
.m3-fx{position:absolute;z-index:4;pointer-events:none}
.m3-fx.h{left:0;right:0;height:calc(100% / var(--n));background:linear-gradient(90deg,transparent,rgba(255,255,255,.95),transparent);animation:m3Ray .45s ease-out forwards}
.m3-fx.v{top:0;bottom:0;width:calc(100% / var(--n));background:linear-gradient(180deg,transparent,rgba(255,255,255,.95),transparent);animation:m3Ray .45s ease-out forwards}
@keyframes m3Ray{from{opacity:1;filter:drop-shadow(0 0 8px #FFD66B)}to{opacity:0}}
.m3-fx.boom{width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:radial-gradient(circle,#fff,#FFD66B 40%,rgba(255,122,70,.7) 70%,transparent);animation:m3Boom .45s ease-out forwards}
@keyframes m3Boom{to{transform:scale(28);opacity:0}}
.m3-fx.heli{width:calc(100% / var(--n));height:calc(100% / var(--n));transform:translate(-50%,-50%);transition:left .45s ease-in-out,top .45s ease-in-out}
.m3-fx.heli svg{width:100%;height:100%;animation:m3Spin .3s linear infinite}
/* памятка */
.m3-help{position:absolute;inset:0;z-index:6;display:none;align-items:center;justify-content:center;padding:10px;border-radius:22px;background:rgba(235,247,255,.6);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
[data-theme="dark"] .m3-help{background:rgba(8,26,48,.6)}
.m3-help.show{display:flex;animation:fdgFadeIn .25s}
.m3-help-card{width:min(400px,100%);max-height:100%;overflow:auto;padding:16px;border-radius:20px;text-align:center;background:var(--lg-fill);box-shadow:inset 0 1.5px 0 var(--lg-edge),0 18px 40px -20px rgba(10,47,85,.5)}
.m3-goaltxt{margin:0 0 10px;font-size:15px;font-weight:800;color:var(--lg-ink)}.m3-goaltxt .m3-gbox{width:26px;height:26px;margin:0 2px}
.m3-legend{display:grid;gap:6px;margin-bottom:12px;text-align:left}
.m3-legend div{display:flex;align-items:center;gap:6px;padding:6px 8px;border-radius:12px;background:var(--lg-chip);font-size:13px;color:var(--lg-ink)}
.m3-legend b{margin-left:auto;font-size:13px}.m3-legend .box b{margin-left:4px;font-weight:700;font-size:12px}
.m3-mini{display:inline-flex;gap:1px;align-items:center;font-weight:900;font-size:12px;color:var(--lg-sub)}
.m3-mini svg{width:22px;height:22px}
.m3-mini.sq{display:inline-grid;grid-template-columns:repeat(2,14px);gap:0}.m3-mini.sq svg{width:14px;height:14px}
.m3-mini.sp svg{width:26px;height:26px;filter:drop-shadow(0 1px 2px rgba(10,47,85,.5))}.m3-mini.boxm svg{width:30px;height:30px}
.m3-arr{color:var(--lg-sub);font-weight:900}
.m3-dot b{font-size:18px;color:#8AA0B4}
.m3-end{text-align:center;padding:10px 0}
.m3-end img{width:76px;height:76px}.m3-endbox{display:inline-block;width:76px;height:76px}.m3-endbox svg{width:100%;height:100%}
.m3-bigstars{font-size:40px;letter-spacing:6px;animation:fdgmPop .6s cubic-bezier(.3,1.6,.5,1)}

/* токеномёт */
.cn-x3{display:inline-grid;place-items:center;width:26px;height:26px;border-radius:50%;font:900 12px Inter,sans-serif;font-style:normal;color:#1679B8;background:rgba(111,214,255,.35)}

/* словобанк */
.wd-hud{display:flex;align-items:center;justify-content:space-between;max-width:560px;margin:0 auto 12px}
.wd-score{display:inline-flex;align-items:center;gap:6px;padding:4px 12px 4px 4px;border-radius:999px;background:var(--lg-chip);box-shadow:inset 0 0 0 1px var(--lg-chip-line)}.wd-score b{font-size:18px;color:var(--lg-ink)}
.wd-clue{display:flex;align-items:center;gap:12px;max-width:560px;margin:0 auto;padding:12px 16px 12px 12px;border-radius:20px;background:var(--lg-soft);box-shadow:inset 0 0 0 1px var(--lg-chip-line)}
.wd-clue .fdg-ava{width:48px;height:48px}.wd-clue p{margin:0;font-size:17px;font-weight:700;line-height:1.4;color:var(--lg-ink)}.wd-clue p b{color:#17A77A}
.wd-slots{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:18px auto 14px}
.wd-slot{width:44px;height:52px;border:0;border-radius:12px;font:900 24px Inter,sans-serif;color:var(--lg-ink);cursor:pointer;background:rgba(255,255,255,.5);box-shadow:inset 0 -3px 0 rgba(30,143,208,.35),inset 0 0 0 1.5px rgba(30,143,208,.3)}
[data-theme="dark"] .wd-slot{background:rgba(255,255,255,.06)}
.wd-slot.on{background:#fff;box-shadow:inset 0 -3px 0 #1E8FD0,inset 0 0 0 2px #3FB5E3}
[data-theme="dark"] .wd-slot.on{background:rgba(111,214,255,.18)}
.wd-slot.lock{color:#1679B8;cursor:default}
.wd-slot.bad{box-shadow:inset 0 -3px 0 #E5484D,inset 0 0 0 2px #FF9B92}
.wd-slot.ok{color:#fff;background:#27C995;box-shadow:inset 0 -3px 0 #17A77A;animation:wdOk .45s cubic-bezier(.3,1.8,.5,1) backwards}
.wd-slot.skip{color:#C2372D;background:#FFE3E1}
@keyframes wdOk{from{transform:scale(.6)}}
.wd-slots.shake{animation:fdgmShake .35s}
.wd-letters{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;max-width:560px;margin:0 auto}
.wd-l{width:50px;height:50px;border:0;border-radius:50%;font:900 22px Inter,sans-serif;color:#7A4A00;cursor:pointer;background:radial-gradient(circle at 35% 30%,#FFF6C8,#FFD04A 55%,#E9A200);box-shadow:inset 0 0 0 2px #B97800,0 5px 10px -5px rgba(120,70,0,.7);transition:transform .15s,opacity .2s}
.wd-l:hover:not(:disabled){transform:translateY(-3px) scale(1.05)}
.wd-l:disabled{opacity:.25;transform:scale(.85);cursor:default}
.wd-tools{display:flex;justify-content:center;gap:8px;margin-top:16px}

@media (max-width:700px){
  .fdgm-menu{grid-template-columns:1fr}
  .mn-lvl{padding:0 10px;font-size:12px}
  .m3-lv span{display:none}.m3-hud{gap:4px}.m3-goal b{font-size:18px}.m3-moves{padding:5px 9px}.m3-moves b{font-size:19px}
  .m3-g{border-radius:9px;padding:6%}.m3-bl{display:none}.m3-hp{min-width:15px;height:15px;font-size:9.5px}
  .wd-slot{width:32px;height:42px;font-size:19px;border-radius:9px}.wd-l{width:42px;height:42px;font-size:19px}
  .wd-clue p{font-size:15px}
}
/* Токеномёт — шарики */
.bb-dot{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;margin-right:-4px;font:900 12px/1 Inter,sans-serif;color:#7A4A00;background:radial-gradient(circle at 35% 30%,var(--a),var(--b));box-shadow:inset 0 0 0 1px rgba(10,47,85,.25)}
.bb-dot:last-of-type{margin-right:4px}
.bb-dot.bad{--a:#FF9B92;--b:#C2372D;color:#fff;box-shadow:inset 0 0 0 2px #8C1D15}
.bb-dot.bomb{background:radial-gradient(circle at 35% 30%,#5A7390,#16283D);color:#FFC23D}
.bb-cv{touch-action:none;cursor:crosshair}
.cn-rules span{text-align:left;justify-content:flex-start}
.cn-rules .bb-dot{flex:none}

/* ================================================================
   Док в правом нижнем углу: «Игры» над «Гидом по сайту», выше — «Наверх».
   Иконки не пропадают: пока открыто окно гида/игр — полупрозрачные.
   ================================================================ */
.fd-dock{position:fixed;right:20px;bottom:20px;z-index:85;display:flex;flex-direction:column;align-items:flex-end;gap:10px;pointer-events:none;transition:opacity .3s ease}
.fd-dock>*{pointer-events:auto}
.fd-dock>.fdg-launcher,.fd-dock>.fdgm-launcher{position:relative;left:auto;right:auto;bottom:auto;min-height:58px;background:#fff;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 0 0 1.5px rgba(10,47,85,.16),0 12px 26px -12px rgba(10,47,85,.45)}
.fd-dock>.fdg-launcher::before,.fd-dock>.fdg-launcher::after,.fd-dock>.fdgm-launcher::before,.fd-dock>.fdgm-launcher::after{display:none}
[data-theme="dark"] .fd-dock>.fdg-launcher,[data-theme="dark"] .fd-dock>.fdgm-launcher{background:#15385E;box-shadow:0 0 0 1.5px rgba(127,220,250,.35),0 12px 26px -12px rgba(0,0,0,.7)}
.fd-dock.dim{opacity:.38}
.fd-dock.dim:hover,.fd-dock.dim:focus-within{opacity:.95}
.fd-dock .fdg-launcher.fdg-hide,.fd-dock .fdgm-launcher.fdg-hide{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.fdg-ltext{display:flex;flex-direction:column;align-items:flex-start;line-height:1.1;text-align:left}
.fdg-ltext b{font-weight:800;font-size:15px;color:var(--lg-ink)}
.fdg-ltext small{font-size:11.5px;font-weight:600;color:var(--lg-sub);margin-top:2px}
.to-top{right:22px;bottom:158px}
.fdgm-tease{left:auto;right:20px;bottom:222px;animation-name:fdgHintIn}
.fdg-hint.p-br{right:20px;bottom:222px}
.fdg-hint.p-bl{left:20px;bottom:24px}
@media (max-width:700px){
  .fd-dock{right:12px;bottom:12px;gap:8px;z-index:60}
  .fd-dock>.fdg-launcher,.fd-dock>.fdgm-launcher{min-height:54px;padding-right:14px}
  .fdg-ltext small{display:none}
  .to-top{right:12px;bottom:138px;width:46px;height:46px}
  .fdgm-tease{right:12px;left:auto;bottom:196px;width:min(270px,calc(100vw - 24px))}
  .fdg-hint.p-br,.fdg-hint.p-bl{bottom:196px}
}
/* подвал не прячется под плавающими кнопками */
footer.site-footer .footer-bottom{padding-bottom:140px}
@media (max-width:700px){footer.site-footer .footer-bottom{padding-bottom:130px}}
/* телефон: пока открыто окно — иконки компактной строкой внизу, окно заканчивается над ними */
@media (max-width:700px){
  .fd-dock.dim{flex-direction:row;align-items:center;z-index:85}
  .fd-dock.dim .fdg-ltext,.fd-dock.dim .fdgm-ltext{display:none}
  .fd-dock.dim>.fdg-launcher,.fd-dock.dim>.fdgm-launcher{min-height:0;padding:4px}
  .fd-dock.dim .fdgm-head{width:42px;height:42px}.fd-dock.dim .fdgm-head canvas{width:40px;height:40px}
  .fd-dim .fdg-overlay{padding-bottom:70px}
  .fd-dim .fdg-modal,.fd-dim .fdg-modal.compact,.fd-dim .fdg-modal.wide{max-height:calc(100dvh - 82px)}
  .fd-dim .fdg-tip{margin-top:0}
}
/* подсказка «Отчёт за 0 ₽»: чуть меньше и чуть прозрачнее */
.fdg-hint{width:250px;padding:46px 16px 14px;opacity:.9}
.fdg-hint:hover,.fdg-hint.open{opacity:1}
.fdg-hint-art{top:-44px;width:112px}
.fdg-hint-q{font-size:14.5px}
.fdg-hint .fdg-x{width:26px;height:26px;top:8px;right:8px}
@media (max-width:700px){.fdg-hint{width:min(250px,calc(100vw - 24px))}}

/* ================================================================
   «Как скачать отчёт из бюро» — кнопки и окно с инструкциями (js/bki.js)
   ================================================================ */
.bki-btn{display:inline-flex;align-items:center;gap:12px;padding:8px 20px 8px 8px;border:0;border-radius:999px;cursor:pointer;text-align:left;font:inherit;color:var(--fd-heading);
  background:#fff;box-shadow:inset 0 0 0 2px #9ED8F0,0 10px 24px -14px rgba(10,47,85,.45);transition:box-shadow .2s,background .2s}
.bki-btn:hover{box-shadow:inset 0 0 0 2px #3FB5E3,0 0 0 5px rgba(111,214,255,.18),0 12px 26px -12px rgba(10,47,85,.45)}
.bki-btn img{width:44px;height:44px;flex:none}
.bki-btn b{display:block;font-size:16px;font-weight:800;line-height:1.2}
.bki-btn small{display:block;font-size:13px;font-weight:600;color:var(--fd-muted)}
[data-theme="dark"] .bki-btn{background:#122E4F;box-shadow:inset 0 0 0 2px rgba(111,214,255,.45)}
.bki-link{display:inline-flex;align-items:center;gap:8px;border:0;background:none;padding:0;cursor:pointer;font:700 15px Inter,sans-serif;color:var(--fd-accent);text-decoration:underline;text-underline-offset:3px}
.bki-link img{width:26px;height:26px}
.cta .bki-link{color:#fff;margin-top:14px}
.more-link.two{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;align-items:center}
.bki-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:22px}
.bki-card{display:flex;align-items:center;gap:14px;padding:16px 18px;border:0;border-radius:20px;cursor:pointer;text-align:left;font:inherit;color:var(--fd-heading);background:#fff;box-shadow:var(--fd-shadow-card);transition:box-shadow .2s}
.bki-card:hover{box-shadow:inset 0 0 0 2px #3FB5E3,0 18px 34px -24px rgba(10,47,85,.45)}
[data-theme="dark"] .bki-card{background:linear-gradient(180deg,#143457,#10294A)}
.bki-card .bk-logo{flex:none;width:52px;height:52px;border-radius:16px;display:grid;place-items:center;font-weight:800;font-size:14px;color:#fff;background:linear-gradient(180deg,#38ABDC,#1576B0);box-shadow:inset 0 0 0 2px #0B4A72}
.bki-card .bk-logo.okb{background:linear-gradient(180deg,#3EE3B0,#17A77A)}
.bki-card .bk-logo.scoring{background:linear-gradient(180deg,#FFC23D,#E08A00)}
.bki-card b{display:block;font-size:17px;font-weight:800}
.bki-card small{display:block;font-size:13.5px;color:var(--fd-muted)}
.bki-card .go{margin-left:auto;font-size:14px;font-weight:700;color:var(--fd-accent);white-space:nowrap}
.bki-center{text-align:center;margin-top:18px}
.faq .bki-link{margin-top:10px}

.bki-lock,.bki-lock body{overflow:hidden}
.bki-ov{position:fixed;inset:0;z-index:95;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(6,24,49,.5);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.bki-ov.open{display:flex;animation:bkiIn .25s ease}
@keyframes bkiIn{from{opacity:0}to{opacity:1}}
.bki-box{position:relative;width:min(760px,100%);max-height:calc(100dvh - 32px);display:flex;flex-direction:column;border-radius:30px;background:#fff;box-shadow:inset 0 0 0 1.5px #D6ECF7,0 40px 90px -30px rgba(0,8,20,.6);overflow:hidden;animation:bkiUp .3s cubic-bezier(.2,.9,.3,1.1)}
@keyframes bkiUp{from{transform:translateY(18px) scale(.98)}to{transform:none}}
[data-theme="dark"] .bki-box{background:#0F2743;box-shadow:inset 0 0 0 1.5px rgba(127,220,250,.25),0 40px 90px -30px rgba(0,0,0,.8)}
.bki-x{position:absolute;top:16px;right:16px;width:40px;height:40px;border:0;border-radius:50%;display:grid;place-items:center;cursor:pointer;background:#EEF7FC;color:var(--fd-heading);box-shadow:inset 0 0 0 1.5px #C9E3F1;z-index:2}
.bki-x svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round}
[data-theme="dark"] .bki-x{background:#143457;box-shadow:inset 0 0 0 1.5px rgba(127,220,250,.35)}
.bki-head{display:flex;gap:16px;align-items:flex-start;padding:26px 70px 16px 26px;background:linear-gradient(180deg,#EAF7FD,rgba(234,247,253,0))}
[data-theme="dark"] .bki-head{background:linear-gradient(180deg,rgba(111,214,255,.08),transparent)}
.bki-head img{flex:none;width:56px;height:56px}
.bki-head h2{margin:2px 0 6px;font-size:24px;font-weight:800;letter-spacing:-.01em;color:var(--fd-heading)}
.bki-head p{margin:0;font-size:15px;line-height:1.5;color:var(--fd-body)}
.bki-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 26px;padding:5px;border-radius:18px;background:#F2F8FC;box-shadow:inset 0 0 0 1.5px #D6ECF7}
[data-theme="dark"] .bki-tabs{background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 1.5px rgba(127,220,250,.2)}
.bki-tabs button{border:0;background:none;border-radius:13px;padding:9px 8px;cursor:pointer;font:inherit;color:var(--fd-body);text-align:center}
.bki-tabs b{display:block;font-size:16px;font-weight:800}
.bki-tabs small{display:block;font-size:12px;color:var(--fd-muted)}
.bki-tabs button[aria-selected="true"]{background:#fff;color:var(--fd-heading);box-shadow:inset 0 0 0 2px #3FB5E3,0 6px 14px -8px rgba(10,47,85,.4)}
[data-theme="dark"] .bki-tabs button[aria-selected="true"]{background:#143457;box-shadow:inset 0 0 0 2px rgba(111,214,255,.6)}
.bki-body{flex:1;overflow-y:auto;padding:16px 26px 8px;outline:0;overscroll-behavior:contain}
.bki-meta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:space-between;margin-bottom:10px}
.bki-full{margin:0 0 6px;font-weight:700;color:var(--fd-heading)}
.bki-chips{display:flex;gap:6px;flex-wrap:wrap;margin:0}
.bki-chips span{padding:3px 10px;border-radius:999px;font-size:12.5px;font-weight:700;color:#0B4A72;background:#E6F5FC;box-shadow:inset 0 0 0 1.5px #A6DDF3}
.bki-chips span:last-child{color:#0B6B4F;background:#E3FAF2;box-shadow:inset 0 0 0 1.5px #8EE6C8}
[data-theme="dark"] .bki-chips span{color:#8FE3FF;background:rgba(111,214,255,.1);box-shadow:inset 0 0 0 1.5px rgba(111,214,255,.35)}
[data-theme="dark"] .bki-chips span:last-child{color:#6FE3B5;background:rgba(23,167,122,.14);box-shadow:inset 0 0 0 1.5px rgba(111,227,181,.35)}
.bki-site svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.bki-gh{margin:16px 0 8px;font-size:13px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--fd-accent)}
.bki-steps{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.bki-steps li{position:relative;display:grid;grid-template-columns:34px 1fr;gap:12px;align-items:start;padding:10px 12px;border-radius:16px;background:#F7FBFE;box-shadow:inset 0 0 0 1.5px #E3EEF5}
[data-theme="dark"] .bki-steps li{background:rgba(255,255,255,.03);box-shadow:inset 0 0 0 1.5px rgba(127,220,250,.14)}
.bki-steps li.up{background:#E3FAF2;box-shadow:inset 0 0 0 1.5px #8EE6C8}
[data-theme="dark"] .bki-steps li.up{background:rgba(23,167,122,.12);box-shadow:inset 0 0 0 1.5px rgba(111,227,181,.35)}
.bki-n{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-weight:800;font-size:15px;color:var(--fd-ink);background:linear-gradient(180deg,#C4F4FF,#7AD8F4);box-shadow:inset 0 0 0 2px #0B4A72}
.bki-steps li.up .bki-n{color:#fff;background:linear-gradient(180deg,#9FF5D2,#17A77A)}
.bki-t{margin:6px 0 0;font-weight:700;color:var(--fd-heading);line-height:1.4}
.bki-d{margin:4px 0 0;font-size:14.5px;line-height:1.5;color:var(--fd-body)}
.bki-d a,.bki-t a{color:var(--fd-accent);font-weight:700}
.bki-ui{display:inline;padding:1px 7px;border-radius:7px;font-weight:700;color:#0B4A72;background:#E6F5FC;box-shadow:inset 0 0 0 1px #A6DDF3;white-space:normal}
[data-theme="dark"] .bki-ui{color:#BFEFFF;background:rgba(111,214,255,.12);box-shadow:inset 0 0 0 1px rgba(111,214,255,.35)}
.bki-foot{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;padding:14px 26px 20px;border-top:1.5px solid #E3EEF5}
[data-theme="dark"] .bki-foot{border-top-color:rgba(127,220,250,.14)}
.bki-foot svg{width:1.15em;height:1.15em;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
@media (max-width:700px){
  .bki-ov{padding:0;align-items:flex-end}
  .bki-box{border-radius:26px 26px 0 0;max-height:94dvh}
  .bki-head{padding:20px 60px 12px 18px;gap:12px}.bki-head img{width:44px;height:44px}
  .bki-head h2{font-size:20px;margin-top:8px}.bki-head p{display:none}
  .bki-tabs{margin:0 14px}.bki-tabs b{font-size:14px}.bki-tabs small{display:none}
  .bki-body{padding:14px 14px 6px}
  .bki-foot{padding:12px 14px 16px;flex-wrap:nowrap}.bki-foot .btn{height:50px;padding:0 14px;font-size:16px}.bki-foot .btn-primary{flex:1}.bki-foot .bki-done{flex:none}
  .bki-row{grid-template-columns:1fr}
  .bki-btn{width:100%}
}
@media (prefers-reduced-motion:reduce){.bki-ov.open,.bki-box{animation:none}}
@media (max-width:1180px){.bki-card .go{display:none}}
@media (max-width:860px){.bki-row{grid-template-columns:1fr}.bki-card .go{display:inline}}

/* ================================================================
   МОБИЛЬНАЯ ВЕРСИЯ (≤700 px): нижняя панель вместо плавающих кнопок,
   компактные отступы, таблицы-карточки, подвал в две колонки
   ================================================================ */
.fd-dock-cta{display:none}
@media (max-width:700px){
  :root{--fd-bar:64px}
  body{padding-bottom:calc(var(--fd-bar) + env(safe-area-inset-bottom,0px))}
  footer.site-footer .footer-bottom{padding-bottom:24px}

  /* нижняя панель: Гид · Игры · Проверить бесплатно · Наверх */
  .fd-dock,.fd-dock.dim{position:fixed;left:0;right:0;bottom:0;z-index:85;flex-direction:row;align-items:center;gap:6px;
    height:calc(var(--fd-bar) + env(safe-area-inset-bottom,0px));padding:6px 64px calc(6px + env(safe-area-inset-bottom,0px)) 8px;
    background:rgba(255,255,255,.96);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px);
    box-shadow:0 -1.5px 0 var(--fd-line),0 -10px 30px -18px rgba(10,47,85,.35);pointer-events:auto;opacity:1}
  [data-theme="dark"] .fd-dock{background:rgba(11,29,51,.96);box-shadow:0 -1.5px 0 rgba(127,220,250,.2),0 -10px 30px -18px rgba(0,0,0,.6)}
  .fd-dock.dim>*{opacity:.45}
  .fd-dock>.fdg-launcher,.fd-dock>.fdgm-launcher,.fd-dock.dim>.fdg-launcher,.fd-dock.dim>.fdgm-launcher{
    flex:none;flex-direction:column;justify-content:center;gap:1px;width:58px;height:52px;min-height:0;padding:0;border-radius:14px;
    background:none!important;box-shadow:none!important;transform:none}
  .fd-dock>.fdg-launcher{order:1}.fd-dock>.fdgm-launcher{order:2}.fd-dock>.fd-dock-cta{order:3}
  .fd-dock .fdg-launcher .fdg-ava{width:32px;height:32px;padding:1px}
  .fd-dock .fdgm-head,.fd-dock.dim .fdgm-head{width:32px;height:32px;box-shadow:inset 0 0 0 1.5px #FFC23D}
  .fd-dock .fdgm-head canvas,.fd-dock.dim .fdgm-head canvas{width:30px;height:30px}
  .fd-dock .fdgm-badge{transform:scale(.7);right:-6px;bottom:-6px}
  .fd-dock .fdg-ltext,.fd-dock .fdgm-ltext,.fd-dock.dim .fdg-ltext,.fd-dock.dim .fdgm-ltext{display:block;font-size:11px;line-height:1.1;font-weight:700;font-style:normal;letter-spacing:0;white-space:nowrap}
  .fd-dock .fdg-ltext b{font-size:11px;font-weight:700}
  .fd-dock .fdg-ltext small{display:none}
  .fd-dock .fdgm-ltext{background:none;-webkit-background-clip:border-box;background-clip:border-box;color:#C25A00}
  [data-theme="dark"] .fd-dock .fdgm-ltext{color:#FFD27A}
  .fd-dock .fdg-launcher .fdg-ava::after{display:none}
  .fd-dock>.fd-dock-cta{display:inline-flex;flex:1;min-width:0;height:46px;padding:0 12px;font-size:15px;border-radius:14px}
  .to-top,.to-top.show{right:10px;bottom:calc(9px + env(safe-area-inset-bottom,0px));width:46px;height:46px;z-index:86}
  .to-top:not(.show){opacity:.35;pointer-events:none;transform:none}
  /* окна гида и игр заканчиваются над панелью */
  .fd-dim .fdg-overlay{padding-bottom:calc(var(--fd-bar) + 8px)}
  .fd-dim .fdg-modal,.fd-dim .fdg-modal.compact,.fd-dim .fdg-modal.wide{max-height:calc(100dvh - var(--fd-bar) - 20px)}
  .fdg-hint.p-br,.fdg-hint.p-bl{bottom:calc(var(--fd-bar) + 22px)}
  .fdg-hint.p-tr{top:96px}
  .fdg-hint.p-ml{top:34%}

  /* ритм и отступы */
  .section{padding:52px 0}
  .sec-head{margin-bottom:26px}
  .sec-head h2{font-size:27px;line-height:1.18}
  .lead{font-size:16.5px}
  svg.divider{aspect-ratio:1920/140}

  /* первый экран */
  .hero{padding-bottom:40px}
  .hero-visual{max-width:300px;margin:6px auto 0}
  .stats-wrap{margin-top:-24px}
  .stats{grid-template-columns:1fr 1fr;padding:10px 4px;gap:0}
  .stats li{padding:12px 10px!important;border:0!important;flex-direction:column;align-items:flex-start;gap:6px;text-align:left}
  .stats li img{align-self:flex-start}
  .stats img{width:38px;height:38px}
  .stats b{font-size:24px}
  .stats span{font-size:12.5px;line-height:1.35}
  .page-hero{padding-bottom:28px}
  .page-hero-robot{height:150px;margin-top:6px}
  .page-hero h1{font-size:30px;line-height:1.12}

  /* призыв к действию */
  .cta{padding:28px 20px 176px;min-height:0}
  .cta h2{font-size:26px}
  .cta p{font-size:16px}
  .cta .btn-row .btn{width:100%}
  .cta-robot{height:160px;right:50%;transform:translateX(50%);bottom:-10px}

  /* подвал: бренд во всю ширину, меню в две колонки */
  .footer-grid,.footer-grid.five{grid-template-columns:1fr 1fr;gap:26px 18px}
  .footer-grid>:first-child{grid-column:1/-1}
  .site-footer nav a{font-size:14.5px}
  .footer-bottom{flex-direction:column;align-items:flex-start;gap:14px}

  /* таблицы сравнения — карточками */
  .scroll-hint{display:none!important}
  .table-wrap{overflow:visible;margin:22px 0 0!important;padding:0!important;background:none!important;box-shadow:none!important}
  .cmp{min-width:0!important;display:block;font-size:15px}
  .cmp thead{display:none}
  .cmp tbody,.cmp tfoot{display:grid;gap:12px}
  .cmp tr{display:block;padding:14px 16px;border-radius:18px;background:var(--fd-white);box-shadow:var(--fd-shadow-card)}
  [data-theme="dark"] .cmp tr{background:linear-gradient(180deg,#143457,#10294A)}
  .cmp th[scope="row"],.cmp tr>th{display:block;padding:0 0 8px;border:0!important;font-size:16px;font-weight:800;color:var(--fd-heading);background:none!important;text-align:left}
  .cmp td{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:7px 0!important;border:0!important;border-top:1px solid var(--fd-divider)!important;text-align:right;background:none!important;font-size:14.5px}
  .cmp td::before{content:attr(data-label);flex:1;text-align:left;font-size:13px;font-weight:700;color:var(--fd-muted)}
  .cmp td.fd{margin:0 -8px;padding:7px 8px!important;border-radius:10px;background:var(--fd-highlight)!important;font-weight:700;color:var(--fd-heading)}
  .cmp td.fd::before{color:var(--fd-accent)}
  .cmp tr.total{box-shadow:inset 0 0 0 2px #3FB5E3,var(--fd-shadow-card)}

  /* плашки и кнопки */
  .more-link.two{flex-direction:column;align-items:stretch}
  .more-link.two .btn{width:100%}
  .broker-gain{font-size:15px;padding:12px 14px}
  .promo-band{padding:22px 18px}
}
@media (max-width:360px){
  .fd-dock>.fdg-launcher,.fd-dock>.fdgm-launcher{width:50px}
  .fd-dock .fdg-ltext b{font-size:10px}
  .fd-dock>.fd-dock-cta{font-size:14px;padding:0 8px}
  .stats b{font-size:21px}
}
@media (max-width:700px){
  .cmp th[scope="row"],.cmp tr>th{width:auto!important;min-width:0!important;max-width:none!important;white-space:normal}
  .cmp td{width:auto!important}
  .footer-bottom>.btn{display:none}
}
@media (max-width:700px){
  .cmp td{flex-wrap:wrap}
  .cmp td>s,.cmp td>span{white-space:nowrap}
}
