:root{
  --bg:#08050f;
  --surface:#110b1d;
  --surface-2:#171025;
  --line:#2b1d43;
  --text:#f6f3fb;
  --muted:#b8adc8;
  --purple:#7c3aed;
  --purple-light:#9b6cff;
  --purple-soft:#23143d;
  --max:1040px;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  background:
    radial-gradient(circle at 72% 0%,rgba(124,58,237,.18),transparent 34%),
    var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Inter,Roboto,Arial,sans-serif;
  line-height:1.7;
  -webkit-font-smoothing:antialiased;
}

a{
  color:#b894ff;
  text-decoration:none;
}

a:hover{
  color:#d2bcff;
}

.container{
  width:min(calc(100% - 40px),var(--max));
  margin:0 auto;
}

.header{
  padding:48px 0 28px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  letter-spacing:.02em;
}

.logo{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:linear-gradient(135deg,#6d28d9,#8b5cf6);
  box-shadow:0 8px 30px rgba(124,58,237,.32);
  font-size:15px;
}

.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:28px;
}

.nav a{
  padding:9px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
  font-size:14px;
  transition:.2s ease;
}

.nav a:hover,
.nav a.active{
  border-color:#6f45ad;
  background:var(--purple-soft);
  color:#fff;
}

.hero{
  padding:18px 0 30px;
}

.hero h1{
  margin:0 0 12px;
  font-size:clamp(42px,6vw,68px);
  line-height:1.04;
  letter-spacing:-.045em;
}

.hero p{
  margin:0;
  color:var(--muted);
  max-width:760px;
  font-size:18px;
}

.badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:22px;
}

.badge{
  padding:8px 13px;
  border:1px solid var(--line);
  border-radius:999px;
  color:#cfc5dc;
  background:rgba(255,255,255,.015);
  font-size:13px;
}

.divider{
  height:1px;
  background:var(--line);
  margin:0 0 30px;
}

.card{
  background:linear-gradient(180deg,rgba(23,16,37,.96),rgba(17,11,29,.96));
  border:1px solid var(--line);
  border-radius:24px;
  padding:44px;
  box-shadow:0 30px 80px rgba(0,0,0,.18);
}

.section{
  padding:28px 0;
  border-bottom:1px solid var(--line);
}

.section:first-child{
  padding-top:0;
}

.section:last-child{
  border-bottom:0;
  padding-bottom:0;
}

.section h2{
  margin:0 0 14px;
  font-size:22px;
  line-height:1.3;
}

.section h3{
  margin:24px 0 10px;
  font-size:18px;
}

.section p{
  color:#d4ccdf;
  margin:10px 0;
}

.section ul,
.section ol{
  color:#d4ccdf;
  padding-left:22px;
}

.notice{
  margin:18px 0;
  padding:18px 20px;
  border-left:3px solid var(--purple-light);
  background:#211438;
  border-radius:9px;
  color:#eee8f6;
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:24px;
}

.link-card{
  display:block;
  padding:24px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:18px;
  transition:.2s ease;
}

.link-card:hover{
  transform:translateY(-3px);
  border-color:#7042b2;
  background:#160e25;
}

.link-card strong{
  display:block;
  color:#fff;
  font-size:18px;
  margin-bottom:7px;
}

.link-card span{
  color:var(--muted);
  font-size:14px;
}

.footer{
  padding:34px 0 50px;
  color:#8f839f;
  text-align:center;
  font-size:13px;
}

.contact{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:8px;
}

@media (max-width:760px){
  .header{padding-top:28px}
  .hero h1{font-size:42px}
  .hero p{font-size:16px}
  .card{padding:26px 21px;border-radius:18px}
  .grid{grid-template-columns:1fr}
  .container{width:min(calc(100% - 28px),var(--max))}
}
