/* Шрифты объявлены в src/theme.css (Inter + Noto Sans Thai для тайского, self-hosted в static/assets/fonts). 10.10.2026: прежние Fraunces, Cormorant Garamond, IBM Plex Sans/Mono удалены — шрифт сайта только Inter. */

:root{
  --bg:#0C0A07; --bg-2:#131009; --surface:#131009; --surface-2:#1A1610; --border:#2A2519;
  --text:#F4EFE3; --text-muted:#A79C86; --text-dim:#8A7F6C;
  --accent:#D2AF5A; --accent-dim:rgba(210,175,90,.5); --champagne:#F7E3A1; --ink:#1A1408;
  --warn:#E8742A; --warn-dim:rgba(232,116,42,.45); --scarlet:var(--warn); --scarlet-dim:var(--warn-dim);
  --font-display:'Inter',system-ui,sans-serif;
  --font-body:'Inter',system-ui,sans-serif;
  --font-mono:'Inter',system-ui,sans-serif;
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--font-body);font-weight:300;
  -webkit-font-smoothing:antialiased;line-height:1.6;}
a{color:inherit}
h1,h2,h3{font-family:var(--font-display);font-weight:400;text-wrap:balance;margin:0;letter-spacing:-.01em}
p{margin:0}
.mono{font-family:var(--font-mono)}
.wrap{max-width:1160px;margin:0 auto;padding:0 32px}
::selection{background:var(--accent);color:var(--ink)}
img{max-width:100%}


/* nav — minimal, overlay on hero */
header.site{position:fixed;top:0;left:0;right:0;z-index:50;transition:background .3s,border-color .3s;
  border-bottom:1px solid transparent;}
header.site.scrolled{background:rgba(12,10,7,.86);backdrop-filter:blur(10px);border-color:var(--border);}
.nav{display:flex;align-items:center;justify-content:space-between;padding:16px 32px;max-width:1160px;margin:0 auto;}
.navlinks{display:flex;flex:1;justify-content:space-evenly;align-items:center;
  list-style:none;margin:0 44px;padding:0;}
.navlinks a{position:relative;text-decoration:none;font-size:15px;font-weight:500;letter-spacing:.05em;
  text-transform:uppercase;padding-bottom:4px;transition:opacity .2s;
  background:linear-gradient(120deg, var(--accent) 0%, var(--champagne) 55%, var(--accent) 100%);
  -webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;
  text-shadow:0 1px 3px rgba(0,0,0,.85),0 2px 14px rgba(0,0,0,.65);}
.navlinks a::after{content:'';position:absolute;left:0;right:100%;bottom:0;height:1.5px;background:var(--text);
  transition:right .25s ease;}
.navlinks a:hover, .navlinks a.active{background:none;-webkit-text-fill-color:var(--text);color:var(--text);}
.navlinks a.active::after, .navlinks a:hover::after{right:0}
@media (max-width:760px){ .navlinks{display:none} }
@media (max-width:760px){
  .nav{flex-wrap:wrap;row-gap:10px;padding:14px 20px;}
  .nav .btn.solid{order:3;width:100%;justify-content:center;text-align:center;}
}

.btn{display:inline-flex;align-items:center;gap:10px;font-size:13px;letter-spacing:.04em;text-transform:uppercase;
  text-decoration:none;padding:13px 26px;border-radius:2px;font-family:var(--font-body);cursor:pointer;
  transition:opacity .2s,background .2s,color .2s;border:1px solid var(--text);background:rgba(12,10,7,.4);
  backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:var(--text);
  text-shadow:0 1px 3px rgba(0,0,0,.8);}
.btn:hover{opacity:.75}
.btn.solid{background:var(--accent);color:var(--ink);border-color:var(--accent);text-shadow:none;backdrop-filter:none;}
.btn.solid:hover{background:var(--champagne);border-color:var(--champagne);opacity:1;}

/* hero — full-bleed, video-like ambient canvas */
.hero{position:relative;min-height:100vh;display:flex;align-items:flex-end;overflow:hidden;
  border-bottom:1px solid var(--border);}
.hero::after{content:'';position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(12,10,7,.35) 0%, rgba(12,10,7,.5) 35%, rgba(12,10,7,.7) 65%, rgba(12,10,7,.96) 100%);
  pointer-events:none;}
.hero-inner{position:relative;z-index:2;max-width:1160px;margin:0 auto;padding:0 32px 96px;width:100%;
  padding-top:calc(var(--header-h, 0px) + 20px);}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;
  color:var(--accent);margin-bottom:24px;font-family:var(--font-mono);text-shadow:0 1px 3px rgba(0,0,0,.85),0 2px 14px rgba(0,0,0,.6);}
.hero h1{font-size:clamp(30px,4.8vw,58px);font-weight:300;line-height:1.12;max-width:19ch;
  text-shadow:0 2px 4px rgba(0,0,0,.85),0 4px 22px rgba(0,0,0,.65);}
.hero h1 em{font-style:italic;color:var(--accent);}
.hero .lede{margin-top:26px;font-size:18px;color:var(--text-muted);max-width:46ch;font-weight:300;
  text-shadow:0 1px 4px rgba(0,0,0,.85),0 2px 16px rgba(0,0,0,.6);}
.hero-actions{display:flex;gap:14px;margin-top:40px;flex-wrap:wrap;}
.trust-line{margin-top:48px;font-size:12px;color:var(--text-dim);display:flex;gap:22px;align-items:center;
  flex-wrap:wrap;font-family:var(--font-mono);letter-spacing:.02em;padding-top:22px;border-top:1px solid var(--border);
  max-width:640px;text-shadow:0 1px 3px rgba(0,0,0,.85);}
.scroll-cue{position:absolute;right:32px;bottom:40px;z-index:2;writing-mode:vertical-rl;font-size:11px;
  letter-spacing:.18em;text-transform:uppercase;color:var(--text-dim);display:flex;align-items:center;gap:12px;
  font-family:var(--font-mono);text-shadow:0 1px 3px rgba(0,0,0,.85);}
.scroll-cue::after{content:'';display:block;width:1px;height:46px;background:var(--text-dim);}
@media (max-width:760px){ .scroll-cue{display:none} }

/* sections */
section.block{padding:120px 32px;border-bottom:1px solid var(--border);}
.block-head{max-width:720px;margin:0 0 64px;}
.block-head.center{margin-inline:auto;text-align:center;}
.kicker{font-size:12px;font-weight:400;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);
  font-family:var(--font-mono);}
.block-head h2{font-size:clamp(28px,3.6vw,44px);margin-top:18px;font-weight:300;}
.block-head p{margin-top:20px;color:var(--text-muted);font-size:16.5px;max-width:56ch;font-weight:300;}

.num-row{display:grid;grid-template-columns:repeat(3,1fr);gap:0;max-width:1096px;margin:0 auto;}
@media (max-width:800px){ .num-row{grid-template-columns:1fr} }
.num-item{padding:36px 40px;border-left:1px solid var(--border);}
.num-item:first-child{border-left:none;}
@media (max-width:800px){ .num-item{border-left:none;border-top:1px solid var(--border);padding:32px 0;}
  .num-item:first-child{border-top:none;} }
.num-item .idx{font-family:var(--font-mono);font-size:13px;color:var(--accent);}
.num-item h3{font-size:20px;margin-top:16px;font-weight:400;}
.num-item p{margin-top:12px;color:var(--text-muted);font-size:14.5px;font-weight:300;}

.feat-list{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--border);
  max-width:1096px;margin:0 auto;border:1px solid var(--border);}
@media (max-width:900px){ .feat-list{grid-template-columns:1fr} }
.feat{background:rgba(12,10,7,.7);padding:40px;}
.feat span.no{font-family:var(--font-mono);font-size:12px;color:var(--text-dim);}
.feat h3{font-size:17px;margin-top:18px;font-weight:400;}
.feat p{margin-top:12px;color:var(--text-muted);font-size:14px;font-weight:300;}

.badges{display:flex;flex-wrap:wrap;gap:0;max-width:1096px;margin:0 auto;border-top:1px solid var(--border);}
.badge{flex:1 1 220px;padding:22px 0;font-size:13px;color:var(--text-muted);font-family:var(--font-mono);
  border-bottom:1px solid var(--border);}
.badge b{color:var(--text);font-weight:400}

.cta-band{padding:140px 32px;text-align:center;}
.cta-band h2{font-size:clamp(30px,4.4vw,54px);max-width:16ch;margin:0 auto;font-weight:300;}
.cta-band p{margin-top:18px;color:var(--text-muted);font-weight:300;}
.cta-band .hero-actions{justify-content:center;margin-top:36px;}

footer.site{padding:56px 32px 40px;border-top:1px solid var(--border);}
.foot-wrap{max-width:1160px;margin:0 auto;display:flex;justify-content:space-between;flex-wrap:wrap;gap:24px;}
.foot-links{display:flex;gap:28px;list-style:none;padding:0;margin:0;flex-wrap:wrap;}
.foot-links a{text-decoration:none;color:var(--text-muted);font-size:12px;text-transform:uppercase;letter-spacing:.06em;}
.foot-links a:hover{color:var(--text)}
.fine{margin-top:32px;font-size:12px;color:var(--text-dim);max-width:1160px;margin-inline:auto;padding-top:24px;
  border-top:1px solid var(--border);font-weight:300;}

@media (prefers-reduced-motion: reduce){ * { animation-duration:.001ms !important; transition-duration:.001ms !important; } }

/* secondary page hero (no full-bleed canvas) */
.page-hero{padding:180px 32px 80px;border-bottom:1px solid var(--border);}
.page-hero .inner{max-width:1160px;margin:0 auto;}
.page-hero h1{font-size:clamp(34px,5.2vw,64px);max-width:14ch;font-weight:300;}
.page-hero p{margin-top:22px;color:var(--text-muted);font-size:17px;max-width:52ch;font-weight:300;}
.page-hero.with-bg h1,.page-hero.with-bg p{text-shadow:0 2px 4px rgba(0,0,0,.85),0 4px 20px rgba(0,0,0,.6);}

.flow{display:flex;align-items:center;max-width:1096px;margin:0 auto;flex-wrap:wrap;}
.flow-node{flex:1 1 220px;padding:32px 8px;text-align:left;}
.flow-node .no{font-family:var(--font-mono);font-size:12px;color:var(--accent);}
.flow-node b{display:block;font-size:16px;margin-top:12px;font-weight:400;}
.flow-node span{display:block;margin-top:8px;font-size:13px;color:var(--text-muted);font-weight:300;}
.flow-arrow{flex:0 0 44px;height:1px;background:var(--border);position:relative;}
@media (max-width:900px){ .flow-arrow{display:none} }

.assets{display:flex;flex-wrap:wrap;gap:0;max-width:900px;margin:48px 0 0;border-top:1px solid var(--border);
  border-left:1px solid var(--border);}
.asset{font-family:var(--font-mono);font-size:12.5px;padding:14px 20px;color:var(--text-muted);
  border-right:1px solid var(--border);border-bottom:1px solid var(--border);}

.check-list{list-style:none;margin:0;padding:0;max-width:820px;}
.check-list li{display:grid;grid-template-columns:80px 1fr;gap:24px;padding:32px 0;border-bottom:1px solid var(--border);}
.check-list li:first-child{border-top:1px solid var(--border);}
.check-list .idx{font-family:var(--font-mono);font-size:13px;color:var(--accent);}
.check-list b{display:block;font-size:16.5px;font-weight:400;}
.check-list p{margin-top:10px;color:var(--text-muted);font-size:14.5px;font-weight:300;}

.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.photo-parallax{position:relative;min-height:78vh;background-size:cover;background-position:center;
  background-attachment:fixed;display:flex;align-items:flex-end;border-bottom:1px solid var(--border);
  overflow:hidden;}
.photo-parallax::before{content:'';position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(12,10,7,.3) 0%, rgba(12,10,7,.65) 55%, rgba(12,10,7,.95) 100%);}
.photo-parallax .cap{position:relative;z-index:2;max-width:1160px;margin:0 auto;padding:0 32px 56px;
  width:100%;display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;align-items:flex-end;}
.photo-parallax .cap h2{font-size:clamp(24px,3.2vw,36px);max-width:20ch;font-weight:300;color:var(--text);
  text-shadow:0 2px 4px rgba(0,0,0,.85),0 4px 20px rgba(0,0,0,.6);}
.photo-parallax .cap span{color:var(--text-dim);font-size:12.5px;font-family:var(--font-mono);
  letter-spacing:.04em;text-transform:uppercase;text-shadow:0 1px 3px rgba(0,0,0,.85);}
@media (prefers-reduced-motion: reduce), (max-width:800px){ .photo-parallax{background-attachment:scroll;} }
.page-hero.with-bg{position:relative;background-size:cover;background-position:center;
  background-attachment:fixed;min-height:64vh;display:flex;align-items:flex-end;padding-bottom:64px;}
.page-hero.with-bg::before{content:'';position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(12,10,7,.4) 0%, rgba(12,10,7,.72) 55%, rgba(12,10,7,.96) 100%);}
.page-hero.with-bg .inner{position:relative;z-index:2;}
@media (max-width:800px){ .page-hero.with-bg{background-attachment:scroll;} }

/* global rotating photo backdrop — cycles through all 4 photos, replaces the flat black ground */
.bg-rotator{position:fixed;inset:0;z-index:-2;overflow:hidden;}
.bg-layer{position:absolute;inset:0;background-size:cover;background-position:center;
  background-attachment:fixed;opacity:0;transition:opacity 2.2s ease;filter:saturate(.82) contrast(1.05);}
