*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body,h1,h2,h3,h4,p,ul,ol,figure,blockquote{margin:0}
ul,ol{padding:0;list-style:none}
img,picture,svg,video{display:block;max-width:100%;height:auto}
button{font:inherit;color:inherit;cursor:pointer;background:none;border:0;padding:0}
a{color:inherit;text-decoration:none}
table{border-collapse:collapse;width:100%}

:root{
  --bg:#0d0e15;
  --surface:#181a23;
  --surface-2:#22242f;
  --surface-3:#2a2c38;
  --border:#2a2c38;
  --text:#fff;
  --muted:#9094a3;
  --muted-2:#6b6f7d;
  --accent:#ffb01f;
  --accent-hi:#ffd24a;
  --accent-grad:linear-gradient(180deg,#ffd24a 0%,#ff9c00 100%);
  --hero-gradient:linear-gradient(95deg,#16182a 0%,#1d1340 35%,#311045 60%,#5a1735 100%);
  --radius-sm:10px;
  --radius:14px;
  --radius-lg:22px;
  --container:1320px;
  --header-h:64px;
  --sidebar-w:208px;
  --shadow:0 6px 24px rgba(0,0,0,.45);
  --font:Inter,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}

body{
  font-family:var(--font);
  font-weight:400;
  background:var(--bg);
  color:var(--text);
  line-height:1.55;
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 16px}
.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}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  height:44px;padding:0 22px;border-radius:999px;
  font-weight:700;font-size:14px;letter-spacing:.01em;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease,color .15s ease;
  white-space:nowrap;
}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--accent-grad);color:#1a1300;box-shadow:0 6px 16px rgba(255,176,31,.28)}
.btn-primary:hover{filter:brightness(1.06)}
.btn-ghost{background:transparent;color:var(--text);border:1px solid var(--surface-3)}
.btn-ghost:hover{background:var(--surface-2)}
.btn-sm{height:36px;padding:0 16px;font-size:13px}
.btn-block{width:100%}

.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(13,14,21,.92);
  backdrop-filter:saturate(160%) blur(8px);
  -webkit-backdrop-filter:saturate(160%) blur(8px);
  border-bottom:1px solid var(--border);
}
.site-header__inner{
  display:flex;align-items:center;gap:12px;
  height:var(--header-h);
}
.brand{display:inline-flex;align-items:center;gap:8px;font-weight:800;font-size:20px;letter-spacing:.04em}
.brand img{height:28px;width:auto}
.brand-text{display:inline-block}
.brand-text .a{color:var(--accent)}

