:root{
  color-scheme:dark;
  --bg:#050b14;
  --bg2:#091525;
  --card:rgba(14,27,45,.88);
  --card2:rgba(18,35,57,.78);
  --text:#f4f8ff;
  --muted:#9eafc3;
  --line:rgba(120,170,220,.16);
  --accent:#58baff;
  --accent2:#7c6cff;
  --shadow:0 18px 50px rgba(0,0,0,.28);
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  min-height:100vh;
  color:var(--text);
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  background:
    radial-gradient(circle at 15% 5%,rgba(88,186,255,.14),transparent 28%),
    radial-gradient(circle at 90% 15%,rgba(124,108,255,.12),transparent 30%),
    linear-gradient(160deg,var(--bg),var(--bg2));
  line-height:1.7;
}

.legal{
  width:min(920px,100%);
  margin:auto;
  padding:28px 16px 70px;
  animation:pageIn .55s ease both;
}

.back{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--accent);
  text-decoration:none;
  font-weight:600;
  margin-bottom:18px;
  padding:9px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(10,25,42,.65);
  transition:.25s ease;
}

.back:hover{
  transform:translateX(-3px);
  border-color:rgba(88,186,255,.4);
  background:rgba(20,45,70,.85);
}

.card{
  position:relative;
  overflow:hidden;
  background:linear-gradient(145deg,var(--card),var(--card2));
  border:1px solid var(--line);
  border-radius:24px;
  padding:28px;
  box-shadow:var(--shadow);
  backdrop-filter:blur(16px);
}

.card::before{
  content:"";
  position:absolute;
  width:220px;
  height:220px;
  top:-130px;
  right:-90px;
  border-radius:50%;
  background:rgba(88,186,255,.09);
  pointer-events:none;
}

h1{
  position:relative;
  margin:0;
  font-size:clamp(27px,5vw,38px);
  line-height:1.15;
  letter-spacing:-.6px;
}

h1::after{
  content:"";
  display:block;
  width:58px;
  height:4px;
  margin-top:14px;
  border-radius:10px;
  background:linear-gradient(90deg,var(--accent),var(--accent2));
  animation:lineGrow .8s ease both;
}

.meta{
  color:var(--muted);
  font-size:13px;
  margin:13px 0 22px;
}

.notice{
  position:relative;
  margin:22px 0;
  padding:16px 18px;
  border:1px solid rgba(88,186,255,.18);
  border-radius:16px;
  background:linear-gradient(135deg,rgba(88,186,255,.09),rgba(124,108,255,.06));
  color:#c8d7e9;
  box-shadow:0 8px 25px rgba(0,0,0,.12);
  transition:.25s ease;
}

.notice:hover{
  transform:translateY(-2px);
  border-color:rgba(88,186,255,.32);
}

h2{
  margin:30px 0 11px;
  padding:12px 15px;
  border-left:3px solid var(--accent);
  border-radius:0 12px 12px 0;
  background:rgba(255,255,255,.025);
  font-size:18px;
  line-height:1.35;
  transition:.25s ease;
}

h2:hover{
  padding-left:19px;
  background:rgba(88,186,255,.06);
}

p,li{
  color:var(--muted);
}

p{margin:9px 0 15px}

ul{
  padding-left:21px;
  margin-top:8px;
}

li{
  margin:9px 0;
  padding-left:3px;
}

li::marker{
  color:var(--accent);
}

a{
  color:var(--accent);
  transition:.2s ease;
}

a:hover{
  color:#9bdcff;
}

@keyframes pageIn{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:translateY(0)}
}

@keyframes lineGrow{
  from{width:0;opacity:0}
  to{width:58px;opacity:1}
}

@media(max-width:600px){
  .legal{padding:18px 12px 45px}
  .card{padding:21px 17px;border-radius:20px}
  h2{font-size:17px;margin-top:25px}
  .notice{padding:14px}
}