.bg-layer.active{opacity:1;}
.bg-overlay{position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(180deg, rgba(12,10,7,.62) 0%, rgba(12,10,7,.85) 40%, rgba(12,10,7,.97) 100%);}
@media (max-width:800px), (prefers-reduced-motion: reduce){ .bg-layer{background-attachment:scroll;} }


/* legal draft pages */
.legal-draft-badge{display:inline-block;margin:18px 0 34px;padding:8px 14px;border:1px solid var(--scarlet-dim);
  background:rgba(232,116,42,.12);color:var(--scarlet);font-family:var(--font-mono);font-size:12px;
  letter-spacing:.04em;text-transform:uppercase;border-radius:3px;}

/* cookie consent */
.cookie-bar{position:fixed;left:16px;right:16px;bottom:16px;z-index:50;max-width:560px;margin:0 auto;
  background:var(--surface-2);border:1px solid var(--border);border-radius:6px;padding:18px 20px;
  display:flex;flex-wrap:wrap;gap:12px 16px;align-items:center;justify-content:space-between;
  box-shadow:0 12px 40px rgba(0,0,0,.4);transform:translateY(140%);transition:transform .5s ease;}
.cookie-bar.show{transform:translateY(0);}
.cookie-bar p{margin:0;font-size:13px;color:var(--text-muted);flex:1 1 260px;line-height:1.5;}
.cookie-actions{display:flex;gap:10px;flex:none;}
.cookie-actions button{font-family:var(--font-body);font-size:13px;padding:9px 16px;border-radius:3px;cursor:pointer;border:1px solid var(--border);background:transparent;color:var(--text-muted);}
.cookie-actions button.solid{background:var(--accent);border-color:var(--accent);color:var(--ink);font-weight:500;}
@media (max-width:600px){ .cookie-bar{flex-direction:column;align-items:stretch;} .cookie-actions{justify-content:flex-end;} }

/* ===== v2 navigation: dropdowns + mobile menu ===== */
.navlinks li{position:relative;}
.navlinks .has-sub > a::before{content:'';position:absolute;right:-14px;top:9px;width:6px;height:6px;
  border-right:1.5px solid var(--accent);border-bottom:1.5px solid var(--accent);transform:rotate(45deg);opacity:.85;}
.navlinks .has-sub > a::before{right:0;top:8px;}
.navlinks .has-sub > a{padding-right:16px;}
.sub{position:absolute;top:calc(100% + 14px);left:-18px;min-width:250px;padding:10px 0;margin:0;list-style:none;
  background:rgba(12,10,7,.97);border:1px solid var(--border);border-radius:4px;box-shadow:0 18px 50px rgba(0,0,0,.55);
  opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .18s,transform .18s,visibility .18s;z-index:60;}
.sub::before{content:'';position:absolute;left:0;right:0;top:-16px;height:16px;}
.navlinks li:hover > .sub, .navlinks li:focus-within > .sub, .navlinks li.open > .sub{opacity:1;visibility:visible;transform:translateY(0);}
.sub li{display:block;}
.sub a{display:block;padding:11px 20px;font-size:13px;letter-spacing:.04em;text-transform:none;font-weight:400;
  background:none;-webkit-text-fill-color:var(--text-muted);color:var(--text-muted);text-shadow:none;}
.sub a::after{display:none;}
.sub a:hover, .sub a.active{-webkit-text-fill-color:var(--text);color:var(--text);background:rgba(210,175,90,.08);}
.sub a small{display:block;font-size:11.5px;color:var(--text-dim);-webkit-text-fill-color:var(--text-dim);margin-top:2px;font-weight:300;letter-spacing:0;}

.burger{display:none;width:44px;height:44px;border:1px solid var(--border);border-radius:2px;background:rgba(12,10,7,.4);
  backdrop-filter:blur(6px);cursor:pointer;position:relative;flex:none;margin-left:8px;}
.burger span{position:absolute;left:12px;right:12px;height:1.5px;background:var(--text);transition:transform .25s,opacity .2s,top .25s;}
.burger span:nth-child(1){top:15px} .burger span:nth-child(2){top:21px} .burger span:nth-child(3){top:27px}
body.menu-open .burger span:nth-child(1){top:21px;transform:rotate(45deg)}
body.menu-open .burger span:nth-child(2){opacity:0}
body.menu-open .burger span:nth-child(3){top:21px;transform:rotate(-45deg)}
.mobile-menu{position:fixed;inset:0;z-index:49;background:#0C0A07;padding:calc(var(--header-h,72px) + 20px) 24px 40px;
  overflow-y:auto;opacity:0;visibility:hidden;transform:translateY(-8px);transition:opacity .22s,transform .22s,visibility .22s;}
body.menu-open .mobile-menu{opacity:1;visibility:visible;transform:none;}
body.menu-open{overflow:hidden;}
body.menu-open .cookie-bar{display:none;}
body.menu-open header.site{background:#0C0A07;}
.mobile-menu .grp{border-top:1px solid var(--border);padding:18px 0;}
.mobile-menu .grp-t{font-family:var(--font-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);margin-bottom:8px;}
.mobile-menu a{display:block;padding:11px 0;font-size:18px;text-decoration:none;color:var(--text);font-family:var(--font-display);font-weight:300;}
.mobile-menu a.active{color:var(--accent);}
.mobile-menu .btn{display:inline-flex;margin-top:18px;font-family:var(--font-body);font-size:13px;}
@media (max-width:980px){
  .navlinks{display:none}
  .burger{display:block}
  .nav{flex-wrap:nowrap;padding:14px 20px;}
  .nav > .btn.solid{display:none;}
}

/* ===== page body components ===== */
.doc-wrap{max-width:1160px;margin:0 auto;padding:0 32px;display:grid;grid-template-columns:220px minmax(0,1fr);gap:64px;}
@media (max-width:980px){ .doc-wrap{grid-template-columns:minmax(0,1fr);gap:0;} }
.subnav{position:sticky;top:calc(var(--header-h,72px) + 24px);align-self:start;padding-top:6px;}
.subnav ul{list-style:none;margin:0;padding:0;border-left:1px solid var(--border);}
.subnav a{display:block;padding:8px 18px;font-size:13px;color:var(--text-muted);text-decoration:none;
  border-left:1.5px solid transparent;margin-left:-1px;transition:color .15s,border-color .15s;}
.subnav a:hover{color:var(--text)}
.subnav a.cur{color:var(--text);border-left-color:var(--accent);}
.subnav .ret{margin-top:22px;padding:0 18px;font-family:var(--font-mono);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;}
.subnav .ret a{padding:0;border:none;margin:0;color:var(--accent);}
@media (max-width:980px){ .subnav{position:static;margin-bottom:28px;}
  .subnav ul{display:flex;flex-wrap:wrap;gap:4px 14px;border:none;}
  .subnav a{padding:6px 0;border-left:none;border-bottom:1.5px solid transparent;margin:0;}
  .subnav a.cur{border-bottom-color:var(--accent);} .subnav .ret{display:none} }
.doc-body{max-width:760px;padding:8px 0 40px;}
.doc-body > :first-child{margin-top:0}
.sec-h{font-family:var(--font-display);font-weight:400;font-size:clamp(24px,2.6vw,32px);margin:64px 0 18px;letter-spacing:-.01em;
  scroll-margin-top:calc(var(--header-h,72px) + 24px);}
.sec-h3{font-family:var(--font-display);font-weight:500;font-size:19px;margin:34px 0 10px;}
.sec-p{color:var(--text-muted);font-size:15.5px;line-height:1.7;font-weight:300;margin:0 0 14px;}
.sec-lead{color:var(--text);font-size:18px;line-height:1.6;font-weight:300;margin:0 0 28px;max-width:60ch;}
.doc-body a{color:var(--accent);text-decoration:none;border-bottom:1px solid var(--accent-dim);}
.doc-body a:hover{border-bottom-color:var(--accent);}
.doc-body a.btn{border-bottom:none;color:var(--text);margin-top:10px;}
.doc-body a.btn.solid{color:var(--ink);}
.doc-body b{color:var(--text);font-weight:500;}
.note{border:1px solid var(--border);border-left:3px solid var(--accent);background:rgba(210,175,90,.06);padding:16px 20px;
  border-radius:3px;margin:22px 0;font-size:14.5px;color:var(--text-muted);line-height:1.65;}
.note.warn{border-left-color:var(--scarlet);background:rgba(232,116,42,.08);}
.note p{margin:0} .note b{color:var(--text)}
ol.steps{list-style:none;counter-reset:st;margin:20px 0;padding:0;}
ol.steps li{counter-increment:st;display:grid;grid-template-columns:56px 1fr;gap:16px;padding:20px 0;border-top:1px solid var(--border);}
ol.steps li:last-child{border-bottom:1px solid var(--border);}
ol.steps li::before{content:counter(st,decimal-leading-zero);font-family:var(--font-mono);font-size:13px;color:var(--accent);padding-top:3px;}
ol.steps b{display:block;font-weight:500;font-size:16px;color:var(--text);}
ol.steps span{display:block;margin-top:6px;font-size:14.5px;color:var(--text-muted);line-height:1.6;font-weight:300;}
ul.dots{margin:14px 0 22px;padding:0 0 0 20px;color:var(--text-muted);font-size:15px;line-height:1.7;font-weight:300;}
ul.dots li{margin:6px 0;} ul.dots li::marker{color:var(--accent);}
.tbl-wrap{overflow-x:auto;margin:18px 0 28px;border:1px solid var(--border);border-radius:4px;}
table.tbl{width:100%;border-collapse:collapse;font-size:14.5px;min-width:480px;}
.tbl th{text-align:left;font-family:var(--font-mono);font-weight:400;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;
  color:var(--accent);padding:14px 18px;border-bottom:1px solid var(--border);background:rgba(210,175,90,.05);}
.tbl td{padding:14px 18px;border-bottom:1px solid var(--border);color:var(--text-muted);vertical-align:top;line-height:1.55;font-weight:300;}
.tbl td:first-child{color:var(--text);font-weight:400;}
.tbl tr:last-child td{border-bottom:none}
.tbl td b{color:var(--text);font-weight:500}
.tbd{display:inline-block;font-family:var(--font-mono);font-size:12px;color:var(--text-dim);border:1px dashed var(--border);
  padding:2px 8px;border-radius:3px;}
dl.kv{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1px;background:var(--border);border:1px solid var(--border);
  margin:18px 0 28px;padding:0;}
dl.kv > div{background:rgba(12,10,7,.7);padding:18px 20px;}
dl.kv dt{font-family:var(--font-mono);font-size:11px;letter-spacing:.1em;text-transform:uppercase;color:var(--text-dim);}
dl.kv dd{margin:8px 0 0;font-size:17px;color:var(--text);font-weight:400;}
.cards2{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1px;background:var(--border);border:1px solid var(--border);margin:18px 0 28px;}
.cards2 .card{background:rgba(12,10,7,.7);padding:28px;}
.cards2 .card .sec-h3{margin-top:0}
.faq{margin:10px 0 30px;border-top:1px solid var(--border);}
.faq details{border-bottom:1px solid var(--border);}
.faq summary{cursor:pointer;list-style:none;padding:18px 40px 18px 0;font-size:16.5px;color:var(--text);font-weight:400;position:relative;line-height:1.45;}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:'';position:absolute;right:8px;top:24px;width:9px;height:9px;border-right:1.5px solid var(--accent);
  border-bottom:1.5px solid var(--accent);transform:rotate(45deg);transition:transform .2s;}
.faq details[open] summary::after{transform:rotate(225deg);top:28px;}
.faq summary:hover{color:var(--accent)}
.faq-a{padding:0 0 20px;} .faq-a .sec-p:last-child{margin-bottom:0}
.doc-hero{padding:170px 32px 64px;border-bottom:1px solid var(--border);position:relative;background-size:cover;background-position:center;}
.doc-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg, rgba(12,10,7,.45) 0%, rgba(12,10,7,.8) 60%, rgba(12,10,7,.97) 100%);}
.doc-hero .inner{position:relative;z-index:2;max-width:1160px;margin:0 auto;}
.doc-hero h1{font-size:clamp(32px,4.6vw,56px);max-width:16ch;font-weight:300;margin-top:12px;text-shadow:0 2px 4px rgba(0,0,0,.85),0 4px 20px rgba(0,0,0,.6);}
.doc-hero p{margin-top:20px;color:var(--text-muted);font-size:17px;max-width:54ch;font-weight:300;text-shadow:0 1px 4px rgba(0,0,0,.85);}
.doc-hero .crumbs{font-family:var(--font-mono);font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);}
.doc-hero .crumbs a{color:var(--text-dim);text-decoration:none;} .doc-hero .crumbs a:hover{color:var(--text)}
.doc-hero .crumbs i{font-style:normal;color:var(--text-dim);margin:0 8px;}
section.doc-block{padding:56px 0 80px;border-bottom:1px solid var(--border);}
.legal-page .doc-body{max-width:760px}
.doc-index{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1px;background:var(--border);border:1px solid var(--border);margin:24px 0;}
.doc-index a{display:block;background:rgba(12,10,7,.7);padding:24px;text-decoration:none;border:none;color:var(--text);transition:background .2s;}
.doc-index a:hover{background:rgba(210,175,90,.08);}
.doc-index a b{display:block;font-family:var(--font-display);font-weight:400;font-size:18px;}
.doc-index a span{display:block;margin-top:8px;font-size:13.5px;color:var(--text-muted);font-weight:300;}
.doc-index a small{display:block;margin-top:12px;font-family:var(--font-mono);font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);}

