:root{
  --bg0:#070A12;
  --bg1:#0C1424;
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.09);
  --text:#EAF0FF;
  --muted: rgba(234,240,255,.72);
  --accent:#27E7FF;
  --accent2:#33FF99;
  --border: rgba(255,255,255,.14);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(39,231,255,.18), transparent 60%),
              radial-gradient(900px 500px at 80% 10%, rgba(51,255,153,.12), transparent 55%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
  background-attachment: fixed;
  color:var(--text);
  line-height:1.6;
}

a{color:var(--accent); text-decoration:none; transition: color .2s}
a:hover{text-decoration:underline}

.container{
  max-width: 980px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Topbar ─── */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 20px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:800;
  font-size:17px;
  letter-spacing:.2px;
}
.logo{
  width:40px;
  height:40px;
  border-radius:12px;
  object-fit: contain;
}
.logo-sm{
  width:30px;
  height:30px;
  border-radius:9px;
}

.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.pill{
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: 14px;
  transition: border-color .2s, color .2s, background .2s;
}
.pill:hover{
  border-color: var(--accent);
  color: var(--text);
  background: rgba(39,231,255,.06);
  text-decoration:none;
}

/* ─── Hero ─── */
.hero{
  padding: 48px 0 24px;
}
.hero-badge{
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(39,231,255,.3);
  background: rgba(39,231,255,.08);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1{
  margin: 0 0 16px;
  font-size: clamp(32px, 5vw, 56px);
  line-height:1.08;
  font-weight:900;
  letter-spacing: -.5px;
}
.gradient-text{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p{
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  max-width: 60ch;
  line-height: 1.7;
}
.hero-stats{
  display:flex;
  gap: 32px;
  flex-wrap: wrap;
}
.stat{
  text-align: center;
  padding: 16px 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  min-width: 110px;
}
.stat-value{
  font-size: 28px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label{
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ─── Section titles ─── */
.section-title{
  margin-bottom: 4px;
}
.section-title h2{
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 800;
}
.subtitle{
  color: var(--muted);
  font-size: 15px;
  margin: 0;
}

/* ─── Grid ─── */
.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0 10px;
}
.grid-3{
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 760px){
  .grid{grid-template-columns:1fr}
  .grid-3{grid-template-columns:1fr 1fr}
}
@media (max-width: 480px){
  .grid-3{grid-template-columns:1fr}
}

/* ─── Cards ─── */
.card{
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-radius: 16px;
  padding: 20px;
  transition: border-color .25s, transform .25s;
}
.card:hover{
  border-color: rgba(39,231,255,.3);
  transform: translateY(-2px);
}
.card-icon{
  font-size: 28px;
  margin-bottom: 10px;
  line-height: 1;
}
.card h3{
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}
.card p{
  margin:0;
  color:var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ─── Tag cards ─── */
.tag-card{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  border-radius: 12px;
  padding: 14px 18px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  transition: border-color .25s, background .25s;
}
.tag-card:hover{
  border-color: rgba(39,231,255,.35);
  background: rgba(39,231,255,.06);
}

/* ─── Steps ─── */
.steps{
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 20px 0;
}
.step{
  display: flex;
  gap: 18px;
  align-items: flex-start;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border-radius: 16px;
  padding: 20px;
  transition: border-color .25s;
}
.step:hover{
  border-color: rgba(39,231,255,.3);
}
.step-number{
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: var(--bg0);
  font-weight: 900;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-content h3{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
}
.step-content p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* ─── Section ─── */
.section{
  margin: 24px 0;
}
.section h2{
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
}
.section p, .section li{
  color: var(--muted);
}
ul{
  padding-left: 18px;
  margin: 10px 0 0;
}
li{margin: 6px 0}

/* ─── Footer ─── */
.footer{
  padding: 40px 0 48px;
  margin-top: 24px;
  border-top: 1px solid var(--border);
  color: rgba(234,240,255,.55);
  font-size: 13px;
}
.footer-brand{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 12px;
}
.footer-links{
  display: flex;
  gap: 20px;
  margin-bottom: 14px;
}
.footer-links a{
  color: var(--muted);
  font-size: 14px;
}
.footer-links a:hover{
  color: var(--accent);
}
.footer-copy{
  color: rgba(234,240,255,.4);
  font-size: 13px;
}

.policy{
  margin: 20px 0 0;
}
.policy h2{
  margin-top: 0;
}
.policy h3{
  margin: 18px 0 6px;
  font-size: 16px;
}
.policy p{
  margin: 10px 0;
  color: var(--muted);
}
.policy .small{
  color: rgba(234,240,255,.55);
  font-size: 13px;
}

.policyLayout{
  display:flex;
  gap: 18px;
  margin-top: 14px;
}

.policyMain{
  flex: 1 1 auto;
  min-width: 0;
}

.toc{
  width: 290px;
  flex: 0 0 290px;
  position: sticky;
  top: 16px;
  align-self: flex-start;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(255,255,255,.03);
  padding: 14px 14px;
  height: fit-content;
}
.toc h3{
  margin: 0 0 10px;
  font-size: 14px;
  color: rgba(234,240,255,.82);
}
.toc ul{
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.toc li{
  margin: 0 0 8px;
}
.toc a{
  display:block;
  padding: 6px 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--muted);
}
.toc a:hover{
  color: var(--text);
  border-color: rgba(39,231,255,.25);
  text-decoration: none;
  background: rgba(39,231,255,.08);
}

@media (max-width: 960px){
  .policyLayout{display:block}
  .toc{width:auto; flex-basis: auto; position: static; margin-top: 16px}
}

.sectionCard{
  margin-top: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border-radius: 16px;
  padding: 16px;
}
.sectionCard h3{
  margin: 0 0 10px;
}

.metaRow{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 0;
  color: rgba(234,240,255,.62);
  font-size: 13px;
}

.kbd{
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
}

.policyLinks{
  color: var(--muted);
}

table{
  width:100%;
  border-collapse: collapse;
}
th,td{
  text-align:left;
  padding: 10px 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  vertical-align: top;
}
th{
  color: rgba(234,240,255,.88);
  font-weight: 700;
  font-size: 13px;
}
td{
  color: var(--muted);
  font-size: 14px;
}

@media print{
  .toc{display:none}
  body{background:#fff; color:#111}
  a{color:#111}
  .sectionCard, .card, .toc{border-color:#ddd; background:#fff}
}

