:root{
  --ink:#15273D; --ink2:#1E3A5C; --paper:#E8EBEC; --card:#FFFFFF;
  --gold:#E0A116; --gold-deep:#B87E0A; --verify:#2E7D5B; --verify-soft:#E4F0EA;
  --steel:#5E6E7E; --line:#D4DADE; --danger:#B23A2E; --danger-soft:#F6E5E2;
  --r:14px; --shadow:0 1px 2px rgba(21,39,61,.06), 0 12px 30px rgba(21,39,61,.08);
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{margin:0;background:var(--paper);color:var(--ink);
  font-family:'IBM Plex Sans',system-ui,sans-serif;line-height:1.5;
  background-image:radial-gradient(circle at 1px 1px, rgba(21,39,61,.05) 1px, transparent 0);
  background-size:22px 22px;}
.wrap{max-width:1080px;margin:0 auto;padding:0 22px}
.mono{font-family:'IBM Plex Mono',monospace}
h1,h2,h3{font-family:'Archivo',sans-serif;margin:0;letter-spacing:-.02em;line-height:1.04}
.eyebrow{font-family:'Archivo';text-transform:uppercase;letter-spacing:.18em;
  font-size:12px;font-weight:700;color:var(--gold-deep)}
a{color:inherit}
button{font-family:inherit;cursor:pointer;border:none}
:focus-visible{outline:3px solid var(--gold);outline-offset:2px;border-radius:6px}

/* top bar */
.top{position:sticky;top:0;z-index:20;background:rgba(232,235,236,.82);
  backdrop-filter:saturate(140%) blur(12px);-webkit-backdrop-filter:saturate(140%) blur(12px);
  border-bottom:1px solid var(--line)}
.top .wrap{display:flex;align-items:center;gap:14px;height:64px}
.brand{display:flex;align-items:center;gap:10px;font-family:'Archivo';font-weight:900;
  font-size:21px;letter-spacing:-.01em;text-decoration:none}
.brand .mk{width:30px;height:30px;border-radius:7px;background:var(--ink);color:var(--gold);
  display:grid;place-items:center;font-size:15px;font-weight:900;font-family:'Archivo'}
.tag{font-size:11px;font-weight:700;font-family:'Archivo';text-transform:uppercase;
  letter-spacing:.1em;color:var(--ink);background:var(--gold);
  padding:3px 8px;border-radius:6px}
.langs{margin-left:auto;display:flex;gap:3px;background:#fff;border:1px solid var(--line);
  padding:4px;border-radius:11px;box-shadow:0 1px 2px rgba(21,39,61,.04)}
.langs button{background:transparent;color:var(--steel);font-weight:700;font-size:13px;
  font-family:'Archivo';letter-spacing:.02em;min-width:42px;min-height:38px;padding:7px 10px;border-radius:8px;
  transition:color .12s ease, background .12s ease}
.langs button:hover{color:var(--ink)}
.langs button[aria-pressed="true"]{background:var(--ink);color:#fff}
/* Header social emblems in BRAND colors (ink circle + gold glyph, same system
   as .brand .mk). Explicit svg sizes — anti-regression. Telegram is RU-only
   (the channel is Russian-language, same gate as .foot-tg-li); Facebook shows
   on all languages (the page posts in EN/ES). */
.top-soc{display:inline-flex;width:30px;height:30px;border-radius:50%;background:var(--ink);
  color:var(--gold);align-items:center;justify-content:center;flex:0 0 auto;
  transition:transform .15s ease}
.top-soc:hover{transform:translateY(-1px)}
.top-tg{display:none}
.top-tg svg{width:16px;height:16px;display:block;margin-right:2px}
html[lang="ru"] .top-tg{display:inline-flex}
.top-fb svg{width:9px;height:16px;display:block}
.top-ig svg{width:16px;height:16px;display:block}
.top-tt svg{width:14px;height:16px;display:block}

/* landing eyebrows: darken to clear WCAG AA at 12px on paper/white
   (scoped to landing contexts; .eyebrow is not used on app/course pages) */
.hero .eyebrow,.story-inner .eyebrow,.testi>.eyebrow,.cover>.eyebrow,.faq>.eyebrow,.proof>.eyebrow{color:#8A5C06}

/* hero */
.hero{padding:62px 0 30px}
.hero .eyebrow{display:inline-block;margin-bottom:14px}
.hero h1{font-size:clamp(36px,6.2vw,60px);font-weight:900;max-width:13ch;letter-spacing:-.025em}
.hero h1 em{font-style:normal;color:var(--gold-deep)}
.hero p.sub{font-size:clamp(16px,2.2vw,18.5px);color:var(--steel);max-width:52ch;margin:18px 0 26px;line-height:1.55}

/* hero split — copy left, auth form right */
.hero-split{display:grid;grid-template-columns:1.08fr .92fr;gap:52px;align-items:center;
  padding:34px 0 22px}
.hero-split .hero{padding:0}
.hero-split .authwrap{margin:0;max-width:none}
.hero-points{list-style:none;padding:0;margin:6px 0 0;display:flex;flex-direction:column;gap:11px}
.hero-points li{position:relative;padding-left:30px;font-size:15.5px;color:var(--ink);font-weight:600}
.hero-points li::before{content:"";position:absolute;left:0;top:1px;
  width:21px;height:21px;border-radius:50%;background:var(--verify-soft);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%232E7D5B' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:center}

/* hero trust strip */
.hero-trust{display:flex;align-items:center;flex-wrap:wrap;gap:9px 13px;margin-top:24px}
.hero-trust .ht-item{font-family:'IBM Plex Sans';font-size:13.5px;font-weight:600;color:#53626F;
  display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.hero-trust .ht-item::before{content:"";width:7px;height:7px;border-radius:50%;
  background:var(--verify);flex:0 0 auto}
.hero-trust .ht-free{font-family:'Archivo';font-weight:800;font-size:13.5px;color:#2A7253;
  letter-spacing:.01em}
.hero-trust .ht-free::before{background:#2A7253}
.hero-trust .ht-langs{font-family:'IBM Plex Mono';font-weight:600;letter-spacing:.02em;color:var(--ink)}
.hero-trust .ht-langs::before{background:var(--gold-deep)}
.hero-trust .ht-sep{width:1px;height:14px;background:var(--line);flex:0 0 auto}
@media(max-width:860px){
  .hero-split{grid-template-columns:1fr;gap:24px;padding:26px 0 10px}
  .hero-points{flex-flow:row wrap;gap:9px 18px}
  .hero-trust{margin-top:20px}
  .hero-trust .ht-sep{display:none}
}
.cta-row{display:flex;gap:12px;flex-wrap:wrap}
.btn{font-family:'Archivo';font-weight:700;font-size:15px;padding:14px 22px;border-radius:11px;
  transition:transform .12s ease, box-shadow .12s ease}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--ink);color:#fff;box-shadow:0 6px 16px rgba(21,39,61,.22)}
.btn-gold{background:var(--gold);color:var(--ink);box-shadow:0 6px 16px rgba(224,161,23,.3)}
.btn-ghost{background:#fff;color:var(--ink);border:1px solid var(--line)}
.btn[disabled]{opacity:.45;cursor:not-allowed;transform:none;box-shadow:none}
/* Loading state for auth submit buttons: full-opacity button with a centered
   spinner replacing the label, so a tapped Create-account / Log-in clearly
   shows it is working (owner request 2026-07-19). */
@keyframes lp-spin{to{transform:rotate(360deg)}}
.btn.is-loading{color:transparent!important;opacity:1!important;pointer-events:none;cursor:wait;position:relative}
.btn.is-loading::after{content:"";position:absolute;top:50%;left:50%;width:18px;height:18px;margin:-9px 0 0 -9px;
  border:2.5px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;animation:lp-spin .65s linear infinite}

/* disclaimer */
.disc{margin:14px 0 8px;background:#fff;border:1px solid var(--line);border-left:5px solid var(--gold);
  border-radius:var(--r);padding:20px 22px;display:flex;gap:15px;align-items:flex-start;
  box-shadow:0 1px 2px rgba(21,39,61,.05)}
.disc .ic{flex:0 0 27px;height:27px;border-radius:50%;background:var(--gold);color:var(--ink);
  display:grid;place-items:center;font-weight:900;font-family:'Archivo';font-size:15px;margin-top:1px}
.disc h3{font-size:16px;margin-bottom:4px;letter-spacing:-.01em}
.disc p{margin:0;color:var(--steel);font-size:14.5px;line-height:1.55}

/* flow card */
.flow{margin:34px 0 10px;background:var(--card);border:1px solid var(--line);
  border-radius:18px;box-shadow:var(--shadow);overflow:hidden}
.flow-head{display:flex;align-items:center;gap:10px;padding:16px 24px;border-bottom:1px solid var(--line);
  background:linear-gradient(180deg,#fff, #fbfbfa)}
.steps{display:flex;gap:6px;margin-left:auto;flex-wrap:wrap}
.pip{font-size:11px;font-weight:700;font-family:'Archivo';text-transform:uppercase;letter-spacing:.08em;
  color:var(--steel);background:var(--paper);border:1px solid var(--line);padding:5px 9px;border-radius:20px}
.pip[data-on="1"]{background:var(--ink);color:#fff;border-color:var(--ink)}
.pip[data-done="1"]{background:var(--verify-soft);color:var(--verify);border-color:#bfe0cf}
.flow-body{padding:30px 24px 34px}
.screen{display:none;animation:fade .35s ease}
.screen.on{display:block}
@keyframes fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.screen h2{font-size:clamp(24px,4vw,34px);font-weight:800}
.screen .lead{color:var(--steel);margin:8px 0 22px;max-width:52ch}
.field{margin:0 0 15px;max-width:440px}
.field label{display:block;font-family:'Archivo';font-size:12.5px;font-weight:700;
  letter-spacing:.01em;color:var(--ink);margin-bottom:7px}
.field input[type=email]{width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:10px;
  font-family:'IBM Plex Mono';font-size:15px;background:#fff}
.field input:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(21,39,61,.12)}
.consent{display:flex;gap:11px;align-items:flex-start;max-width:480px;background:var(--paper);
  border:1px solid var(--line);border-radius:12px;padding:13px 14px;margin:4px 0 14px;cursor:pointer;
  transition:border-color .12s ease, background .12s ease}
.consent:hover{border-color:#c2cad0}
.consent:focus-within{border-color:var(--ink);box-shadow:0 0 0 3px rgba(21,39,61,.10)}
.consent input{margin-top:2px;width:20px;height:20px;accent-color:var(--ink);flex:0 0 auto}
.consent span{font-size:13.5px;line-height:1.45;color:var(--ink)}

/* plans */
.plans{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;max-width:560px;margin-bottom:22px}
.plan{border:1.5px solid var(--line);border-radius:14px;padding:18px;background:#fff;cursor:pointer;transition:.12s}
.plan:hover{border-color:var(--ink)}
.plan[aria-pressed="true"]{border-color:var(--gold);box-shadow:0 0 0 3px rgba(224,161,23,.2)}
.plan .nm{font-family:'Archivo';font-weight:700;font-size:15px}
.plan .pr{font-family:'Archivo';font-weight:900;font-size:30px;margin:6px 0 2px}
.plan .pr small{font-size:14px;font-weight:600;color:var(--steel)}
.plan .dt{font-size:13px;color:var(--steel)}

/* pocket card (signature) */
.pocket{max-width:430px;margin:6px 0 22px;border-radius:16px;color:#fff;position:relative;overflow:hidden;
  background:linear-gradient(135deg,var(--ink) 0%, var(--ink2) 100%);
  box-shadow:0 16px 40px rgba(21,39,61,.3);padding:22px 22px 20px}
.pocket::after{content:"";position:absolute;inset:0;
  background-image:radial-gradient(circle at 80% -20%, rgba(224,161,23,.25), transparent 55%);}
.pocket .row{display:flex;justify-content:space-between;align-items:flex-start;position:relative;z-index:1}
.pocket .lbl{font-size:10px;text-transform:uppercase;letter-spacing:.16em;color:#9fb2c6;font-family:'Archivo';font-weight:700}
.pocket .org{font-family:'Archivo';font-weight:800;font-size:14px;color:var(--gold)}
.pocket .code{font-family:'IBM Plex Mono';font-weight:600;font-size:26px;letter-spacing:.08em;margin:18px 0 4px;position:relative;z-index:1}
.pocket .meta{display:flex;gap:22px;margin-top:14px;position:relative;z-index:1}
.pocket .meta div{min-width:0}
.pocket .meta .v{font-family:'IBM Plex Mono';font-size:13px;color:#dfe7ef;overflow:hidden;text-overflow:ellipsis}
.seal{position:absolute;right:18px;bottom:16px;width:62px;height:62px;border-radius:50%;
  border:2px solid rgba(224,161,23,.7);display:grid;place-items:center;z-index:1;
  font-family:'Archivo';font-weight:800;font-size:9px;text-align:center;color:var(--gold);
  text-transform:uppercase;letter-spacing:.06em;line-height:1.15}
.status{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:14px;
  padding:8px 13px;border-radius:20px;margin-bottom:16px}
.status.ok{background:var(--verify-soft);color:var(--verify)}
.status.warn{background:var(--danger-soft);color:var(--danger)}
.status .dot{width:8px;height:8px;border-radius:50%;background:currentColor}
.note{font-size:13px;color:var(--steel);margin-top:6px;max-width:46ch}
.resets{font-size:12.5px;color:var(--steel);margin-top:14px}

/* feature tiles */
.feats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:8px 0 30px}
.feat{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:22px 20px;
  transition:border-color .14s ease, transform .14s ease, box-shadow .14s ease}
.feat:hover{border-color:#c2cad0;transform:translateY(-2px);box-shadow:0 10px 24px rgba(21,39,61,.07)}
.feat-ic{width:40px;height:40px;border-radius:11px;background:var(--ink);color:var(--gold);
  display:grid;place-items:center;margin-bottom:14px}
.feat-ic svg{width:21px;height:21px}
.feat-t{font-family:'Archivo';font-weight:700;font-size:15.5px;margin-bottom:6px}
.feat-d{font-size:13.5px;color:var(--steel);line-height:1.55}
@media(max-width:680px){
  .feats{grid-template-columns:1fr;gap:12px}
  .feat{display:grid;grid-template-columns:auto 1fr;column-gap:16px;row-gap:2px;align-items:start;padding:18px}
  .feat-ic{margin-bottom:0;grid-row:1/3}
  .feat-t{align-self:center}
}

/* ad slot */
.adwrap{margin:30px 0}
.adslot{border:2px dashed var(--line);border-radius:14px;min-height:96px;display:grid;place-items:center;
  color:var(--steel);background:repeating-linear-gradient(45deg,#fff,#fff 10px,#fafbfb 10px,#fafbfb 20px)}
.adslot .al{font-family:'Archivo';font-weight:700;text-transform:uppercase;letter-spacing:.12em;font-size:12px}

/* footer + demo bar */
footer{margin-top:40px;border-top:1px solid var(--line);background:var(--ink);color:#cdd8e3}
footer .wrap{padding:30px 22px;display:flex;flex-wrap:wrap;gap:18px;justify-content:space-between;align-items:center}
footer .fb{font-family:'Archivo';font-weight:900;color:#fff;font-size:18px}
footer small{color:#8ea2b6;font-size:12.5px;max-width:48ch;display:block;margin-top:4px}
.demobar{background:#0e1a29;color:#7e93a8;font-size:12.5px;text-align:center;padding:9px 16px}
.demobar button{background:transparent;color:#cbd6e1;text-decoration:underline;font-size:12.5px;padding:2px 6px}
@media (max-width:620px){
  .plans{grid-template-columns:1fr}
  .hero{padding:28px 0 14px}
  .hero .eyebrow{margin-bottom:10px}
  .hero h1{max-width:none}
  .hero p.sub{margin:14px 0 20px}
  /* Header wraps on narrow phones: brand + social emblems stay on row 1, the
     language switcher (order:3, margin-left:auto) drops to its own row and
     right-aligns — instead of overflowing the viewport (fixed 2026-07-19). */
  .top .wrap{flex-wrap:wrap;height:auto;min-height:64px;row-gap:9px;padding-top:9px;padding-bottom:9px}
  .langs{order:3}
  .authcard{padding:22px 18px 24px;border-radius:16px}
  .story-inner{border-radius:16px}
  .tcard{padding:22px 20px 20px}
}
@media (max-width:400px){
  .top .wrap{gap:10px}
  .top .tag{display:none}
  .langs button{min-width:38px;padding:7px 8px}
}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* auth page (login / register) */
.authwrap{max-width:460px;margin:8px auto 0;scroll-margin-top:80px}
.tabs{display:flex;gap:5px;margin-bottom:14px;background:#fff;border:1px solid var(--line);
  border-radius:13px;padding:5px;box-shadow:0 1px 2px rgba(21,39,61,.04)}
.tabs button{flex:1;background:transparent;color:var(--steel);font-family:'Archivo';font-weight:700;
  font-size:14.5px;padding:12px;min-height:44px;border-radius:9px;
  transition:color .12s ease, background .14s ease, box-shadow .14s ease}
.tabs button:hover{color:var(--ink)}
.tabs button[aria-pressed="true"]{background:var(--ink);color:#fff;box-shadow:0 4px 12px rgba(21,39,61,.18)}
.authcard{position:relative;background:#fff;border:1px solid var(--line);border-radius:18px;
  box-shadow:0 1px 2px rgba(21,39,61,.05), 0 18px 44px rgba(21,39,61,.10);padding:26px 26px 28px}
.authcard::before{content:"";position:absolute;left:0;right:0;top:0;height:3px;border-radius:18px 18px 0 0;
  background:linear-gradient(90deg,var(--gold),var(--gold-deep))}
.authpanel{display:none}
.authpanel.on{display:block;animation:authIn .28s ease}
@keyframes authIn{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}
.field input[type=password],.field input[type=text],.field input[type=email],.pwwrap input,.field select{width:100%;padding:13px 14px;border:1px solid var(--line);border-radius:10px;font-family:'IBM Plex Mono';font-size:15px;background:#fff}
.field select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235E6E7E' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:38px;cursor:pointer}
.field input[type=password]:focus,.field input[type=text]:focus,.field input[type=email]:focus,.pwwrap input:focus,.field select:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(21,39,61,.12)}
.pwwrap{position:relative}
.pwwrap input{padding-right:50px}
.pwtoggle{position:absolute;top:50%;right:4px;transform:translateY(-50%);background:none;border:0;cursor:pointer;
  width:40px;height:40px;display:grid;place-items:center;border-radius:9px;font-size:18px;line-height:1;
  opacity:.55;transition:opacity .12s,background .12s}
.pwtoggle:hover{opacity:1;background:var(--paper)}
.pwtoggle[aria-pressed=true]{opacity:1}
.pwhint{font-size:12.5px;color:var(--steel);line-height:1.4;margin:7px 0 0;max-width:440px}
.pwhint.bad{color:var(--danger)}
.field input.invalid,.pwwrap input.invalid,.field input.invalid:focus,.pwwrap input.invalid:focus{
  border-color:var(--danger);box-shadow:0 0 0 3px var(--danger-soft)}
.consent.invalid{border-color:var(--danger);box-shadow:0 0 0 3px var(--danger-soft)}
.ferr{color:var(--danger);font-size:12.5px;line-height:1.35;margin:6px 0 0}
.ferr:empty{display:none}
.btn-block{width:100%;display:flex;justify-content:center}

/* ── Support / requests assistant (AI chat) ───────────────────── */
.sup-fab{position:fixed;right:20px;bottom:20px;z-index:60;width:56px;height:56px;border-radius:50%;
  border:0;cursor:pointer;background:var(--ink);color:var(--gold);display:grid;place-items:center;
  box-shadow:0 10px 26px rgba(21,39,61,.32);transition:transform .12s,box-shadow .12s}
.sup-fab:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(21,39,61,.38)}
.sup-fab svg{width:26px;height:26px}
.sup-panel{position:fixed;right:20px;bottom:88px;z-index:60;width:360px;max-width:calc(100vw - 32px);
  height:520px;max-height:calc(100vh - 120px);display:flex;flex-direction:column;
  background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;
  box-shadow:0 18px 50px rgba(21,39,61,.22);animation:authIn .2s ease}
.sup-panel[hidden]{display:none}
.sup-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:13px 16px;background:var(--ink);color:#fff}
.sup-head strong{font-family:'Archivo';font-size:15px}
.sup-x{background:none;border:0;color:#fff;font-size:17px;cursor:pointer;opacity:.8;line-height:1}
.sup-x:hover{opacity:1}
.sup-log{flex:1 1 auto;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;background:var(--paper)}
.sup-msg{max-width:84%;padding:9px 12px;border-radius:13px;font-size:14px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.sup-msg a{color:inherit;text-decoration:underline}
.sup-msg.bot{align-self:flex-start;background:#fff;border:1px solid var(--line);color:var(--ink);border-bottom-left-radius:4px}
.sup-msg.user{align-self:flex-end;background:var(--ink);color:#fff;border-bottom-right-radius:4px}
.sup-typing{align-self:flex-start;display:inline-flex;gap:4px;padding:12px 13px;background:#fff;border:1px solid var(--line);border-radius:13px}
.sup-typing span{width:6px;height:6px;border-radius:50%;background:var(--steel);animation:supblink 1s infinite}
.sup-typing span:nth-child(2){animation-delay:.15s}
.sup-typing span:nth-child(3){animation-delay:.3s}
@keyframes supblink{0%,60%,100%{opacity:.3;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}
.sup-input{flex:0 0 auto;display:flex;gap:8px;padding:10px;border-top:1px solid var(--line);background:#fff}
#supMsg{flex:1 1 auto;resize:none;max-height:96px;padding:9px 12px;border:1px solid var(--line);border-radius:10px;
  font-family:'IBM Plex Sans';font-size:14px;background:#fff;line-height:1.4}
#supMsg:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(21,39,61,.12)}
.sup-send{flex:0 0 auto;width:40px;border:0;border-radius:10px;background:var(--ink);color:#fff;cursor:pointer;font-size:15px}
.sup-send:disabled{opacity:.45;cursor:default}
.sup-attach{flex:0 0 auto;width:40px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--steel);cursor:pointer;display:grid;place-items:center}
.sup-attach[hidden]{display:none}
.sup-attach:hover{color:var(--ink);border-color:var(--ink)}
.sup-attach svg{width:19px;height:19px}
.sup-shots{flex:0 0 auto;display:flex;gap:8px;flex-wrap:wrap;padding:10px 10px 0;background:#fff}
.sup-shots[hidden]{display:none}
.sup-shot{position:relative;width:52px;height:52px;border-radius:9px;overflow:hidden;border:1px solid var(--line)}
.sup-shot img{width:100%;height:100%;object-fit:cover;display:block}
.sup-shot-x{position:absolute;top:2px;right:2px;width:18px;height:18px;border:0;border-radius:50%;background:rgba(21,39,61,.72);color:#fff;font-size:10px;line-height:1;cursor:pointer;display:grid;place-items:center;padding:0}
.sup-msg-shots{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:6px}
.sup-msg-shots img{max-width:170px;max-height:170px;border-radius:9px;display:block}
/* Discovery hint — teaser bubble above the FAB (logic in js/support.js) */
.sup-hint{position:fixed;right:20px;bottom:86px;z-index:59;max-width:250px;
  background:var(--ink);color:#fff;border-radius:14px;padding:12px 32px 12px 14px;
  font-family:'IBM Plex Sans',system-ui,sans-serif;font-size:13.5px;line-height:1.42;
  box-shadow:0 14px 34px rgba(21,39,61,.34);cursor:pointer;
  opacity:0;transform:translateY(8px) scale(.97);pointer-events:none;
  transition:opacity .28s ease,transform .28s ease}
.sup-hint.on{opacity:1;transform:none;pointer-events:auto}
.sup-hint::after{content:"";position:absolute;right:22px;bottom:-6px;width:13px;height:13px;
  background:var(--ink);transform:rotate(45deg);border-radius:0 0 3px 0}
.sup-hint-x{position:absolute;top:5px;right:5px;width:20px;height:20px;border:0;background:transparent;
  color:rgba(255,255,255,.6);font-size:12px;line-height:1;cursor:pointer;border-radius:6px}
.sup-hint-x:hover{color:#fff;background:rgba(255,255,255,.14)}
@media (prefers-reduced-motion:reduce){.sup-hint{transition:none}}
@media (max-width:400px){.sup-panel{right:12px;left:12px;width:auto;height:72vh}.sup-fab{right:14px;bottom:14px}.sup-hint{right:14px;bottom:78px;max-width:220px}}
/* landing-scoped CTA emphasis (does not affect shared .btn-primary on app/course) */
.authcard .btn-primary{font-size:15.5px;padding:15px 22px;border-radius:12px;
  box-shadow:0 8px 20px rgba(21,39,61,.24)}
.authcard .btn-primary:hover{box-shadow:0 12px 26px rgba(21,39,61,.30)}
.autherr{color:var(--danger);font-size:13px;min-height:18px;margin:2px 0 8px}
.authcard .autherr:empty{min-height:0;margin:0}
.demohint{font-size:12.5px;color:var(--steel);background:var(--paper);border:1px dashed var(--line);border-radius:9px;padding:9px 12px;margin-top:14px}

/* ── Story / Why LICENA ───────────────────────────────────── */
.story{margin:18px 0 40px}
.story-inner{background:var(--card);border:1px solid var(--line);border-radius:20px;
  padding:48px 44px;box-shadow:var(--shadow)}
.story-inner .eyebrow{margin-bottom:12px}
.story-inner h2{font-size:clamp(26px,4.5vw,40px);font-weight:800;max-width:22ch;margin-bottom:28px}
.story-grid{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:start}
.story-text p{color:var(--steel);font-size:16px;line-height:1.7;margin:0 0 18px}
.story-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.pill{font-family:'Archivo';font-weight:700;font-size:12px;text-transform:uppercase;
  letter-spacing:.08em;color:var(--ink);background:var(--paper);
  border:1px solid var(--line);border-radius:20px;padding:5px 12px}
.story-cards{display:flex;flex-direction:column;gap:14px}
.story-card{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:20px 22px}
.sc-label{font-family:'Archivo';font-weight:700;font-size:12px;text-transform:uppercase;
  letter-spacing:.1em;color:#8A5C06;margin-bottom:8px}
.sc-val{font-size:14.5px;color:var(--ink);line-height:1.6}
@media(max-width:740px){
  .story-inner{padding:32px 22px}
  .story-grid{grid-template-columns:1fr}
}

/* ── Testimonials ─────────────────────────────────────────── */
.testi{margin:0 0 40px}
.testi>.eyebrow{margin-bottom:10px}
.testi>h2{font-size:clamp(24px,4vw,36px);font-weight:800;margin-bottom:24px;letter-spacing:-.02em}
.testi-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.tcard{position:relative;background:var(--card);border:1px solid var(--line);border-radius:16px;
  padding:26px 24px 22px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:18px;
  transition:border-color .14s ease, transform .14s ease}
.tcard:hover{border-color:#c2cad0;transform:translateY(-2px)}
.tcard::before{content:"\201C";position:absolute;top:10px;right:20px;font-family:'Archivo';
  font-weight:900;font-size:52px;line-height:1;color:var(--gold);opacity:.22}
.tcard-body{font-size:15px;color:var(--ink);line-height:1.65;flex:1;position:relative;z-index:1}
.tcard-author{display:flex;align-items:center;gap:12px}
.tcard-avatar{width:40px;height:40px;border-radius:50%;background:var(--ink);color:var(--gold);
  font-family:'Archivo';font-weight:800;font-size:13px;
  display:grid;place-items:center;flex:0 0 auto}
.tcard-name{font-family:'Archivo';font-weight:700;font-size:14.5px;color:var(--ink)}
.tcard-meta{font-size:12.5px;color:var(--steel);margin-top:2px}
@media(max-width:680px){.testi-grid{grid-template-columns:1fr}}

/* ── Official resources slot (landing) ────────────────────── */
.res-slot{margin:0 0 40px}
.res-slot>.eyebrow{margin-bottom:10px}
.res-slot>h2{font-size:clamp(24px,4vw,36px);font-weight:800;margin-bottom:10px;letter-spacing:-.02em}
.res-slot .res-lead{color:var(--steel);font-size:15.5px;line-height:1.6;max-width:54ch;margin:0 0 24px}
/* grouped cards — CSS columns pack the groups with no large bottom void
   (the set is small + finite); collapses to one column on phones below. */
.res-list{column-count:2;column-gap:16px}
.res-group{background:var(--card);border:1px solid var(--line);border-radius:16px;
  padding:20px 22px 14px;box-shadow:var(--shadow);
  break-inside:avoid;-webkit-column-break-inside:avoid;margin:0 0 16px}
/* gold-accent group heading — echoes the brand accent on the story/footer labels */
.res-group-hd{position:relative;font-family:'Archivo';font-weight:700;font-size:12px;
  text-transform:uppercase;letter-spacing:.1em;color:#8A5C06;padding-left:13px;margin-bottom:6px}
.res-group-hd::before{content:"";position:absolute;left:0;top:1px;bottom:1px;width:3px;border-radius:3px;
  background:linear-gradient(180deg,var(--gold),var(--gold-deep))}
.res-items{list-style:none;margin:0;padding:0}
.res-link{display:flex;align-items:center;gap:12px;min-height:44px;padding:11px 12px;
  margin:0 -12px;border-radius:11px;text-decoration:none;color:var(--ink);
  transition:background .14s ease,transform .14s ease}
.res-link:hover{background:var(--paper);transform:translateX(2px)}
.res-link-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.res-title{font-family:'Archivo';font-weight:600;font-size:14.5px;line-height:1.35;color:var(--ink)}
.res-src{font-family:'IBM Plex Mono';font-size:11.5px;font-weight:500;color:var(--steel);letter-spacing:.01em}
.res-ext-ic{width:16px;height:16px;flex:0 0 16px;color:var(--steel);
  transition:color .14s ease,transform .14s ease}
.res-link:hover .res-ext-ic{color:var(--gold-deep);transform:translate(1px,-1px)}
.res-updated{font-size:12px;color:var(--steel);font-family:'IBM Plex Mono';margin-top:16px;letter-spacing:.02em}
@media(max-width:680px){.res-list{column-count:1}.res-group{margin-bottom:12px}}

/* ── Product proof — real course-player screenshots ───────── */
.proof{margin:0 0 40px}
.proof>.eyebrow{margin-bottom:10px}
.proof>h2{font-size:clamp(24px,4vw,36px);font-weight:800;margin-bottom:10px;letter-spacing:-.02em}
.proof-lead{color:var(--steel);font-size:15.5px;line-height:1.6;max-width:56ch;margin:0 0 24px}
.proof-main{margin:0;background:var(--card);border:1px solid var(--line);border-radius:16px;
  box-shadow:var(--shadow);overflow:hidden}
/* app-window chrome — says "this is the live product", first dot in brand gold */
.proof-bar{display:flex;align-items:center;gap:6px;padding:10px 14px;background:var(--ink)}
.proof-bar i{width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.26);flex:0 0 auto}
.proof-bar i:first-child{background:var(--gold)}
.proof-url{margin-left:8px;font-family:'IBM Plex Mono';font-size:11.5px;letter-spacing:.02em;
  color:#9fb2c6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.proof-main img,.proof-zoom img{display:block;width:100%;height:auto}
/* close-up card overlaps the full shot; flow margin (not absolute) so long
   RU/ES captions can never collide with the next section */
.proof-zoom{position:relative;z-index:2;width:42%;min-width:300px;margin:-240px 20px 0 auto;
  background:var(--card);border:1px solid var(--line);border-radius:16px;padding:10px 10px 4px;
  box-shadow:0 14px 38px rgba(21,39,61,.18)}
.proof-zoom img{border:1px solid var(--line);border-radius:10px}
.proof-zoom figcaption{position:relative;padding:10px 4px 8px 17px;font-size:13px;line-height:1.5;color:var(--steel)}
.proof-zoom figcaption::before{content:"";position:absolute;left:2px;top:13px;bottom:11px;width:3px;border-radius:3px;
  background:linear-gradient(180deg,var(--gold),var(--gold-deep))}
@media(max-width:680px){
  .proof-zoom{width:auto;min-width:0;margin:14px 0 0}
}

/* ── Exams we cover (landing) ─────────────────────────────── */
.cover{margin:0 0 40px}
.cover>.eyebrow{margin-bottom:10px}
.cover>h2{font-size:clamp(24px,4vw,36px);font-weight:800;margin-bottom:10px;letter-spacing:-.02em}
.cover-lead{color:var(--steel);font-size:15.5px;line-height:1.6;max-width:54ch;margin:0 0 24px}
.cover-groups{display:flex;flex-direction:column;gap:16px}
.cover-group{background:var(--card);border:1px solid var(--line);border-radius:16px;
  padding:20px 22px 16px;box-shadow:var(--shadow)}
/* gold-accent group heading — mirrors the resources slot for a consistent brand cue */
.cover-group-hd{position:relative;font-family:'Archivo';font-weight:700;font-size:12px;
  text-transform:uppercase;letter-spacing:.1em;color:#8A5C06;padding-left:13px;margin-bottom:8px}
.cover-group-hd::before{content:"";position:absolute;left:0;top:1px;bottom:1px;width:3px;border-radius:3px;
  background:linear-gradient(180deg,var(--gold),var(--gold-deep))}
.cover-list{list-style:none;margin:0;padding:0;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:2px}
.cover-item{display:flex;align-items:center;gap:10px;min-height:44px;padding:9px 10px;
  margin:0 -10px;border-radius:11px;text-decoration:none;color:var(--ink);
  font-family:'Archivo';font-weight:600;font-size:14px;line-height:1.3;
  transition:background .14s ease,transform .14s ease}
.cover-item::before{content:"";flex:0 0 17px;width:17px;height:17px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='15' viewBox='0 0 24 24' fill='none' stroke='%23B87E0A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:center}
.cover-item:hover{background:var(--paper);transform:translateX(2px)}
.cover-foot{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;margin-top:22px}
.cover-cta{text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
.cover-note{font-size:13.5px;color:var(--steel)}
@media(max-width:520px){.cover-list{grid-template-columns:1fr}}

/* ── FAQ (landing) ────────────────────────────────────────── */
.faq{margin:0 0 40px}
.faq>.eyebrow{margin-bottom:10px}
.faq>h2{font-size:clamp(24px,4vw,36px);font-weight:800;margin-bottom:24px;letter-spacing:-.02em}
.faq-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:16px;align-items:start}
.faq-item{position:relative;background:var(--card);border:1px solid var(--line);border-radius:16px;
  padding:22px 24px 20px;box-shadow:var(--shadow);
  transition:border-color .14s ease,transform .14s ease}
.faq-item:hover{border-color:#c2cad0;transform:translateY(-2px)}
.faq-q{font-family:'Archivo';font-weight:700;font-size:16.5px;line-height:1.3;color:var(--ink);
  padding-left:34px;margin-bottom:8px}
/* signature gold "Q" chip */
.faq-q::before{content:"Q";position:absolute;left:24px;top:22px;
  width:24px;height:24px;border-radius:7px;background:var(--gold);color:var(--ink);
  display:grid;place-items:center;font-family:'Archivo';font-weight:800;font-size:13px}
.faq-a{font-size:14.5px;color:var(--steel);line-height:1.6;padding-left:34px}
@media(max-width:680px){.faq-list{grid-template-columns:1fr}}

/* ── Footer (expanded) ────────────────────────────────────── */
footer{margin-top:48px;border-top:1px solid var(--line);background:var(--ink);color:#cdd8e3}
footer .wrap{padding:48px 22px 0}
.foot-cols{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:36px;padding-bottom:40px}
.foot-brand-col .fb{display:flex;align-items:center;gap:10px;font-family:'Archivo';
  font-weight:900;color:#fff;font-size:20px;margin-bottom:12px}
.foot-brand-col .fb .mk{width:30px;height:30px;border-radius:7px;background:var(--gold);
  color:var(--ink);display:grid;place-items:center;font-size:15px;font-weight:900;font-family:'Archivo'}
.foot-tagline{font-size:14px;color:#8ea2b6;line-height:1.6;margin:0;max-width:28ch}
.foot-col-head{font-family:'Archivo';font-weight:700;font-size:12px;text-transform:uppercase;
  letter-spacing:.12em;color:var(--gold);margin-bottom:14px}
.foot-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.foot-list li{font-size:13.5px;color:#8ea2b6;line-height:1.4}
/* RU-only Telegram channel link: the channel is Russian-language, so it shows
   only when the page language is RU (html[lang] is set on switch). */
.foot-tg-li{display:none}
html[lang="ru"] .foot-tg-li{display:list-item}
.foot-note-small{font-size:12px;color:#5d7589;margin-top:10px;line-height:1.5}
.foot-bottom{border-top:1px solid rgba(255,255,255,.08);padding:18px 0;
  display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;align-items:center}
.foot-bottom small{color:#5d7589;font-size:12px}
@media(max-width:820px){
  .foot-cols{grid-template-columns:1fr 1fr;gap:28px}
  .foot-brand-col{grid-column:1/-1}
}
@media(max-width:480px){
  .foot-cols{grid-template-columns:1fr}
  .foot-brand-col{grid-column:auto}
}