/* ===== footer v2 ===== */
.foot-grid{max-width:1160px;margin:0 auto;display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:32px;}
@media (max-width:900px){ .foot-grid{grid-template-columns:1fr 1fr;} }
@media (max-width:520px){ .foot-grid{grid-template-columns:1fr;} }
.foot-col h4{margin:0 0 14px;font-family:var(--font-mono);font-weight:400;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);}
.foot-col ul{list-style:none;margin:0;padding:0;}
.foot-col li{margin:0 0 9px;}
.foot-col a{text-decoration:none;color:var(--text-muted);font-size:13.5px;font-weight:300;}
.foot-col a:hover{color:var(--text)}
.foot-col .brand{margin-bottom:14px;display:inline-flex;}
.foot-col .tag{font-size:13px;color:var(--text-dim);max-width:30ch;font-weight:300;line-height:1.6;}
/* ---- promo video (Cards) ---- */
.promo{position:relative;padding:72px 0 8px;overflow:hidden;background:var(--bg);}
.promo:before{content:"";position:absolute;inset:-40% -20% auto;height:120%;background:radial-gradient(ellipse at 50% 0%,rgba(210,175,90,.16),rgba(210,175,90,0) 55%);pointer-events:none;}
.promo .wrap{position:relative;z-index:1;}
.promo-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:26px;flex-wrap:wrap;}
.promo-eyebrow{display:inline-flex;align-items:center;gap:10px;font-family:var(--font-mono);font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--accent);}
.promo-eyebrow i{width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 0 var(--accent-dim);animation:promoPulse 1.8s ease-out infinite;}
@keyframes promoPulse{0%{box-shadow:0 0 0 0 var(--accent-dim)}100%{box-shadow:0 0 0 12px rgba(210,175,90,0)}}
.promo-head h2{font-family:var(--font-display);font-weight:300;font-size:clamp(28px,3.6vw,44px);line-height:1.08;margin:12px 0 0;max-width:18ch;text-wrap:balance;letter-spacing:-.01em;}
.promo-head p{margin:0;color:var(--text-muted);font-size:16px;line-height:1.55;max-width:38ch;}
.promo-stage{position:relative;opacity:0;transform:translateY(28px) scale(.985);transition:opacity .9s cubic-bezier(.2,.7,.2,1),transform .9s cubic-bezier(.2,.7,.2,1);}
.promo-stage.in{opacity:1;transform:none;}
.promo-box{position:relative;}
.promo-frame{position:relative;border-radius:22px;padding:1px;background:conic-gradient(from var(--pa,0deg),rgba(210,175,90,.05),rgba(210,175,90,.85) 18%,rgba(210,175,90,.06) 36%,rgba(247,227,161,.55) 60%,rgba(210,175,90,.05) 80%,rgba(210,175,90,.05));box-shadow:0 30px 80px -20px rgba(0,0,0,.85),0 0 120px -30px rgba(210,175,90,.35);}
@property --pa{syntax:'<angle>';initial-value:0deg;inherits:false;}
.promo-stage.in .promo-frame{animation:promoSpin 9s linear infinite;}
@keyframes promoSpin{to{--pa:360deg}}
.promo-inner{position:relative;border-radius:21px;overflow:hidden;background:#000;aspect-ratio:16/9;}
.promo-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.02);transition:transform 1.4s ease;}
.promo-frame:hover .promo-video{transform:scale(1);}
.promo-inner:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.85) 0%,rgba(0,0,0,.25) 38%,rgba(0,0,0,0) 60%);pointer-events:none;}
.promo-ui{position:absolute;left:1px;right:1px;bottom:1px;z-index:2;display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:22px 24px;flex-wrap:wrap;}
.promo-tag{font-family:var(--font-mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--text-muted);display:flex;gap:14px;align-items:center;}
.promo-tag b{color:var(--text);font-weight:500;}
.promo-actions{display:flex;gap:10px;flex-wrap:wrap;}
.promo-btn{display:inline-flex;align-items:center;gap:10px;height:44px;padding:0 18px;border-radius:999px;border:1px solid rgba(244,239,227,.35);background:rgba(12,10,7,.55);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:var(--text);font:500 14px/1 var(--font-body);cursor:pointer;transition:background .2s,border-color .2s,transform .2s;text-decoration:none;}
.promo-btn:hover{background:rgba(12,10,7,.8);border-color:var(--accent);transform:translateY(-1px);}
.promo-btn:focus-visible{outline:2px solid var(--accent);outline-offset:2px;}
.promo-btn.gold{background:var(--accent);border-color:var(--accent);color:var(--ink);}
.promo-btn.gold:hover{background:var(--champagne);}
.promo-btn svg{width:16px;height:16px;flex:none;}
.promo-progress{position:absolute;left:0;right:0;bottom:0;height:2px;z-index:3;background:rgba(244,239,227,.12);}
.promo-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--accent),var(--champagne));transition:width .25s linear;}
.promo-caps{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin:28px 0 0;border-top:1px solid var(--border);}
.promo-caps div{padding:18px 20px 0 0;}
.promo-caps b{display:block;font-family:var(--font-display);font-weight:300;font-size:26px;color:var(--text);letter-spacing:-.01em;}
.promo-caps span{display:block;margin-top:4px;color:var(--text-dim);font-size:13px;line-height:1.4;}
@media (max-width:760px){
.promo{padding:52px 0 0;}
.promo-inner{aspect-ratio:16/9;border-radius:13px;}
.promo-frame{border-radius:14px;}
.promo-ui{position:static;padding:14px 0 0;}
.promo-tag{display:none;}
.promo-actions{width:100%;}
.promo-actions .promo-btn{flex:1;justify-content:center;}
.promo-ui{padding:16px;}
.promo-btn{height:42px;padding:0 15px;font-size:13px;}
.promo-caps{grid-template-columns:1fr 1fr;}
.promo-caps div:last-child{grid-column:1/-1;}
}
@media (prefers-reduced-motion:reduce){
.promo-stage{opacity:1;transform:none;transition:none;}
.promo-stage.in .promo-frame{animation:none;}
.promo-eyebrow i{animation:none;}
}
@media (max-width:600px){.cookie-bar p{flex:0 0 auto;}}
/* ---- anti-loss callout ---- */
.safe-note{display:flex;gap:20px;align-items:flex-start;max-width:1096px;margin:56px auto 0;padding:24px 26px;border:1px solid rgba(232,116,42,.45);background:linear-gradient(180deg,rgba(232,116,42,.09),rgba(232,116,42,.04));border-radius:12px;}
.safe-ico{flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:var(--scarlet);border:1px solid rgba(232,116,42,.5);background:rgba(12,10,7,.6);}
.safe-ico svg{width:22px;height:22px;}
.safe-body{min-width:0;}
.safe-k{display:block;font-family:var(--font-mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:var(--scarlet);margin-bottom:8px;}
.safe-body b{display:block;font-family:var(--font-display);font-weight:400;font-size:clamp(19px,2vw,24px);line-height:1.25;color:var(--text);margin-bottom:10px;text-wrap:balance;}
.safe-body p{margin:0 0 14px;color:var(--text-muted);font-size:15px;line-height:1.6;max-width:70ch;}
.safe-link{color:var(--accent);text-decoration:none;font-weight:500;font-size:14px;border-bottom:1px solid var(--accent-dim);}
.safe-link:hover{border-bottom-color:var(--accent);}
@media (max-width:760px){.safe-note{margin-top:36px;padding:18px;gap:14px;border-radius:10px;}.safe-ico{width:36px;height:36px;}.safe-ico svg{width:18px;height:18px;}}

/* ===== v3 additions ===== */
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
html[lang="ru"] h1,html[lang="ru"] h2,html[lang="ru"] h3,html[lang="ru"] .safe-body b,html[lang="ru"] .doc-index a b,html[lang="ru"] .mobile-menu a{font-weight:400;}
html[lang="ru"] .hero h1{font-size:clamp(34px,5.4vw,66px);line-height:1.08;}
html[lang="ru"] .block-head h2{font-size:clamp(31px,4vw,50px);}
html[lang="ru"] .doc-body h2{font-size:clamp(27px,3vw,37px);}
html[lang="ru"] .doc-body h3{font-size:22px;}
html[lang="ru"] .doc-hero h1,html[lang="ru"] .page-hero h1{font-size:clamp(36px,5.2vw,64px);}
html[lang="ru"] .promo-head h2{font-size:clamp(31px,4vw,50px);}
html[lang="ru"] .num-item h3{font-size:23px;} html[lang="ru"] .feat h3{font-size:20px;} html[lang="ru"] .cta-band h2{font-size:clamp(34px,4.8vw,60px);}
html[lang="ru"] .safe-body b{font-size:clamp(21px,2.2vw,27px);}
.skip{position:absolute;left:-999px;top:8px;z-index:200;background:var(--accent);color:var(--ink);padding:10px 16px;border-radius:3px;font-weight:500;}
.skip:focus{left:8px;}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;}
.bg-p1{background-image:url("/assets/photo-1.webp")} .bg-p2{background-image:url("/assets/photo-2.webp")} .bg-p3{background-image:url("/assets/photo-3.webp")} .bg-p4{background-image:url("/assets/photo-4.webp")}
@media (max-width:800px){ .bg-p1{background-image:url("/assets/photo-1-800.webp")} .bg-p2{background-image:url("/assets/photo-2-800.webp")} .bg-p3{background-image:url("/assets/photo-3-800.webp")} .bg-p4{background-image:url("/assets/photo-4-800.webp")} }
.noline{border-bottom:none!important}
.nopad-b{padding-bottom:0!important}
.page-hero h1.mt{margin-top:12px}
/* language menu */
.lang{position:relative;margin-right:10px;}
.lang > button{display:inline-flex;align-items:center;gap:8px;background:transparent;border:1px solid var(--border);color:var(--text-muted);font-family:var(--font-mono);font-size:12px;letter-spacing:.04em;text-transform:uppercase;padding:8px 12px;border-radius:2px;cursor:pointer;}
.lang > button::after{content:'';width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-3px;}
.lang > button:hover{color:var(--text);border-color:var(--accent-dim);}
.lang ul{position:absolute;right:0;top:calc(100% + 8px);margin:0;padding:6px 0;list-style:none;min-width:160px;background:rgba(12,10,7,.97);border:1px solid var(--border);border-radius:4px;box-shadow:0 18px 50px rgba(0,0,0,.55);opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .18s,transform .18s,visibility .18s;z-index:60;}
.lang.open ul{opacity:1;visibility:visible;transform:none;}
.lang li a{display:flex;justify-content:space-between;gap:16px;padding:9px 14px;font-size:13px;color:var(--text-muted);text-decoration:none;}
.lang li a:hover,.lang li a[aria-current="true"]{color:var(--text);background:rgba(210,175,90,.08);}
.lang li a small{font-family:var(--font-mono);font-size:11px;color:var(--text-dim);}
@media (max-width:760px){ .lang{margin-right:6px;} .lang > button{font-size:11px;padding:7px 10px;} }
.mobile-menu .langs{display:flex;flex-wrap:wrap;gap:8px;padding:18px 0;border-top:1px solid var(--border);}
.mobile-menu .langs a{display:inline-block;padding:8px 12px;border:1px solid var(--border);border-radius:2px;font:400 12px/1 var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted);}
.mobile-menu .langs a[aria-current="true"]{color:var(--text);border-color:var(--accent);}
/* doc body: markdown output */
.doc-body h2{font-family:var(--font-display);font-weight:400;font-size:clamp(24px,2.6vw,32px);margin:64px 0 18px;letter-spacing:-.01em;scroll-margin-top:calc(var(--header-h,72px) + 24px);}
.doc-body h2:first-child{margin-top:0}
.doc-body h3{font-family:var(--font-display);font-weight:500;font-size:19px;margin:34px 0 10px;}
.doc-body p{color:var(--text-muted);font-size:15.5px;line-height:1.7;font-weight:300;margin:0 0 14px;}
.doc-body ul,.doc-body ol:not(.steps){margin:14px 0 22px;padding:0 0 0 20px;color:var(--text-muted);font-size:15px;line-height:1.7;font-weight:300;}
.doc-body li{margin:6px 0;} .doc-body ul li::marker{color:var(--accent);} .doc-body ol:not(.steps) li::marker{color:var(--accent);}
.doc-body blockquote{border:1px solid var(--border);border-left:3px solid var(--accent);background:rgba(210,175,90,.06);padding:16px 20px;border-radius:3px;margin:22px 0;font-size:14.5px;color:var(--text-muted);line-height:1.65;}
.doc-body blockquote p{margin:0;font-size:inherit}
.doc-body strong{color:var(--text);font-weight:500;}
.doc-body table{width:100%;border-collapse:collapse;font-size:14.5px;min-width:480px;}
.doc-body table th{text-align:left;font-family:var(--font-mono);font-weight:400;font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);padding:14px 18px;border-bottom:1px solid var(--border);background:rgba(210,175,90,.05);}
.doc-body table td{padding:14px 18px;border-bottom:1px solid var(--border);color:var(--text-muted);vertical-align:top;line-height:1.55;font-weight:300;}
.doc-body table td:first-child{color:var(--text);font-weight:400;}
.doc-body table tr:last-child td{border-bottom:none}
.doc-meta{display:flex;flex-wrap:wrap;gap:10px 22px;align-items:center;margin:0 0 26px;font-family:var(--font-mono);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--text-dim);}
.doc-nav{display:flex;justify-content:space-between;gap:16px;margin:56px 0 0;padding-top:24px;border-top:1px solid var(--border);flex-wrap:wrap;}
.doc-nav a{text-decoration:none;color:var(--text-muted);font-size:14px;border:none;}
.doc-nav a:hover{color:var(--text)}
.doc-nav a small{display:block;font-family:var(--font-mono);font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);margin-bottom:4px;}
.doc-nav a.next{text-align:right}
.crumbs{font-family:var(--font-mono);font-size:11.5px;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);}
.crumbs a{color:var(--text-dim);text-decoration:none;} .crumbs a:hover{color:var(--text)}
.crumbs i{font-style:normal;color:var(--text-dim);margin:0 8px;}
.page-hero .crumbs{margin-bottom:10px}
.notfound{min-height:70vh;display:flex;align-items:center;padding:160px 32px 80px;}
.notfound .inner{max-width:720px;margin:0 auto;text-align:center;}
.notfound h1{font-size:clamp(40px,7vw,96px);font-weight:300;}
.notfound p{margin-top:16px;color:var(--text-muted);}
.notfound .hero-actions{justify-content:center}
.lang-hint{position:fixed;left:16px;right:16px;top:calc(var(--header-h,72px) + 12px);z-index:48;max-width:560px;margin:0 auto;background:var(--surface-2);border:1px solid var(--border);border-radius:6px;padding:12px 16px;display:none;gap:12px;align-items:center;justify-content:space-between;box-shadow:0 12px 40px rgba(0,0,0,.4);font-size:13.5px;color:var(--text-muted);}
.lang-hint.show{display:flex}
.lang-hint a{color:var(--text);font-weight:500;text-decoration:none;border-bottom:1px solid var(--accent-dim);}
.lang-hint button{background:none;border:none;color:var(--text-dim);cursor:pointer;font-size:20px;line-height:1;padding:2px 6px;}
ol.steps li::before{grid-row:1/span 2}
ol.steps li > b,ol.steps li > span{grid-column:2}
.doc-hero h1,.page-hero h1{line-height:1.1}
.promo-btn.icon{width:44px;padding:0;justify-content:center;}
.promo-btn.on{background:rgba(232,116,42,.22);border-color:var(--warn);}
.promo-inner:fullscreen{border-radius:0;aspect-ratio:auto;background:#000;}
.promo-inner:fullscreen .promo-video{transform:none;object-fit:contain;}
.promo-inner:fullscreen:after{display:none}
.promo-inner:fullscreen .promo-progress{display:none}
@media (max-width:760px){.promo-btn.icon{flex:0 0 42px;width:42px;}}
.promo-stage{opacity:1;transform:none}
.promo-stage.pre{opacity:0;transform:translateY(28px) scale(.985);}
.promo-stage.pre.in{opacity:1;transform:none;}

/* ===== v3.1 polish (05.09) ===== */
/* 17.09: individual exchange section on home */
.xch{padding-top:0}
.xch-grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:32px 64px;align-items:start;padding:44px 0 8px;border-top:1px solid var(--border)}
.xch-head h2{font-size:clamp(28px,3.4vw,42px);margin:10px 0 0;text-wrap:balance}
.xch-body p{margin:0 0 14px;font-size:var(--fs-body);color:var(--text-muted)}
.xch-body p:first-child{color:var(--text);font-size:calc(var(--fs-body) + 2px)}
.xch-body .hero-actions{margin-top:22px;justify-content:flex-start;flex-direction:row;flex-wrap:wrap}
@media (max-width:900px){.xch-grid{grid-template-columns:1fr;gap:18px;padding-top:32px}}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
:root{--header-h:79px}
@media (max-width:1199px){:root{--header-h:69px}}
.tbl th[scope="row"],.doc-body table th[scope="row"]{font-weight:400;color:var(--text);text-align:left;font-family:var(--font-body);font-size:inherit;letter-spacing:0;text-transform:none;padding:14px 18px;border-bottom:1px solid var(--border);vertical-align:top;background:none}
.tbl thead td{border-bottom:1px solid var(--border)}
.flow{list-style:none;padding:0}
.trust-line{max-width:760px;row-gap:10px;column-gap:28px}
.trust-line span{white-space:nowrap}
header.site:not(.scrolled){background:linear-gradient(rgba(12,10,7,.62),rgba(12,10,7,0))}
.navlinks a,.lang>button{text-shadow:0 1px 8px rgba(0,0,0,.55)}
.foot-col h3{margin:0 0 14px;font-family:var(--font-mono);font-weight:400;font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--accent);}
h1,h2,h3{line-height:1.15}
.hero h1{line-height:1.1}
.cta-band h2{line-height:1.08}
.photo-parallax .cap h2{line-height:1.15}
.doc-body h2,.sec-h{line-height:1.2}
section.block{padding-inline:max(32px,calc((100% - 1096px)/2))}
@media (min-width:801px){.num-item:first-child{padding-left:0}.num-item:last-child{padding-right:0}}
.check-list{max-width:1096px;margin:0 auto}
.check-list li{grid-template-columns:80px minmax(0,72ch)}
@media (max-width:800px){.check-list li{grid-template-columns:48px 1fr;gap:16px}}
@media (max-width:760px){.hero .lede{font-size:15.5px;line-height:1.55}}

