.ip-hero{
  position:relative;
  overflow-x:clip;
  border-bottom:1px solid var(--border);
  background-image:
    radial-gradient(ellipse at top right,var(--accent-glow),transparent 58%),
    radial-gradient(var(--grid-dot) 1px,transparent 1px);
  background-size:auto,32px 32px;
}

.ip-hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,42%);
  gap:clamp(36px,7vw,88px);
  align-items:center;
  min-height:520px;
}

.ip-intro{min-width:0}

.ip-intro h1{max-width:680px}

.ip-lead{
  max-width:650px;
  margin:22px 0 28px;
  color:var(--text-muted);
  font-size:clamp(16px,1.7vw,19px);
}

.ip-orbit{
  position:relative;
  min-width:0;
  padding:22px;
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  box-shadow:0 22px 58px var(--shadow-deep);
}

.ip-orbit::before{
  content:"";
  position:absolute;
  inset:10%;
  border-radius:var(--radius-lg);
  background:radial-gradient(circle,var(--accent-glow),transparent 68%);
  pointer-events:none;
}

.ip-orbit svg{
  position:relative;
  width:100%;
  height:auto;
}

.ip-orbit p{
  position:relative;
  padding-top:12px;
  color:var(--text-muted);
  border-top:1px solid var(--border);
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.12em;
  text-align:center;
}

.ip-orbit-track{
  fill:none;
  stroke:var(--accent);
  stroke-width:2;
}

.ip-orbit-track-secondary{
  stroke:var(--accent-dark);
  stroke-width:1;
}

.ip-orbit-node{
  fill:var(--bg-panel-2);
  stroke:var(--accent);
  stroke-width:2;
}

.ip-orbit-core{
  fill:var(--bg-panel-2);
  stroke:var(--accent);
  stroke-width:2;
}

.ip-orbit-mark{
  fill:none;
  stroke:var(--success);
  stroke-width:5;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.ip-result-shell{
  padding:clamp(22px,4vw,38px);
}

.ip-result-head{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:flex-start;
  padding-bottom:24px;
  border-bottom:1px solid var(--border);
}

.ip-query-status{
  margin-top:10px;
  color:var(--text-muted);
  font-size:14px;
}

.ip-state{
  display:inline-flex;
  min-height:34px;
  flex:0 0 auto;
  align-items:center;
  gap:9px;
  padding:6px 12px;
  color:var(--text-muted);
  background:var(--bg);
  border:1px solid var(--border);
  border-radius:var(--radius-pill);
  font-family:var(--font-mono);
  font-size:12px;
}

.ip-state.is-ready{
  color:var(--success);
  border-color:var(--success);
}

.ip-state.is-error{
  color:var(--error);
  border-color:var(--error);
}

.ip-state.is-error .status-dot{background:var(--error);box-shadow:none}

.ip-result-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1px;
  margin-top:28px;
  overflow:hidden;
  background:var(--border);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
}

.ip-result-item{
  min-width:0;
  padding:20px;
  background:var(--bg-panel);
}

.ip-result-primary{grid-column:1/-1}

.ip-result-item dt{
  color:var(--text-muted);
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:.06em;
}

.ip-result-item dd{
  margin-top:8px;
  overflow-wrap:anywhere;
  color:var(--text);
  font-family:var(--font-display);
  font-size:clamp(18px,2.3vw,26px);
  font-weight:720;
}

.ip-result-primary dd{
  color:var(--accent);
  font-family:var(--font-mono);
  font-size:clamp(24px,4vw,40px);
}

.ip-result-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.ip-explain-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.ip-explain-card{
  min-width:0;
  padding:26px;
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:var(--radius-md);
}

.ip-explain-key{
  display:inline-flex;
  min-height:27px;
  align-items:center;
  padding:4px 9px;
  color:var(--accent);
  background:var(--accent-glow-soft);
  border:1px solid var(--accent-dark);
  border-radius:var(--radius-sm);
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:.08em;
}

.ip-explain-card h3{
  margin-top:18px;
  font-size:21px;
}

.ip-explain-card p{
  margin-top:10px;
  color:var(--text-muted);
}

.dns-layout{max-width:980px}

.dns-intro{
  max-width:800px;
  margin-top:18px;
  color:var(--text-muted);
  font-size:17px;
}

.dns-checklist{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  margin-top:34px;
  overflow:hidden;
}

.dns-checklist article{
  min-width:0;
  padding:26px;
  border-bottom:1px solid var(--border);
}

.dns-checklist article:nth-child(odd){border-right:1px solid var(--border)}
.dns-checklist article:nth-last-child(-n+2){border-bottom:0}

.dns-checklist h3{font-size:20px}

.dns-checklist p{
  margin-top:10px;
  color:var(--text-muted);
}

.dns-links{margin-top:24px}

.ip-privacy{
  display:grid;
  grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr);
  gap:clamp(28px,6vw,72px);
  align-items:start;
  padding:clamp(24px,5vw,44px);
  border-color:var(--accent-dark);
}

.ip-privacy h2{
  margin-top:12px;
  font-size:clamp(26px,3.5vw,38px);
}

.ip-privacy-copy{
  display:grid;
  gap:16px;
  color:var(--text-muted);
}

@media (max-width:900px){
  .ip-hero-grid{
    grid-template-columns:1fr;
    min-height:auto;
    padding-top:48px;
    padding-bottom:52px;
  }

  .ip-orbit{
    width:100%;
    max-width:620px;
  }
}

@media (max-width:700px){
  .ip-result-grid,
  .ip-explain-grid,
  .dns-checklist,
  .ip-privacy{
    grid-template-columns:1fr;
  }

  .ip-result-primary{grid-column:auto}

  .dns-checklist article,
  .dns-checklist article:nth-child(odd),
  .dns-checklist article:nth-last-child(-n+2){
    border-right:0;
    border-bottom:1px solid var(--border);
  }

  .dns-checklist article:last-child{border-bottom:0}
}

@media (max-width:520px){
  .ip-orbit{padding:14px}

  .ip-result-head{display:grid}

  .ip-state{justify-self:start}

  .ip-result-actions .btn{width:100%}

  .ip-result-item{padding:17px}
}