:root {
  color-scheme: light;
  --ink: #101418;
  --muted: #56616d;
  --line: #d8dee6;
  --paper: #ffffff;
  --wash: #f5f7fa;
  --blue: #0f62fe;
  --blue-dark: #073b9a;
  --green: #087f5b;
  --yellow: #f5c542;
  --shadow: 0 18px 48px rgba(17, 24, 39, 0.12);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

button {
  font: inherit;
}

.site-header,
.site-footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  min-height: 72px;
}

.site-header nav,
.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

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

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.hero {
  width: min(1120px, calc(100% - 32px));
  min-height: calc(100svh - 148px);
  margin: 0 auto;
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 48px;
}

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

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 620px;
  font-size: 7.4rem;
}

h2 {
  font-size: 3.6rem;
}

.lede {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.24rem;
  line-height: 1.55;
}

.result-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 28px;
}

.result-topline,
.mini-header,
.mini-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.result-topline {
  color: var(--muted);
  font-weight: 750;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 850;
}

.ip-address {
  display: block;
  width: 100%;
  margin: 24px 0 10px;
  overflow-wrap: anywhere;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 3.65rem;
  font-weight: 850;
  line-height: 1.02;
}

.location-line,
.status-line,
.content-section p,
.value-band span,
.mini-copy {
  color: var(--muted);
  line-height: 1.55;
}

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

.primary-button,
.secondary-button,
.icon-button {
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  padding: 0 18px;
  cursor: pointer;
  font-weight: 850;
}

.primary-button {
  background: var(--ink);
  color: white;
}

.primary-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.secondary-button,
.icon-button {
  background: white;
  color: var(--ink);
}

.status-line {
  min-height: 25px;
  margin: 16px 0 0;
  font-size: 0.94rem;
}

.value-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 max(16px, calc((100vw - 1120px) / 2));
  border-block: 1px solid var(--line);
  background: var(--wash);
}

.value-band > div {
  min-height: 150px;
  padding: 30px 24px;
  border-right: 1px solid var(--line);
}

.value-band > div:first-child {
  padding-left: 0;
}

.value-band > div:last-child {
  border-right: 0;
  padding-right: 0;
}

.value-band strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.content-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1.18fr);
  gap: 48px;
  align-items: start;
}

.api-list {
  display: grid;
  gap: 12px;
}

.api-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}

code {
  overflow-wrap: anywhere;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  color: #1f2937;
}

.extension-preview {
  display: grid;
  place-items: center;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(16, 20, 24, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(16, 20, 24, 0.05) 1px, transparent 1px),
    #f8fafc;
  background-size: 28px 28px;
}

.mini-window {
  width: min(320px, calc(100% - 28px));
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: white;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.18);
  padding: 18px;
}

.mini-header {
  font-size: 0.9rem;
  font-weight: 850;
}

.mini-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
}

.mini-ip {
  margin-top: 18px;
  overflow-wrap: anywhere;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 2rem;
  font-weight: 900;
}

.mini-copy {
  margin-top: 8px;
}

.mini-buttons {
  margin-top: 18px;
}

.mini-buttons span {
  display: inline-grid;
  min-width: 86px;
  min-height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  font-weight: 850;
}

.mini-buttons span:last-child {
  background: var(--yellow);
  color: var(--ink);
}

.privacy-section {
  border-top: 1px solid var(--line);
}

.faq-section {
  border-top: 1px solid var(--line);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 18px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--ink);
  font-weight: 850;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  min-height: 92px;
  border-top: 1px solid var(--line);
}

@media (max-width: 820px) {
  .site-header {
    min-height: 92px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

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

  .hero {
    min-height: auto;
    padding-top: 34px;
    gap: 28px;
  }

  h1 {
    font-size: 3.45rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  .value-band {
    grid-template-columns: 1fr;
  }

  .value-band > div {
    min-height: 0;
    padding: 24px 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .value-band > div:last-child {
    border-bottom: 0;
  }

  .api-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .result-panel {
    padding: 20px;
  }

  .ip-address {
    font-size: 2rem;
  }

  .primary-button,
  .secondary-button,
  .icon-button {
    width: 100%;
  }
}
