@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg:       #080e1a;
  --bg-1:     #0c1424;
  --bg-2:     #111d30;
  --surface:  #0f1d30;
  --surface-2:#162440;
  --text:     #e8edf5;
  --muted:    rgba(180,200,230,.6);
  --dim:      rgba(140,165,200,.4);
  --stroke:   rgba(80,130,200,.12);
  --accent:   #00d4b4;
  --accent2:  #00b89c;
  --ar:       0,212,180;
  --red:      #ff4f6d;
  --link:     #5bc8ff;
  --hdr-h:    62px;
  --r:        8px;
  --r2:       14px;
  --pad:      18px;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',system-ui,sans-serif;
  font-size:15px;line-height:1.7;
  color:var(--text);background:var(--bg);
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}

/* ── BACKGROUND ── */
.bg{
  position:fixed;inset:0;z-index:-1;pointer-events:none;
  background:
    radial-gradient(ellipse 55% 45% at 100% 0%,   rgba(0,212,180,.08) 0%,transparent 60%),
    radial-gradient(ellipse 40% 35% at 0%  100%, rgba(0,100,255,.07)  0%,transparent 60%),
    var(--bg);
}
.bg::before{
  content:'';position:absolute;inset:0;
  background-image:
    linear-gradient(rgba(0,212,180,.03) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,212,180,.03) 1px,transparent 1px);
  background-size:48px 48px;
}

/* ── HEADER ── */
.hdr{
  position:sticky;top:0;z-index:100;
  height:var(--hdr-h);
  background:rgba(8,14,26,.9);
  backdrop-filter:blur(20px) saturate(1.6);
  border-bottom:1px solid var(--stroke);
}
.hdr__inner{
  max-width:1200px;margin:0 auto;
  height:100%;padding:0 var(--pad);
  display:flex;align-items:center;gap:14px;
}
.hdr__logo{flex-shrink:0}
.hdr__logo img{height:34px;width:auto;filter:brightness(1.1)}
.hdr__nav{
  display:none;list-style:none;flex:1;
  justify-content:center;gap:2px;
}
.hdr__nav a{
  display:inline-flex;align-items:center;
  padding:7px 14px;border-radius:var(--r);
  font-size:13px;font-weight:600;color:var(--muted);
  border:1px solid transparent;letter-spacing:.01em;
  transition:color .15s,background .15s,border-color .15s;
}
.hdr__nav a:hover,
.hdr__nav a.active{
  color:var(--accent);
  background:rgba(var(--ar),.07);
  border-color:rgba(var(--ar),.2);
}
.hdr__cta{
  margin-left:auto;
  padding:9px 20px;border-radius:var(--r);
  background:var(--accent);
  color:#080e1a;font-weight:800;font-size:13px;
  white-space:nowrap;flex-shrink:0;letter-spacing:.02em;
  transition:background .15s,transform .15s,box-shadow .15s;
  box-shadow:0 0 20px rgba(var(--ar),.3);
}
.hdr__cta:hover{background:var(--accent2);transform:translateY(-1px);box-shadow:0 0 28px rgba(var(--ar),.45)}

.burger{
  width:38px;height:38px;flex-shrink:0;
  border:1px solid var(--stroke);border-radius:var(--r);
  background:transparent;cursor:pointer;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;
  margin-left:auto;
}
.burger__line{width:18px;height:1.5px;background:var(--muted);border-radius:2px;display:block}

/* ── SIDE MENU ── */
.side{
  position:fixed;inset:0 0 0 auto;width:270px;z-index:200;
  background:var(--bg-1);border-left:1px solid var(--stroke);
  display:flex;flex-direction:column;
  transform:translateX(100%);transition:transform .25s ease;
  padding:20px 0 40px;
}
.side.open{transform:translateX(0)}
.side__close{
  position:absolute;top:14px;right:14px;
  width:36px;height:36px;background:var(--bg-2);
  border:none;border-radius:var(--r);cursor:pointer;
  display:grid;place-content:center;
}
.side__close::before,.side__close::after{
  content:'';position:absolute;width:14px;height:1.5px;
  background:var(--muted);border-radius:2px;
}
.side__close::before{transform:rotate(45deg)}
.side__close::after{transform:rotate(-45deg)}
.side nav{margin-top:58px;padding:0 12px}
.side nav a{
  display:block;padding:12px 14px;border-radius:var(--r);
  font-weight:600;font-size:14px;color:var(--muted);
  transition:color .15s,background .15s;
}
.side nav a:hover,.side nav a.active{color:var(--accent);background:rgba(var(--ar),.07)}
.overlay{position:fixed;inset:0;z-index:150;background:rgba(0,0,0,.6);display:none}
.overlay.show{display:block}

/* ── PAGE ── */
.page{max-width:880px;margin:0 auto;padding:36px var(--pad) 80px}

