:root {
  --ink: #17202a;
  --muted: #5d6975;
  --paper: #fbf7ef;
  --surface: #ffffff;
  --line: #ded6c8;
  --navy: #0f2e3d;
  --teal: #0f8b8d;
  --gold: #c28a27;
  --soft: #f2eadc;
  --shadow: 0 18px 45px rgba(23, 32, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(15, 46, 61, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(15, 46, 61, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: 42px 42px;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: var(--navy);
  text-decoration-color: rgba(15, 139, 141, 0.5);
  text-underline-offset: 3px;
}

.site-header,
.site-footer {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.94rem;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 8px 24px 48px;
}

.tool-hero,
.page-hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
  align-items: center;
  min-height: 390px;
  padding: 44px 0 36px;
}

.tool-hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 18px auto;
  width: 210px;
  height: 210px;
  border: 1px solid rgba(194, 138, 39, 0.35);
  border-radius: 50%;
  background: radial-gradient(circle, transparent 34%, rgba(194, 138, 39, 0.10) 35%, transparent 36%);
  pointer-events: none;
}

.page-hero {
  display: block;
  max-width: 820px;
  min-height: auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 720px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy p:not(.eyebrow),
.page-hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
}

.ip-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 24px;
  box-shadow: var(--shadow);
}

.panel-graphic {
  position: absolute;
  inset: auto 10px 4px auto;
  width: min(52%, 290px);
  height: auto;
  opacity: 0.28;
  pointer-events: none;
}

.panel-topline {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ip-address {
  position: relative;
  z-index: 1;
  margin: 18px 0;
  color: var(--navy);
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  font-size: clamp(2rem, 6vw, 4.25rem);
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.privacy-note {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0;
}

.detail-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 20px;
  min-width: 0;
  box-shadow: 0 10px 25px rgba(23, 32, 42, 0.04);
}

.detail-card h2,
.content-narrow h2,
.article-body h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.18rem;
}

dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

dl div {
  display: grid;
  gap: 2px;
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--ink);
}

.content-band {
  margin: 48px -24px 0;
  padding: 42px 24px;
  background: rgba(15, 46, 61, 0.06);
  border-block: 1px solid rgba(15, 46, 61, 0.08);
}

.content-narrow,
.article-body {
  max-width: 780px;
}

.article-body {
  padding-bottom: 44px;
  color: #2c3540;
  font-size: 1.05rem;
}

.article-body p {
  margin: 0 0 24px;
}

.inline-cta,
.button-link {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  border-radius: 8px;
  background: var(--navy);
  color: white;
  padding: 12px 16px;
  font-weight: 800;
}

.inline-cta a,
.button-link {
  color: white;
  text-decoration: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer p {
  margin: 6px 0 0;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .tool-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 26px;
  }

  h1 {
    font-size: clamp(2.45rem, 15vw, 4.2rem);
  }

  .section-grid {
    grid-template-columns: 1fr;
  }
}
