:root {
  --bg: #eef2f6;
  --ink: #142033;
  --muted: #5c6b80;
  --line: #d5deea;
  --card: #fbfcfe;
  --blue: #1d4e89;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  background:
    linear-gradient(180deg, rgba(29, 78, 137, 0.05), transparent 240px),
    var(--bg);
  font-size: 1.05rem;
  line-height: 1.6;
}
a { color: var(--blue); }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: white; padding: 0.45rem 0.7rem; }
.skip:focus { top: 1rem; }
.wrap { width: min(980px, calc(100% - 2rem)); margin: 0 auto; }
.wrap-narrow { width: min(740px, calc(100% - 2rem)); margin: 0 auto; }
.masthead { display: flex; justify-content: space-between; gap: 1rem; align-items: end; padding: 1.2rem 0 0.6rem; }
.brand { color: inherit; text-decoration: none; }
.brand small { display: block; color: var(--blue); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; }
.brand strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 560; }
nav { display: flex; gap: 0.95rem; flex-wrap: wrap; }
nav a { color: var(--ink); text-decoration: none; }
nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); }
h1 { font-family: var(--serif); font-weight: 520; font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; letter-spacing: -0.03em; margin: 0.2rem 0 0.6rem; }
h2 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.02em; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.lede { max-width: 40rem; font-size: 1.15rem; }
.meta { color: var(--muted); }
.ip-block { margin: 1rem 0 1.4rem; }
.ip {
  font-family: var(--mono);
  font-size: clamp(1.8rem, 6vw, 3.4rem);
  letter-spacing: -0.04em;
  margin: 0.2rem 0;
  overflow-wrap: anywhere;
}
.ipv6 { font-family: var(--mono); color: var(--muted); overflow-wrap: anywhere; }
.actions { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 0.8rem 0; }
button {
  font: inherit;
  background: var(--blue);
  color: white;
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  cursor: pointer;
}
button.secondary { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
button:disabled { opacity: 0.55; }
button:focus-visible, a:focus-visible, input:focus, textarea:focus, select:focus { outline: 2px solid var(--blue); outline-offset: 2px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin: 1rem 0 2rem; }
.fact { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0.9rem 1rem; }
.fact h2 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.55rem; font-weight: 600; }
.fact dl { margin: 0; display: grid; gap: 0.45rem; }
.fact dt { color: var(--muted); font-size: 0.86rem; }
.fact dd { margin: 0; font-family: var(--mono); font-size: 0.95rem; overflow-wrap: anywhere; }
.prose { padding-bottom: 1rem; }
.note { background: white; border-left: 3px solid var(--blue); padding: 0.2rem 1rem; }
.faq details { border-top: 1px solid var(--line); padding: 0.7rem 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.publisher-note { background: #fff6df; border: 1px solid #ead7a4; padding: 0.8rem 1rem; border-radius: 12px; }
label { display: block; margin: 0.75rem 0; }
label span { display: block; margin-bottom: 0.25rem; }
input, select, textarea { width: 100%; font: inherit; border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem; }
textarea { min-height: 9rem; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); padding: 1.2rem 0 2rem; margin-top: 1rem; }
.footer-row { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-links { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.ua { font-family: var(--mono); font-size: 0.86rem; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .facts, .masthead { display: block; }
  nav { margin-top: 0.7rem; }
}
.ad-slot:not(:has(ins, iframe, .adsbygoogle)) { display: none; }
.ad-slot:has(ins, iframe, .adsbygoogle) {
  margin: 1.75rem auto;
  min-height: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.ad-slot ins { display: block; width: 100%; }