/* =====================================================================
   v4 design polish (05.09) — tokens, alignment, one button system,
   type scale, spacing rhythm, mobile/tablet fixes, print.
   Everything below intentionally overrides earlier rules.
   ===================================================================== */
:root{
  --surface-0:#0C0A07;--surface-1:#131009;--surface-2:#1A1610;--line:#2A2519;--line-soft:rgba(42,37,25,.6);
  --scarlet-text:var(--warn);
  --fs-xs:12px;--fs-sm:13px;--fs-md:14px;--fs-body:16px;--fs-lead:18px;
  --track-label:.12em;--track-ui:.06em;
  --r-1:2px;--r-2:6px;--r-3:12px;
  --s-1:8px;--s-2:16px;--s-3:24px;--s-4:40px;--s-5:64px;--s-6:96px;--s-7:128px;
  --gutter:32px;--ease:cubic-bezier(.2,.7,.2,1);
}
@media (max-width:760px){:root{--s-4:32px;--s-5:48px;--s-6:72px;--s-7:88px}}
@media (max-width:600px){:root{--gutter:20px}}

/* ---- typography fundamentals ---- */
body{font-feature-settings:"kern","liga","calt";text-rendering:optimizeLegibility}
h1,h2,h3,.promo-caps b,.notfound h1,.safe-body b,.doc-index a b,.mobile-menu a{font-variant-numeric:lining-nums;font-feature-settings:"kern","liga";hanging-punctuation:first}
.tbl td,.doc-body table td,dl.kv dd,.promo-caps b,.badge,.trust-line{font-variant-numeric:lining-nums tabular-nums}
p,dd,.doc-body li,ul.dots li,.lede,.block-head p,.flow-node span,.check-list p,.safe-body p{text-wrap:pretty}
[hidden]{display:none !important}
.doc-body p,.doc-body li{hyphens:auto;-webkit-hyphens:auto}
.hero h1{max-width:22ch}
.doc-hero h1,.page-hero h1{max-width:18ch}
.cta-band p{max-width:52ch;margin-inline:auto}
/* type scale: 12 / 13 / 14 / 16 / 18 */
.doc-body p,.sec-p,ul.dots,.doc-body ul,.doc-body ol:not(.steps),.block-head p,.promo-head p,.cta-band p{font-size:var(--fs-body)}
.page-hero p,.doc-hero p,.hero .lede,.sec-lead{font-size:var(--fs-lead)}
.num-item p,.feat p,.check-list p,ol.steps span,.note,.doc-body blockquote,table.tbl,.doc-body table,.safe-body p,.flow-node span,.subnav a,.foot-col a,.doc-nav a,.safe-link,.doc-index a span{font-size:var(--fs-md)}
.badge,.asset,.promo-caps span,.lang-hint,.lang li a,.sub a,.cookie-bar p,.foot-col .tag,.mobile-menu .btn{font-size:var(--fs-sm)}
.fine,.trust-line,.eyebrow,.kicker,.sub a small,dl.kv dt,.foot-col h3,.foot-col h4,.foot-col .foot-h,.promo-eyebrow,.promo-tag,.safe-k,.mobile-menu .grp-t,.doc-index a small,.doc-nav a small,.tbl th,.doc-body table th,.crumbs,.doc-meta,.subnav .ret,.legal-draft-badge,.photo-parallax .cap span,.scroll-cue,.lang > button,.mobile-menu .langs a{font-size:var(--fs-xs)}
/* tracking: one value for small mono caps labels, one for UI/buttons */
.eyebrow,.kicker,.foot-col h3,.foot-col h4,.foot-col .foot-h,.safe-k,.promo-eyebrow,.promo-tag,.scroll-cue,.mobile-menu .grp-t,.tbl th,.doc-body table th,.crumbs,.doc-hero .crumbs,dl.kv dt,.doc-meta,.foot-links a,.doc-nav a small,.doc-index a small,.subnav .ret,.legal-draft-badge,.photo-parallax .cap span{letter-spacing:var(--track-label)}
.btn,.lang > button,.mobile-menu .langs a,.navlinks a,.promo-btn,.cookie-actions button{letter-spacing:var(--track-ui)}
.kicker,.eyebrow,.safe-k,.promo-eyebrow{margin-left:.04em} /* optical: letter-spaced caps sit a hair left */
/* measure */
.doc-body p,.doc-body li,.sec-lead,.doc-body blockquote{max-width:68ch}
.doc-body > .note,.doc-body blockquote{max-width:none}
/* headings in list components: display serif, one size */
.check-list b,.flow-node b,ol.steps b{font-family:var(--font-display);font-weight:400;font-size:20px;line-height:1.2;letter-spacing:-.01em;color:var(--text)}
html[lang="ru"] .check-list b,html[lang="ru"] .flow-node b,html[lang="ru"] ol.steps b{font-size:22px}
html[lang="ru"] .doc-index a b{font-size:21px} html[lang="ru"] .mobile-menu a{font-size:20px}
.check-list .idx,ol.steps li::before{padding-top:5px}
ol.steps li{gap:0 16px}
ol.steps span{margin-top:6px}
.flow-node .no{margin-top:0}
dl.kv dd{font-size:var(--fs-lead)}

/* ---- header / nav ---- */
.navlinks{justify-content:flex-start;gap:36px;margin:0 32px 0 44px}
.navlinks li{white-space:nowrap}
.navlinks a{display:inline-block}
.sub a{display:block;-webkit-text-fill-color:var(--text-muted);color:var(--text-muted);text-shadow:none}
.sub a:hover,.sub a.active{-webkit-text-fill-color:var(--text);color:var(--text)}
.btn svg{width:16px;height:16px;flex:none}
.navlinks a{background:none;-webkit-text-fill-color:var(--accent);color:var(--accent);text-shadow:0 1px 6px rgba(0,0,0,.6)}
.navlinks a:hover,.navlinks a.active{background:none;-webkit-text-fill-color:var(--text);color:var(--text)}
.navlinks .has-sub > a::before{top:calc(50% - 6px);right:0}
.navlinks a::after{right:auto;width:100%;transform:scaleX(0);transform-origin:left;transition:transform .3s var(--ease)}
.navlinks .has-sub > a::after{width:calc(100% - 16px)}
.navlinks a.active::after,.navlinks a:hover::after{right:auto;transform:scaleX(1)}
.lang > button{height:40px;padding:0 12px;border-radius:var(--r-1);transition:color .25s,border-color .25s}
.lang ul,.sub{background:var(--surface-2);border-radius:var(--r-1)}
.lang:focus-within ul{opacity:1;visibility:visible;transform:none}
.nav > .btn.solid{min-height:40px;padding:0 20px}
.nav{padding-inline:var(--gutter)}
.burger{width:40px;height:40px;border-radius:var(--r-1);margin-left:12px}
.burger span{left:11px;right:11px}
.burger span:nth-child(1){top:13px} .burger span:nth-child(2){top:19px} .burger span:nth-child(3){top:25px}
body.menu-open .burger span:nth-child(1),body.menu-open .burger span:nth-child(3){top:19px}
/* tablet: the desktop nav does not fit RU/DE until ~1200px */
@media (max-width:1199px){
  .navlinks{display:none} .burger{display:block}
  .nav{flex-wrap:nowrap;padding:14px var(--gutter)}
  .nav > .btn.solid{display:none}
  .lang{margin-left:auto}
}
.mobile-menu{background:var(--surface-0)}
.mobile-menu a.btn{padding:0 26px;min-height:44px;width:100%;justify-content:center;font-weight:500;color:var(--ink)}
.mobile-menu .langs a[lang]{border-radius:var(--r-1);font:400 var(--fs-xs)/1 var(--font-mono);letter-spacing:var(--track-ui)}
.mobile-menu a.btn{white-space:normal;text-align:center;line-height:1.3}
/* language hint: absolute below the header (scrolls away), opaque */
.lang-hint{position:absolute;top:calc(var(--header-h,92px) + 8px);left:50%;right:auto;transform:translateX(-50%);width:min(560px,calc(100% - 2*var(--gutter)));margin:0;background:var(--surface-2);border-radius:var(--r-2);z-index:48}

/* when the hint is shown, push hero content below it (no JS needed) */

/* ---- one button system ---- */
.btn{font-weight:500;min-height:44px;padding:0 calc(24px - .06em) 0 24px;border-radius:var(--r-1);white-space:nowrap;line-height:1.2;
  transition:transform .25s var(--ease),background .25s,border-color .25s,color .25s,opacity .25s}
button.btn{appearance:none;-webkit-appearance:none}
.btn:hover{opacity:1;transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn:not(.solid):hover{background:rgba(244,239,227,.1);border-color:var(--accent)}
.btn.icon{width:44px;padding:0;justify-content:center}
.promo-btn{border-radius:var(--r-1);text-transform:uppercase;font-size:13px;font-weight:500;transition:background .25s,border-color .25s,transform .25s var(--ease)}
.promo-btn.icon{border-radius:var(--r-1)}
.cookie-actions button{border-radius:var(--r-1);text-transform:uppercase;font-size:12px;font-weight:500;padding:0 16px;height:36px;font-family:var(--font-body);transition:background .25s,border-color .25s,color .25s}
.cookie-actions button:hover{color:var(--text);border-color:var(--accent-dim)}
.cookie-actions button.solid:hover{background:var(--champagne);border-color:var(--champagne);color:var(--ink)}
.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin:var(--s-3) 0}
.doc-body a.btn{margin-top:0}
.doc-body p > a + a{margin-left:16px}

