:root {
  --navy: #0b1f3a;
  --navy-2: #123056;
  --blue: #3c81de;
  --gold: #d4a017;
  --ink: #1a2332;
  --muted: #5b6778;
  --paper: #f4f6fb;
  --white: #fff;
  --line: #d7deea;
  --danger: #b42318;
  --ok: #0f7b3d;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}
a { color: var(--blue); }
.wrap { width: min(1100px, calc(100% - 32px)); margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0);
}
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--blue);
  position: sticky; top: 0; z-index: 20;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { height: 42px; width: auto; display: block; }
.nav nav { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.nav nav a { color: var(--navy); text-decoration: none; font-weight: 600; text-transform: uppercase; font-size: 13px; letter-spacing: .04em; }
.nav nav a:hover { color: var(--blue); }
.hero {
  background:
    radial-gradient(circle at top right, rgba(60,129,222,.35), transparent 40%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #081526 100%);
  color: var(--white);
  padding: 64px 0 56px;
}
.hero.compact { padding: 40px 0; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 8px; font-weight: 700; }
.lede { font-size: 1.15rem; opacity: .92; max-width: 42rem; }
.check-form { display: flex; gap: 0; max-width: 640px; margin: 24px 0 12px; }
.check-form input {
  flex: 1; border: 0; padding: 14px 16px; font-size: 16px; border-radius: 4px 0 0 4px;
}
.check-form button, .btn, button[type="submit"] {
  background: var(--gold); color: var(--navy); border: 0; font-weight: 700;
  padding: 14px 18px; cursor: pointer; border-radius: 0 4px 4px 0; font-size: 15px;
}
.btn { display: inline-block; text-decoration: none; border-radius: 4px; }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.45); }
.examples { font-size: 14px; }
.examples a { color: #fff; }
.text-ads { margin-top: 28px; background: rgba(255,255,255,.08); padding: 16px; border-radius: 8px; }
.text-ads a { color: #ffd978; }
.status { margin-top: 12px; padding: 10px 12px; background: rgba(255,255,255,.12); border-radius: 6px; }
.panel { padding: 40px 0; }
.panel.muted { background: #eef2f8; }
.panel h2 { margin-top: 0; color: var(--navy); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.site-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 16px;
  box-shadow: 0 8px 24px rgba(11,31,58,.06);
}
.site-card img { width: 100%; height: 140px; object-fit: cover; border-radius: 6px; background: #e9eef6; }
.site-card h3 { margin: 10px 0 4px; color: var(--navy); text-transform: none; }
.site-card a { text-decoration: none; color: inherit; }
.card-actions { display: flex; gap: 12px; }
.ad-slot { text-align: center; }
.ad-banner, .ad-slot img { max-width: 100%; height: auto; }
.data { width: 100%; border-collapse: collapse; background: var(--white); }
.data th, .data td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.data thead th { background: var(--navy); color: var(--white); }
.note, .meta { color: var(--muted); font-size: 14px; }
.worth-block { display: flex; gap: 16px; align-items: center; margin-top: 20px; }
.worth { font-size: 2.2rem; margin: 0; font-weight: 800; color: #ffe08a; }
.label { margin: 0; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.preview { background: rgba(255,255,255,.08); padding: 12px; border-radius: 10px; }
.preview img { width: 100%; border-radius: 6px; }
.preview-label { margin: 0 0 8px; font-weight: 700; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.split-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
textarea { width: 100%; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; padding: 10px; }
.whois {
  white-space: pre-wrap; background: var(--white); padding: 16px; border: 1px solid var(--line);
  font-size: 13px; overflow: auto; max-height: 320px;
}
.page { padding: 40px 0 64px; }
.prose { max-width: 720px; background: var(--white); padding: 32px; border-radius: 12px; }
.stack { display: grid; gap: 12px; }
.stack label, .prose label { display: grid; gap: 6px; font-weight: 600; }
.stack input, .stack textarea, .prose input, .prose textarea {
  padding: 10px; border: 1px solid var(--line); border-radius: 6px; font: inherit;
}
.login-card { text-align: center; }
.site-footer { background: var(--navy); color: #c9d4e5; padding: 24px 0; }
.footer-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.site-footer a { color: #ffd978; }
.flashes { padding: 12px 0 0; }
.flash { padding: 10px 12px; border-radius: 6px; margin: 8px 0; background: #e8f0fe; }
.flash-danger { background: #fde8e6; color: var(--danger); }
.flash-success { background: #e7f6ec; color: var(--ok); }
.badge {
  display: block; background: var(--navy); color: #fff; padding: 12px 16px; text-decoration: none;
  font-family: inherit; border-left: 6px solid var(--gold);
}
.badge span { display: block; font-size: 12px; opacity: .8; }
.badge em { font-style: normal; font-size: 22px; color: #ffe08a; }
.row-form { display: flex; gap: 8px; margin-bottom: 16px; }
.stats { display: flex; gap: 18px; list-style: none; padding: 0; }
@media (max-width: 800px) {
  .split, .grid-2, .split-actions { grid-template-columns: 1fr; }
  .check-form { flex-direction: column; }
  .check-form input, .check-form button { border-radius: 4px; width: 100%; }
  .nav { flex-direction: column; align-items: flex-start; padding: 12px 0; }
}
