* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #172033;
  background: #f7f9fc;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-width: 320px;
}
.site-header {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 max(24px, calc((100vw - 1080px) / 2));
  background: #fff;
  border-bottom: 1px solid #dfe6ef;
}
.brand {
  font-size: 16px;
  font-weight: 750;
  letter-spacing: -0.03em;
  color: #173c7a;
  text-decoration: none;
}
.header-link {
  font-size: 14px;
  font-weight: 600;
  color: #173c7a;
  text-decoration: none;
}
.header-link:hover,
.tool-card a:hover {
  text-decoration: underline;
}
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}
.hero {
  max-width: 760px;
  margin-bottom: 36px;
}
.eyebrow {
  margin: 0 0 12px;
  color: #365d9b;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.lede {
  max-width: 680px;
  margin: 20px 0 0;
  color: #526176;
  font-size: 17px;
  line-height: 1.65;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.tool-card,
.install-panel {
  border: 1px solid #dce4ef;
  border-radius: 14px;
  background: #fff;
  padding: 22px;
}
.tool-card h2,
.install-panel h2 {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
}
.tool-card p,
.install-panel > p:not(.eyebrow) {
  margin: 10px 0;
  color: #526176;
  font-size: 14px;
  line-height: 1.6;
}
.tool-card a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  margin-top: 8px;
  color: #174a95;
  font-size: 14px;
  font-weight: 700;
}
.install-panel {
  margin-top: 30px;
  padding: 26px;
}
.install-panel pre {
  overflow: auto;
  margin: 16px 0;
  padding: 16px;
  border-radius: 9px;
  background: #101c31;
  color: #f4f7fc;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 13px;
  line-height: 1.6;
}
.button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  background: #173c7a;
  color: #fff;
  padding: 10px 16px;
  font:
    650 14px system-ui,
    sans-serif;
  cursor: pointer;
}
.button:hover {
  background: #102f63;
}
.button:focus-visible,
a:focus-visible,
textarea:focus-visible,
input:focus-visible {
  outline: 3px solid #d69c12;
  outline-offset: 3px;
}
.status {
  min-height: 1.5em;
  color: #526176;
  font-size: 13px;
}
.notes {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 22px;
  color: #526176;
  font-size: 13px;
  line-height: 1.55;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 24px;
  padding: 24px;
  text-align: center;
  color: #65758c;
  font-size: 12px;
  border-top: 1px solid #dfe6ef;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.site-footer nav a {
  color: #174a95;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
}
.site-footer nav a:hover {
  text-decoration: underline;
}
.ad-slot {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
  margin: 24px auto;
}
.ad-slot iframe {
  max-width: 100%;
  border: 0;
}
.ad-slot--banner {
  width: min(728px, 100%);
  min-height: 90px;
}
.content-with-rail,
.tool-content-with-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 24px;
  align-items: start;
}
.content-main,
.tool-main-content {
  min-width: 0;
}
.ad-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin: 28px auto;
}
.ad-slot--native {
  width: 100%;
  min-height: 90px;
}
.ad-slot--skyscraper {
  width: 160px;
  min-height: 600px;
}
.ad-rail {
  margin: 0;
  justify-self: center;
}
.ad-slot--tower {
  width: 160px;
  min-height: 300px;
}
.ad-disclosure {
  flex-basis: 100%;
  margin: 0;
  color: #65758c;
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}
.tool-page {
  max-width: 900px;
}
.tool-page h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.04em;
}
.tool-description {
  max-width: 720px;
  color: #526176;
  font-size: 15px;
  line-height: 1.65;
}
.form-card {
  margin-top: 26px;
  padding: 22px;
  background: #fff;
  border: 1px solid #dce4ef;
  border-radius: 14px;
}
.form-card label {
  display: block;
  margin: 16px 0 8px;
  font-size: 14px;
  font-weight: 650;
}
.form-card textarea,
.form-card input {
  display: block;
  width: 100%;
  min-height: 48px;
  border: 1px solid #bac7d8;
  border-radius: 8px;
  background: #fff;
  color: #172033;
  padding: 12px;
  font:
    14px/1.5 ui-monospace,
    SFMono-Regular,
    Consolas,
    monospace;
}
.form-card textarea {
  min-height: 280px;
  resize: vertical;
}
.form-card .copy-input {
  min-height: 110px;
}
.form-card button {
  margin-top: 16px;
}
.result-panel {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.finding {
  border: 1px solid #dce4ef;
  border-left: 4px solid #198754;
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
}
.finding.warning {
  border-left-color: #bd7900;
}
.finding.issue {
  border-left-color: #bd362d;
}
.finding strong {
  display: block;
  font-size: 14px;
}
.finding p {
  margin: 5px 0 0;
  color: #526176;
  font-size: 13px;
  line-height: 1.5;
}
.disclaimer {
  margin-top: 16px;
  color: #65758c;
  font-size: 12px;
  line-height: 1.6;
}
.back-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  margin-top: 24px;
  color: #174a95;
  font-size: 14px;
  font-weight: 650;
}
@media (max-width: 880px) {
  .content-with-rail,
  .tool-content-with-rail {
    grid-template-columns: minmax(0, 1fr);
  }
  .ad-rail {
    margin: 24px auto;
  }
}
@media (max-width: 640px) {
  .container {
    padding: 36px 16px 52px;
  }
  .site-header {
    padding: 0 16px;
  }
  .tool-grid {
    grid-template-columns: 1fr;
  }
  .install-panel,
  .tool-card {
    padding: 18px;
  }
  .lede {
    font-size: 15px;
  }
  .ad-slot--banner {
    min-height: 0;
  }
}
