:root {
  color-scheme: light;
  --ink: #18202f;
  --muted: #627087;
  --line: #dfe5ef;
  --surface: #ffffff;
  --surface-soft: #f6f8fb;
  --accent: #087f8c;
  --accent-strong: #05616b;
  --warm: #f5b841;
  --coral: #ee6c4d;
  --shadow: 0 24px 70px rgba(24, 32, 47, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background:
    linear-gradient(140deg, rgba(8, 127, 140, 0.12), transparent 42%),
    linear-gradient(320deg, rgba(245, 184, 65, 0.16), transparent 40%),
    var(--surface-soft);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px 0 24px;
}

.search-panel {
  min-height: min(690px, calc(100vh - 120px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 88% 20%, rgba(238, 108, 77, 0.2), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
  border: 1px solid rgba(223, 229, 239, 0.86);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 5vw, 56px);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: clamp(34px, 6vw, 72px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: inherit;
  text-decoration: none;
}

.brand-mark span {
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  position: relative;
}

.brand-mark span::after {
  content: "";
  width: 10px;
  height: 3px;
  position: absolute;
  right: -8px;
  bottom: -4px;
  background: #fff;
  border-radius: 999px;
  transform: rotate(45deg);
}

.brand-name {
  font-size: 1.08rem;
  font-weight: 750;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.site-nav a {
  color: #39465a;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:hover,
.content-band a:hover,
.article-body a:hover {
  color: var(--accent-strong);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(2.75rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.intro {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.22rem);
  line-height: 1.62;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 690px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(24, 32, 47, 0.1);
}

.search-form input {
  width: 100%;
  min-width: 0;
  height: 56px;
  border: 0;
  outline: 0;
  padding: 0 16px;
  color: var(--ink);
  background: transparent;
  font-size: 1.05rem;
}

.search-form input::placeholder {
  color: #8a95a8;
}

.search-form button {
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 7px;
  padding: 0 22px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.search-form button:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.button-icon {
  width: 15px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}

.button-icon::after {
  content: "";
  width: 8px;
  height: 2px;
  position: absolute;
  right: -7px;
  bottom: -4px;
  background: currentColor;
  border-radius: 999px;
  transform: rotate(45deg);
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.quick-links a,
.quick-links button {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #39465a;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
}

.quick-links a:hover,
.quick-links button:hover {
  border-color: rgba(8, 127, 140, 0.45);
  color: var(--accent-strong);
}

.results-panel {
  width: 100%;
  margin-top: clamp(28px, 5vw, 48px);
  padding: clamp(16px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 248, 251, 0.92)),
    var(--surface);
  box-shadow: 0 18px 46px rgba(24, 32, 47, 0.08);
}

.results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.results-heading h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.results-heading .eyebrow {
  margin-bottom: 6px;
}

.results-heading span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.classification-key {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.classification-key button {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 11px;
  background: #fff;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    border-color 140ms ease,
    box-shadow 140ms ease,
    background 140ms ease;
}

.classification-key button::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: currentColor;
}

.classification-key button:hover {
  border-color: currentColor;
}

.classification-key button.is-active {
  border-color: currentColor;
  box-shadow: inset 0 0 0 1px currentColor;
  background: rgba(8, 127, 140, 0.06);
}

.classification-key button.is-empty {
  opacity: 0.38;
  pointer-events: none;
}

.filter-count {
  margin-left: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  opacity: 0.72;
}

.filter-count:empty {
  display: none;
}

.classification-key .key-all {
  color: var(--ink);
}

.classification-key .key-squatter {
  color: #9b2f22;
}

.classification-key .key-zombie {
  color: #4b5563;
}

.classification-key .key-available {
  color: var(--accent-strong);
}

.classification-key .key-active {
  color: #166534;
}

.classification-key .key-configured {
  color: #627087;
}

.classification-key .key-held {
  color: #946b0d;
}

.classification-key .key-parked {
  color: #995943;
}

.classification-key .key-forsale {
  color: #b84f37;
}

.classification-key .key-unknown {
  color: #6b7280;
}

.results-empty {
  margin: 0;
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}

.results-message {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(245, 184, 65, 0.44);
  border-radius: 8px;
  background: #fffaf0;
  color: #6f500c;
}

.results-message[hidden] {
  display: none;
}

.results-message strong,
.results-message span {
  display: block;
}

.results-message strong {
  font-size: 0.95rem;
}

.results-message span {
  font-size: 0.88rem;
  line-height: 1.45;
}

.results-message.is-rate-limited {
  border-color: rgba(245, 184, 65, 0.56);
  background:
    linear-gradient(90deg, rgba(245, 184, 65, 0.2), transparent 34%),
    #fffaf0;
}

.results-message.is-error {
  border-color: rgba(238, 108, 77, 0.38);
  background:
    linear-gradient(90deg, rgba(238, 108, 77, 0.12), transparent 34%),
    #fff8f5;
  color: #8f3d2a;
}

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

.domain-card {
  --status: #627087;
  min-height: 124px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) minmax(250px, 320px);
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(24, 32, 47, 0.06);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.domain-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(24, 32, 47, 0.12);
}

.domain-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--status);
}

.domain-card::after {
  content: "";
  width: 160px;
  height: 160px;
  position: absolute;
  right: -60px;
  top: -70px;
  border: 1px solid var(--status);
  border-radius: 50%;
  opacity: 0.16;
  pointer-events: none;
}

.domain-card strong,
.domain-card span,
.domain-card small {
  display: block;
}

.domain-card strong {
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  overflow-wrap: anywhere;
}

.domain-graphic {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  flex: 0 0 72px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.45)),
    #e8edf5;
  position: relative;
  isolation: isolate;
}

.domain-graphic::before,
.domain-graphic::after,
.domain-graphic i {
  content: "";
  position: absolute;
  border-radius: 999px;
  z-index: -1;
}

.domain-graphic::before {
  width: 52px;
  height: 52px;
  border: 2px solid currentColor;
  opacity: 0.24;
}

.domain-graphic::after {
  width: 34px;
  height: 5px;
  right: 8px;
  bottom: 12px;
  background: currentColor;
  opacity: 0.2;
  transform: rotate(-18deg);
}

.domain-graphic i {
  width: 8px;
  height: 8px;
  right: 12px;
  top: 12px;
  background: currentColor;
}

.domain-graphic b {
  color: currentColor;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(24, 32, 47, 0.18));
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.domain-card:hover .domain-graphic b {
  transform: scale(1.16) rotate(-6deg);
}

.domain-card.is-checking .domain-graphic b {
  animation: graphic-pulse 1.1s ease-in-out infinite;
}

@keyframes graphic-pulse {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.12) rotate(8deg);
    opacity: 1;
  }
}