.nav-spacer{flex:1}
.header-actions{display:flex;align-items:center;gap:8px}
.header-login{display:none}
.burger{
  width:42px;height:42px;border-radius:12px;background:var(--surface-2);
  display:inline-flex;align-items:center;justify-content:center;
}
.burger span{display:block;width:18px;height:2px;background:#fff;position:relative}
.burger span::before,.burger span::after{content:"";position:absolute;left:0;width:18px;height:2px;background:#fff;transition:transform .2s ease}
.burger span::before{top:-6px}.burger span::after{top:6px}
.burger[aria-expanded="true"] span{background:transparent}
.burger[aria-expanded="true"] span::before{transform:translateY(6px) rotate(45deg)}
.burger[aria-expanded="true"] span::after{transform:translateY(-6px) rotate(-45deg)}

.mobile-drawer{
  position:fixed;
  top:var(--header-h);left:0;right:0;bottom:0;
  z-index:60;
  background:#08090e;
  padding:18px 16px 24px;
  transform:translateY(-12px);opacity:0;pointer-events:none;
  transition:opacity .2s ease,transform .2s ease;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
.mobile-drawer[data-open="true"]{transform:translateY(0);opacity:1;pointer-events:auto}
.mobile-drawer__list{display:grid;gap:6px}
.mobile-drawer__list a{
  display:flex;align-items:center;gap:12px;
  padding:14px 14px;border-radius:12px;
  background:var(--surface);border:1px solid var(--border);
  font-weight:600;
}
.mobile-drawer__list a[aria-current="page"]{border-color:var(--accent);color:var(--accent)}
.mobile-drawer__cta{display:grid;gap:10px;margin-top:18px}

.layout{display:block}
.sidebar{display:none}

.hero{
  position:relative;overflow:hidden;border-radius:var(--radius-lg);
  margin-top:18px;
  background:var(--hero-gradient);
  isolation:isolate;
  min-height:240px;
  display:flex;align-items:center;
}
.hero__inner{position:relative;z-index:2;padding:26px 22px;max-width:60%}
.hero__eyebrow{font-size:13px;color:#cdb6ff;text-transform:uppercase;letter-spacing:.18em;font-weight:700;margin-bottom:10px}
.hero__title{font-weight:800;font-size:clamp(24px,5vw,44px);line-height:1.05;margin-bottom:8px}
.hero__sub{
  font-weight:800;font-size:clamp(18px,3.4vw,30px);line-height:1.1;
  color:#ffce4d;margin-bottom:18px;
  text-shadow:0 2px 12px rgba(255,176,31,.25);
}
.hero__cta{display:flex;flex-wrap:wrap;gap:10px}
.hero__media{
  position:absolute;inset:0;z-index:1;pointer-events:none;
}
.hero__media img{
  position:absolute;bottom:0;height:100%;width:auto;max-width:none;
  object-fit:contain;
  left:-44%;right:auto;object-position:left bottom;
  -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 60%,transparent 100%);
  mask-image:linear-gradient(90deg,#000 0%,#000 60%,transparent 100%);
}
.hero::after{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:linear-gradient(90deg,rgba(8,9,18,.85) 0%,rgba(8,9,18,.55) 45%,rgba(8,9,18,0) 100%);
}
.hero__inner{position:relative;z-index:2}
.hero__dots{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);display:flex;gap:6px;z-index:3}
.hero__dots span{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.35)}
.hero__dots span.active{background:#fff}

.chips{
  display:flex;gap:8px;overflow-x:auto;
  margin:18px 0 8px;padding:6px 0 12px;
  scrollbar-width:none;-ms-overflow-style:none;
}
.chips::-webkit-scrollbar{display:none}
.chip{
  flex:0 0 auto;
  display:inline-flex;align-items:center;gap:8px;
  height:36px;padding:0 14px;border-radius:999px;
  background:var(--surface);border:1px solid var(--border);
  color:var(--text);font-size:13px;font-weight:600;
}
.chip:hover{border-color:var(--accent)}
.chip[data-active="true"]{background:var(--accent);color:#1a1300;border-color:var(--accent)}

.row{margin-top:24px}
.row__head{
  display:flex;align-items:center;gap:12px;margin-bottom:12px;
}
.row__title{font-weight:800;font-size:16px;display:inline-flex;align-items:center;gap:8px}
.row__title::before{content:"";width:14px;height:14px;border-radius:3px;background:var(--accent);display:inline-block}
.row__spacer{flex:1}
.row__more{color:var(--muted);font-size:13px;font-weight:600}
.row__nav{display:inline-flex;gap:6px}
.row__nav button{
  width:32px;height:32px;border-radius:10px;
  background:var(--surface-2);color:#fff;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--border);
}
.row__nav button:hover{background:var(--surface-3)}

.row-scroll{
  display:grid;grid-auto-flow:column;grid-auto-columns:46%;gap:10px;
  overflow-x:auto;scroll-snap-type:x mandatory;
  padding-bottom:6px;
  scrollbar-width:none;-ms-overflow-style:none;
}
.row-scroll::-webkit-scrollbar{display:none}
.tile{
  position:relative;display:block;aspect-ratio:1/1;
  border-radius:18px;overflow:hidden;background:#0a0a10;
  scroll-snap-align:start;isolation:isolate;
  transition:transform .2s ease,box-shadow .2s ease;
}
.tile:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.4)}
.tile img{width:100%;height:100%;object-fit:cover}
.tile__badge{
  position:absolute;top:8px;left:8px;z-index:2;
  background:rgba(0,0,0,.6);color:#fff;
  font-size:10px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
  padding:4px 8px;border-radius:999px;backdrop-filter:blur(6px);
}
.tile__badge--accent{background:var(--accent);color:#1a1300}

.seo-content{
  margin-top:48px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:32px 22px;
}
.prose{max-width:780px;margin:0 auto;color:var(--text);font-size:16px;line-height:1.7}
.prose>*+*{margin-top:1em}
.prose h1{font-size:clamp(26px,4.4vw,40px);font-weight:800;line-height:1.15;margin-top:0;letter-spacing:-.01em}
.prose h2{font-size:clamp(22px,3.4vw,30px);font-weight:800;line-height:1.2;margin-top:1.6em;color:#fff}
.prose h3{font-size:clamp(18px,2.6vw,22px);font-weight:700;margin-top:1.4em}
.prose h4{font-size:16px;font-weight:700;margin-top:1.2em;color:var(--accent-hi)}
.prose p{color:#dcdee6}
.prose strong{color:#fff;font-weight:700}
.prose em{color:#fff;font-style:italic}
.prose ul,.prose ol{padding-left:0;display:grid;gap:8px}
.prose ul li,.prose ol li{
  position:relative;padding-left:22px;color:#dcdee6;
}
.prose ul li::before{
  content:"";position:absolute;left:6px;top:.7em;
  width:6px;height:6px;border-radius:50%;background:var(--accent);
}
.prose ol{counter-reset:c}
.prose ol li{counter-increment:c}
.prose ol li::before{
  content:counter(c);position:absolute;left:0;top:.15em;
  width:18px;height:18px;border-radius:50%;
  background:var(--accent);color:#1a1300;
  font-size:11px;font-weight:800;
  display:inline-flex;align-items:center;justify-content:center;
}
.prose a{color:var(--accent-hi);text-decoration:underline;text-underline-offset:3px}
.prose a:hover{color:var(--accent)}

.table-scroll{overflow-x:auto;border-radius:var(--radius);border:1px solid var(--border);background:#13141c;-webkit-overflow-scrolling:touch}
.table-scroll table{min-width:560px;font-size:14px}
.table-scroll th,.table-scroll td{
  padding:12px 14px;text-align:left;
  border-bottom:1px solid var(--border);color:#dcdee6;
}
.table-scroll thead th{background:#1d1f29;color:#fff;font-weight:700;font-size:13px;letter-spacing:.02em}
.table-scroll tbody tr:last-child td{border-bottom:0}
.table-scroll tbody tr:hover td{background:rgba(255,176,31,.04)}

.cta-strip{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  margin-top:32px;padding:22px;border-radius:var(--radius-lg);
  background:linear-gradient(95deg,#1d1340 0%,#5a1735 100%);
  flex-wrap:wrap;
}
.cta-strip__text{font-weight:800;font-size:clamp(16px,2.6vw,22px);max-width:640px}

.site-footer{
  margin-top:48px;background:var(--surface);
  border-top:1px solid var(--border);padding:28px 0 32px;
}
.footer-top{
  display:flex;flex-wrap:wrap;align-items:center;gap:14px;
  padding-bottom:18px;border-bottom:1px solid var(--border);
}
.footer-top__brand{display:flex;align-items:center;gap:10px;color:var(--muted);font-weight:700;font-size:13px;letter-spacing:.08em;text-transform:uppercase}
.footer-top__spacer{flex:1}
.footer-top__chat{display:inline-flex;align-items:center;gap:8px;color:var(--accent);font-weight:700;border:1px solid var(--accent);padding:10px 16px;border-radius:999px}
.footer-top__msg{color:var(--muted);display:inline-flex;align-items:center;gap:8px;font-size:14px}

.footer-grid{
  display:grid;grid-template-columns:1fr;gap:24px;margin-top:24px;
}
.footer-col h4{font-size:14px;font-weight:700;margin-bottom:12px;color:#fff}
.footer-col ul{display:grid;gap:8px}
.footer-col a{color:var(--muted);font-size:14px}
.footer-col a:hover{color:#fff}
.footer-meta{margin-top:24px;color:var(--muted);font-size:12px;line-height:1.7;max-width:760px}
.footer-meta a{color:var(--accent)}
.payments{
  display:flex;flex-wrap:wrap;gap:18px;justify-content:center;align-items:center;
  margin-top:24px;padding-top:24px;border-top:1px solid var(--border);
  color:var(--muted-2);font-weight:800;letter-spacing:.06em;font-size:14px;
}
.payments span{opacity:.6}

.error-page{min-height:60vh;display:grid;place-items:center;text-align:center;padding:60px 16px}
.error-page__code{font-size:clamp(80px,18vw,160px);font-weight:800;line-height:1;letter-spacing:-.04em;background:var(--accent-grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.error-page__title{font-size:clamp(20px,3.4vw,28px);font-weight:800;margin-top:8px}
.error-page__text{color:var(--muted);max-width:520px;margin:12px auto 24px}
.error-page__cta{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}

@media (min-width:560px){
  .row-scroll{grid-auto-columns:32%}
}
@media (min-width:768px){
  .container{padding:0 24px}
  .hero{min-height:320px}
  .hero__inner{padding:36px 30px}
  .hero__media img{
    left:auto;right:-4%;object-position:right bottom;
    -webkit-mask-image:linear-gradient(90deg,transparent 0%,#000 28%,#000 100%);
    mask-image:linear-gradient(90deg,transparent 0%,#000 28%,#000 100%);
  }
  .hero::after{
    background:linear-gradient(90deg,rgba(8,9,18,.4) 0%,rgba(8,9,18,0) 60%);
  }
  .row-scroll{grid-auto-columns:24%;gap:14px}
  .footer-grid{grid-template-columns:1.4fr 1fr 1fr 1fr}
  .footer-meta{margin-top:0;grid-column:1 / 2}
  .header-login{display:inline-flex}
}
@media (min-width:1024px){
  .row-scroll{grid-auto-columns:18%}
  .hero__inner{max-width:55%}
  .hero{min-height:360px}
}
@media (min-width:1100px){
  .layout{display:grid;grid-template-columns:var(--sidebar-w) 1fr;gap:24px;align-items:start}
  .container.layout{padding:0 24px}
  .sidebar{
    display:block;position:sticky;top:calc(var(--header-h) + 18px);
    background:var(--surface);border:1px solid var(--border);
    border-radius:var(--radius);padding:14px 10px;
  }
  .sidebar__list{display:grid;gap:4px}
  .sidebar__list a{
    display:flex;align-items:center;gap:10px;
    padding:10px 12px;border-radius:10px;
    color:var(--muted);font-size:14px;font-weight:600;
  }
  .sidebar__list a:hover{background:var(--surface-2);color:#fff}
  .sidebar__list a[aria-current="page"]{background:var(--surface-2);color:#fff;border:1px solid var(--border)}
  .sidebar__icon{width:18px;height:18px;color:var(--accent)}
  .burger{display:none}
  .header-actions .btn-primary{order:2}
}
@media (min-width:1240px){
  .row-scroll{grid-auto-columns:14.5%}
  .hero__inner{padding:44px 40px;max-width:50%}
  .hero{min-height:400px}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:0!important;transition-duration:0!important}
}