/* ---- radius / surface tokens ---- */
.safe-note,.promo-frame{border-radius:var(--r-3)}
.promo-inner{border-radius:calc(var(--r-3) - 1px)}
.cookie-bar{border-radius:var(--r-2);background:var(--surface-2)}
.note,.doc-body blockquote,.tbd,.skip,.legal-draft-badge,.tbl-wrap{border-radius:var(--r-1)}
.feat,dl.kv > div,.cards2 .card,.doc-index a{background:var(--surface-1)}
@media (max-width:760px){.promo-frame,.safe-note{border-radius:var(--r-3)}.promo-inner{border-radius:calc(var(--r-3) - 1px)}}
/* grids with hairline gaps: draw lines per cell so an odd item count never shows a solid empty cell */
dl.kv,.cards2,.doc-index,.feat-list{background:transparent;gap:1px;border:1px solid var(--border)}
dl.kv > div,.cards2 .card,.doc-index a,.feat{box-shadow:0 0 0 1px var(--border)}
.doc-index a{display:flex;flex-direction:column}
.doc-index a small{margin-top:auto;padding-top:12px}
.doc-index a b{transition:color .25s}
.doc-index a:hover b{color:var(--accent)}

/* ---- alignment: one 1096px content column everywhere ---- */
.doc-hero .inner,.page-hero .inner{max-width:1096px}
.page-hero.with-bg .inner{width:100%}
.foot-grid,.fine{max-width:1096px}
.hero-inner,.doc-wrap,.wrap,.doc-hero,.page-hero,.cta-band,.notfound,.photo-parallax .cap{padding-inline:var(--gutter)}
section.block{padding-inline:max(var(--gutter),calc((100% - 1096px)/2))}
footer.site{padding-inline:var(--gutter)}
.scroll-cue{right:var(--gutter)}
/* num-row: identical measure in all three columns, outer text still on the column line */
@media (min-width:801px){
  .num-row{width:calc(100% + 64px);max-width:none;margin-inline:-32px}
  .num-item{padding:36px 32px}
  .num-item:first-child{padding-left:32px} .num-item:last-child{padding-right:32px}
}
.assets{width:max-content;max-width:100%}
.flow-node{padding:32px 16px 32px 0}
@media (max-width:900px){.flow{display:grid;grid-template-columns:1fr 1fr;column-gap:24px}.flow-node{padding:24px 0}}
@media (max-width:520px){.flow{grid-template-columns:1fr}}
.badge{padding:22px 24px 22px 0}

/* ---- spacing rhythm (8px scale) ---- */
section.block{padding-block:var(--s-6)}
.cta-band{padding-block:var(--s-7)}
.block-head{margin-bottom:var(--s-5)}
.block-head h2{margin-top:var(--s-2)}
.block-head p{margin-top:var(--s-2)}
.doc-body h2,.sec-h{margin:var(--s-5) 0 var(--s-2)}
.doc-body h3,.sec-h3{margin:var(--s-4) 0 var(--s-1)}
.doc-body > :first-child,.doc-body h2:first-child{margin-top:0}
.note,.doc-body blockquote,.tbl-wrap,dl.kv,.cards2,.faq{margin-block:var(--s-3)}
ol.steps,ul.dots,.doc-body ul,.doc-body ol:not(.steps){margin-block:var(--s-2) var(--s-3)}
.safe-note{margin-top:var(--s-5)}
.hero-actions{margin-top:var(--s-4)}
.trust-line{margin-top:var(--s-4);padding-top:var(--s-3)}
.cta-band .hero-actions{margin-top:var(--s-4)}
footer.site{padding-block:var(--s-5) var(--s-4)}
.fine{margin-top:var(--s-4);padding-top:var(--s-3)}
section.doc-block{padding:var(--s-5) 0 var(--s-6)}
.doc-hero{padding-block:calc(var(--header-h,92px) + var(--s-5)) var(--s-5)}
.page-hero{padding-block:calc(var(--header-h,92px) + var(--s-5)) var(--s-5)}
.page-hero.with-bg{padding-bottom:var(--s-5)}
.promo{padding:var(--s-5) 0 var(--s-1)}
.promo-head{margin-bottom:var(--s-3)}
.promo-caps{margin-top:var(--s-3)}
.doc-meta{margin-bottom:var(--s-3)}
.doc-meta .legal-draft-badge{margin:0}
.doc-nav{margin-top:var(--s-5);padding-top:var(--s-3)}
.feat{padding:var(--s-4)}
.num-item{padding-block:var(--s-4)}
.check-list li{padding-block:var(--s-3)}
.doc-wrap.single{grid-template-columns:minmax(0,1fr)}

/* ---- tables ---- */
table.tbl,.doc-body table{table-layout:fixed;min-width:0}
.tbl th:first-child,.tbl td:first-child,.doc-body table th:first-child,.doc-body table td:first-child{width:36%}
.tbl-wrap:has(th:nth-child(3)) table{table-layout:auto;min-width:520px}
.tbl-wrap:has(th:nth-child(3)) th:first-child,.tbl-wrap:has(th:nth-child(3)) td:first-child{width:26%}
/* scroll shadows that disappear at the ends (background-attachment:local trick) */
.tbl-wrap{background-color:var(--surface-1);background:
  linear-gradient(90deg,var(--surface-1) 40%,rgba(19,16,9,0)) left/32px 100% no-repeat local,
  linear-gradient(270deg,var(--surface-1) 40%,rgba(19,16,9,0)) right/32px 100% no-repeat local,
  linear-gradient(90deg,rgba(0,0,0,.55),rgba(0,0,0,0)) left/14px 100% no-repeat scroll,
  linear-gradient(270deg,rgba(0,0,0,.55),rgba(0,0,0,0)) right/14px 100% no-repeat scroll;}
.tbl th,.doc-body table th{background:rgba(210,175,90,.06)}
.tbl-wrap{background-color:var(--surface-1)}
@media (max-width:600px){.tbl th,.tbl td,.doc-body table th,.doc-body table td{padding:12px 14px}.tbd{border:0;padding:0;line-height:inherit;color:var(--text-dim)}}
.tbd{display:inline;box-decoration-break:clone;-webkit-box-decoration-break:clone;padding:1px 6px;line-height:1.9}

/* ---- colour: warnings are orange (brandbook 07: gold is never a warning colour) ---- */
.safe-k,.legal-draft-badge,.safe-ico{color:var(--warn)}

/* ---- breadcrumbs (new <nav><ol> markup; old span/i rules stay harmless) ---- */
.crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 0}
.crumbs li{color:var(--text-dim)}
.crumbs ol:not(:has(i)) li + li::before{content:"/";color:var(--text-dim);margin:0 8px}
.crumbs li[aria-current="page"],.crumbs [aria-current="page"]{color:var(--accent)}
.crumbs li a{color:var(--text-dim);text-decoration:none;transition:color .2s}
.crumbs li a:hover{color:var(--text)}
.page-hero .crumbs + .kicker{display:none} /* kicker repeats the last crumb */

/* ---- footer ---- */
.foot-col .foot-h{margin:0 0 14px;font-family:var(--font-mono);font-weight:400;font-size:var(--fs-xs);letter-spacing:var(--track-label);text-transform:uppercase;color:var(--accent)}
.foot-col a,.sub a,.subnav a,.faq summary,.safe-link,.lang li a{transition:color .25s,background .25s,border-color .25s}
@media (max-width:900px){.foot-grid{grid-template-columns:1fr 1fr;gap:32px 24px}.foot-grid > .foot-col:first-child{grid-column:1/-1}}
@media (max-width:520px){.foot-grid{grid-template-columns:1fr 1fr;gap:28px 16px}.foot-col li{margin-bottom:6px}}

/* ---- mobile ---- */
@media (max-width:980px){
  .subnav ul{flex-wrap:nowrap;overflow-x:auto;gap:8px;padding-bottom:4px;scrollbar-width:none;margin-inline:calc(-1*var(--gutter));padding-inline:var(--gutter)}
  .subnav ul::-webkit-scrollbar{display:none}
  .subnav a{white-space:nowrap;border:1px solid var(--border);border-radius:var(--r-1);padding:6px 10px;margin:0;color:var(--text-muted)}
  .subnav a.cur{border-color:var(--accent);color:var(--text)}
}
@media (max-width:760px){
  .promo-ui{padding:14px 0 0}
  .faq summary{font-size:15px;padding-right:32px}
  .photo-parallax{min-height:60vh}
}
@media (max-width:480px){
  .safe-note{flex-direction:column;gap:12px;padding:20px}
  .safe-ico{width:32px;height:32px} .safe-ico svg{width:16px;height:16px}
  .hero-actions > .btn{flex:1 1 100%;justify-content:center}
  .btn{white-space:normal;text-align:center}
  .hero-actions > .btn.icon{flex:0 0 44px}
  .cookie-actions{flex-wrap:wrap} .cookie-actions button{flex:1 1 auto}
}

/* ---- zh: CJK fallback glyphs need normal leading/tracking/weight ---- */
html[lang^="zh"] h1,html[lang^="zh"] h2,html[lang^="zh"] h3,html[lang^="zh"] .safe-body b,html[lang^="zh"] .doc-index a b,html[lang^="zh"] .check-list b,html[lang^="zh"] ol.steps b,html[lang^="zh"] .flow-node b{line-height:1.3;letter-spacing:0;font-weight:400;text-wrap:auto}
html[lang^="zh"] .hero h1{line-height:1.25;max-width:16ch}
html[lang^="zh"] .scroll-cue{letter-spacing:.3em}
html[lang^="zh"] .navlinks a,html[lang^="zh"] .btn,html[lang^="zh"] .kicker,html[lang^="zh"] .eyebrow,html[lang^="zh"] .promo-btn{letter-spacing:.08em}
html[lang^="zh"] .doc-body p,html[lang^="zh"] .doc-body li{hyphens:manual;max-width:40em}

/* ---- motion / a11y ---- */
@media (prefers-reduced-motion: reduce){ *{animation-iteration-count:1 !important} .btn:hover,.promo-btn:hover{transform:none} }
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.btn:focus-visible,.promo-btn:focus-visible,.lang > button:focus-visible,.burger:focus-visible{outline-offset:2px}