/* ── HERO ── */
.hero{margin-bottom:32px}
.hero h1{
  font-family:'Space Grotesk',sans-serif;
  font-size:clamp(22px,4vw,36px);font-weight:700;line-height:1.2;
  margin-bottom:14px;color:#fff;letter-spacing:-.02em;
}
.hero h1 em{
  font-style:normal;color:var(--accent);
}
.hero__lead{font-size:16px;color:var(--muted);max-width:680px;line-height:1.65}

/* ── STATS STRIP ── */
.stats{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:30px}
.stat{
  flex:1 1 120px;min-width:110px;
  background:var(--surface);border:1px solid var(--stroke);
  border-radius:var(--r2);padding:14px 16px;
  position:relative;overflow:hidden;
}
.stat::before{
  content:'';position:absolute;top:0;left:0;right:0;height:2px;
  background:linear-gradient(90deg,var(--accent),transparent);
}
.stat__val{font-size:21px;font-weight:800;color:var(--accent);line-height:1;margin-bottom:5px;font-family:'Space Grotesk',sans-serif}
.stat__lbl{font-size:11px;color:var(--muted);font-weight:600;text-transform:uppercase;letter-spacing:.06em}

/* ── SECTION ── */
.section{margin-bottom:40px}
.section h2{
  font-family:'Space Grotesk',sans-serif;
  font-size:clamp(17px,2.8vw,22px);font-weight:700;
  margin-bottom:14px;padding-bottom:12px;
  border-bottom:1px solid var(--stroke);
  color:#fff;letter-spacing:-.01em;
  display:flex;align-items:center;gap:10px;
}
.section h2::before{
  content:'';display:inline-block;width:3px;height:1em;
  background:var(--accent);border-radius:2px;flex-shrink:0;
}
.section h3{
  font-size:15.5px;font-weight:700;
  margin:22px 0 8px;color:var(--accent);
  font-family:'Space Grotesk',sans-serif;
}
.section p{margin-bottom:12px;color:rgba(220,235,255,.8)}
.section p:last-child{margin-bottom:0}
.section strong{color:#fff;font-weight:700}
.section ul,.section ol{padding-left:20px;margin-bottom:12px}
.section li{margin-bottom:6px;color:rgba(220,235,255,.8)}

/* ── INLINE LINK ── */
.ilink{color:var(--link);text-decoration:underline;text-decoration-color:rgba(91,200,255,.35);text-underline-offset:3px}
.ilink:hover{color:var(--accent);text-decoration-color:var(--accent)}

/* ── TABLE ── */
.tbl-wrap{overflow-x:auto;margin:16px 0;border-radius:var(--r2);border:1px solid var(--stroke)}
table{width:100%;border-collapse:collapse;font-size:13.5px}
th{
  background:rgba(var(--ar),.07);color:var(--accent);
  font-weight:700;text-align:left;
  padding:10px 14px;border-bottom:1px solid rgba(var(--ar),.15);
  white-space:nowrap;font-family:'Space Grotesk',sans-serif;font-size:12px;text-transform:uppercase;letter-spacing:.06em;
}
td{padding:9px 14px;border-bottom:1px solid var(--stroke);color:rgba(220,235,255,.8)}
tr:last-child td{border-bottom:none}
tr:hover td{background:rgba(var(--ar),.03)}

/* ── FAQ ── */
.faq__item{border-bottom:1px solid var(--stroke)}
.faq__q{
  width:100%;background:none;border:none;cursor:pointer;
  display:flex;justify-content:space-between;align-items:center;
  padding:16px 0;gap:12px;text-align:left;
  font-family:inherit;font-size:14.5px;font-weight:600;color:var(--text);
}
.faq__q:hover{color:var(--accent)}
.faq__icon{
  flex-shrink:0;width:22px;height:22px;
  border:1px solid var(--stroke);border-radius:4px;
  display:grid;place-content:center;
  transition:transform .2s,border-color .2s,background .2s;
  font-size:13px;color:var(--muted);font-style:normal;
}
.faq__item.open .faq__icon{transform:rotate(45deg);border-color:var(--accent);color:var(--accent);background:rgba(var(--ar),.1)}
.faq__a{max-height:0;overflow:hidden;transition:max-height .3s ease}
.faq__item.open .faq__a{max-height:800px}
.faq__a-inner{padding:0 0 16px;font-size:14px;color:var(--muted);line-height:1.75}

/* ── CARDS ── */
.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin:16px 0}
.card{
  background:var(--surface);border:1px solid var(--stroke);
  border-radius:var(--r2);padding:18px;
  transition:border-color .2s,transform .2s;
  position:relative;overflow:hidden;
}
.card::after{
  content:'';position:absolute;bottom:0;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent,var(--accent),transparent);
  opacity:0;transition:opacity .2s;
}
.card:hover{border-color:rgba(var(--ar),.3);transform:translateY(-2px)}
.card:hover::after{opacity:1}
.card__icon{font-size:24px;margin-bottom:10px}
.card__title{font-size:14px;font-weight:700;margin-bottom:5px;color:#fff;font-family:'Space Grotesk',sans-serif}
.card__text{font-size:13px;color:var(--muted);line-height:1.55}

/* ── STEPS ── */
.steps{counter-reset:step;display:flex;flex-direction:column;gap:10px;margin:16px 0}
.step{
  display:flex;gap:14px;align-items:flex-start;
  background:var(--surface);border:1px solid var(--stroke);
  border-radius:var(--r2);padding:14px 16px;
}
.step__num{
  counter-increment:step;flex-shrink:0;
  width:28px;height:28px;border-radius:4px;
  background:rgba(var(--ar),.1);border:1px solid rgba(var(--ar),.3);
  display:grid;place-content:center;
  font-size:13px;font-weight:800;color:var(--accent);
  margin-top:2px;font-family:'Space Grotesk',sans-serif;
}
.step__num::before{content:counter(step)}
.step__title{font-size:14px;font-weight:700;margin-bottom:3px;color:#fff}
.step__text{font-size:13px;color:var(--muted)}

/* ── NOTICE ── */
.notice{
  background:rgba(var(--ar),.05);border:1px solid rgba(var(--ar),.18);
  border-left:3px solid var(--accent);
  border-radius:var(--r);padding:14px 16px;
  font-size:13.5px;color:rgba(220,235,255,.75);margin:20px 0;
}
.notice strong{color:var(--accent)}

/* ── INTERNAL LINKS ── */
.internal-links{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0}
.internal-links a{
  padding:7px 15px;border-radius:var(--r);
  border:1px solid var(--stroke);background:var(--surface);
  font-size:12.5px;font-weight:600;color:var(--muted);
  transition:color .15s,border-color .15s,background .15s;
  letter-spacing:.01em;
}
.internal-links a:hover{color:var(--accent);border-color:rgba(var(--ar),.3);background:rgba(var(--ar),.05)}

/* ── BREADCRUMB ── */
.breadcrumb{
  display:flex;gap:6px;align-items:center;
  font-size:12px;color:var(--dim);margin-bottom:22px;flex-wrap:wrap;
  text-transform:uppercase;letter-spacing:.05em;
}
.breadcrumb a{color:var(--accent);font-weight:600}
.breadcrumb span{color:var(--dim)}

/* ── ARTICLE FIGURE ── */
.article-figure{
  margin:22px 0 26px;border-radius:var(--r2);
  overflow:hidden;border:1px solid var(--stroke);line-height:0;
  box-shadow:0 8px 32px rgba(0,0,0,.3);
}
.article-figure img{width:100%;height:auto;display:block}

/* ── AUTHOR ── */
.author-section{margin:48px 0 28px;border-top:1px solid var(--stroke);padding-top:28px}
.author-section__title{
  font-size:11px;font-weight:700;text-transform:uppercase;
  letter-spacing:.12em;color:var(--dim);margin-bottom:14px;
}
.author-card{
  display:flex;gap:14px;align-items:center;
  background:var(--surface);border:1px solid var(--stroke);
  border-radius:var(--r2);padding:14px 16px;max-width:320px;
}
.author-card__avatar{
  width:44px;height:44px;border-radius:var(--r);flex-shrink:0;
  display:grid;place-content:center;
  font-size:15px;font-weight:800;color:var(--bg);
  background:var(--accent);font-family:'Space Grotesk',sans-serif;
}
.author-card__name{font-size:14px;font-weight:700;color:#fff}
.author-card__role{font-size:12px;color:var(--muted);margin-top:2px}

/* ── FOOTER ── */
.ft{background:var(--bg-1);border-top:1px solid var(--stroke);padding:36px var(--pad) 22px}
.ft__inner{
  max-width:1200px;margin:0 auto;
  display:flex;flex-wrap:wrap;gap:20px;justify-content:space-between;align-items:center;
}
.ft__nav{display:flex;flex-wrap:wrap;gap:6px 18px}
.ft__nav a{font-size:13px;color:var(--muted);font-weight:600;transition:color .15s}
.ft__nav a:hover{color:var(--accent)}
.ft__bottom{
  max-width:1200px;margin:18px auto 0;
  display:flex;flex-wrap:wrap;gap:12px;align-items:center;
  border-top:1px solid var(--stroke);padding-top:18px;
}
.ft__logos{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.ft__logos img{height:22px;opacity:.5;transition:opacity .15s;filter:brightness(2)}
.ft__logos img:hover{opacity:.85}
.ft__badge{
  background:var(--bg-2);border:1px solid var(--stroke);
  border-radius:4px;padding:4px 8px;font-size:10.5px;font-weight:700;
  color:var(--dim);text-transform:uppercase;letter-spacing:.05em;
}
.ft__legal{flex:1;font-size:11.5px;color:var(--dim);line-height:1.6;max-width:580px}
.ft__copy{font-size:11.5px;color:var(--dim);width:100%;margin-top:4px}

/* ── RESPONSIVE ── */
@media(min-width:768px){
  .hdr__nav{display:flex}
  .burger{display:none}
  :root{--hdr-h:66px}
  .hdr__logo img{height:38px}
}
@media(min-width:1024px){
  .page{padding:48px 24px 100px}
}
