:root {
  color-scheme: light;
  --background: #f7f1e7;
  --background-warm: #fff9ef;
  --surface: #fffdf8;
  --surface-soft: #efe3d0;
  --text: #153c3f;
  --text-strong: #0b2f33;
  --muted: #5f6f6f;
  --accent: #2f8f87;
  --accent-strong: #1f6f6a;
  --accent-warm: #d96f45;
  --accent-soft: #dbeee9;
  --line: rgba(21, 60, 63, 0.16);
  --shadow: 0 24px 70px rgba(35, 54, 54, 0.13);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(47, 143, 135, 0.2), transparent 30rem),
    radial-gradient(circle at bottom right, rgba(217, 111, 69, 0.18), transparent 28rem),
    linear-gradient(180deg, var(--background-warm), var(--background));
  color: var(--text);
}

a { color: inherit; text-decoration: none; }

.app-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
}

.logo, .nav-links {
  display: flex;
  align-items: center;
}

.logo {
  gap: 10px;
  color: var(--text-strong);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--surface);
  box-shadow: 0 12px 28px rgba(47, 143, 135, 0.28);
}

.nav-links {
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero {
  padding: 44px 0 30px;
}

h1, h2, p { margin-top: 0; }

h1 {
  margin-bottom: 18px;
  color: var(--text-strong);
  font-size: clamp(3rem, 9vw, 7.4rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

h2 {
  margin-bottom: 18px;
  color: var(--text-strong);
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.hero-copy, .status-message, .ip-version, dd, .small-note, .troubleshooting-card p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-copy {
  max-width: 820px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.ip-hero-card, .detail-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 253, 248, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.ip-hero-card {
  margin-bottom: 18px;
  padding: 34px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-warm);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ip-address {
  overflow-wrap: anywhere;
  color: var(--text-strong);
  font-size: clamp(2.4rem, 8vw, 5.7rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.ip-version {
  margin: 12px 0 0;
  font-weight: 800;
}

.status-message {
  margin: 10px 0 0;
}

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

.detail-card {
  padding: 24px;
}

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

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

dt {
  color: var(--text-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
}

.troubleshooting-card {
  margin-bottom: 64px;
}

.small-note {
  margin-bottom: 0;
  font-size: 0.92rem;
}

@media (max-width: 850px) {
  .app-shell { width: min(100% - 28px, 1120px); }
  .site-header { padding: 18px 0; }
  .hero { padding: 14px 0 14px; }
  h1 { margin-bottom: 10px; letter-spacing: -0.06em; font-size: clamp(2.7rem, 12vw, 4.6rem); }
  h2 { margin-bottom: 10px; font-size: 1rem; }
  .hero-copy { font-size: 1rem; line-height: 1.45; }
  .ip-hero-card, .detail-card { border-radius: 20px; }
  .ip-hero-card { margin-bottom: 10px; padding: 16px; }
  .eyebrow { margin-bottom: 8px; font-size: 0.68rem; }
  .ip-address { font-size: clamp(1.9rem, 10vw, 3.1rem); letter-spacing: -0.05em; }
  .ip-version { margin-top: 8px; font-size: 0.9rem; }
  .status-message { margin-top: 6px; font-size: 0.85rem; line-height: 1.35; }
  .card-grid { grid-template-columns: 1fr; gap: 10px; margin-bottom: 10px; }
  .detail-card { padding: 14px; }
  dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
  dt { font-size: 0.62rem; }
  dd { font-size: 0.9rem; line-height: 1.25; }
  .troubleshooting-card { margin-bottom: 36px; }
  .troubleshooting-card p { font-size: 0.9rem; line-height: 1.4; }
  .small-note { font-size: 0.8rem; }
}

@media (max-width: 420px) {
  dl { grid-template-columns: 1fr; }
}