/* ---- print: legal documents ---- */
@media print{
  @page{margin:16mm 18mm}
  header.site,.mobile-menu,.cookie-bar,.lang-hint,.bg-rotator,.bg-overlay,.hero-video,.promo,.scroll-cue,.subnav,.doc-nav,.skip,.foot-grid,video,.burger,.lang{display:none !important}
  html,body{background:#fff !important;color:#000 !important}
  body{font-size:11pt;line-height:1.5;font-weight:400}
  *{color:#000 !important;text-shadow:none !important;box-shadow:none !important;background:transparent !important;filter:none !important}
  .doc-hero,.page-hero,.hero{padding:0 0 12pt !important;min-height:0 !important;border-bottom:1px solid #000}
  .doc-hero::before,.page-hero::before,.hero::after{display:none}
  .doc-wrap{display:block;padding:0}
  .doc-body,.doc-body p,.doc-body li{max-width:none}
  a{text-decoration:underline;border:0 !important}
  .doc-body a[href^="http"]::after{content:" (" attr(href) ")";font-size:9pt}
  .tbl-wrap,.tbl th,.tbl td,.doc-body table th,.doc-body table td,dl.kv,dl.kv > div,.note,.legal-draft-badge,.fine{border-color:#000 !important}
  .fine{border-top:1px solid #000;padding-top:8pt;margin-top:16pt}
  h1{font-size:24pt} h2{font-size:16pt;break-after:avoid;margin-top:18pt} h3{font-size:13pt;break-after:avoid}
  table,tr,blockquote,.note,dl.kv > div{break-inside:avoid}
  .legal-draft-badge{border:1px solid #000;padding:2pt 6pt}
}

/* =====================================================================
   brand lockup (26.09, brandbook v1.1): «Лента-M» + MAGIC in curves.
   Symbols are declared once after <body> (.brand-defs), header/footer use <use>.
   H = visible mark height (outer ring diameter). Mark file box = 1.022 H × 0.982 H,
   MAGIC cap = 0.42 H (word box = cap height, viewBox 0 0 607.95 100), gap = 0.25 H,
   word centred on the ring centre (box centre sits 0.009 H below it -> tiny top offset).
   Header ≥761 px: H = 34 (version A, underside + ivory word); ≤760 px: H = 28, mono;
   footer: H = 24, mono, gold word. Hover never recolours the mark (opacity only).
   ===================================================================== */
.brand-defs{position:absolute;width:0;height:0;overflow:hidden}
.brand-defs symbol{overflow:visible} /* MAGIC: round G/C overshoot the cap box by ~3 % — never clip */
.brand{display:inline-flex;align-items:center;gap:8.5px;flex:none;color:var(--accent);text-decoration:none;transition:opacity .25s}
.brand:hover{opacity:.85}
.brand-mark{display:block;flex:none;width:34.7px;height:33.4px;overflow:visible}
.brand-word{display:block;flex:none;width:86.9px;height:14.3px;overflow:visible;position:relative;top:-.3px;color:var(--text)}
@media (max-width:760px){
  .brand{gap:7px}
  .brand-mark{width:28.6px;height:27.5px}
  .brand-word{width:71.5px;height:11.76px;top:-.25px;color:var(--accent)} /* mono lockup: word same colour as mark */
  .brand-defs .ln{display:none} /* below 32 px the underside is thinner than 2.6 px: mono only (brandbook 02) */
}
.foot-col .brand{gap:6px;margin-bottom:14px}
.foot-col a.brand,.foot-col a.brand:hover{color:var(--accent)}
.foot-col .brand-mark{width:24.5px;height:23.6px}
.foot-col .brand-word{width:61.4px;height:10.1px;top:-.2px;color:var(--accent)}


/* =====================================================================
   MAGIC light theme — preview (29.09.2026).
   Plata rules: one variable grotesque (Inter since 10.10.2026, was Onest; weights 420 / 480 / 520), near-white page,
   one orange accent (#FF5000; hover #FF6E14; active #E04500), brand mark = orange circle + white ribbon (05.10; was graphite),
   buttons 64 / 48 / 40 with radii 16 / 14 / 12, no shadows, 150 ms colour transitions,
   blue focus ring, header that follows the section under it (JS: header.on-dark).
   Photos, videos and OG images are untouched: dark media sections keep white text locally.
   This file is appended after src/styles.css by build.mjs; delete it to roll back.
   ===================================================================== */
/* Шрифт — только Inter (variable: вес 100–900 и оптический размер 14–32 — заголовки сами получают «Display»-начертание). Файлы @fontsource-variable/inter 5.3.0 (Inter 4.x, SIL OFL), по подмножествам.
   Тайский: Inter не содержит тайских букв — для html[lang="th"] рядом Noto Sans Thai (variable, SIL OFL); латиница и цифры на тайских страницах остаются Inter. */
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/inter-cyrillic-ext-standard-normal.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/inter-cyrillic-standard-normal.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/inter-latin-ext-standard-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Inter';font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/inter-latin-standard-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Noto Sans Thai';font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/noto-sans-thai-thai-wght-normal.woff2) format('woff2');unicode-range:U+02D7,U+0303,U+0331,U+0E01-0E5B,U+200C-200D,U+25CC}

/* ---- tokens ---- */
:root,html[lang]{
  --bg:#F7F8FB; --bg-2:#F4F5F8; --surface:#FFFFFF; --surface-0:#F7F8FB; --surface-1:#FFFFFF; --surface-2:#FFFFFF;
  --border:#E1E4EA; --line:#E1E4EA; --line-soft:#ECEEF2;
  --text:#121416; --text-muted:#5B6068; --text-dim:#666B73;
  --accent:#FF5000; --accent-hover:#FF6E14; --accent-active:#E04500; --accent-text:#C23A00; --accent-dim:rgba(255,80,0,.35);
  --champagne:#FF6E14; --ink:#FFFFFF; --steel:#1E2227;
  --warn:#B84A00; --warn-dim:rgba(184,74,0,.35); --scarlet:var(--warn); --scarlet-dim:var(--warn-dim); --scarlet-text:var(--warn);
  --focus:#2401FE;
  --font-display:'Inter',system-ui,sans-serif; --font-body:'Inter',system-ui,sans-serif; --font-mono:'Inter',system-ui,sans-serif;
  --r-1:12px; --r-2:16px; --r-3:24px; --r-4:32px;
  --dur:150ms;
}
html[lang="th"]{--font-display:'Inter','Noto Sans Thai',system-ui,sans-serif;--font-body:'Inter','Noto Sans Thai',system-ui,sans-serif;--font-mono:var(--font-body)}
body{background:var(--bg);color:var(--text);font-weight:420;letter-spacing:-.005em}
::selection{background:var(--accent);color:#FFFFFF}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}

/* the fixed photo backdrop behind every section is off: the page is light; photos stay in the hero, the photo band and page heroes */
.bg-rotator,.bg-overlay{display:none}

/* ---- dark media sections keep white text (local tokens) ---- */
.hero,.photo-parallax,.doc-hero,.page-hero.with-bg{
  --text:#FFFFFF; --text-muted:rgba(255,255,255,.9); --text-dim:rgba(255,255,255,.8); --border:rgba(255,255,255,.28);
  color:#FFFFFF;
}

/* ---- typography: one family, three weights, tight headings ---- */
h1,h2,h3,.sec-h,.sec-h3,.doc-body h2,.doc-body h3,.safe-body b,.doc-index a b,.check-list b,.flow-node b,ol.steps b,.promo-caps b,.promo-head h2,.notfound h1{font-family:var(--font-display);font-weight:520;letter-spacing:-.02em;text-shadow:none}
html[lang] h1,html[lang] h2,html[lang] h3,html[lang] .safe-body b,html[lang] .doc-index a b,html[lang] .mobile-menu a{font-weight:520}
html[lang] .hero h1{font-size:clamp(40px,4.8vw,68px);line-height:1.08;letter-spacing:-.025em;max-width:18ch;font-weight:520}
html[lang] .block-head h2,html[lang] .promo-head h2,.xch-head h2{font-size:clamp(32px,3.9vw,56px);line-height:1.1;font-weight:520}
html[lang] .cta-band h2{font-size:clamp(36px,4.6vw,66px);line-height:1.08;font-weight:520}
html[lang] .doc-hero h1,html[lang] .page-hero h1{font-size:clamp(36px,4.6vw,66px);line-height:1.08;font-weight:520}
html[lang] .doc-body h2,html[lang] .sec-h{font-size:clamp(26px,2.6vw,36px);line-height:1.15}
html[lang] .doc-body h3,html[lang] .sec-h3{font-size:20px;line-height:1.3}
html[lang] .num-item h3,html[lang] .feat h3{font-size:20px;line-height:1.3;letter-spacing:-.017em}
html[lang] .safe-body b{font-size:clamp(20px,2vw,24px);line-height:1.3}
html[lang] .check-list b,html[lang] .flow-node b,html[lang] ol.steps b{font-size:18px;font-weight:480;letter-spacing:-.005em}
html[lang] .photo-parallax .cap h2{font-size:clamp(28px,3.4vw,48px);line-height:1.1;font-weight:520}
html[lang="th"] h1,html[lang="th"] h2,html[lang="th"] h3{letter-spacing:0;line-height:1.3} /* тайские над- и подстрочные знаки: без сжатия, строка выше */
html[lang="th"] body{line-height:1.65}
.hero .lede,.page-hero p,.doc-hero p,.sec-lead{font-size:20px;line-height:32px;font-weight:420}
.doc-body p,.sec-p,.block-head p,.cta-band p,.xch-body p{line-height:1.6;font-weight:420}
.num-item p,.feat p,.doc-body li,ul.dots,.check-list p,ol.steps span,.flow-node span{font-weight:420}

/* small labels: no mono caps — sentence case, 480 */
.kicker,.eyebrow,.promo-eyebrow,.safe-k,.crumbs,.doc-hero .crumbs,.doc-meta,.subnav .ret,.foot-col .foot-h,.foot-col h3,.foot-col h4,.mobile-menu .grp-t,.doc-index a small,.doc-nav a small,dl.kv dt,.tbl th,.doc-body table th,.photo-parallax .cap span,.trust-line,.badge,.asset,.legal-draft-badge,.promo-tag,.lang > button,.mobile-menu .langs a,.tbd{
  font-family:var(--font-body);text-transform:none;letter-spacing:0;font-weight:480;text-shadow:none}
.kicker{font-size:15px;color:var(--accent-text);margin-left:0}
.eyebrow{font-size:15px;color:#FFFFFF;margin-left:0}
.num-item .idx,.feat span.no,.check-list .idx,.flow-node .no{font-family:var(--font-body)}

/* ---- buttons: Plata system ---- */
.btn{min-height:48px;padding:0 24px;border-radius:14px;border:1.5px solid var(--text);background:transparent;color:var(--text);
  font:480 16px/1.2 var(--font-body);letter-spacing:0;text-transform:none;text-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;
  transition:background var(--dur),border-color var(--dur),color var(--dur);transform:none}
.btn:hover{transform:none;opacity:1}
.btn:not(.solid):hover{background:rgba(0,12,36,.06);border-color:var(--text)}
.btn:not(.solid):active{background:rgba(0,12,36,.12)}
.btn.solid{background:var(--accent);border-color:var(--accent);color:#FFFFFF}
.btn.solid:hover{background:var(--accent-hover);border-color:var(--accent-hover);color:#FFFFFF}
.btn.solid:active{background:var(--accent-active);border-color:var(--accent-active)}
.btn:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.btn.icon{width:48px}
/* XL: first screen and the closing call to action */
.hero .hero-actions .btn,.cta-band .btn{min-height:64px;padding:0 48px;border-radius:16px;border-width:2px;font-size:20px;font-weight:520;letter-spacing:-.017em}
.hero .hero-actions .btn.icon{width:64px;padding:0}
/* outline on dark media: white */
.hero .btn:not(.solid),.photo-parallax .btn:not(.solid),.doc-hero .btn:not(.solid){border-color:#FFFFFF;color:#FFFFFF;background:transparent}
.hero .btn:not(.solid):hover,.doc-hero .btn:not(.solid):hover{background:rgba(255,255,255,.14)}
.doc-body a.btn{border-bottom:1.5px solid var(--text);color:var(--text)}
.doc-body a.btn.solid{color:#FFFFFF;border-color:var(--accent)}
.promo-btn{border-radius:12px;text-transform:none;letter-spacing:0;font:480 15px/1 var(--font-body)}
.promo-btn.gold{background:var(--accent);border-color:var(--accent);color:#FFFFFF}
.promo-btn.gold:hover{background:var(--accent-hover)}
.cookie-actions button{height:40px;border-radius:12px;text-transform:none;letter-spacing:0;font:480 15px/1 var(--font-body);border:1.5px solid var(--text);color:var(--text);background:transparent}
.cookie-actions button.solid{background:var(--accent);border-color:var(--accent);color:#FFFFFF}
.cookie-actions button.solid:hover{background:var(--accent-hover);border-color:var(--accent-hover);color:#FFFFFF}
.cookie-actions button:hover{border-color:var(--text);color:var(--text)}

/* ---- header: white on light sections, transparent + white over dark media ---- */
header.site,header.site:not(.scrolled),header.site.scrolled{background:rgba(255,255,255,.94);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--border);color:var(--text);transition:background var(--dur),border-color var(--dur),color var(--dur)}
header.site.on-dark{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;border-bottom-color:transparent;color:#FFFFFF;
  --text:#FFFFFF; --text-muted:rgba(255,255,255,.88); --border:rgba(255,255,255,.4)}
header.site.on-dark:not(.scrolled){background:linear-gradient(rgba(8,10,12,.45),rgba(8,10,12,0))}
.nav{padding-block:12px}
.navlinks a,.navlinks a:hover,.navlinks a.active{background:none;-webkit-text-fill-color:currentColor;color:var(--text);text-shadow:none;text-transform:none;letter-spacing:0;font:480 16px/1.3 var(--font-body)}
.navlinks a::after{background:currentColor;height:1.5px}
.navlinks .has-sub > a::before{border-color:currentColor}
/* 29.09 (founder): hover = a visible darker pill instead of the thin underline — top level only (never the dropdown items) */
.navlinks > li > a{padding:8px 14px;border-radius:12px;transition:background-color .15s ease,color .15s ease}
.navlinks > li.has-sub > a{padding-right:30px}
.navlinks > li.has-sub > a::before{right:13px;top:calc(50% - 5px)}
.navlinks > li > a::after{display:none}
.navlinks > li > a:hover,.navlinks > li:hover > a,.navlinks > li:focus-within > a,.navlinks > li > a:focus-visible{background:rgba(18,20,22,.075)}
.navlinks > li > a.active{background:rgba(18,20,22,.05)}
header.site.on-dark .navlinks > li > a:hover,header.site.on-dark .navlinks > li:hover > a,header.site.on-dark .navlinks > li:focus-within > a{background:rgba(255,255,255,.18)}
header.site.on-dark .navlinks > li > a.active{background:rgba(255,255,255,.12)}
/* dropdown items: grey card on hover, same on light and dark headers (the menu itself is always white) */
.navlinks .sub a{transition:background-color .12s ease}
.navlinks .sub a:hover,.navlinks .sub a:focus-visible,.navlinks .sub a.active,header.site.on-dark .navlinks .sub a:hover,header.site.on-dark .navlinks .sub a.active{background:#E6E8ED;-webkit-text-fill-color:#121416;color:#121416}
.sub{background:#FFFFFF;border:1px solid var(--border);border-radius:16px;box-shadow:none;padding:8px}
.sub a,.sub a:hover,.sub a.active{-webkit-text-fill-color:#121416;color:#121416;border-radius:10px;font:480 15px/1.3 var(--font-body);padding:10px 12px}
.sub a small{-webkit-text-fill-color:#5B6068;color:#5B6068;font-weight:420;font-size:13px}
.lang > button{height:40px;border-radius:12px;border:1.5px solid var(--border);color:var(--text);font-size:14px}
.lang > button:hover{border-color:var(--text);color:var(--text)}
.lang ul{background:#FFFFFF;border:1px solid #E1E4EA;border-radius:16px;box-shadow:none;padding:6px}
.lang li a{color:#5B6068;border-radius:10px}
.lang li a:hover,.lang li a[aria-current="true"]{color:#121416;background:#F4F5F8}
.lang li a small{color:#666B73;font-family:var(--font-body)}
.nav > .btn.solid{min-height:40px;padding:0 12px;border-radius:12px;font-size:16px;transition:background var(--dur),border-color var(--dur),opacity var(--dur),visibility var(--dur)}
.burger{border-radius:12px;border:1.5px solid var(--border);background:transparent;backdrop-filter:none}
.burger span{background:currentColor}
header.site .brand,header.site .brand:hover{color:var(--steel)}
header.site.on-dark .brand{color:#FFFFFF}
/* logo (05.10.2026) = Instagram avatar: orange circle with the white ribbon (#brand-badge, fixed colours) + MAGIC in currentColor */
.brand{gap:10px}
.brand-mark{width:34px;height:34px}
.brand-word{color:currentColor}
.brand-word{width:86.94px}
@media (max-width:760px){.brand{gap:8px}.brand-mark{width:28px;height:28px}.brand-word{width:71.49px;color:currentColor}}
body.menu-open header.site{background:#F7F8FB;color:#121416;--text:#121416;--border:#E1E4EA}
body.menu-open header.site .brand{color:var(--steel)}
.mobile-menu{background:#F7F8FB}
.mobile-menu .grp{border-top:1px solid var(--border)}
.mobile-menu .grp-t{color:var(--text-muted);font-size:14px}
.mobile-menu a{font:480 20px/1.3 var(--font-body);color:var(--text)}
html[lang] .mobile-menu a{font-size:20px;font-weight:480}
.mobile-menu a.active{color:var(--accent-text)}
.mobile-menu a.btn{color:#FFFFFF;border-radius:16px;min-height:56px;font-size:18px;font-weight:520}
.mobile-menu .langs a,.mobile-menu .langs a[lang]{border-radius:12px;border:1.5px solid var(--border);color:var(--text-muted);font:480 14px/1 var(--font-body)}
.mobile-menu .langs a[aria-current="true"]{border-color:var(--text);color:var(--text)}
.lang-hint{background:#FFFFFF;border:1px solid var(--border);border-radius:16px;box-shadow:none;color:var(--text-muted)}
.lang-hint a{color:var(--text);border-bottom-color:var(--accent)}

/* ---- first screen: our video, white text, rounded bottom ---- */
.hero{min-height:100vh;min-height:100svh;border-bottom:none;border-radius:0}
.hero::after{background:linear-gradient(90deg,rgba(8,10,12,.8) 0%,rgba(8,10,12,.55) 45%,rgba(8,10,12,.12) 100%),linear-gradient(0deg,rgba(8,10,12,.45) 0%,rgba(8,10,12,0) 40%)}
.hero h1,.hero .lede,.eyebrow,.trust-line,.photo-parallax .cap h2,.photo-parallax .cap span,.doc-hero h1,.doc-hero p,.page-hero.with-bg h1,.page-hero.with-bg p{text-shadow:none}
.hero h1 em{color:#FFFFFF;font-style:normal}
.hero .lede{color:rgba(255,255,255,.9);max-width:34ch}
.trust-line{font-size:14px;color:rgba(255,255,255,.85);border-top:1px solid rgba(255,255,255,.28)}
.scroll-cue{display:none}
@media (max-width:600px){.trust-line span{white-space:normal}}

/* ---- sections ---- */
section.block{border-bottom:none}
.block-head{margin-bottom:48px}
.num-row{gap:16px}
@media (min-width:801px){.num-row{width:100%;margin-inline:0}}
.num-item,.num-item:first-child,.num-item:last-child{background:#FFFFFF;border:none;border-radius:24px;padding:32px}
@media (max-width:800px){.num-item,.num-item:first-child{border-top:none;padding:28px}}
.num-item .idx{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;border:2px solid var(--text);color:var(--text);font-size:16px;font-weight:480}
.num-item h3{margin-top:20px}
.safe-note{border:1px solid rgba(184,74,0,.28);background:#FFF4EC;border-radius:24px}
.safe-ico{background:#FFFFFF;border-color:rgba(184,74,0,.4)}
.safe-body b{color:#121416}
.safe-link{color:var(--accent-text);border-bottom-color:var(--accent-dim)}
.xch-grid{border-top:none;background:#FFFFFF;border-radius:32px;padding:48px}
@media (max-width:900px){.xch-grid{padding:28px}}
.photo-parallax{margin:0 24px;border-radius:24px;border-bottom:none}
@media (max-width:800px){.photo-parallax{margin:0 12px;border-radius:20px}}
.photo-parallax .cap span{font-size:15px;color:rgba(255,255,255,.85)}
.feat-list,dl.kv,.cards2,.doc-index{gap:16px;border:none;background:transparent}
.feat,dl.kv > div,.cards2 .card,.doc-index a{background:#FFFFFF;box-shadow:none;border-radius:24px}
.feat{padding:32px}
.feat span.no{font-size:14px;color:var(--text-dim)}
.badges{border-top:none;gap:12px}
.badge{background:#FFFFFF;border:none;border-radius:16px;padding:20px 24px;font-size:15px;color:var(--text-muted)}
.badge b{color:var(--text);font-weight:520}
.cta-band{background:#FFFFFF;border-radius:32px;max-width:1096px;margin:96px auto;padding:80px 48px}
@media (max-width:1150px){.cta-band{margin:72px var(--gutter)}}
@media (max-width:600px){.cta-band{padding:56px 24px}}

/* ---- footer ---- */
footer.site{background:#FFFFFF;border-top:none;border-radius:20px 20px 0 0}
.foot-col .foot-h,.foot-col h3,.foot-col h4{font-size:16px;font-weight:520;color:var(--text)}
.foot-col a{font-size:15px;color:var(--text-muted)}
.foot-col a:hover{color:var(--text)}
.foot-col .tag{font-size:15px;color:var(--text-muted)}
.foot-col a.brand,.foot-col a.brand:hover{color:var(--steel)}
.foot-col .brand{gap:8px}
.foot-col .brand-mark{width:26px;height:26px}
.foot-col .brand-word{color:currentColor;width:61.4px}
.fine{font-size:13px;line-height:20px;color:var(--text-dim);border-top:1px solid var(--border)}
.cookie-bar{background:#FFFFFF;border:1px solid var(--border);border-radius:16px;box-shadow:none}
.cookie-bar p{color:var(--text-muted)}
.cookie-bar a{color:var(--accent-text)}

/* ---- inner pages ---- */
.doc-hero{border-bottom:none;border-radius:0 0 20px 20px}
.doc-hero::before{background:linear-gradient(90deg,rgba(8,10,12,.82) 0%,rgba(8,10,12,.6) 55%,rgba(8,10,12,.3) 100%)}
.crumbs,.doc-hero .crumbs{font-size:14px;color:var(--text-dim)}
.crumbs li[aria-current="page"],.crumbs [aria-current="page"]{color:var(--text)}
section.doc-block{border-bottom:none}
.subnav ul{border-left:1px solid var(--border)}
.subnav a{font-size:15px;color:var(--text-muted)}
.subnav a.cur{color:var(--text);border-left-color:var(--accent)}
.subnav .ret a{color:var(--accent-text)}
@media (max-width:980px){.subnav a{border:1.5px solid var(--border);border-radius:999px;padding:8px 14px}.subnav a.cur{border-color:var(--text)}}
.doc-body a{color:var(--accent-text);border-bottom-color:var(--accent-dim)}
.doc-body a:hover{border-bottom-color:var(--accent-text)}
.note,.doc-body blockquote{background:#FFFFFF;border:1px solid var(--border);border-left:3px solid var(--accent);border-radius:16px}
.note.warn{background:#FFF4EC;border-color:rgba(184,74,0,.28);border-left-color:var(--warn)}
.tbl-wrap{background:#FFFFFF;border:1px solid var(--border);border-radius:16px}
.tbl th,.doc-body table th{background:#F4F5F8;color:var(--text-muted);font-size:14px}
.tbl td,.doc-body table td{font-weight:420}
dl.kv > div{padding:20px 24px}
dl.kv dt{font-size:14px;color:var(--text-muted)}
dl.kv dd{font-weight:520}
.doc-index a{position:relative;min-height:134px;padding:28px 72px 28px 24px}
.doc-index a::after{content:'';position:absolute;right:30px;top:50%;width:10px;height:10px;margin-top:-5px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(-45deg)}
.doc-index a:hover{background:#FFFFFF}
.doc-index a::after{border-color:var(--text)}
.doc-index a:hover b{color:var(--accent-text)}
.doc-index a small{color:var(--accent-text);font-size:14px}
ol.steps li{border-top:1px solid var(--border)}
ol.steps li::before{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:50%;border:2px solid var(--text);color:var(--text);font:480 15px/1 var(--font-body);padding:0}
ul.dots li::marker,.doc-body ul li::marker,.doc-body ol:not(.steps) li::marker{color:var(--accent)}
.faq summary::after{border-color:var(--text)}
.faq summary:hover{color:var(--accent-text)}
.legal-draft-badge{background:#FFF4EC;border-color:rgba(184,74,0,.35);color:var(--warn);border-radius:999px}
.doc-nav a small{color:var(--accent-text)}

/* ---- promo video on «Cards»: same video, calmer frame ---- */
.promo{background:var(--bg)}
.promo:before{display:none}
.promo-frame{background:none;padding:0;box-shadow:none;border-radius:24px}
.promo-stage.in .promo-frame{animation:none}
.promo-inner{border-radius:24px}
.promo-eyebrow{color:var(--accent-text);font-size:15px}
.promo-eyebrow i{background:var(--accent);box-shadow:none;animation:none}
.promo-ui{--text:#FFFFFF;--text-muted:rgba(255,255,255,.8)}
.promo-btn{color:#FFFFFF;border-color:rgba(255,255,255,.4);background:rgba(8,10,12,.5)}
.promo-btn:hover{border-color:#FFFFFF;background:rgba(8,10,12,.7)}
.promo-caps{border-top:1px solid var(--border)}
.promo-caps b{font-weight:520}
@media (max-width:760px){.promo-frame,.promo-inner{border-radius:16px}}

/* =====================================================================
   Home polish (29.09): headline + second line, calmer first screen,
   icons instead of numbers, one dark trust section, button rows.
   ===================================================================== */
/* first screen */
html[lang] .hero h1{font-size:clamp(44px,5.6vw,84px);line-height:1.04;letter-spacing:-.03em;max-width:15ch}
.hero h1 .h1-sub{display:block;margin-top:20px;font-size:clamp(20px,2vw,28px);line-height:1.25;font-weight:480;letter-spacing:-.015em;color:rgba(255,255,255,.92);max-width:26ch}
html[lang="th"] .hero h1 .h1-sub{letter-spacing:0}
.hero-inner{padding-bottom:88px}
.eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:28px;padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.14);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);font-size:14px;color:#FFFFFF}
.eyebrow::before{content:'';width:8px;height:8px;border-radius:50%;background:var(--accent);flex:none}
.hero .lede{margin-top:24px;font-size:18px;line-height:28px;max-width:38ch}
.hero-actions{margin-top:36px;gap:12px}
.trust-line{list-style:none;margin:40px 0 0;padding:0;border-top:none;display:flex;flex-wrap:wrap;gap:12px 28px;max-width:none}
.trust-line li{display:inline-flex;align-items:center;gap:10px;font-size:14px;line-height:20px;color:rgba(255,255,255,.88)}
.trust-line li svg{width:20px;height:20px;flex:none;padding:3px;border-radius:50%;background:var(--accent);color:#FFFFFF;stroke-width:2.6}
.trust-line li span{white-space:normal}
.hero-ctrl{position:absolute;right:var(--gutter);bottom:32px;z-index:3}
.hero-ctrl .btn.icon{width:44px;min-height:44px;height:44px;padding:0;border-radius:50%;border:1.5px solid rgba(255,255,255,.55);color:#FFFFFF;background:rgba(8,10,12,.25)}
.hero-ctrl .btn.icon:hover{background:rgba(8,10,12,.45)}
@media (max-width:600px){
  .hero-inner{padding-bottom:64px}
  .hero-actions > .btn{flex:1 1 100%;justify-content:center}
  .hero-ctrl{bottom:10px;top:auto} /* phones: bottom-right, under the trust line, clear of the headline */
  .trust-line{flex-direction:column;gap:10px}
}

/* section heads: kicker → heading, one rhythm */
.block-head .kicker{display:block}
.block-head h2{margin-top:12px;max-width:18ch}

/* steps: 1 · 2 · 3 in circles */
.num-item .idx{font-size:18px}

/* features: icon tiles (metal) instead of 01–06 */
.feat{display:flex;flex-direction:column;gap:0}
.feat .ico{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:16px;
  background:radial-gradient(circle at 30% 25%,#FFFFFF 0%,#E3E6EA 38%,#B9BEC6 100%);color:#1E2227}
.feat .ico svg{width:26px;height:26px}
/* 29.09: 3D-иконки (static/assets/feat/f1–f6, рендер tools/icons3d): объект занимает ~65 % кадра, поля компенсируем отрицательными отступами */
.feat .ico3d{display:block;width:128px;height:128px;margin:-26px 0 -18px -28px}
.feat h3{margin-top:24px}
.feat p{margin-top:10px}

/* the one dark section: what it stands on */
section.block.trust-dark{background:#0B0C0E;color:#F2F4F8;border-radius:32px;margin:0 24px;padding-block:88px;
  --text:#F2F4F8; --text-muted:#A3A7AE; --border:#24272C}
section.block.trust-dark .kicker{color:#FF8A4C}
section.block.trust-dark .block-head{margin-bottom:32px}
.trust-dark .badges{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.trust-dark .badge{display:flex;flex-direction:column;gap:18px;background:#15171B;border-radius:24px;padding:28px 24px;font-size:16px;line-height:24px;color:#A3A7AE}
.trust-dark .badge b{color:#F2F4F8;font-weight:520}
.trust-dark .badge svg{width:32px;height:32px;padding:7px;border-radius:50%;background:var(--accent);color:#FFFFFF;stroke-width:2.6}
@media (max-width:1000px){.trust-dark .badges{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.trust-dark .badges{grid-template-columns:1fr} section.block.trust-dark{margin:0 12px;border-radius:24px;padding-block:56px}}

/* exchange block: buttons in one row */
.xch-body .hero-actions{flex-direction:row;flex-wrap:wrap;gap:12px}
.xch-body .hero-actions .btn{flex:0 0 auto}
@media (max-width:600px){.xch-body .hero-actions .btn{flex:1 1 100%;justify-content:center;white-space:normal;text-align:center}}

/* closing call to action */
.cta-band h2{max-width:14ch}
.cta-band .btn{min-width:240px;justify-content:center}
/* «Уже партнёр? Войди в кабинет партнёра» под кнопкой финального призыва (/partners/) */
.cta-band .cta-alt{margin-top:24px}
.cta-band .cta-alt a{color:var(--accent-text);text-decoration:none;border-bottom:1px solid var(--accent-dim)}
.cta-band .cta-alt a:hover{border-bottom-color:var(--accent-text)}
/* polish fixes */
.trust-line{align-items:flex-start}
html[lang] .xch-head h2{font-size:clamp(28px,3vw,44px)}
.cta-band h2{max-width:16ch}
/* hero headline on one line (desktop); the second line stays a wrapping subtitle */
@media (min-width:900px){
  html[lang] .hero h1{max-width:none;font-size:clamp(48px,4.7vw,72px);white-space:nowrap}
  .hero h1 .h1-sub{white-space:normal}
}

/* long words (DE compounds) must not push the page wider than a phone screen */
h1,h2,h3,h4{overflow-wrap:break-word}
h2,h3,h4{hyphens:auto;-webkit-hyphens:auto}
.hero h1,.block-head h2{hyphens:manual;-webkit-hyphens:manual}
@media (max-width:400px){.hero .eyebrow{letter-spacing:.06em}}
.foot-col{min-width:0}
.foot-col a,.foot-col li,.foot-col p{overflow-wrap:break-word;hyphens:auto;-webkit-hyphens:auto}

/* home hero: slogan pill sits between the lede and the buttons (founder, 29.09) */
.hero .eyebrow.eb-below{margin:28px 0 0}
.hero .eb-below + .hero-actions{margin-top:24px}

/* slogan pill: two lines (one sentence each), sized to the text column */
.hero .eb-below{border-radius:16px;padding:12px 18px;align-items:flex-start;max-width:36rem}
.hero .eb-below::before{margin-top:.45em}
.hero .eb-below .eb-t span{display:block;line-height:1.5}

/* phones: text spans the full width, so darken the video evenly (the desktop gradient fades out to the right) */
@media (max-width:600px){.hero::after{background:linear-gradient(180deg,rgba(8,10,12,.62) 0%,rgba(8,10,12,.5) 45%,rgba(8,10,12,.72) 100%)}}

/* partners page (04.10.2026): three reward levels as white cards; the middle one is outlined in the accent colour */
.tiers{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;max-width:1096px;margin:0 auto}
@media (max-width:900px){.tiers{grid-template-columns:1fr}}
.tier{background:#FFFFFF;border:2px solid transparent;border-radius:24px;padding:32px;display:flex;flex-direction:column;gap:24px}
.tier-mid{border-color:var(--accent)}
.tier-top{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.tier-name{font-size:22px;font-weight:520;letter-spacing:-.02em}
.tier-cond{font-size:15px;color:var(--text-muted)}
.tier-price b{display:block;font-size:56px;line-height:1;font-weight:520;letter-spacing:-.03em;font-variant-numeric:lining-nums tabular-nums}
.tier-price span{display:block;margin-top:10px;font-size:15px;color:var(--text-muted)}
.tier-rows{margin:0;border-top:1px solid var(--border)}
.tier-rows > div{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--border)}
.tier-rows dt{font-size:15px;color:var(--text-muted)}
.tier-rows dd{margin:0;font-size:16px;font-weight:480;text-align:right;font-variant-numeric:lining-nums tabular-nums}
.tier-note{max-width:1096px;margin:24px auto 0;color:var(--text-muted);font-size:15px;line-height:1.6}
.page-hero .hero-actions{margin-top:32px}

/* ---- окно «Войти» / «Получить карту»: веб-версия или Telegram (build.mjs enterDialog, main.js) ---- */
.enter{padding:0;border:none;border-radius:24px;background:#FFFFFF;color:var(--text);width:min(440px,calc(100% - 32px));max-width:none;max-height:calc(100% - 32px);margin:auto;overflow:auto}
.enter::backdrop{background:rgba(18,20,22,.5)}
.enter-box{position:relative;padding:32px;display:flex;flex-direction:column}
.enter-h{font-family:var(--font-display);font-size:24px;line-height:1.25;font-weight:520;letter-spacing:-.01em;margin:0 48px 8px 0;color:var(--text)}
.enter-p{margin:0 0 24px;color:var(--text-muted);font-size:16px;line-height:1.5}
.enter-opts{display:flex;flex-direction:column;gap:12px}
.enter-opt{display:flex;align-items:center;gap:16px;min-height:76px;padding:12px 16px 12px 12px;border:1.5px solid var(--border);border-radius:16px;color:var(--text);text-decoration:none;transition:border-color var(--dur),background-color var(--dur)}
.enter-opt:hover{border-color:var(--accent);background:#FFF7F2}
.enter-opt:active{background:#FFEDE2}
.enter-opt:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.enter-opt i{flex:none;width:48px;height:48px;border-radius:12px;background:var(--bg);color:var(--accent);display:grid;place-items:center;font-style:normal}
.enter-opt i svg{width:24px;height:24px}
.enter-opt span{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.enter-opt b{font-weight:520;font-size:17px;line-height:1.3}
.enter-opt small{color:var(--text-muted);font-size:14px;line-height:1.35}
.enter-opt > svg{flex:none;width:20px;height:20px;color:var(--text-muted)}
.enter-opt:hover > svg{color:var(--accent)}
.enter-x{position:absolute;top:20px;right:20px;width:40px;height:40px;border-radius:12px;border:none;background:transparent;color:var(--text-muted);font-size:28px;line-height:1;cursor:pointer;transition:background-color var(--dur)}
.enter-x:hover{background:var(--bg);color:var(--text)}
.enter-x:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
@media (max-width:600px){
  .enter{width:100%;max-width:100%;margin:auto 0 0;border-radius:24px 24px 0 0;max-height:calc(100% - 48px)}
  .enter-box{padding:24px 16px calc(24px + env(safe-area-inset-bottom))}
  .enter-x{top:12px;right:12px}
}

/* ---- партнёрская программа: калькулятор дохода (build.mjs partnerCalc, main.js) — префикс pc- ---- */
.tiers.pc-on .tier{cursor:pointer;transition:border-color var(--dur)}
.tiers.pc-on .tier-mid{border-color:transparent}
.tiers.pc-on .tier:hover{border-color:var(--border)}
.tiers.pc-on .tier.is-current{border-color:var(--accent)}
.tiers.pc-on .tier:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.tiers.pc-on .tier{position:relative}
.tier-badge{position:absolute;top:-12px;left:30px;display:inline-block;padding:2px 10px;border-radius:999px;background:var(--accent);color:#FFFFFF;font-size:12px;line-height:18px;font-weight:480;letter-spacing:0;white-space:nowrap}
.tier-badge[hidden]{display:none}
.pcalc{max-width:1096px;margin:64px auto 0}
.pcalc[hidden]{display:none}
.pc-head{max-width:720px;margin-bottom:32px}
html[lang] .pc-head h3{font-size:clamp(28px,3vw,40px);line-height:1.15;font-weight:520;letter-spacing:-.02em;margin:0}
.pc-head p{margin:12px 0 0;color:var(--text-muted);font-size:17px;line-height:1.6}
.pc-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);gap:16px;align-items:start}
.pc-panel{background:#FFFFFF;border-radius:24px;padding:32px;min-width:0}
html[lang] .pc-panel h4{font-family:var(--font-display);font-size:22px;line-height:1.3;font-weight:520;letter-spacing:-.01em;margin:0}
.pc-sub{margin:6px 0 24px;color:var(--text-muted);font-size:15px;line-height:1.5}
.pc-field{margin-bottom:24px}
.pc-field label{display:block;font-weight:480;font-size:16px;line-height:1.4}
.pc-hint{margin:4px 0 0;font-size:14px;line-height:1.45;color:var(--text-muted)}
.pc-num{display:flex;align-items:center;gap:6px;margin-top:10px;height:52px;padding:0 16px;background:var(--bg);border:1.5px solid transparent;border-radius:14px;transition:border-color var(--dur)}
.pc-num:focus-within{border-color:var(--focus)}
.pc-unit{color:var(--text-muted);font-size:17px}
.pc-num input{flex:1;min-width:0;border:0;outline:0;background:transparent;color:var(--text);font:inherit;font-size:20px;font-weight:480;font-variant-numeric:tabular-nums;padding:0}
.pc-num input::-webkit-outer-spin-button,.pc-num input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.pc-num input[type=number]{-moz-appearance:textfield;appearance:textfield}
.pc-field input[type=range]{-webkit-appearance:none;appearance:none;width:100%;height:28px;margin:8px 0 0;background:transparent;cursor:pointer;--p:0%}
.pc-field input[type=range]:focus-visible{outline:2px solid var(--focus);outline-offset:2px;border-radius:8px}
.pc-field input[type=range]::-webkit-slider-runnable-track{height:6px;border-radius:99px;background:linear-gradient(to right,var(--accent) 0 var(--p),var(--border) var(--p) 100%)}
.pc-field input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:22px;height:22px;border-radius:50%;background:#FFFFFF;border:2.5px solid var(--accent);margin-top:-8px}
.pc-field input[type=range]::-moz-range-track{height:6px;border-radius:99px;background:var(--border)}
.pc-field input[type=range]::-moz-range-progress{height:6px;border-radius:99px;background:var(--accent)}
.pc-field input[type=range]::-moz-range-thumb{width:18px;height:18px;border-radius:50%;background:#FFFFFF;border:2.5px solid var(--accent)}
.pc-group{margin:32px 0 16px;padding-top:24px;border-top:1px solid var(--border);font-size:13px;font-weight:480;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}
.pc-terms{margin-top:28px;padding:16px 20px;background:var(--bg);border-radius:16px;font-size:14px;line-height:1.5;color:var(--text-muted)}
.pc-terms b{color:var(--text);font-weight:520}
.pc-terms ul{margin:8px 0 0;padding-left:18px}
.pc-terms li{margin:4px 0}
.pc-result{position:sticky;top:88px}
.pc-rtop{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px 12px;margin-bottom:16px}
.pc-label{font-size:13px;font-weight:480;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}
.pc-turn{font-size:15px;color:var(--text-muted)}
.pc-turn b{color:var(--text);font-weight:520;font-variant-numeric:tabular-nums}
.pc-line{padding:14px 0;border-bottom:1px solid var(--border)}
.pc-line:first-child{border-top:1px solid var(--border)}
.pc-row{display:flex;justify-content:space-between;align-items:baseline;gap:12px}
.pc-name{font-weight:520}
.pc-val{font-weight:520;font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}
.pc-per{font-weight:420;font-size:14px;color:var(--text-muted)}
.pc-how{margin-top:2px;font-size:14px;line-height:1.45;color:var(--text-muted);font-variant-numeric:tabular-nums}
.pc-bar{height:6px;margin-top:10px;border-radius:99px;background:var(--border);overflow:hidden}
.pc-bar i{display:block;height:100%;width:0;border-radius:99px;background:var(--accent);transition:width .2s}
.pc-line.is-locked .pc-name,.pc-line.is-locked .pc-val{color:var(--text-dim)}
.pc-tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px}
.pc-tile{min-width:0;padding:16px;border-radius:16px;background:var(--bg);display:flex;flex-direction:column}
.pc-t{font-size:14px;line-height:1.35;color:var(--text-muted)}
/* суммы в плитках — по нижнему краю: подпись в две строки («Дальше каждый месяц») больше не сдвигает сумму ниже соседних */
.pc-v{margin-top:auto;padding-top:6px;font-size:clamp(20px,2.3vw,28px);line-height:1.1;font-weight:520;letter-spacing:-.02em;font-variant-numeric:lining-nums tabular-nums;white-space:nowrap}
.pc-tile.pc-main{background:var(--accent);color:#FFFFFF}
.pc-tile.pc-main .pc-t{color:rgba(255,255,255,.88)}
.pc-nudge{margin:16px 0 0;padding:14px 16px;border-radius:16px;background:#FFF1EA;font-size:15px;line-height:1.5;color:var(--text)}
.pc-nudge b{color:var(--accent-text);font-weight:520}
.pc-nudge[hidden]{display:none}
.pc-cta{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin-top:24px}
.pc-note{max-width:300px;font-size:14px;line-height:1.45;color:var(--text-muted)}
.pc-foot{margin:20px 0 0;font-size:13px;line-height:1.55;color:var(--text-muted)}
@media (max-width:960px){
  .pc-grid{grid-template-columns:minmax(0,1fr)}
  .pc-result{position:static}
}
@media (max-width:720px){
  .pcalc{margin-top:48px}
  .pc-panel{padding:24px 16px;border-radius:24px}
  .pc-tiles{grid-template-columns:1fr 1fr}
  .pc-tile.pc-main{grid-column:1 / -1}
  .pc-v{font-size:20px}
  .pc-tile.pc-main .pc-v{font-size:30px}
  .pc-row{flex-wrap:wrap;row-gap:2px}
  .pc-val{white-space:normal;text-align:left}
}
@media (prefers-reduced-motion:reduce){.pc-bar i,.tiers.pc-on .tier,.pc-num{transition:none}}
