
:root{
  --ink:#232E36; --ink2:#2E3B44; --steel:#4A5D6B;
  --paper:#FBF7EF; --paper2:#F4EFE6;
  --amber:#D9A441; --terra:#C4622D;
  --radius:24px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:var(--ink); background:var(--paper);
  -webkit-font-smoothing:antialiased; line-height:1.6;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.wrap{max-width:1140px;margin:0 auto;padding:0 24px}

/* -------- header -------- */
header{
  position:sticky;top:0;z-index:50;
  background:rgba(251,247,239,.8); backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(35,46,54,.07);
}
.nav{display:flex;align-items:center;gap:28px;height:66px}
.brand{display:flex;align-items:center;gap:12px;font-weight:800;font-size:20px;letter-spacing:-.2px}
.brand img{width:36px;height:36px;border-radius:10px}
.nav-links{display:flex;gap:26px;margin-left:auto;font-size:15px;font-weight:600;color:var(--steel)}
.nav-links a:hover{color:var(--terra)}
.navdd{position:relative}
.navdd>a .car{display:inline-block;margin-left:5px;font-size:10px;opacity:.55;transition:.2s}
.navdd:hover>a .car{transform:translateY(1px) rotate(180deg)}
.dd{
  position:absolute;top:100%;left:50%;transform:translateX(-50%);
  padding-top:12px;opacity:0;visibility:hidden;transition:.18s;z-index:60;
}
.navdd:hover .dd,.navdd:focus-within .dd{opacity:1;visibility:visible}
.ddin{
  min-width:256px;background:#fff;border-radius:18px;padding:10px;
  border:1px solid rgba(35,46,54,.08);box-shadow:0 24px 60px rgba(35,46,54,.2);
}
.ddin a{
  display:flex;align-items:center;gap:11px;padding:8px 12px;border-radius:12px;
  font-weight:600;font-size:14.5px;color:var(--ink);white-space:nowrap;
}
.ddin a:hover{background:var(--paper2);color:var(--ink)}
.ddin img{width:30px;height:30px;border-radius:8px}
.ddin .ddall{
  justify-content:center;color:var(--terra);margin-top:6px;
  border-top:1px solid rgba(35,46,54,.07);border-radius:0 0 12px 12px;
}
.lang{
  margin-left:8px;padding:7px 16px;border-radius:999px;font-size:13px;font-weight:700;
  letter-spacing:.8px;background:var(--ink);color:var(--paper);transition:.2s;
}
.lang:hover{background:var(--amber);color:var(--ink)}

/* -------- hero -------- */
.hero{position:relative;padding:84px 0 64px;overflow:hidden}
.hero::before,.hero::after{
  content:"";position:absolute;border-radius:50%;filter:blur(90px);z-index:-1;
}
.hero::before{
  width:640px;height:640px;right:-160px;top:-220px;
  background:radial-gradient(circle,rgba(217,164,65,.5),rgba(196,98,45,.28) 55%,transparent 72%);
}
.hero::after{
  width:520px;height:520px;left:-200px;bottom:-260px;
  background:radial-gradient(circle,rgba(46,125,133,.34),rgba(107,78,163,.22) 60%,transparent 75%);
}
.hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:48px;align-items:center}
.soon{
  display:inline-flex;align-items:center;gap:9px;
  padding:8px 16px;border-radius:999px;font-size:13.5px;font-weight:700;
  background:rgba(35,46,54,.06);border:1px solid rgba(35,46,54,.1);
  margin-bottom:26px;
}
.soon .pulse{
  width:8px;height:8px;border-radius:50%;background:#3E7C4F;
  box-shadow:0 0 0 0 rgba(62,124,79,.5);animation:pulse 2s infinite;
}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(62,124,79,.45)}
  70%{box-shadow:0 0 0 9px rgba(62,124,79,0)}
  100%{box-shadow:0 0 0 0 rgba(62,124,79,0)}
}
.hero h1{
  font-size:clamp(36px,4.6vw,58px);line-height:1.08;
  font-weight:800;letter-spacing:-1.2px;
}
.hero h1 .grad{
  background:linear-gradient(92deg,var(--amber),var(--terra) 60%,#B3402F);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero .sub{margin-top:22px;font-size:18px;color:var(--steel);max-width:540px}
.badges{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.badge{
  font-size:13.5px;font-weight:700;padding:7px 14px;border-radius:999px;
  color:var(--b);background:color-mix(in srgb,var(--b) 11%, white);
  border:1.5px solid color-mix(in srgb,var(--b) 32%, transparent);
}
@supports not (color: color-mix(in srgb, red 50%, white)){
  .badge{background:#fff;border:1.5px solid rgba(35,46,54,.16)}
}
.hero-ctas{display:flex;gap:14px;margin-top:32px;flex-wrap:wrap}
.cta{
  display:inline-block;padding:15px 32px;border-radius:999px;
  background:linear-gradient(135deg,var(--amber),var(--terra));
  color:#fff;font-weight:800;font-size:16.5px;
  box-shadow:0 12px 30px rgba(196,98,45,.35);transition:.25s;
}
.cta:hover{transform:translateY(-2px) scale(1.015);box-shadow:0 18px 42px rgba(196,98,45,.45)}
.cta.ghost{
  background:transparent;color:var(--ink);
  border:2px solid rgba(35,46,54,.18);box-shadow:none;font-weight:700;
}
.cta.ghost:hover{border-color:var(--terra);color:var(--terra)}

/* маскот-сцена */
.scene{position:relative;height:460px}
.blob{
  position:absolute;inset:8% 4%;border-radius:46% 54% 52% 48%/48% 44% 56% 52%;
  background:linear-gradient(150deg,#2E3B44,#232E36 65%);
  box-shadow:0 40px 90px rgba(35,46,54,.35);
  animation:blob 14s ease-in-out infinite alternate;
}
@keyframes blob{
  0%{border-radius:46% 54% 52% 48%/48% 44% 56% 52%}
  100%{border-radius:52% 48% 45% 55%/44% 54% 46% 56%}
}
.manul{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-52%);
  width:46%;filter:drop-shadow(0 18px 36px rgba(0,0,0,.35));
  animation:bob 5.5s ease-in-out infinite alternate;
}
@keyframes bob{from{transform:translate(-50%,-54%)}to{transform:translate(-50%,-48%)}}
.bubble{
  position:absolute;right:2%;top:2%;max-width:230px;
  background:#fff;border-radius:18px 18px 18px 4px;
  padding:13px 16px;font-size:14.5px;line-height:1.45;
  box-shadow:0 14px 34px rgba(35,46,54,.18);
  border:1px solid rgba(35,46,54,.06);
  animation:bob2 6s ease-in-out infinite alternate;
}
.bubble b{color:var(--terra)}
@keyframes bob2{from{transform:translateY(0)}to{transform:translateY(9px)}}
.chip{
  position:absolute;width:64px;height:64px;border-radius:17px;
  box-shadow:0 12px 26px rgba(35,46,54,.28);
  animation:float 6s ease-in-out infinite alternate;
}
.chip img{border-radius:17px}
.chip.c1{left:1%;top:14%;animation-delay:-1s}
.chip.c2{left:6%;bottom:9%;width:56px;height:56px;animation-delay:-2.6s}
.chip.c3{right:5%;bottom:20%;animation-delay:-4s}
.chip.c4{right:14%;top:30%;width:54px;height:54px;animation-delay:-5.2s}
@keyframes float{
  from{transform:translateY(-7px) rotate(-3deg)}
  to{transform:translateY(9px) rotate(3.5deg)}
}

/* бегущая строка форматов */
.marquee{
  border-top:1px solid rgba(35,46,54,.08);
  border-bottom:1px solid rgba(35,46,54,.08);
  background:#fff;overflow:hidden;white-space:nowrap;padding:14px 0;
}
.marquee .track{display:inline-block;animation:slide 36s linear infinite}
.marquee span{
  font-weight:800;font-size:14px;letter-spacing:2px;color:var(--steel);
  margin:0 14px;
}
.marquee i{font-style:normal;color:var(--amber);margin:0 2px}
@keyframes slide{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* -------- sections -------- */
section{padding:96px 0}
h2{font-size:clamp(28px,3.4vw,40px);font-weight:800;letter-spacing:-.6px;text-align:center}
.sub{max-width:560px;margin:14px auto 0;text-align:center;color:var(--steel);font-size:17px}

/* principles */
.cols{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:56px}
.col{
  background:#fff;border-radius:var(--radius);padding:32px 30px;
  border:1px solid rgba(35,46,54,.08);
  box-shadow:0 8px 28px rgba(35,46,54,.07);
  transition:.25s;
}
.col:hover{transform:translateY(-4px);box-shadow:0 16px 40px rgba(35,46,54,.12)}
.col .emoji,.fcard .emoji{
  width:52px;height:52px;border-radius:16px;display:flex;align-items:center;
  justify-content:center;font-size:26px;margin-bottom:18px;
  background:linear-gradient(135deg,rgba(217,164,65,.18),rgba(196,98,45,.12));
}
.col h3{font-size:19px;margin-bottom:10px}
.col p{color:var(--steel);font-size:15.5px}

/* apps */
.apps{background:linear-gradient(180deg,var(--paper) 0%,var(--paper2) 100%)}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px;margin-top:56px}
.card{
  display:block;
  border-radius:var(--radius);padding:26px;position:relative;
  background:color-mix(in srgb,var(--accent) 7%, white);
  border:1.5px solid color-mix(in srgb,var(--accent) 22%, transparent);
  transition:.25s;
}
@supports not (color: color-mix(in srgb, red 50%, white)){
  .card{background:#fff;border:1.5px solid rgba(35,46,54,.12)}
}
.card:hover{transform:translateY(-5px) rotate(-.4deg);box-shadow:0 20px 46px rgba(35,46,54,.14)}
.card-head{display:flex;align-items:center;gap:16px;margin-bottom:14px}
.card-head img{width:60px;height:60px;border-radius:15px;box-shadow:0 8px 18px rgba(35,46,54,.2)}
.card h3{font-size:18px;line-height:1.25}
.card .tag{font-size:13px;font-weight:700;color:var(--accent)}
.card p{color:var(--steel);font-size:15px}

/* tech */
.tech{background:var(--ink2);color:var(--paper);position:relative;overflow:hidden}
.tech::before{
  content:"";position:absolute;width:560px;height:560px;right:-180px;top:-200px;
  border-radius:50%;filter:blur(100px);
  background:radial-gradient(circle,rgba(217,164,65,.24),transparent 70%);
}
.tech h2{color:var(--paper)}
.tech .lead{max-width:680px;margin:22px auto 0;text-align:center;font-size:17px;opacity:.85}
.tech .cols{margin-top:52px}
.tech .col{background:rgba(251,247,239,.05);border:1px solid rgba(251,247,239,.13);box-shadow:none}
.tech .col:hover{transform:translateY(-4px);box-shadow:none;border-color:rgba(217,164,65,.4)}
.tech .col .emoji{background:rgba(217,164,65,.14)}
.tech .col h3{color:var(--paper)}
.tech .col p{color:rgba(251,247,239,.72)}

/* cta */
.ctaband{text-align:center}
.ctaband .inner{
  background:linear-gradient(135deg,#2E3B44,#232E36);
  border-radius:32px;padding:72px 32px;color:var(--paper);
  position:relative;overflow:hidden;
}
.ctaband .inner::before{
  content:"";position:absolute;width:420px;height:420px;left:-120px;bottom:-220px;
  border-radius:50%;filter:blur(80px);
  background:radial-gradient(circle,rgba(217,164,65,.35),transparent 70%);
}
.ctaband h2{color:var(--paper)}
.ctaband p{max-width:520px;margin:16px auto 0;color:rgba(251,247,239,.75);font-size:17px}
.ctaband img{width:74px;height:74px;border-radius:20px;margin:0 auto 24px;box-shadow:0 14px 34px rgba(0,0,0,.4)}

/* -------- страницы приложений -------- */
.apphero{position:relative;padding:64px 0 60px;overflow:hidden}
.apphero::before{
  content:"";position:absolute;width:620px;height:620px;right:-200px;top:-260px;
  border-radius:50%;filter:blur(95px);z-index:-1;
  background:radial-gradient(circle,color-mix(in srgb,var(--accent) 34%, transparent),transparent 70%);
}
@supports not (color: color-mix(in srgb, red 50%, white)){
  .apphero::before{background:radial-gradient(circle,rgba(217,164,65,.3),transparent 70%)}
}
.crumbs{font-size:14px;font-weight:600;color:var(--steel);margin-bottom:34px}
.crumbs a:hover{color:var(--terra)}
.apphero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:60px;align-items:center}
.appicon{width:96px;height:96px;border-radius:24px;box-shadow:0 20px 44px rgba(35,46,54,.26);margin-bottom:24px}
.apphero .tagline{color:var(--accent);font-weight:800;font-size:14px;letter-spacing:1.8px;text-transform:uppercase;margin-bottom:10px}
.apphero h1{font-size:clamp(30px,3.6vw,46px);font-weight:800;letter-spacing:-1px;line-height:1.12;text-align:left}
.apphero .sub{margin:16px 0 0;font-size:17px;color:var(--steel);max-width:560px;text-align:left}

/* -------- демо-панель: анимация функционала -------- */
.demo{
  position:relative;height:450px;border-radius:30px;background:#fff;
  border:1px solid rgba(35,46,54,.09);
  box-shadow:0 34px 80px rgba(35,46,54,.16);
  padding:20px;overflow:hidden;
}
.dhead{display:flex;align-items:center;gap:7px;margin-bottom:14px}
.dd{width:10px;height:10px;border-radius:50%;background:color-mix(in srgb,var(--accent) 30%, #E7E0D2)}
@supports not (color: color-mix(in srgb, red 50%, white)){.dd{background:#E7E0D2}}
.dpill{margin-left:auto;font-size:12px;font-weight:700;color:var(--steel);background:var(--paper2);padding:5px 12px;border-radius:999px}
.dbadge{
  position:absolute;right:18px;bottom:16px;font-size:12px;font-weight:800;color:#fff;
  background:var(--accent);padding:6px 12px;border-radius:999px;
  box-shadow:0 8px 18px rgba(35,46,54,.25);z-index:3;
}
.dpage{
  position:relative;background:#FDFBF6;border:1px solid rgba(35,46,54,.07);
  border-radius:16px;padding:18px;height:calc(100% - 48px);overflow:hidden;
}
.ln{display:block;height:11px;border-radius:6px;background:#E9E2D4;margin:13px 0}

/* PDF: бегущая подсветка поиска по строкам */
.demo-pdf .hl{
  position:absolute;left:18px;height:13px;border-radius:6px;
  background:rgba(217,164,65,.55);
  animation:pdfhl 8s ease-in-out infinite;
}
@keyframes pdfhl{
  0%,9%{top:17px;width:42%;opacity:1}
  22%,31%{top:65px;width:58%;opacity:1}
  44%,53%{top:113px;width:34%;opacity:1}
  66%,75%{top:185px;width:52%;opacity:1}
  88%{opacity:0}
  100%{top:17px;width:42%;opacity:0}
}

/* Docs: строки «печатаются», картинка проявляется */
.demo-docs .ln{transform-origin:left center;animation:dgrow 9s ease-out infinite;transform:scaleX(0)}
.demo-docs .ln:nth-child(1){animation-delay:.2s}
.demo-docs .ln:nth-child(2){animation-delay:.7s}
.demo-docs .ln:nth-child(3){animation-delay:1.2s}
.demo-docs .ln:nth-child(4){animation-delay:1.7s}
.demo-docs .ln:nth-child(6){animation-delay:3.4s}
.demo-docs .ln:nth-child(7){animation-delay:3.9s}
.demo-docs .ln:nth-child(8){animation-delay:4.4s}
.demo-docs .htitle{height:16px;width:52%;background:#3E4B57;border-radius:7px;margin-bottom:18px;transform-origin:left center;animation:dgrow 9s ease-out infinite}
@keyframes dgrow{0%{transform:scaleX(0)}6%{transform:scaleX(1)}88%{transform:scaleX(1)}96%,100%{transform:scaleX(0)}}
.demo-docs .dimg{
  height:74px;border-radius:12px;margin:16px 0;
  background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 30%, white),color-mix(in srgb,var(--accent) 12%, white));
  animation:dfade 9s ease infinite;opacity:0;
}
@supports not (color: color-mix(in srgb, red 50%, white)){.demo-docs .dimg{background:#E9E2D4}}
@keyframes dfade{0%,24%{opacity:0;transform:translateY(8px)}32%,88%{opacity:1;transform:none}96%,100%{opacity:0}}

/* Sheets: закреплённая шапка, тело сетки едет и возвращается */
.demo-sheets .shead{display:flex;gap:8px;margin-bottom:8px}
.demo-sheets .sc{
  flex:0 0 84px;height:24px;border-radius:7px;
  background:color-mix(in srgb,var(--accent) 15%, white);
  border:1px solid color-mix(in srgb,var(--accent) 28%, transparent);
}
@supports not (color: color-mix(in srgb, red 50%, white)){.demo-sheets .sc{background:#EDE6D8;border:1px solid rgba(35,46,54,.14)}}
.demo-sheets .sclip{overflow:hidden}
.demo-sheets .span{animation:pan 7.5s ease-in-out infinite}
.demo-sheets .srow{display:flex;gap:8px;margin-bottom:8px}
.demo-sheets .cell{flex:0 0 84px;height:24px;border-radius:7px;background:#F0EADD}
.demo-sheets .sel{
  background:#fff;border:2px solid var(--accent);
  animation:selpulse 2.4s ease-in-out infinite;
}
@keyframes pan{0%,16%{transform:translateX(0)}46%,66%{transform:translateX(-140px)}94%,100%{transform:translateX(0)}}
@keyframes selpulse{0%,100%{box-shadow:0 0 0 0 rgba(217,164,65,.0)}50%{box-shadow:0 0 0 5px color-mix(in srgb,var(--accent) 22%, transparent)}}

/* Slides: карусель слайдов */
.demo-slides .sclip{overflow:hidden;border-radius:16px;height:calc(100% - 92px)}
.demo-slides .track{display:flex;width:300%;height:100%;animation:slidego 10s ease-in-out infinite}
.demo-slides .sl{width:33.333%;height:100%;padding:0 5px}
.demo-slides .sin{
  height:100%;border-radius:14px;padding:18px;
  background:linear-gradient(150deg,#2E3B44,#232E36);
}
.demo-slides .sl:nth-child(2) .sin{background:linear-gradient(150deg,color-mix(in srgb,var(--accent) 82%, #333),var(--accent))}
.demo-slides .sl:nth-child(3) .sin{background:linear-gradient(150deg,#4A5D6B,#2E3B44)}
.demo-slides .st{height:14px;width:58%;border-radius:7px;background:rgba(251,247,239,.9);margin-bottom:14px}
.demo-slides .sln{height:9px;border-radius:5px;background:rgba(251,247,239,.35);margin:10px 0}
.demo-slides .bars{display:flex;gap:10px;align-items:flex-end;height:64px;margin-top:16px}
.demo-slides .bars i{flex:1;border-radius:5px 5px 0 0;background:rgba(251,247,239,.75)}
@keyframes slidego{0%,24%{transform:translateX(0)}33%,57%{transform:translateX(-33.333%)}66%,90%{transform:translateX(-66.666%)}100%{transform:translateX(-66.666%)}}
.demo-slides .dots{display:flex;gap:7px;justify-content:center;margin-top:14px}
.demo-slides .dots i{width:8px;height:8px;border-radius:50%;background:#E0D8C8}
.demo-slides .dots i:nth-child(1){animation:dotgo 10s infinite}
.demo-slides .dots i:nth-child(2){animation:dotgo 10s infinite;animation-delay:-6.7s}
.demo-slides .dots i:nth-child(3){animation:dotgo 10s infinite;animation-delay:-3.4s}
@keyframes dotgo{0%,30%{background:var(--accent)}31%,100%{background:#E0D8C8}}

/* Books: страница + аудиоплеер с эквалайзером */
.demo-books .abar{
  display:flex;align-items:center;gap:12px;background:var(--paper2);
  border-radius:16px;padding:14px;margin-top:14px;
}
.demo-books .play{width:36px;height:36px;border-radius:50%;background:var(--accent);position:relative;flex-shrink:0}
.demo-books .play::after{
  content:"";position:absolute;left:14px;top:11px;
  border-left:11px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent;
}
.demo-books .eq{display:flex;gap:3px;align-items:flex-end;height:24px}
.demo-books .eq i{width:4px;border-radius:2px;background:var(--accent);animation:eq 1.15s ease-in-out infinite}
.demo-books .eq i:nth-child(2){animation-delay:.14s}
.demo-books .eq i:nth-child(3){animation-delay:.28s}
.demo-books .eq i:nth-child(4){animation-delay:.42s}
.demo-books .eq i:nth-child(5){animation-delay:.56s}
@keyframes eq{0%,100%{height:6px}50%{height:24px}}
.demo-books .prog{flex:1;height:6px;border-radius:3px;background:#E4DCCB;overflow:hidden}
.demo-books .prog i{display:block;height:100%;background:var(--accent);animation:prog 9s linear infinite}
@keyframes prog{from{width:6%}to{width:94%}}

/* Scan: луч сканера и уголки захвата */
.demo-scan .dpage .ln{opacity:.6}
.demo-scan .cor{position:absolute;width:26px;height:26px;animation:corpulse 4.6s ease-in-out infinite}
.demo-scan .cor.tl{left:10px;top:10px;border-left:3px solid var(--accent);border-top:3px solid var(--accent);border-radius:6px 0 0 0}
.demo-scan .cor.tr{right:10px;top:10px;border-right:3px solid var(--accent);border-top:3px solid var(--accent);border-radius:0 6px 0 0}
.demo-scan .cor.bl{left:10px;bottom:10px;border-left:3px solid var(--accent);border-bottom:3px solid var(--accent);border-radius:0 0 0 6px}
.demo-scan .cor.br{right:10px;bottom:10px;border-right:3px solid var(--accent);border-bottom:3px solid var(--accent);border-radius:0 0 6px 0}
@keyframes corpulse{0%,100%{opacity:.45}45%{opacity:1}}
.demo-scan .beam{
  position:absolute;left:5%;right:5%;height:52px;border-radius:12px;
  background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--accent) 34%, transparent) 50%,transparent);
  animation:beam 4.6s ease-in-out infinite;
}
@supports not (color: color-mix(in srgb, red 50%, white)){.demo-scan .beam{background:linear-gradient(180deg,transparent,rgba(46,125,133,.35) 50%,transparent)}}
@keyframes beam{0%{top:4%;opacity:0}10%{opacity:1}48%{top:74%;opacity:1}60%{opacity:0}100%{top:4%;opacity:0}}

/* -------- бенто-сетка «Что умеет» с живыми карточками -------- */
.fgrid3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:56px}
.fcard{
  background:#fff;border-radius:24px;padding:30px;
  border:1px solid rgba(35,46,54,.08);
  box-shadow:0 8px 28px rgba(35,46,54,.07);
  transition:.25s;position:relative;overflow:hidden;
}
.fcard:hover{transform:translateY(-4px);box-shadow:0 16px 40px rgba(35,46,54,.12)}
.fcard h3{font-size:19px;margin-bottom:10px}
.fcard p{color:var(--steel);font-size:15.5px}
.fcard.w2{grid-column:span 2;display:flex;gap:28px;align-items:center}
.fcard.w2 .ftext{flex:1;min-width:0}
.fanim{
  width:190px;height:142px;flex-shrink:0;position:relative;overflow:hidden;
  border-radius:18px;padding:16px;
  background:color-mix(in srgb,var(--accent) 6%, white);
  border:1px solid color-mix(in srgb,var(--accent) 16%, transparent);
}
@supports not (color: color-mix(in srgb, red 50%, white)){
  .fanim{background:#FBF7EF;border:1px solid rgba(35,46,54,.1)}
}
.fanim .fl{display:block;height:9px;border-radius:5px;background:#E9E2D4;margin:11px 0}

/* поиск: бегущая подсветка */
.fa-search .fhl{position:absolute;left:16px;height:11px;border-radius:5px;background:rgba(217,164,65,.55);animation:fahl 5s ease-in-out infinite}
@keyframes fahl{0%,12%{top:15px;width:46%;opacity:1}32%,44%{top:55px;width:62%;opacity:1}64%,76%{top:95px;width:36%;opacity:1}92%{opacity:0}100%{top:15px;width:46%;opacity:0}}
/* выделение: полоса с ручками растёт */
.fa-select .fsel{position:absolute;left:16px;top:32px;height:32px;border-radius:7px;background:color-mix(in srgb,var(--accent) 24%, transparent);animation:fasel 4.6s ease-in-out infinite}
@supports not (color: color-mix(in srgb, red 50%, white)){.fa-select .fsel{background:rgba(217,164,65,.3)}}
.fa-select .fsel::before,.fa-select .fsel::after{content:"";position:absolute;top:50%;width:10px;height:10px;margin-top:-5px;border-radius:50%;background:var(--accent)}
.fa-select .fsel::before{left:-5px}.fa-select .fsel::after{right:-5px}
@keyframes fasel{0%,14%{width:0;opacity:0}18%{opacity:1}50%,82%{width:72%;opacity:1}96%,100%{width:0;opacity:0}}
/* закладка: флажок падает */
.fa-mark .flag{position:absolute;right:22px;top:-40px;width:22px;height:34px;background:var(--accent);clip-path:polygon(0 0,100% 0,100% 100%,50% 74%,0 100%);animation:famark 4.2s ease infinite}
@keyframes famark{0%,8%{top:-40px}28%,82%{top:0}96%,100%{top:-40px}}
/* страницы: колода листается */
.fa-pages .pg{position:absolute;left:50%;top:50%;width:62px;height:84px;margin:-42px 0 0 -31px;background:#fff;border:1px solid rgba(35,46,54,.14);border-radius:8px;box-shadow:0 8px 18px rgba(35,46,54,.14)}
.fa-pages .pg:nth-child(1){transform:rotate(-8deg) translateX(-6px)}
.fa-pages .pg:nth-child(3){animation:fapg 4.2s ease-in-out infinite}
@keyframes fapg{0%,18%{transform:rotate(7deg) translateX(4px);opacity:1}42%{transform:rotate(16deg) translateX(84px);opacity:0}43%{transform:rotate(-4deg) translateX(-84px);opacity:0}68%,100%{transform:rotate(7deg) translateX(4px);opacity:1}}
/* поля: страница дышит шириной */
.fa-margins .mh{position:absolute;top:20%;bottom:20%;width:3px;border-radius:2px;background:var(--accent);opacity:.65}
.fa-margins .mh.l{left:10px}.fa-margins .mh.r{right:10px}
.fa-margins .mpage{position:absolute;top:14px;bottom:14px;left:36px;right:36px;background:#fff;border:1px solid rgba(35,46,54,.12);border-radius:9px;padding:10px 12px;animation:famarg 5s ease-in-out infinite}
@keyframes famarg{0%,22%,90%,100%{left:36px;right:36px}48%,72%{left:22px;right:22px}}
/* сетка: шапка на месте, тело едет */
.fa-freeze .fh{display:flex;gap:6px;margin-bottom:7px}
.fa-freeze .fh i{flex:0 0 40px;height:13px;border-radius:4px;background:color-mix(in srgb,var(--accent) 18%, white);border:1px solid color-mix(in srgb,var(--accent) 30%, transparent)}
@supports not (color: color-mix(in srgb, red 50%, white)){.fa-freeze .fh i{background:#EDE6D8;border:1px solid rgba(35,46,54,.14)}}
.fa-freeze .fclip{overflow:hidden}
.fa-freeze .fbody{animation:fapan 4.8s ease-in-out infinite}
.fa-freeze .fr{display:flex;gap:6px;margin-bottom:7px}
.fa-freeze .fr i{flex:0 0 40px;height:13px;border-radius:4px;background:#F0EADD}
@keyframes fapan{0%,18%{transform:translateX(0)}48%,68%{transform:translateX(-64px)}96%,100%{transform:translateX(0)}}
/* плеер: эквалайзер */
.fa-play .pl{position:absolute;left:18px;top:50%;width:34px;height:34px;margin-top:-17px;border-radius:50%;background:var(--accent)}
.fa-play .pl::after{content:"";position:absolute;left:13px;top:10px;border-left:11px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent}
.fa-play .eqq{position:absolute;left:66px;right:18px;top:50%;height:30px;margin-top:-15px;display:flex;gap:4px;align-items:flex-end}
.fa-play .eqq i{flex:1;border-radius:2px;background:var(--accent);animation:eq 1.15s ease-in-out infinite}
.fa-play .eqq i:nth-child(2){animation-delay:.12s}.fa-play .eqq i:nth-child(3){animation-delay:.24s}
.fa-play .eqq i:nth-child(4){animation-delay:.36s}.fa-play .eqq i:nth-child(5){animation-delay:.48s}
.fa-play .eqq i:nth-child(6){animation-delay:.6s}.fa-play .eqq i:nth-child(7){animation-delay:.72s}
/* луч сканера */
.fa-beam .bpage{position:absolute;inset:12px 28px;background:#fff;border:1px solid rgba(35,46,54,.1);border-radius:9px;padding:9px 11px}
.fa-beam .bm{position:absolute;left:12%;right:12%;height:30px;border-radius:9px;background:linear-gradient(180deg,transparent,color-mix(in srgb,var(--accent) 36%, transparent) 50%,transparent);animation:fabeam 3.8s ease-in-out infinite}
@supports not (color: color-mix(in srgb, red 50%, white)){.fa-beam .bm{background:linear-gradient(180deg,transparent,rgba(46,125,133,.35) 50%,transparent)}}
@keyframes fabeam{0%{top:6%;opacity:0}12%{opacity:1}52%{top:70%;opacity:1}64%{opacity:0}100%{top:6%;opacity:0}}
/* палитра темы: кружки переливаются */
.fa-swatch{display:flex;gap:14px;align-items:center;justify-content:center}
.fa-swatch i{width:30px;height:30px;border-radius:50%;animation:fahue 6s linear infinite}
.fa-swatch i:nth-child(1){background:var(--accent)}
.fa-swatch i:nth-child(2){background:#3B64A8;animation-delay:-2s}
.fa-swatch i:nth-child(3){background:#D9A441;animation-delay:-4s}
@keyframes fahue{0%{filter:hue-rotate(0);transform:scale(1)}50%{filter:hue-rotate(70deg);transform:scale(1.14)}100%{filter:hue-rotate(0);transform:scale(1)}}
/* связь: линия прорисовывается между узлами */
.fa-link .n1,.fa-link .n2{position:absolute;width:18px;height:18px;border-radius:50%;background:var(--accent)}
.fa-link .n1{left:26px;top:32px}.fa-link .n2{right:26px;bottom:28px;opacity:.55}
.fa-link .wire{position:absolute;left:42px;top:44px;width:98px;height:3px;border-radius:2px;background:var(--accent);transform:rotate(26deg) scaleX(0);transform-origin:left center;animation:fawire 4.4s ease-in-out infinite}
@keyframes fawire{0%,14%{transform:rotate(26deg) scaleX(0)}46%,84%{transform:rotate(26deg) scaleX(1)}98%,100%{transform:rotate(26deg) scaleX(0)}}
/* вложения: плитки выпрыгивают */
.fa-attach{display:flex;gap:10px;align-items:center;justify-content:center}
.fa-attach i{width:42px;height:42px;border-radius:11px;transform:scale(0);background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 38%, white),color-mix(in srgb,var(--accent) 14%, white));animation:fapop 4.6s ease infinite}
@supports not (color: color-mix(in srgb, red 50%, white)){.fa-attach i{background:#E9E2D4}}
.fa-attach i:nth-child(2){animation-delay:.35s}.fa-attach i:nth-child(3){animation-delay:.7s}
@keyframes fapop{0%{transform:scale(0)}12%{transform:scale(1.12)}18%,80%{transform:scale(1)}94%,100%{transform:scale(0)}}
/* набор: строка печатается с кареткой */
.fa-type .tl{position:relative;display:block;height:13px;border-radius:6px;background:#3E4B57;width:0;animation:fatype 4.4s ease-out infinite;margin:6px 0 16px}
.fa-type .tl::after{content:"";position:absolute;right:-8px;top:-4px;width:2.5px;height:21px;background:var(--accent);animation:blink 1s steps(1) infinite}
@keyframes fatype{0%{width:0}42%,86%{width:74%}98%,100%{width:0}}
/* типографика: A растут */
.fa-font{display:flex;align-items:baseline;justify-content:center;gap:16px}
.fa-font b{font-weight:800;color:var(--accent);animation:fafont 3.6s ease-in-out infinite}
.fa-font b:nth-child(1){font-size:17px}
.fa-font b:nth-child(2){font-size:27px;animation-delay:.25s}
.fa-font b:nth-child(3){font-size:38px;animation-delay:.5s}
@keyframes fafont{0%,100%{transform:scale(.9)}50%{transform:scale(1.18)}}
/* ночь: месяц и zzz */
.fa-moon .mo{position:absolute;left:28px;bottom:24px;width:36px;height:36px;border-radius:50%;background:var(--accent);-webkit-mask:radial-gradient(circle at 68% 30%,transparent 46%,#000 49%);mask:radial-gradient(circle at 68% 30%,transparent 46%,#000 49%)}
.fa-moon b{position:absolute;font-weight:800;color:var(--steel);opacity:0;animation:fazz 3.6s ease-in infinite}
.fa-moon b:nth-child(2){left:52%;bottom:34%;font-size:14px}
.fa-moon b:nth-child(3){left:64%;bottom:46%;font-size:18px;animation-delay:.7s}
.fa-moon b:nth-child(4){left:76%;bottom:58%;font-size:23px;animation-delay:1.4s}
@keyframes fazz{0%{opacity:0;transform:translateY(8px)}30%,60%{opacity:.85}100%{opacity:0;transform:translateY(-14px)}}
/* перестановка: строки меняются местами */
.fa-reorder .rr{position:absolute;left:18px;right:18px;height:18px;border-radius:7px;background:#EDE6D8}
.fa-reorder .rr:nth-child(1){top:20px;animation:faswap1 4.4s ease infinite}
.fa-reorder .rr:nth-child(2){top:52px;background:color-mix(in srgb,var(--accent) 22%, white);border:1.5px solid color-mix(in srgb,var(--accent) 42%, transparent);animation:faswap2 4.4s ease infinite;z-index:2}
@supports not (color: color-mix(in srgb, red 50%, white)){.fa-reorder .rr:nth-child(2){background:#fff;border:1.5px solid rgba(35,46,54,.3)}}
.fa-reorder .rr:nth-child(3){top:84px}
@keyframes faswap1{0%,20%,88%,100%{transform:translateY(0)}46%,70%{transform:translateY(32px)}}
@keyframes faswap2{0%,20%,88%,100%{transform:translateY(0)}46%,70%{transform:translateY(-32px)}}
/* обложки/миниатюры: сетка плиток */
.fa-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.fa-grid i{height:50px;border-radius:9px;transform:scale(0);background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 34%, white),color-mix(in srgb,var(--accent) 12%, white));animation:fapop 5s ease infinite}
@supports not (color: color-mix(in srgb, red 50%, white)){.fa-grid i{background:#E9E2D4}}
.fa-grid i:nth-child(2){animation-delay:.3s}.fa-grid i:nth-child(3){animation-delay:.6s}.fa-grid i:nth-child(4){animation-delay:.9s}
/* картинка проявляется в странице */
.fa-img .ip{position:absolute;inset:12px 26px;background:#fff;border:1px solid rgba(35,46,54,.1);border-radius:9px;padding:9px 11px}
.fa-img .im{height:34px;border-radius:7px;margin:9px 0;opacity:0;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 34%, white),color-mix(in srgb,var(--accent) 12%, white));animation:faimg 4.6s ease infinite}
@supports not (color: color-mix(in srgb, red 50%, white)){.fa-img .im{background:#E9E2D4}}
@keyframes faimg{0%,20%{opacity:0;transform:translateY(6px)}36%,84%{opacity:1;transform:none}96%,100%{opacity:0}}

@media (max-width:920px){
  .fgrid3{grid-template-columns:1fr}
  .fcard.w2{grid-column:span 1;flex-direction:column;align-items:flex-start}
  .fanim{width:100%}
}

/* Notes: заголовок с кареткой, пункты появляются, маркер закрашивает */
.demo-notes .htitle{height:16px;width:48%;background:#3E4B57;border-radius:7px;display:inline-block;vertical-align:middle}
.demo-notes .caret{display:inline-block;vertical-align:middle;width:2.5px;height:20px;background:var(--accent);margin-left:7px;animation:blink 1.1s steps(1) infinite}
@keyframes blink{0%,49%{opacity:1}50%,100%{opacity:0}}
.demo-notes .brow{display:flex;align-items:center;gap:11px;margin:17px 0;animation:brow 9s ease infinite;opacity:0}
.demo-notes .brow:nth-of-type(2){animation-delay:.7s}
.demo-notes .brow:nth-of-type(3){animation-delay:1.4s}
.demo-notes .brow:nth-of-type(4){animation-delay:2.1s}
.demo-notes .brow .ln{margin:0;flex:1}
.demo-notes .bdot{width:7px;height:7px;border-radius:50%;background:var(--accent);flex-shrink:0}
.demo-notes .brow:nth-of-type(4) .bdot{margin-left:20px}
@keyframes brow{0%{opacity:0;transform:translateY(7px)}9%,88%{opacity:1;transform:none}96%,100%{opacity:0}}
.demo-notes .mline{position:relative;margin-top:22px}
.demo-notes .mk{
  position:absolute;left:0;top:-4px;height:19px;width:0;border-radius:6px;
  background:rgba(217,164,65,.5);animation:mark 9s ease infinite;
}
@keyframes mark{0%,38%{width:0}52%,88%{width:56%}96%,100%{width:0}}
.demo-notes .tools{
  position:absolute;left:50%;transform:translateX(-50%);bottom:14px;z-index:3;
  display:flex;gap:4px;background:#fff;padding:8px 14px;border-radius:999px;
  box-shadow:0 10px 26px rgba(35,46,54,.16);border:1px solid rgba(35,46,54,.07);
}
.demo-notes .tools b{font-size:13px;font-weight:800;color:var(--steel);padding:2px 9px}
.demo-notes .tools b.on{color:var(--accent);animation:toolpulse 3s ease infinite}
@keyframes toolpulse{0%,100%{transform:none}50%{transform:scale(1.18)}}
.fchips{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px;align-items:center}
.fchips .lbl{font-size:13px;font-weight:700;color:var(--steel);margin-right:4px;letter-spacing:.6px;text-transform:uppercase}
.fchip{
  font-size:12.5px;font-weight:800;letter-spacing:1px;padding:6px 13px;border-radius:10px;
  color:var(--accent);
  background:color-mix(in srgb,var(--accent) 9%, white);
  border:1.5px solid color-mix(in srgb,var(--accent) 26%, transparent);
}
@supports not (color: color-mix(in srgb, red 50%, white)){
  .fchip{background:#fff;border:1.5px solid rgba(35,46,54,.16)}
}
.minigrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:14px;margin-top:46px}
.mini{
  background:#fff;border:1px solid rgba(35,46,54,.09);border-radius:18px;
  padding:18px 14px;text-align:center;transition:.2s;font-weight:700;font-size:14px;
}
.mini:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(35,46,54,.12)}
.mini img{width:52px;height:52px;border-radius:13px;margin:0 auto 10px}
@media (max-width:920px){
  .apphero-grid{grid-template-columns:1fr;gap:36px}
  .demo{height:380px}
}

/* footer */
footer{padding:44px 0;font-size:14px;color:var(--steel)}
.foot{display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.foot img{width:26px;height:26px;border-radius:7px}
.foot .spacer{margin-left:auto;text-align:right;opacity:.7}

@media (prefers-reduced-motion:reduce){
  .blob,.manul,.bubble,.chip,.marquee .track,.soon .pulse{animation:none}
  .demo *{animation:none!important}
  .demo-docs .ln,.demo-docs .htitle{transform:none}
  .demo-docs .dimg,.demo-notes .brow{opacity:1}
  html{scroll-behavior:auto}
}
@media (max-width:920px){
  .hero-grid{grid-template-columns:1fr;gap:20px}
  .scene{height:380px;order:-1}
  .cols{grid-template-columns:1fr}
  .nav-links{display:none}
  section{padding:68px 0}
  .hero{padding:48px 0 56px}
  .hero .sub{font-size:16.5px}
}