.domain-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.domain-title-row em {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(98, 112, 135, 0.1);
  color: var(--muted);
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.domain-copy > span {
  margin-top: 6px;
}

.domain-card span,
.domain-card small {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.domain-card.is-available {
  border-color: rgba(8, 127, 140, 0.34);
}

.domain-card.is-available span {
  color: var(--accent-strong);
}

.domain-card.is-likely-available {
  --status: var(--accent);
  border-color: rgba(8, 127, 140, 0.34);
  background:
    linear-gradient(90deg, rgba(8, 127, 140, 0.08), transparent 30%),
    var(--surface);
}

.domain-card.is-likely-available span {
  color: var(--accent-strong);
}

.domain-card.is-likely-available .domain-graphic {
  color: var(--accent-strong);
  background:
    repeating-linear-gradient(135deg, rgba(8, 127, 140, 0.12) 0 8px, transparent 8px 16px),
    #edf8f9;
}

.domain-card.is-likely-available .domain-title-row em {
  background: rgba(8, 127, 140, 0.12);
  color: var(--accent-strong);
}

.domain-card.is-for-sale {
  --status: #ee6c4d;
  border-color: rgba(238, 108, 77, 0.42);
  background:
    linear-gradient(90deg, rgba(238, 108, 77, 0.12), transparent 32%),
    #fffaf8;
}

.domain-card.is-for-sale span {
  color: #b84f37;
}

.domain-card.is-for-sale .domain-graphic,
.domain-card.is-squatter-watch .domain-graphic {
  color: #b84f37;
  background:
    radial-gradient(circle at 72% 30%, rgba(238, 108, 77, 0.34), transparent 30%),
    #fff0eb;
}

.domain-card.is-squatter-watch .domain-graphic::before {
  border-style: dashed;
  transform: rotate(18deg);
}

.domain-card.is-squatter-watch .domain-graphic::after {
  width: 44px;
  height: 44px;
  right: 14px;
  bottom: 14px;
  border: 2px solid currentColor;
  background: transparent;
  opacity: 0.18;
  transform: rotate(0deg);
}

.domain-card.is-for-sale .domain-title-row em,
.domain-card.is-squatter-watch .domain-title-row em {
  background: rgba(238, 108, 77, 0.14);
  color: #9b2f22;
}

.domain-card.is-squatter-watch {
  --status: #b03526;
  border-color: rgba(176, 53, 38, 0.5);
  background:
    linear-gradient(90deg, rgba(176, 53, 38, 0.14), transparent 34%),
    #fff7f5;
}

.domain-card.is-squatter-watch span {
  color: #9b2f22;
}

.domain-card.is-parked {
  --status: #f5b841;
  border-color: rgba(238, 108, 77, 0.28);
  background:
    linear-gradient(90deg, rgba(245, 184, 65, 0.16), transparent 30%),
    #fffaf8;
}

.domain-card.is-parked span {
  color: #995943;
}

.domain-card.is-parked .domain-graphic,
.domain-card.is-held .domain-graphic {
  color: #946b0d;
  background:
    linear-gradient(135deg, rgba(245, 184, 65, 0.24), transparent),
    #fff8df;
}

.domain-card.is-parked .domain-title-row em,
.domain-card.is-held .domain-title-row em {
  background: rgba(245, 184, 65, 0.2);
  color: #946b0d;
}

.domain-card.is-held {
  --status: #f5b841;
  border-color: rgba(245, 184, 65, 0.58);
  background:
    linear-gradient(90deg, rgba(245, 184, 65, 0.12), transparent 30%),
    #fffdf6;
}

.domain-card.is-held span {
  color: #946b0d;
}

.domain-card.is-zombie {
  --status: #586272;
  border-color: rgba(88, 98, 114, 0.48);
  background:
    linear-gradient(90deg, rgba(88, 98, 114, 0.13), transparent 32%),
    #f7f8fa;
}

.domain-card.is-zombie span {
  color: #4b5563;
}

.domain-card.is-zombie .domain-graphic {
  color: #4b5563;
  background:
    repeating-linear-gradient(90deg, rgba(88, 98, 114, 0.14) 0 6px, transparent 6px 12px),
    #eef0f3;
}

.domain-card.is-zombie .domain-graphic::after {
  width: 32px;
  height: 2px;
  left: 13px;
  top: 28px;
  transform: rotate(0deg);
  opacity: 0.36;
}

.domain-card.is-zombie .domain-graphic::before {
  border-radius: 8px;
  transform: rotate(3deg);
}

.domain-card.is-zombie .domain-graphic b {
  transform: rotate(-4deg);
}

.domain-card.is-zombie .domain-title-row em {
  background: rgba(88, 98, 114, 0.14);
  color: #4b5563;
}

.domain-card.is-active {
  --status: #087f8c;
  border-color: rgba(8, 127, 140, 0.2);
  background:
    linear-gradient(90deg, rgba(8, 127, 140, 0.08), transparent 30%),
    #fafbfd;
}

.domain-card.is-active .domain-graphic {
  color: var(--accent-strong);
  background:
    radial-gradient(circle at 50% 50%, rgba(8, 127, 140, 0.14), transparent 48%),
    #eaf7f8;
}

.domain-card.is-active .domain-graphic::before {
  box-shadow: 0 0 0 9px rgba(8, 127, 140, 0.08);
}

.domain-card.is-active .domain-title-row em {
  background: rgba(8, 127, 140, 0.12);
  color: var(--accent-strong);
}

.domain-card.is-configured {
  --status: #627087;
  border-color: rgba(98, 112, 135, 0.34);
  background:
    linear-gradient(90deg, rgba(98, 112, 135, 0.09), transparent 30%),
    #fafbfd;
}

.domain-card.is-configured .domain-graphic,
.domain-card.is-checking .domain-graphic,
.domain-card.is-unknown .domain-graphic {
  color: #627087;
}

.domain-card.is-checking .domain-graphic::before {
  border-style: dashed;
}

.domain-card.is-configured .domain-title-row em,
.domain-card.is-checking .domain-title-row em,
.domain-card.is-unknown .domain-title-row em {
  background: rgba(98, 112, 135, 0.12);
  color: #4b5563;
}

.domain-card.is-checking {
  opacity: 0.82;
}

.domain-card.is-unavailable {
  background: #fafbfd;
}

.domain-card.is-loading em {
  width: 82px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #e8edf5, #f7f9fc, #e8edf5);
}

.domain-meta {
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  padding-left: 16px;
  border-left: 1px solid rgba(223, 229, 239, 0.86);
  text-align: left;
}

.domain-meta p {
  width: 100%;
  margin: 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.intel-confidence {
  width: 100%;
  display: grid;
  gap: 6px;
}

.intel-confidence span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.intel-confidence i {
  height: 8px;
  display: block;
  border-radius: 999px;
  background: #e7ecf3;
  overflow: hidden;
}

.intel-confidence b {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: var(--status);
}

.registrar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.domain-meta a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.domain-meta a:hover {
  background: var(--accent-strong);
}

.domain-copy {
  min-width: 0;
}

.domain-signals {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.8rem;
  list-style: none;
}

.domain-signals li {
  overflow-wrap: anywhere;
}

.muted-action {
  white-space: nowrap;
}

.visual-card {
  min-height: 420px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 127, 140, 0.95), rgba(42, 54, 71, 0.96)),
    var(--accent);
  overflow: hidden;
  position: relative;
}

.visual-card::before,
.visual-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.visual-card::before {
  width: 320px;
  height: 320px;
  top: -84px;
  right: -78px;
}

.visual-card::after {
  width: 210px;
  height: 210px;
  bottom: -62px;
  left: -58px;
}

.preview-window {
  width: min(86%, 366px);
  position: relative;
  z-index: 1;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.preview-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
}

.preview-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.preview-bar span:nth-child(2) {
  background: var(--warm);
}

.preview-bar span:nth-child(3) {
  background: var(--accent);
}

.preview-search {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 700;
}

.preview-search-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  position: relative;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.preview-search-icon::after {
  content: "";
  width: 7px;
  height: 2px;
  position: absolute;
  right: -6px;
  bottom: -3px;
  background: var(--accent);
  border-radius: 999px;
  transform: rotate(45deg);
}

.preview-results {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.preview-row {
  --tone: var(--muted);
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--tone);
  border-radius: 10px;
  background: #fff;
  animation: preview-rise 0.5s ease both;
}

.preview-row:nth-child(2) {
  animation-delay: 0.12s;
}

.preview-row:nth-child(3) {
  animation-delay: 0.24s;
}

.preview-row b {
  font-size: 1.25rem;
  line-height: 1;
}

.preview-domain {
  flex: 1;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.preview-tag {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(98, 112, 135, 0.14);
  color: var(--tone);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.preview-row.is-available {
  --tone: var(--accent-strong);
}

.preview-row.is-available .preview-tag {
  background: rgba(8, 127, 140, 0.12);
}

.preview-row.is-squatter {
  --tone: #b03526;
}

.preview-row.is-squatter .preview-tag {
  background: rgba(176, 53, 38, 0.12);
}

.preview-row.is-active {
  --tone: #166534;
}

.preview-row.is-active .preview-tag {
  background: rgba(22, 101, 52, 0.12);
}

@keyframes preview-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.float-badge {
  position: absolute;
  z-index: 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
  font-size: 1.5rem;
  animation: badge-bob 4s ease-in-out infinite;
}

.float-badge-1 {
  top: 7%;
  left: 5%;
  animation-delay: 0s;
}

.float-badge-2 {
  top: 15%;
  right: 7%;
  animation-delay: 0.8s;
}

.float-badge-3 {
  bottom: 9%;
  left: 9%;
  animation-delay: 1.6s;
}

@keyframes badge-bob {
  0%,
  100% {
    transform: translateY(-5px) rotate(-4deg);
  }
  50% {
    transform: translateY(5px) rotate(4deg);
  }
}

.content-band {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
}

@media (prefers-reduced-motion: reduce) {
  .float-badge,
  .preview-row,
  .domain-card.is-checking .domain-graphic b {
    animation: none;
  }
}

.content-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 24px;
}

.content-band h2 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.content-band p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.content-band a,
.article-body a {
  color: var(--accent-strong);
  font-weight: 800;
}

.article-page {
  min-height: calc(100vh - 110px);
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid rgba(223, 229, 239, 0.86);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.article-page .brand-row {
  margin-bottom: clamp(34px, 6vw, 58px);
}

.article-hero {
  max-width: 860px;
  margin-bottom: clamp(28px, 5vw, 44px);
}

.article-hero h1 {
  margin-bottom: 16px;
  font-size: clamp(2.35rem, 5vw, 4.45rem);
  line-height: 1;
}

.article-hero p {
  max-width: 780px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.68;
}

.article-body {
  display: grid;
  gap: 18px;
}

.article-section {
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.article-section h2 {
  margin-bottom: 10px;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

.article-section h3 {
  margin: 18px 0 8px;
  font-size: 1rem;
}

.article-section p,
.article-section li {
  color: var(--muted);
  line-height: 1.7;
}

.article-section p:last-child,
.article-section ul:last-child,
.article-section ol:last-child {
  margin-bottom: 0;
}

.article-section ul,
.article-section ol {
  padding-left: 1.25rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.resource-list,
.contact-list {
  display: grid;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.resource-list li,
.contact-list li {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.resource-list strong,
.contact-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

.site-footer {
  width: min(1120px, calc(100% - 32px));
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0 auto;
  padding: 0 0 28px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer span {
  margin-right: auto;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover,
.footer-link:hover {
  color: var(--accent-strong);
}

.footer-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.cookie-bar {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 20;
  width: min(640px, calc(100% - 24px));
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 14px 18px;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 50px rgba(24, 32, 47, 0.18);
}

.cookie-bar[hidden] {
  display: none;
}

.cookie-bar p {
  flex: 1 1 280px;
  margin: 0;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.5;
}

.cookie-bar a {
  color: var(--accent-strong);
  font-weight: 700;
}

.cookie-actions {
  display: flex;
  gap: 8px;
}

.cookie-actions button {
  min-height: 38px;
  padding: 0 16px;
  border-radius: 7px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

#cookie-accept {
  border: 0;
  background: var(--accent);
  color: #fff;
}

#cookie-accept:hover {
  background: var(--accent-strong);
}

#cookie-decline {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

#cookie-decline:hover {
  border-color: rgba(8, 127, 140, 0.45);
  color: var(--accent-strong);
}

.sr-only {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (max-width: 860px) {
  .search-panel {
    min-height: auto;
  }

  .hero-grid,
  .content-band,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .brand-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .visual-card {
    min-height: 300px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 10px;
  }

  .search-panel {
    padding: 22px;
  }

  .brand-row {
    margin-bottom: 36px;
  }

  .site-nav {
    gap: 8px 11px;
  }

  .site-nav a {
    font-size: 0.84rem;
  }

  h1 {
    font-size: clamp(2.35rem, 15vw, 3.6rem);
  }

  .search-form {
    grid-template-columns: 1fr;
  }

  .search-form button {
    width: 100%;
  }

  .domain-card {
    align-items: flex-start;
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 12px;
  }

  .domain-graphic {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .domain-copy,
  .domain-meta {
    min-width: 0;
  }

  .domain-meta {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
    text-align: left;
  }

  .visual-card {
    min-height: 260px;
  }

  .preview-window {
    width: min(92%, 360px);
  }

  .site-footer {
    width: min(100% - 20px, 1120px);
  }

  .site-footer span {
    width: 100%;
  }
}
