:root{
  --bg:#07090d;
  --panel:#0c1018;
  --panel2:#0a0d14;
  --text:#f6f7fb;
  --muted:rgba(246,247,251,.72);
  --muted2:rgba(246,247,251,.55);
  --border:rgba(246,247,251,.10);
  --border2:rgba(246,247,251,.14);
  --shadow: 0 10px 35px rgba(0,0,0,.45);
  --radius:18px;
  --radius2:14px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
  background:
    radial-gradient(1200px 500px at 10% 0%, rgba(106,140,255,.12), transparent 60%),
    radial-gradient(900px 450px at 80% 10%, rgba(255,255,255,.06), transparent 55%),
    var(--bg);
  color:var(--text);
  line-height:1.5;
}

.wrap{
  max-width: 1080px;
  margin: 0 auto;
  padding: 44px 20px 30px;
}

.hero{
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom: 18px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  letter-spacing:.2px;
}

.dot{
  width:10px;
  height:10px;
  border-radius:999px;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255,255,255,.06);
}

.brand-name{opacity:.95}

.top-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}

.link{
  color: var(--text);
  text-decoration:none;
  opacity:.82;
}
.link:hover{opacity:1; text-decoration:underline}

.hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
  align-items: start;
}

.badge{
  display:inline-block;
  border:1px solid var(--border2);
  background: rgba(255,255,255,.03);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .3px;
  opacity:.9;
  margin: 0 0 10px;
}

h1{
  font-size: clamp(30px, 4.3vw, 44px);
  margin: 0 0 10px;
  letter-spacing: -0.3px;
}

.lead{
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 16px;
  max-width: 62ch;
}

.cta-row{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration:none;
  border: 1px solid transparent;
  cursor:pointer;
  user-select:none;
}

.btn-primary{
  background: #fff;
  color: #000;
}
.btn-primary:hover{filter: brightness(.95)}

.btn-ghost{
  background: rgba(255,255,255,.04);
  color: var(--text);
  border: 1px solid var(--border2);
}
.btn-ghost:hover{background: rgba(255,255,255,.07)}

.micro{
  margin: 0;
  font-size: 13px;
  color: var(--muted2);
}

.panel{
  border: 1px solid var(--border2);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  border-radius: var(--radius);
  padding: 16px;
}

.panel-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom: 10px;
}
.panel-title{font-weight:800; opacity:.95}
.pill{
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid var(--border2);
  background: rgba(255,255,255,.03);
  opacity:.9;
}

.panel-body{
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 12px;
}

.row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.row:last-of-type{border-bottom:0}

.k{color: var(--muted2); font-size: 12px}
.v{color: var(--text); font-weight: 650; font-size: 12px; text-align:right}

.divider{
  height:1px;
  background: rgba(255,255,255,.08);
  margin: 10px 0;
}

.panel-note{
  margin:0;
  font-size: 12px;
  color: var(--muted);
}

.section{
  margin-top: 24px;
  padding: 18px 6px;
}

h2{
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.2px;
}

.sub{
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 80ch;
}

.url-box{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border2);
  background: rgba(255,255,255,.03);
  max-width: 760px;
}

.url-box input{
  flex: 1 1 380px;
  min-width: 220px;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.25);
  color: var(--text);
  outline: none;
}

.url-box input::placeholder{color: rgba(246,247,251,.45)}
.url-box input:focus{
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 0 0 6px rgba(255,255,255,.05);
}

.cards{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.card{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  border-radius: var(--radius2);
  padding: 14px;
}

.card h3{
  margin: 0 0 6px;
  font-size: 14px;
}
.card p{
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.code{
  border: 1px solid var(--border2);
  background: rgba(0,0,0,.35);
  border-radius: 16px;
  padding: 14px;
  overflow:auto;
  max-width: 980px;
}
.code code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  color: rgba(246,247,251,.9);
  font-size: 12px;
}

details{
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  border-radius: 14px;
  padding: 12px 14px;
  margin-top: 10px;
}
summary{
  cursor:pointer;
  font-weight: 800;
}
details p{
  margin: 10px 0 0;
  color: var(--muted);
}

.footer{
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted2);
  font-size: 13px;
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

@media (max-width: 940px){
  .hero-grid{grid-template-columns: 1fr; }
  .cards{grid-template-columns: repeat(2, minmax(0, 1fr));}
}

@media (max-width: 540px){
  .cards{grid-template-columns: 1fr;}
}
