
:root{
  --bg:#0d0d0d;
  --fg:#f7f7f7;
  --muted:#b7b7b7;
  --lego-yellow:#ffd400;
  --lego-orange:#ff6b00;
  --lego-red:#ef4444;
  --lego-green:#22c55e;
  --lego-blue:#3b82f6;
  --card:#151515;
  --border:#2a2a2a;
  --focus:#93c5fd;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; color:var(--fg); background:var(--bg) url('/img/brick-pattern.svg') repeat;
  font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial,'Noto Sans',sans-serif;
  line-height:1.6;
}
a{color:var(--lego-yellow); text-decoration:none}
a:hover{text-decoration:underline}
.container{width:min(1100px,92%); margin:0 auto}
nav{
  position:sticky; top:0; z-index:999; backdrop-filter:saturate(140%) blur(8px);
  background:rgba(13,13,13,.85); border-bottom:1px solid var(--border)
}
.nav-inner{display:flex; align-items:center; gap:24px; padding:12px 0}
.brand{display:flex; align-items:center; gap:12px; font-weight:800; letter-spacing:.2px}
.brand .stud{width:28px; height:28px; border-radius:8px; background:var(--lego-yellow);
  box-shadow:0 2px 0 #caa800 inset, 0 8px 18px rgba(0,0,0,.35)
}
.nav-links{margin-left:auto; display:flex; gap:18px; flex-wrap:wrap}
.nav-links a{padding:10px 12px; border-radius:10px}
.nav-links a:not(.cta):hover{background:#1c1c1c}
.hero{position:relative; padding:56px 0 24px; overflow:hidden; border-bottom:1px solid var(--border)}
.hero .grid{display:grid; grid-template-columns:1.05fr .95fr; gap:28px; align-items:center}
.hero h1{font-size:clamp(28px,5vw,46px); line-height:1.12; margin:0 0 12px}
.hero p.sub{color:var(--muted); margin:0 0 18px}
.price{display:flex; align-items:baseline; gap:10px; margin:18px 0}
.price .amount{font-size:40px; font-weight:900; color:#111; background:linear-gradient(45deg,var(--lego-yellow),#fff);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent
}
.card{background:var(--card); border:1px solid var(--border); border-radius:18px; padding:18px}
.cta{
  --shine:linear-gradient(120deg,transparent 0%,rgba(255,255,255,.6) 30%,transparent 60%);
  position:relative; display:inline-flex; align-items:center; gap:12px; font-weight:800;
  background:linear-gradient(180deg,var(--lego-yellow),#f2c200); color:#111;
  padding:14px 20px; border-radius:14px; border:0; cursor:pointer; text-decoration:none; overflow:hidden
}
.cta .blink{font-size:12px; padding:4px 8px; background:#111; color:#fff; border-radius:999px}
.cta:focus{outline:3px solid var(--focus); outline-offset:3px}
.cta::before{
  content:""; position:absolute; inset:0; transform:translateX(-120%);
  background:var(--shine); transition:transform .75s ease
}
.cta:hover::before{transform:translateX(120%)}
.badges{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
.badge{font-size:12px; padding:6px 10px; background:#1d1d1d; border:1px solid var(--border); border-radius:999px}
.hero-visual{position:relative}
.hero-visual img{width:100%; height:auto; border-radius:16px; border:1px solid var(--border); box-shadow:0 24px 40px rgba(0,0,0,.45)}
.section{padding:56px 0}
.sec-title{display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:18px}
.sec-title h2{font-size:clamp(22px,3.5vw,32px); margin:0}
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.grid-2{display:grid; grid-template-columns:repeat(2,1fr); gap:16px}
.feature{background:var(--card); border:1px solid var(--border); border-radius:16px; padding:18px}
.feature h3{margin:0 0 6px}
.kv{display:flex; gap:14px; align-items:flex-start}
.kv .stud{width:22px;height:22px;border-radius:6px;background:var(--lego-orange); box-shadow:0 2px 0 #bb5300 inset}
.toc li{margin:8px 0}
blockquote{margin:0; padding:14px 16px; border-left:4px solid var(--lego-yellow); background:#161616; border-radius:8px}
.faq{display:grid; gap:10px}
.faq details{background:#141414; border:1px solid var(--border); border-radius:12px; padding:10px}
.faq details[open]{background:#1a1a1a}
.faq summary{cursor:pointer; font-weight:700}
.authors{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.author{background:var(--card); border:1px solid var(--border); border-radius:16px; padding:16px}
.footer{padding:32px 0 56px; color:#bdbdbd; font-size:14px; border-top:1px solid var(--border)}
.sticky-cta{
  position:sticky; bottom:0; background:rgba(13,13,13,.9); border-top:1px solid var(--border);
  padding:10px 0; z-index:998; display:none
}
.sticky-cta .row{display:flex; align-items:center; justify-content:space-between; gap:12px}
.sticky-cta .title{font-weight:700}
.toast{position:fixed; right:20px; bottom:20px; background:#111; border:1px solid var(--border);
  padding:12px 16px; border-radius:10px; display:none
}
.cookie{position:fixed; left:20px; bottom:20px; background:#111; border:1px solid var(--border);
  padding:12px 16px; border-radius:10px; max-width:360px; display:none
}
hr{border:0; height:1px; background:var(--border); margin:24px 0}

@media (max-width:980px){
  .hero .grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr}
  .grid-2{grid-template-columns:1fr}
  .authors{grid-template-columns:1fr}
  .sticky-cta{display:block}
}
/* Skip link */
.skip{position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden}
.skip:focus{left:10px; top:10px; width:auto; height:auto; background:#111; color:#fff; padding:8px 10px; border-radius:8px}


html, body{overflow-x:hidden}
.cta:hover{text-decoration:none}
.grid-2 > :only-child{grid-column:1 / -1}
.hero-visual{display:none}

