:root{
  --bg:#061a22;
  --card:#0b2430;
  --card2:#0d2a36;
  --text:#e7f1f6;
  --muted:#a9c0cc;
  --accent:#f6b43a;
  --accent2:#2dd4bf;
  --border:rgba(255,255,255,.10);
  --shadow: 0 18px 50px rgba(0,0,0,.40);
  --radius: 18px;
  --max: 980px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:
    radial-gradient(1100px 600px at 10% -10%, rgba(246,180,58,.22), transparent 60%),
    radial-gradient(900px 500px at 110% 10%, rgba(45,212,191,.18), transparent 55%),
    radial-gradient(1200px 700px at 50% 120%, rgba(255,255,255,.06), transparent 55%),
    linear-gradient(180deg, #04141b 0%, #071c25 40%, #061a22 100%);
}

a{color:var(--accent2); text-decoration:none}
a:hover{text-decoration:underline}

.header{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(6, 26, 34, .70);
  border-bottom:1px solid var(--border);
}
.header-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.brand{
  display:flex; align-items:center; gap:12px; min-width:240px;
}
.brand img{
  width:44px; height:44px; border-radius:12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  object-fit:cover;
}
.brand .title{
  display:flex; flex-direction:column; line-height:1.15;
}
.brand .title strong{font-size:16px; letter-spacing:.2px}
.brand .title span{font-size:12px; color:var(--muted)}

.actions{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end;
}
.btn{
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color:var(--text);
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  transition: transform .05s ease, background .2s ease, border-color .2s ease;
}
.btn:hover{
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.18);
}
.btn:active{transform: translateY(1px)}
.btn.primary{
  background: linear-gradient(180deg, rgba(246,180,58,.92), rgba(246,180,58,.78));
  border-color: rgba(246,180,58,.55);
  color:#1a1206;
}
.pill{
  font-size:12px; color:var(--muted);
  border:1px solid var(--border);
  background: rgba(255,255,255,.05);
  padding:8px 10px;
  border-radius:999px;
}

.container{max-width:var(--max); margin:0 auto; padding:26px 18px 60px}
.hero{
  display:grid; grid-template-columns: 1.1fr .9fr; gap:18px;
  align-items:stretch;
  margin-top:14px;
}
@media (max-width: 860px){
  .hero{grid-template-columns: 1fr}
  .brand{min-width:auto}
}
.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-left{padding:22px 22px 18px}
.hero-right{padding:18px}
h1{
  margin:0 0 10px;
  font-size:32px;
  letter-spacing:-.3px;
}
.lead{
  color:var(--muted);
  font-size:15px;
  line-height:1.7;
  margin:0 0 14px;
}
.kv{
  display:flex; flex-wrap:wrap; gap:10px; margin-top:10px;
}
.kv .chip{
  border:1px solid var(--border);
  background: rgba(0,0,0,.18);
  padding:10px 12px;
  border-radius:14px;
  min-width: 210px;
}
.kv .chip b{display:block; font-size:12px; color:var(--muted); font-weight:700}
.kv .chip span{display:block; font-size:14px; margin-top:4px}

.toc{
  padding:18px;
}
.toc h2{margin:0 0 10px; font-size:14px; color:var(--muted); letter-spacing:.4px; text-transform:uppercase}
.toc a{
  display:block;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid transparent;
  color:var(--text);
}
.toc a:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
  text-decoration:none;
}
.section{
  margin-top:18px;
  padding:20px 22px;
}
.section h2{
  margin:0 0 10px;
  font-size:20px;
}
.section p, .section li{
  color:var(--muted);
  line-height:1.75;
  font-size:14.5px;
}
.section ul{margin:10px 0 0 18px}
.section code{
  background: rgba(0,0,0,.20);
  padding:2px 6px;
  border-radius:8px;
  border:1px solid rgba(255,255,255,.10);
  color: #d2f1ff;
}

.grid-2{display:grid; grid-template-columns:1fr 1fr; gap:14px}
@media (max-width: 860px){ .grid-2{grid-template-columns:1fr} }

.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.18);
}
.table th, .table td{
  padding:12px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  vertical-align:top;
  font-size:13.5px;
  line-height:1.55;
}
.table th{
  color:var(--text);
  font-weight:800;
  background: rgba(255,255,255,.05);
}
.table tr:last-child td{border-bottom:none}

.notice{
  margin-top:14px;
  border:1px dashed rgba(246,180,58,.55);
  background: rgba(246,180,58,.10);
  padding:12px 14px;
  border-radius:14px;
  color: #ffe7ba;
  font-size:13.5px;
  line-height:1.6;
}

.footer{
  margin-top:18px;
  padding:14px 18px;
  color:var(--muted);
  font-size:12.5px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  border-top:1px solid var(--border);
}
.small{
  font-size:12.5px;
  color:var(--muted);
}
