:root{
  --bg:#f6f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --border: rgba(15, 23, 42, .10);
  --shadow: 0 10px 28px rgba(15,23,42,.08);
  --shadow2: 0 8px 20px rgba(15,23,42,.06);
  --accent:#2563eb;
  --accent2:#0ea5e9;
  --radius:18px;
  --radius2:14px;
  --container: 1060px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(37,99,235,.12), transparent 55%),
    radial-gradient(900px 500px at 95% 20%, rgba(14,165,233,.10), transparent 55%),
    var(--bg);
}

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

.header{
  position: sticky;
  top:0;
  z-index:10;
  background: rgba(246,247,251,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:inherit;
}

.brand__logo{
  height:32px;
  width:auto;
  display:block;
}

.brand__text{
  font-weight:800;
  letter-spacing:-0.02em;
}

.nav{
  display:flex;
  gap:14px;
}
.nav__link{
  text-decoration:none;
  color: var(--muted);
  font-weight:650;
  padding:8px 10px;
  border-radius: 12px;
}
.nav__link:hover{
  background: rgba(15,23,42,.04);
  color: var(--text);
}

.hero{
  padding:22px 0 10px;
}

.hero__card{
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,.88));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:14px;
}

@media (max-width: 900px){
  .hero__card{ grid-template-columns: 1fr; }
}

.hero h1{
  margin:0 0 6px;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing:-0.03em;
}

.subtitle{
  margin:0 0 14px;
  color: var(--muted);
  line-height:1.5;
}

.ip-card{
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  background: rgba(15,23,42,.02);
  padding:12px 12px 10px;
}

.ip-label{
  display:inline-block;
  font-size:12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom:6px;
}

.ip-value{
  display:block;
  font-family: var(--mono);
  font-weight:900;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: .06em;
  margin-bottom:10px;
  word-break: break-word;
}

.ip-actions{
  display:flex;
  gap:10px;
  flex-wrap: wrap;
}

.btn{
  appearance:none;
  border:1px solid var(--border);
  background: linear-gradient(180deg, rgba(37,99,235,.12), rgba(255,255,255,.65));
  color: var(--text);
  padding:10px 12px;
  border-radius: 12px;
  cursor:pointer;
  font-weight:750;
  box-shadow: var(--shadow2);
  transition: transform .08s ease, filter .12s ease;
}
.btn:hover{ filter: brightness(1.02); }
.btn:active{ transform: translateY(1px); }

.btn--secondary{
  background: linear-gradient(180deg, rgba(14,165,233,.10), rgba(255,255,255,.65));
}

.hint{
  margin-top:10px;
  color: var(--muted);
  font-size: 13px;
  line-height:1.45;
}

.hero__right{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.mini-card{
  border:1px solid var(--border);
  border-radius: var(--radius2);
  background: var(--card);
  box-shadow: var(--shadow2);
  padding:12px;
}
.mini-card--soft{
  background: rgba(255,255,255,.72);
}
.mini-card__title{
  font-weight:800;
  margin-bottom:8px;
}
.mini-card__text{
  color: var(--muted);
  line-height:1.45;
  font-size: 13px;
}
.mini-list{
  margin:0;
  padding-left:18px;
  color: var(--muted);
  line-height:1.6;
  font-size: 13px;
}

.ad-wrap{
  margin:14px 0;
}
.ad{
  min-height: 90px;
  border:1px dashed rgba(15,23,42,.18);
  border-radius: var(--radius2);
  background: rgba(255,255,255,.65);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.ad--mid{ min-height: 250px; }

.content{
  margin:16px 0;
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow2);
  padding:16px;
  line-height:1.65;
}
.content h2{
  margin:18px 0 8px;
  letter-spacing:-0.02em;
}
.content h2:first-child{ margin-top:0; }
.content p{ margin:0 0 12px; color: color-mix(in srgb, var(--text) 88%, var(--muted)); }

.faq{
  margin:16px 0 24px;
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow2);
  padding:16px;
}
.faq h2{ margin:0 0 10px; }

.faq-item{
  border-top: 1px solid var(--border);
  padding:12px 0;
}
.faq-item:first-of-type{ border-top:0; }
.faq-item summary{
  cursor:pointer;
  font-weight:800;
  color: var(--text);
}
.faq-item p{
  margin:8px 0 0;
  color: var(--muted);
  line-height:1.55;
}

.footer{
  border-top:1px solid var(--border);
  background: rgba(255,255,255,.7);
  padding:18px 0;
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
}
.footer__left{
  display:flex;
  align-items:center;
  gap:10px;
}
.footer__link{
  color: var(--muted);
  text-decoration:none;
  font-weight:650;
}
.footer__link:hover{ color: var(--text); }
.dot{ color: rgba(15,23,42,.25); }

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

/* Toast */
.toast{
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%) translateY(12px);
  opacity:0;
  pointer-events:none;
  padding:10px 14px;
  border-radius: 999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
  font-weight:800;
  transition: opacity .15s ease, transform .15s ease;
}
.toast--show{
  opacity:1;
  transform: translateX(-50%) translateY(0);
}