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

:root {
  --bg:      #07090f;
  --bg2:     #0c0f1d;
  --bg3:     #10142a;
  --border:  #181d38;
  --border2: #1e2545;
  --accent:  #7882EE;
  --accent2: #9ba3f5;
  --accent3: #5c63cc;
  --text:    #eceef8;
  --muted:   #8b95c9;
  --subtle:  #3a4070;
  --green:   #4ade80;
  --amber:   #fbbf24;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 4px; }

/* ── Nav ── */
.nav {
  position: fixed; top:0; left:0; right:0; z-index:100;
  padding: 16px 48px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(7,9,15,0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { font-size:17px; font-weight:800; color:#fff; text-decoration:none; letter-spacing:-0.5px; }
.nav-logo span { color: var(--accent); }
.nav-right { display:flex; align-items:center; gap:24px; }
.nav-badge {
  font-size:10px; font-weight:700; letter-spacing:1.2px; text-transform:uppercase;
  color: var(--accent); background: rgba(120,130,238,0.1);
  border: 1px solid rgba(120,130,238,0.2);
  padding: 4px 10px; border-radius:50px;
}
.nav-back {
  font-size:13px; color:var(--muted); text-decoration:none;
  display:flex; align-items:center; gap:6px; transition:color 0.2s;
}
.nav-back:hover { color:#fff; }

/* ── Progress bar ── */
.progress-bar {
  position: fixed; top:57px; left:0; right:0; z-index:99;
  height: 2px; background: var(--border);
}
.progress-fill {
  height:100%; width:0%;
  background: linear-gradient(90deg, var(--accent3), var(--accent), var(--accent2));
  transition: width 0.1s;
}

/* ── Hero ── */
.hero {
  padding: 150px 48px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content:'';
  position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:800px; height:400px;
  background: radial-gradient(ellipse, rgba(120,130,238,0.1) 0%, transparent 70%);
  pointer-events:none;
}
.hero::after {
  content:'';
  position:absolute; bottom:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, var(--border2), transparent);
}
.hero-eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  font-size:11px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase;
  color:var(--accent);
  background: rgba(120,130,238,0.08);
  border: 1px solid rgba(120,130,238,0.18);
  padding: 7px 18px; border-radius:50px;
  margin-bottom:28px;
}
.hero-eyebrow::before { content:'⚖'; font-size:13px; }
.hero h1 {
  font-size: clamp(36px,5.5vw,58px);
  font-weight:800; letter-spacing:-2px; color:#fff;
  margin-bottom:18px; line-height:1.1;
}
.hero h1 span { color: var(--accent); }
.hero-sub {
  font-size:16px; color:var(--muted); max-width:540px;
  margin:0 auto 40px; line-height:1.7; font-weight:400;
}
.hero-pills {
  display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap;
}
.hero-pill {
  font-size:12px; color:var(--muted);
  background:var(--bg2); border:1px solid var(--border2);
  padding: 7px 16px; border-radius:50px;
  display:flex; align-items:center; gap:7px;
}
.hero-pill i { font-size:14px; }

/* ── Layout ── */
.wrapper {
  max-width:1100px; margin:0 auto; padding:0 48px;
  display:grid; grid-template-columns:240px 1fr; gap:60px; align-items:start;
}

/* ── Sticky sidebar TOC ── */
.sidebar {
  position:sticky; top:90px;
  padding: 48px 0 80px;
}
.sidebar-label {
  font-size:10px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase;
  color:var(--subtle); margin-bottom:16px; padding-left:12px;
}
.toc-list { list-style:none; }
.toc-list li a {
  display:flex; align-items:center; gap:10px;
  font-size:13px; color:var(--subtle); text-decoration:none;
  padding: 8px 12px; border-radius:8px;
  transition: all 0.2s; border-left:2px solid transparent;
}
.toc-list li a:hover { color:var(--muted); background:var(--bg2); }
.toc-list li a.active {
  color:var(--accent2); background:rgba(120,130,238,0.08);
  border-left-color: var(--accent);
}
.toc-num { font-size:10px; color:var(--subtle); font-weight:600; min-width:18px; }
.sidebar-divider { height:1px; background:var(--border); margin:16px 12px; }
.sidebar-ico {
  display:flex; align-items:center; gap:10px;
  font-size:12px; color:var(--subtle); padding:8px 12px;
}
.ico-dot { width:6px; height:6px; border-radius:50%; flex-shrink:0; }
.ico-dot.green { background:var(--green); box-shadow:0 0 6px var(--green); }

/* ── Main content ── */
.main { padding: 56px 0 100px; }

/* ── Section ── */
.section {
  margin-bottom:64px;
  scroll-margin-top:90px;
  animation: fadeUp 0.5s ease both;
}
@keyframes fadeUp {
  from { opacity:0; transform:translateY(16px); }
  to   { opacity:1; transform:translateY(0); }
}
.section-header {
  display:flex; align-items:center; gap:14px;
  margin-bottom:24px; padding-bottom:20px;
  border-bottom: 1px solid var(--border);
}
.section-num {
  width:34px; height:34px;
  background:rgba(120,130,238,0.1);
  border:1px solid rgba(120,130,238,0.2);
  border-radius:8px;
  display:flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:700; color:var(--accent);
  flex-shrink:0; font-variant-numeric:tabular-nums;
}
.section h2 { font-size:19px; font-weight:700; color:#fff; letter-spacing:-0.4px; }

/* ── Text ── */
.section p { font-size:14.5px; color:var(--muted); margin-bottom:16px; line-height:1.8; }
.section p:last-child { margin-bottom:0; }
.section strong { color:var(--text); font-weight:600; }
.section a { color:var(--accent); text-decoration:none; }
.section a:hover { text-decoration:underline; }

/* ── Cards ── */
.card {
  background:var(--bg2);
  border:1px solid var(--border2);
  border-radius:12px;
  padding:0;
  margin:20px 0;
  overflow:hidden;
}
.card-head {
  padding:14px 20px;
  background:var(--bg3);
  border-bottom:1px solid var(--border);
  font-size:10px; font-weight:700; letter-spacing:1.2px;
  text-transform:uppercase; color:var(--accent);
  display:flex; align-items:center; gap:8px;
}
.row {
  display:flex; gap:16px;
  padding:12px 20px;
  border-bottom:1px solid var(--border);
  font-size:14px;
}
.row:last-child { border-bottom:none; }
.row-label { color:var(--subtle); min-width:160px; font-weight:500; font-size:13px; flex-shrink:0; }
.row-val { color:var(--text); line-height:1.6; }

/* ── List ── */
.dot-list { list-style:none; margin:16px 0; }
.dot-list li {
  font-size:14px; color:var(--muted);
  padding:9px 0 9px 20px;
  border-bottom:1px solid var(--border);
  position:relative; line-height:1.6;
}
.dot-list li:last-child { border-bottom:none; }
.dot-list li::before {
  content:''; position:absolute; left:0; top:17px;
  width:5px; height:5px; border-radius:50%;
  background:var(--accent); opacity:0.6;
}

/* ── Highlight box ── */
.hl {
  background:rgba(120,130,238,0.05);
  border:1px solid rgba(120,130,238,0.12);
  border-left:3px solid var(--accent);
  border-radius:10px; padding:18px 22px; margin:20px 0;
}
.hl p { font-size:14px; color:var(--muted); margin:0; line-height:1.7; }
.hl-green {
  background:rgba(74,222,128,0.05);
  border-color:rgba(74,222,128,0.12);
  border-left-color: var(--green);
}
.hl-amber {
  background:rgba(251,191,36,0.05);
  border-color:rgba(251,191,36,0.12);
  border-left-color: var(--amber);
}

/* ── Rights grid ── */
.rights-grid {
  display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:20px 0;
}
.right-card {
  background:var(--bg2); border:1px solid var(--border2);
  border-radius:10px; padding:16px 18px;
}
.right-title { font-size:13px; font-weight:700; color:#fff; margin-bottom:6px; }
.right-card p { font-size:13px; color:var(--subtle); margin:0; line-height:1.5; }

/* ── Transfer table ── */
.transfer-grid {
  display:grid; grid-template-columns:1fr 1fr 1fr; gap:12px; margin:20px 0;
}
.transfer-card {
  background:var(--bg2); border:1px solid var(--border2);
  border-radius:10px; padding:16px 18px;
}
.transfer-provider { font-size:13px; font-weight:700; color:#fff; margin-bottom:4px; }
.transfer-location { font-size:12px; color:var(--accent); margin-bottom:8px; }
.transfer-basis { font-size:12px; color:var(--subtle); line-height:1.5; }

/* ── ICO badge ── */
.ico-badge {
  display:inline-flex; align-items:center; gap:12px;
  background:var(--bg2); border:1px solid var(--border2);
  border-radius:12px; padding:16px 22px; margin:20px 0;
}
.ico-icon {
  width:40px; height:40px; border-radius:8px;
  background:rgba(120,130,238,0.1); border:1px solid rgba(120,130,238,0.2);
  display:flex; align-items:center; justify-content:center;
  font-size:18px; flex-shrink:0;
}
.ico-text-label { font-size:11px; color:var(--subtle); text-transform:uppercase; letter-spacing:0.8px; font-weight:600; }
.ico-text-val { font-size:15px; font-weight:700; color:#fff; }

/* ── Contact card ── */
.contact-card {
  background: linear-gradient(135deg, var(--bg2) 0%, var(--bg3) 100%);
  border:1px solid var(--border2);
  border-radius:16px; padding:36px;
  text-align:center; margin-top:24px;
  position:relative; overflow:hidden;
}
.contact-card::before {
  content:'';
  position:absolute; top:-60px; left:50%; transform:translateX(-50%);
  width:300px; height:200px;
  background:radial-gradient(ellipse, rgba(120,130,238,0.12) 0%, transparent 70%);
  pointer-events:none;
}
.contact-card h3 { font-size:20px; font-weight:800; color:#fff; margin-bottom:6px; letter-spacing:-0.4px; }
.contact-card p { font-size:14px; color:var(--muted); margin-bottom:24px; line-height:1.6; }
.contact-btns { display:flex; align-items:center; justify-content:center; gap:12px; flex-wrap:wrap; }
.btn-primary {
  display:inline-block;
  background:linear-gradient(135deg, var(--accent3), var(--accent));
  color:#fff; font-size:14px; font-weight:600;
  padding:12px 28px; border-radius:50px;
  text-decoration:none; transition:opacity 0.2s;
}
.btn-primary:hover { opacity:0.85; }
.btn-secondary {
  display:inline-block;
  background:transparent; color:var(--muted);
  border:1px solid var(--border2);
  font-size:14px; font-weight:500;
  padding:12px 24px; border-radius:50px;
  text-decoration:none; transition:all 0.2s;
}
.btn-secondary:hover { color:#fff; border-color:var(--accent); }

/* ── Footer ── */
.footer {
  border-top:1px solid var(--border);
  padding:32px 48px; text-align:center;
}
.footer p { font-size:13px; color:var(--subtle); line-height:2; }
.footer a { color:var(--muted); text-decoration:none; transition:color 0.2s; }
.footer a:hover { color:var(--accent); }

@media (max-width:768px) {
  .nav { padding:16px 20px; }
  .hero { padding:120px 20px 60px; }
  .wrapper { grid-template-columns:1fr; padding:0 20px; }
  .sidebar { display:none; }
  .main { padding:40px 0 80px; }
  .rights-grid, .transfer-grid { grid-template-columns:1fr; }
  .row { flex-direction:column; gap:4px; }
  .row-label { min-width:unset; }
  .footer { padding:24px 20px; }
}
