/* Академија Прв клик — shared styles for the landing page and the learning area.
   Layout idea: the course's own world. Cream paper, navy ink and one warm orange (the colours of the videos);
   big type and big targets, because the reader may be 70 and unsure, or their son abroad on a phone. */
:root{
  --paper:#FBF5EA; --paper-2:#F3EAD8; --surface:#FFFDF8; --ink:#1F2A44; --muted:#545B70; --rule:#E2D7C3;
  --orange:#E8762C; --orange-ink:#A9481A; --orange-soft:#FBE1CC; --sage:#7FA88C; --sage-soft:#E2EEE5; --navy:#1F2A44; --on-navy:#FBF5EA; --edge:#1F2A44; --on-orange:#1F2A44;
  --display:"Rubik","Segoe UI",system-ui,sans-serif; --body:"Golos Text","Segoe UI",system-ui,sans-serif;
  --r:18px; --shadow:0 18px 50px -18px rgba(31,42,68,.35);
}
@media (prefers-color-scheme: dark){ :root:not([data-theme="light"]){
  --paper:#131927; --paper-2:#182033; --surface:#1C2539; --ink:#F2EBDD; --muted:#B1B7C6; --rule:#2D3854;
  --orange:#F08A42; --orange-ink:#F6A46A; --orange-soft:#3D2A1C; --sage:#8FB89B; --sage-soft:#1D3127; --navy:#0D1220; --on-navy:#F2EBDD; --edge:#05070D; color-scheme:dark } }
:root[data-theme="dark"]{
  --paper:#131927; --paper-2:#182033; --surface:#1C2539; --ink:#F2EBDD; --muted:#B1B7C6; --rule:#2D3854;
  --orange:#F08A42; --orange-ink:#F6A46A; --orange-soft:#3D2A1C; --sage:#8FB89B; --sage-soft:#1D3127; --navy:#0D1220; --on-navy:#F2EBDD; --edge:#05070D; color-scheme:dark }

*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto} *{animation:none!important;transition:none!important}}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);font-size:19px;line-height:1.6}
img{max-width:100%;display:block}
a{color:inherit}
:focus-visible{outline:3px solid var(--orange);outline-offset:3px;border-radius:6px}
.wrap{max-width:1180px;margin:0 auto;padding-inline:clamp(16px,4vw,40px)}
h1,h2,h3{font-family:var(--display);line-height:1.1;margin:0;text-wrap:balance}
h1{font-weight:700;font-size:clamp(40px,6.4vw,72px);letter-spacing:-.015em}
h2{font-weight:700;font-size:clamp(30px,4vw,46px);letter-spacing:-.01em}
h3{font-weight:700;font-size:23px}
p{margin:0}
.lead{font-size:clamp(20px,2.1vw,23px);color:var(--muted);max-width:56ch}
.eyebrow{font-family:var(--display);font-weight:500;font-size:15px;letter-spacing:.12em;text-transform:uppercase;color:var(--orange-ink)}

/* buttons: big, plain words, the action stated */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:58px;padding:0 28px;border-radius:999px;font-family:var(--display);font-weight:700;font-size:19px;text-decoration:none;border:2px solid transparent;cursor:pointer;transition:transform .15s ease, background .15s ease}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:var(--orange);color:var(--on-orange)}
.btn-primary:hover{background:color-mix(in srgb,var(--orange) 88%,#fff)}
.btn-ghost{background:transparent;color:var(--ink);border-color:var(--ink)}
.btn-ghost:hover{background:var(--surface)}

/* header */
.top{position:sticky;top:env(safe-area-inset-top,0px);z-index:20;background:color-mix(in srgb,var(--paper) 92%,transparent);backdrop-filter:blur(8px);border-bottom:1px solid var(--rule)}
.top .wrap{display:flex;align-items:center;gap:24px;min-height:76px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;flex:none}
.brand svg{width:34px;height:51px}
.brand b{font-family:var(--display);font-weight:700;font-size:25px;line-height:1}
.brand span{display:inline-flex;flex-direction:column}
.brand small{display:flex;justify-content:space-between;font-family:var(--body);font-weight:500;font-size:11.5px;letter-spacing:0;color:var(--muted);margin-top:1px}
.brand small i{font-style:normal}
.nav{display:flex;gap:4px 22px;margin-left:auto;flex-wrap:wrap}
.nav a{text-decoration:none;font-weight:500;font-size:17px;color:var(--muted);padding:6px 2px}
.nav a:hover{color:var(--ink)}
.top .btn{min-height:46px;padding:0 20px;font-size:17px}
@media (max-width:920px){.nav{display:none}.top .btn{margin-left:auto}}

/* logo colours (inline SVG uses classes so it follows the theme) */
.lg-i{fill:var(--ink)} .lg-s{stroke:var(--ink)} .lg-o{fill:var(--orange)} .lg-p{fill:var(--paper)}
.lg-m{stroke:var(--edge)} footer .lg-m{stroke:#080B14} .lg-b{fill:#FBF5EA} .lg-l{stroke:#1F2A44} /* the mouse body stays solid cream with navy lines on any background */

section{padding-block:clamp(64px,9vw,112px)}
.sec-head{display:grid;gap:14px;max-width:760px;margin-bottom:44px}

footer{background:var(--navy);color:var(--on-navy);padding-block:48px}
footer .wrap{display:flex;flex-wrap:wrap;gap:20px 40px;align-items:center;justify-content:space-between}
footer p{color:color-mix(in srgb,var(--on-navy) 75%,transparent);font-size:16px}
footer .lg-i{fill:var(--on-navy)} footer .lg-s{stroke:var(--on-navy)} footer .lg-p{fill:var(--navy)}
[hidden]{display:none!important}
