:root {
  --bg: #ffffff;
  --subtle-bg: #f8f8f8;
  --surface: #ffffff;
  --elevated: #ffffff;
  --ink: #1a1a1a;
  --secondary: #4b5563;
  --muted: #6b7280;
  --line: #d1d5db;
  --line-soft: #e5e7eb;
  --brand: #0067b8;
  --brand-2: #0078d4;
  --brand-hover: #005a9e;
  --accent: #2563eb;
  --success: #107c10;
  --warning: #ffb900;
  --error: #d13438;
  --info: #0078d4;
  --code: #f6f8fa;
  --code-text: #1a1a1a;
  --inline-code: #f3f4f6;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --soft: #f8f8f8;
  --header-bg: #ffffff;
  --surface-2: #f8f8f8;
}

html[data-theme="dark"] {
  --bg: #111827;
  --subtle-bg: #1f2937;
  --surface: #111827;
  --elevated: #1f2937;
  --ink: #f9fafb;
  --secondary: #d1d5db;
  --muted: #9ca3af;
  --line: #374151;
  --line-soft: #293241;
  --brand: #60a5fa;
  --brand-2: #38bdf8;
  --brand-hover: #93c5fd;
  --accent: #3b82f6;
  --success: #4ade80;
  --warning: #facc15;
  --error: #f87171;
  --info: #38bdf8;
  --code: #0f172a;
  --code-text: #f9fafb;
  --inline-code: #1e293b;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  --soft: #1f2937;
  --header-bg: #111827;
  --surface-2: #1f2937;
}

html[data-theme="contrast"] {
  --bg: #000000;
  --subtle-bg: #000000;
  --surface: #000000;
  --elevated: #000000;
  --ink: #ffffff;
  --secondary: #ffffff;
  --muted: #ffffff;
  --line: #ffffff;
  --line-soft: #ffffff;
  --brand: #ffff00;
  --brand-2: #ffff00;
  --brand-hover: #ffff00;
  --accent: #ffff00;
  --success: #00ff00;
  --warning: #ffff00;
  --error: #ff6b6b;
  --info: #ffff00;
  --code: #000000;
  --code-text: #ffffff;
  --inline-code: #000000;
  --shadow: none;
  --soft: #000000;
  --header-bg: #000000;
  --surface-2: #000000;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--ink);
  color: var(--surface);
  padding: 8px 12px;
}

.skip-link:focus {
  transform: translateY(0);
}

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.ui-icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  vertical-align: -0.16em;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid var(--line-soft);
  background: var(--header-bg);
  color: var(--ink);
}

.site-header-inner {
  display: grid;
  width: min(100%, 1240px);
  min-height: 72px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 32px);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.original-brand {
  gap: 10px;
  min-width: 176px;
}

.brand-logo-img {
  display: block;
  height: clamp(72px, 9vw, 100px);
  width: auto;
  max-width: 240px;
}

.brand-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #148bd1;
}

.brand-screen {
  display: grid;
  place-items: center;
  width: 38px;
  height: 34px;
  border: 3px solid #148bd1;
  border-radius: 6px;
  background: var(--surface);
}

.brand-screen .ui-icon {
  width: 24px;
  height: 24px;
}

.brand-gear {
  position: absolute;
  top: -4px;
  left: -2px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #ff8a1f;
  color: #fff;
}

.brand-gear .ui-icon {
  width: 13px;
  height: 13px;
}

.brand-wordmark strong,
.brand-wordmark small {
  display: block;
}

.brand-wordmark strong {
  color: #1768bf;
  font-size: clamp(1.1rem, 1.9vw, 1.35rem);
  line-height: 1;
}

.brand-wordmark strong em {
  color: #ff8a1f;
  font-style: normal;
}

.brand-wordmark small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.header-search-toggle {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.header-search-toggle:hover,
.header-search-toggle:focus-visible {
  color: var(--brand);
}

.header-search-toggle .ui-icon {
  width: 21px;
  height: 21px;
}

.main-nav {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 1.6vw, 24px);
}

.main-nav a,
.nav-trigger {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  font-size: clamp(0.78rem, 1vw, 0.92rem);
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.nav-dropdown.is-open > .nav-trigger,
.nav-dropdown:hover > .nav-trigger {
  color: #2563eb;
}

.dropdown-caret {
  margin-left: 6px;
  color: currentColor;
  font-size: 1rem;
  line-height: 1;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: #2878f0;
  color: #fff;
  font-weight: 850;
  padding: 10px 18px;
  text-decoration: none;
  text-transform: none;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: #1d63cf;
  color: #fff;
}

html[data-theme="contrast"] .header-cta {
  border: 2px solid #ffff00;
  background: #000;
  color: #ffff00;
}

.nav-toggle {
  display: none;
  min-height: 44px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
  padding: 9px 12px;
}

.mega-nav {
  position: relative;
}

.mega-item {
  position: relative;
}

.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  display: grid;
  width: max-content;
  min-width: 250px;
  max-height: min(70vh, 560px);
  gap: 4px;
  overflow: auto;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 60px rgba(15, 35, 62, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.mega-item:hover .mega-panel,
.mega-item:focus-within .mega-panel,
.mega-item.is-open .mega-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-panel a {
  display: flex;
  min-height: 40px;
  align-items: center;
  border-radius: 6px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 750;
  padding: 9px 12px;
  text-transform: none;
}

.mega-panel a:hover,
.mega-panel a:focus-visible {
  background: var(--surface-2);
  color: var(--brand);
}

.search-overlay[hidden] {
  display: none;
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: start center;
  background: rgba(10, 21, 34, 0.38);
  padding: 130px 18px 18px;
}

.search-overlay-panel {
  position: relative;
  width: min(100%, 680px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 24px 70px rgba(15, 35, 62, 0.22);
  padding: 24px;
}

.search-overlay-panel label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  text-transform: uppercase;
}

.header-search input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 12px 14px;
}

.search-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

main {
  min-height: 68vh;
}

.affiliate-top-bar {
  width: 100%;
  background: #075ea8;
}

.affiliate-top-inner {
  display: flex;
  width: min(100%, 1240px);
  height: 60px;
  align-items: center;
  margin: 0 auto;
  overflow-x: auto;
  padding: 0 clamp(18px, 4vw, 32px);
  scrollbar-width: none;
}

.affiliate-top-inner::-webkit-scrollbar {
  display: none;
}

.affiliate-top-links {
  display: flex;
  min-width: max-content;
  align-items: center;
  gap: 40px;
}

.affiliate-top-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.affiliate-top-links a:hover,
.affiliate-top-links a:focus-visible {
  color: #fff;
  opacity: 0.92;
  text-decoration: underline;
}

.adminops-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  padding: clamp(54px, 9vw, 112px) clamp(18px, 4vw, 54px) clamp(42px, 8vw, 88px);
  background: #07111f;
}

.adminops-hero::before,
.adminops-hero::after {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  pointer-events: none;
}

.adminops-hero::before {
  background-image:
    linear-gradient(90deg, rgba(7, 17, 31, 0.92) 0%, rgba(7, 17, 31, 0.72) 48%, rgba(7, 17, 31, 0.58) 100%),
    url("/assets/home-hero-server-admin.png");
  background-position: 58% 48%;
  background-size: cover;
  filter: saturate(1.08) contrast(1.04);
  opacity: 0.92;
  transform: scale(1.06);
  animation: heroImageDrift 24s ease-in-out infinite alternate;
}

.adminops-hero::after {
  z-index: -1;
  background:
    radial-gradient(circle at 22% 22%, rgba(56, 189, 248, 0.24), transparent 32%),
    radial-gradient(circle at 76% 70%, rgba(37, 99, 235, 0.2), transparent 30%),
    linear-gradient(120deg, rgba(0, 103, 184, 0.28), transparent 58%);
  background-size: 115% 115%, 120% 120%, 100% 100%;
  mix-blend-mode: screen;
  opacity: 0.84;
  animation: heroGlowSweep 16s ease-in-out infinite alternate;
}

html[data-theme="contrast"] .adminops-hero {
  background: #000;
}

html[data-theme="contrast"] .adminops-hero::before,
html[data-theme="contrast"] .adminops-hero::after {
  display: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100%, 1180px);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.hero-copy h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.42);
}

.hero-copy > p {
  max-width: 720px;
  color: rgba(226, 232, 240, 0.92);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.adminops-hero .eyebrow {
  color: #7dd3fc;
}

.adminops-hero .button-secondary {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(15, 23, 42, 0.48);
  color: #fff;
  backdrop-filter: blur(16px);
}

.adminops-hero .button-secondary:hover,
.adminops-hero .button-secondary:focus-visible {
  border-color: rgba(125, 211, 252, 0.62);
  background: rgba(15, 23, 42, 0.66);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.trust-badges,
.category-filters,
.tool-category-nav,
.tag-cloud,
.quick-ports {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trust-badges {
  margin-top: 18px;
}

.trust-badges span,
.category-filters span,
.tool-category-nav a,
.tag-cloud a,
.tool-badge,
.quick-ports button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
}

.adminops-hero .trust-badges span {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(15, 23, 42, 0.56);
  color: rgba(241, 245, 249, 0.94);
  backdrop-filter: blur(12px);
}

.trust-badges span,
.tag-cloud a,
.tool-help a,
.resource-bar a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.button-primary,
.button-secondary {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 850;
  text-decoration: none;
}

.button-primary {
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.hero-search {
  position: relative;
  max-width: 620px;
}

.hero-search label,
.newsletter-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.adminops-hero .hero-search label {
  color: rgba(226, 232, 240, 0.82);
}

.hero-search input,
.newsletter-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 14px 15px;
  box-shadow: var(--shadow);
}

.adminops-hero .hero-search input {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(15, 23, 42, 0.64);
  color: #fff;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.adminops-hero .hero-search input::placeholder {
  color: rgba(226, 232, 240, 0.68);
}

.hero-search.standalone {
  margin-top: 28px;
}

.search-results {
  position: absolute;
  right: 0;
  left: 0;
  top: calc(100% + 8px);
  z-index: 12;
  display: grid;
  max-height: 430px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.search-result {
  display: grid;
  gap: 2px;
  padding: 13px 14px;
  color: var(--ink);
  text-decoration: none;
}

.search-result + .search-result {
  border-top: 1px solid var(--line);
}

.search-result span {
  color: var(--brand-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.search-result small,
.muted {
  color: var(--muted);
}

.search-results .muted {
  margin: 0;
  padding: 14px;
}

.hero-command-board {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.56);
  padding: clamp(20px, 4vw, 34px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.hero-animation-only {
  align-self: start;
  margin-top: clamp(24px, 2.2vw, 34px);
  padding: clamp(12px, 2vw, 18px);
}

.hero-animation-only .three-hero-scene {
  min-height: clamp(280px, 34vw, 420px);
  margin: 0;
}

.hero-diagnostic-graphic {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.graphic-topline {
  display: flex;
  gap: 7px;
}

.graphic-topline span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--line);
}

.graphic-orbit {
  position: relative;
  display: grid;
  min-height: 170px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 14%, transparent), transparent),
    var(--surface-2);
}

.graphic-orbit::before,
.graphic-orbit::after {
  position: absolute;
  content: "";
  border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent);
  border-radius: 999px;
}

.graphic-orbit::before {
  width: 160px;
  height: 160px;
}

.graphic-orbit::after {
  width: 230px;
  height: 90px;
  transform: rotate(-24deg);
}

.graphic-orbit i {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand-2);
}

.graphic-orbit i:nth-child(2) {
  top: 34px;
  right: 86px;
}

.graphic-orbit i:nth-child(3) {
  bottom: 42px;
  left: 74px;
}

.graphic-orbit i:nth-child(4) {
  right: 52px;
  bottom: 56px;
  background: var(--accent);
}

.graphic-main-icon {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: var(--brand);
  color: #fff;
  padding: 18px;
  box-shadow: 0 18px 34px color-mix(in srgb, var(--brand) 28%, transparent);
}

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

.graphic-checks div {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  padding: 10px;
}

.graphic-checks span {
  border-radius: 999px;
  padding: 3px 7px;
  font-size: 0.68rem;
  font-weight: 900;
}

.graphic-checks .is-ok {
  background: color-mix(in srgb, #16a34a 18%, transparent);
  color: #167243;
}

.graphic-checks .is-warn {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
  color: #835b00;
}

.hero-command-board span {
  display: inline-block;
  margin-bottom: 18px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 14%, transparent);
  color: var(--brand);
  padding: 6px 10px;
  font-size: 0.8rem;
  font-weight: 850;
}

.hero-command-board strong {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.05;
}

.hero-command-board ol {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.three-scene-card {
  overflow: hidden;
}

.three-hero-scene {
  position: relative;
  min-height: 310px;
  margin: -10px -10px 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 26% 24%, rgba(14, 165, 233, 0.2), transparent 26%),
    radial-gradient(circle at 74% 70%, rgba(215, 167, 43, 0.14), transparent 24%),
    linear-gradient(135deg, #eef8ff, var(--surface-2));
}

html[data-theme="dark"] .three-hero-scene {
  background:
    radial-gradient(circle at 26% 24%, rgba(14, 165, 233, 0.18), transparent 26%),
    radial-gradient(circle at 74% 70%, rgba(215, 167, 43, 0.12), transparent 24%),
    linear-gradient(135deg, #101a27, var(--surface-2));
}

@keyframes heroImageDrift {
  0% {
    background-position: 56% 45%;
    transform: scale(1.06);
  }
  100% {
    background-position: 64% 55%;
    transform: scale(1.12);
  }
}

@keyframes heroGlowSweep {
  0% {
    background-position: 0% 0%, 100% 100%, 50% 50%;
    opacity: 0.72;
  }
  100% {
    background-position: 12% 9%, 86% 84%, 50% 50%;
    opacity: 0.95;
  }
}

@media (prefers-reduced-motion: reduce) {
  .adminops-hero::before,
  .adminops-hero::after {
    animation: none;
  }
}

.three-hero-scene canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.three-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.cloud-shape,
.server-shape {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--brand);
  box-shadow: var(--shadow);
}

.cloud-shape {
  width: 110px;
  height: 78px;
  top: 80px;
  left: 82px;
}

.server-shape {
  width: 92px;
  height: 92px;
  right: 88px;
  bottom: 70px;
}

.cloud-shape .ui-icon,
.server-shape .ui-icon {
  width: 44px;
  height: 44px;
}

.node-shape {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--brand-2);
}

.node-shape.one {
  top: 64px;
  right: 120px;
}

.node-shape.two {
  bottom: 92px;
  left: 118px;
}

.node-shape.three {
  top: 154px;
  left: 52%;
  background: var(--accent);
}

.floating-status-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #12342d;
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.card-one { top: 18px; left: 22px; }
.card-two { top: 62px; right: 20px; }
.card-three { bottom: 20px; left: 32px; }
.card-four { right: 26px; bottom: 24px; }

.value-strip,
.learning-preview,
.hosting-resource-cta,
.support-cta {
  padding: 58px clamp(18px, 4vw, 54px);
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  background: var(--surface);
}

.value-strip article,
.learning-card,
.resource-link-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.value-strip article {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.value-strip .ui-icon,
.learning-card .ui-icon,
.resource-link-grid .ui-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 12%, var(--surface));
  color: var(--brand);
  padding: 8px;
}

.value-strip p,
.learning-card span,
.resource-link-grid span {
  color: var(--muted);
  margin: 0;
}

.learning-preview {
  background: var(--soft);
}

.learning-preview.full {
  background: var(--bg);
}

.learning-grid,
.resource-link-grid {
  display: grid;
  width: min(100%, 1180px);
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.learning-card,
.resource-link-grid a {
  display: grid;
  gap: 10px;
  min-height: 180px;
  padding: 18px;
  color: inherit;
  text-decoration: none;
}

.platform-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.platform-selector span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 850;
}

.hosting-resource-cta {
  background:
    linear-gradient(135deg, rgba(7, 94, 168, 0.1), transparent),
    var(--bg);
}

.support-cta {
  display: flex;
  width: min(100% - 36px, 1180px);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.support-cta h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.support-cta p {
  color: var(--muted);
}

.anime-reveal,
.post-card,
.tool-tile,
.learning-card,
.troubleshooting-grid a {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.28s ease, transform 0.28s ease, box-shadow 0.2s ease;
}

.anime-reveal.is-visible,
.post-card.is-visible,
.tool-tile.is-visible,
.learning-card.is-visible,
.troubleshooting-grid a.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.page-hero,
.post-header,
.tools-header {
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(42px, 8vw, 86px) clamp(18px, 4vw, 28px) clamp(28px, 5vw, 54px);
}

.page-hero h1,
.post-header h1,
.tools-header h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.25rem, 6vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.page-hero p,
.post-header p,
.tools-header p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-2);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wp-content {
  width: min(100% - 36px, 1000px);
  margin: 0 auto 72px;
  font-size: 1.02rem;
}

.wp-content > * + * {
  margin-top: 1.05em;
}

.wp-content h2,
.wp-content h3,
.wp-content h4 {
  line-height: 1.12;
  margin-top: 1.5em;
}

.wp-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
}

.wp-content h3 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.wp-content p,
.wp-content li {
  color: color-mix(in srgb, var(--ink) 86%, var(--muted));
}

.wp-content pre,
.wp-content code {
  border-radius: 8px;
  background: var(--code);
  color: var(--code-text);
}

.wp-content code {
  padding: 2px 5px;
}

.wp-content pre {
  overflow: auto;
  padding: 16px;
}

.wp-content table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.wp-content th,
.wp-content td {
  border: 1px solid var(--line);
  padding: 10px;
  vertical-align: top;
}

.wp-content img {
  border-radius: 8px;
}

.home-wrap .wp-content,
.is-home .wp-content {
  width: min(100% - 36px, 1180px);
}

.home-wrap > section:first-child,
.home-wrap > div:first-child {
  width: min(100% - 36px, 1180px);
  margin-inline: auto;
}

.latest-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 56px clamp(18px, 4vw, 54px) 76px;
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.97) 0%, rgba(15, 23, 42, 0.88) 46%, rgba(15, 23, 42, 0.96) 100%),
    url("/assets/latest-tutorials-tech-bg.png") center / cover no-repeat,
    #111c2b;
}

.latest-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 72%, transparent 100%);
  opacity: 0.55;
}

.latest-section .section-heading,
.latest-section .post-grid {
  position: relative;
  z-index: 1;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 1180px);
  margin: 0 auto 22px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.section-heading.compact {
  margin-bottom: 18px;
}

.featured-tools-strip,
.category-band {
  padding: 58px clamp(18px, 4vw, 54px);
}

.featured-tools-grid {
  display: grid;
  width: min(100%, 1180px);
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.featured-tool,
.category-card,
.resource-bar a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.featured-tool {
  display: grid;
  gap: 7px;
  min-height: 132px;
  padding: 17px;
}

.featured-tool em,
.tool-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 16%, var(--surface));
  color: var(--brand);
  font-style: normal;
  font-weight: 950;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 16%, var(--surface));
  color: var(--brand);
  padding: 10px;
}

.featured-tool span,
.resource-bar span {
  color: var(--muted);
  font-size: 0.92rem;
}

.featured-tool small {
  color: var(--brand);
  font-weight: 850;
}

.category-band {
  background: var(--bg);
}

.category-grid {
  display: grid;
  width: min(100%, 1180px);
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(235px, 1fr));
  gap: 16px;
}

.category-card {
  display: grid;
  gap: 10px;
  min-height: 220px;
  padding: 22px;
}

.category-card > span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 24%, var(--surface));
  color: var(--brand-2);
  font-weight: 950;
}

.category-card > span .ui-icon,
.tool-icon .ui-icon {
  width: 24px;
  height: 24px;
}

.category-card h3 {
  margin: 0;
  font-size: 1.18rem;
}

.category-card p {
  margin: 0;
  color: var(--muted);
}

.category-card small {
  align-self: end;
  color: var(--brand);
  font-weight: 850;
}

.post-grid,
.tools-grid {
  display: grid;
  width: min(100% - 36px, 1180px);
  margin: 0 auto 76px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.post-card,
.tool-tile,
.tool-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.post-card {
  overflow: hidden;
}

.post-card-media {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--soft);
}

.post-card-media img,
.card-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand) 80%, #000), var(--brand-2));
  font-size: 3rem;
  font-weight: 800;
}

.card-fallback .ui-icon {
  width: 72px;
  height: 72px;
  opacity: 0.9;
}

.post-card-body {
  padding: 18px;
}

.post-card h2 {
  margin: 0 0 8px;
  font-size: 1.22rem;
  line-height: 1.2;
}

.post-card h2 a {
  color: inherit;
  text-decoration: none;
}

.post-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.post-detail {
  padding-bottom: 72px;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.post-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 6px 10px;
  font-size: 0.82rem;
  font-weight: 750;
}

.article-layout {
  display: grid;
  width: min(100% - 36px, 1180px);
  margin: 0 auto;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: start;
}

.article-main .wp-content {
  width: 100%;
  margin: 0 0 42px;
}

.toc {
  position: sticky;
  top: 92px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
  box-shadow: var(--shadow);
}

.toc strong {
  display: block;
  margin-bottom: 10px;
}

.toc nav {
  display: grid;
  gap: 8px;
}

.toc a {
  color: var(--muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.toc a:hover {
  color: var(--brand);
}

.article-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
}

.article-meta-grid div,
.callout,
.resource-bar,
.helpful-widget {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
}

.article-meta-grid strong,
.article-meta-grid span {
  display: block;
}

.article-meta-grid strong {
  color: var(--brand-2);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-meta-grid span {
  color: var(--muted);
}

.docs-shell {
  background: var(--bg);
  color: var(--ink);
  padding-bottom: 72px;
}

.docs-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  width: min(100% - 36px, 1280px);
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 18px 0 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.docs-breadcrumbs a {
  color: var(--brand);
  text-decoration: none;
}

.docs-layout {
  display: grid;
  width: min(100% - 36px, 1280px);
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(190px, 240px);
  gap: 28px;
  align-items: start;
  margin: 0 auto;
}

.docs-sidebar,
.docs-toc {
  position: sticky;
  top: 18px;
  max-height: calc(100vh - 36px);
  overflow: auto;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px;
}

.docs-sidebar strong,
.docs-toc strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
}

.docs-sidebar nav,
.docs-toc nav {
  display: grid;
  gap: 2px;
}

.docs-sidebar a,
.docs-toc a {
  border-radius: 6px;
  color: var(--secondary);
  padding: 7px 8px;
  text-decoration: none;
}

.docs-sidebar a:hover,
.docs-sidebar a:focus-visible,
.docs-sidebar a.is-active,
.docs-toc a:hover,
.docs-toc a:focus-visible {
  background: var(--surface-2);
  color: var(--brand);
}

.docs-main {
  min-width: 0;
}

.docs-article-header {
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 26px;
  padding-bottom: 24px;
}

.docs-article-header h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.docs-article-header > p {
  max-width: 820px;
  color: var(--secondary);
  font-size: 1.05rem;
}

.docs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}

.docs-meta div {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface);
  padding: 9px 11px;
}

.docs-meta dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.docs-meta dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 0.9rem;
}

.docs-intro {
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(18px, 3vw, 28px);
  margin-bottom: 24px;
}

.docs-intro h2 {
  margin-top: 0;
}

.product-directory,
.learning-paths,
.learn-path-overview {
  width: min(100% - 36px, 1180px);
  margin: 0 auto 64px;
}

.docs-main .product-directory,
.docs-main .learning-paths,
.docs-main .learn-path-overview {
  width: 100%;
}

.product-grid,
.learn-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.product-card,
.learn-path-card,
.learn-resource-card,
.module-card {
  display: grid;
  gap: 9px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: var(--surface);
  color: inherit;
  padding: 16px;
  text-decoration: none;
  box-shadow: none;
}

.product-card:hover,
.learn-path-card:hover,
.learn-resource-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.product-card .ui-icon {
  color: var(--brand);
}

.product-card strong,
.learn-path-card strong,
.learn-resource-card strong,
.module-card strong {
  font-size: 1.02rem;
}

.product-card p,
.learn-path-card p,
.learn-resource-card p,
.module-card p {
  margin: 0;
  color: var(--secondary);
}

.product-card span,
.learn-path-card small,
.learn-resource-card small,
.module-card small {
  color: var(--muted);
  font-size: 0.82rem;
}

.content-type-badge,
.tool-card-meta span {
  justify-self: start;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--secondary);
  padding: 4px 8px;
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.module-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.module-card {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
}

.module-card > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: var(--brand);
  color: var(--surface);
  font-weight: 900;
}

.learn-next-actions,
.popular-searches,
.tool-card-meta,
.tool-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.popular-searches {
  margin-top: 12px;
}

.popular-searches a {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--brand);
  padding: 6px 10px;
  text-decoration: none;
}

.tool-filter-bar input,
.tool-filter-bar select {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 9px 11px;
}

.docs-feedback {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line-soft);
  margin-top: 36px;
  padding-top: 22px;
}

.docs-feedback p {
  margin: 4px 0 0;
  color: var(--secondary);
}

.docs-feedback button,
.theme-switcher button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  padding: 7px 10px;
}

.docs-feedback button:hover,
.theme-switcher button:hover,
.theme-switcher button[aria-pressed="true"] {
  border-color: var(--brand);
  color: var(--brand);
}

.callout.tip {
  border-left: 4px solid var(--brand);
}

.callout.warning {
  border-left: 4px solid var(--accent);
}

.resource-bar {
  margin: 0 0 24px;
}

.resource-bar > div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.resource-bar a {
  display: grid;
  gap: 4px;
  padding: 14px;
  box-shadow: none;
}

.helpful-widget {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.helpful-widget span {
  color: var(--muted);
}

.wp-content pre {
  position: relative;
}

.code-copy {
  position: absolute;
  top: 8px;
  right: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--code-text);
  cursor: pointer;
  padding: 5px 8px;
  font-size: 0.78rem;
  font-weight: 800;
}

.post-hero-image {
  display: block;
  width: min(100% - 36px, 1040px);
  max-height: 540px;
  margin: 0 auto 34px;
  object-fit: cover;
  border-radius: 8px;
}

.term-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.term-list a,
.tool-tile span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--surface);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.aht-tools-hub,
.tool-page {
  padding-bottom: 72px;
}

.tools-header {
  display: grid;
  gap: 12px;
}

.tools-header input[type="search"] {
  width: min(100%, 420px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
  background: var(--surface);
  color: var(--ink);
}

.tools-stats,
.tool-brief-status {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tools-stats span,
.tool-brief-status span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 8px 12px;
  font-size: 0.84rem;
  font-weight: 800;
}

.tools-stats strong {
  color: var(--ink);
}

.tool-tile {
  display: grid;
  gap: 10px;
  min-height: 180px;
  padding: 18px;
  color: inherit;
  text-decoration: none;
}

.tool-tile .tool-badge {
  justify-self: start;
}

.tool-tile:hover {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  transform: translateY(-2px);
}

.tool-tile h2 {
  margin: 0;
  font-size: 1.2rem;
}

.tool-tile p {
  margin: 0;
  color: var(--muted);
}

.tool-tile span {
  align-self: end;
  justify-self: start;
}

.tool-panel {
  width: min(100% - 36px, 980px);
  margin: 0 auto 76px;
  padding: clamp(18px, 4vw, 28px);
}

.tool-form,
.tool-split,
.password-tool {
  display: grid;
  gap: 16px;
}

.tool-form {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  align-items: end;
}

.tool-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tool-form label,
.tool-split label,
.password-tool label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tool-form input,
.tool-form select,
.tool-split input,
.tool-split select,
.tool-split textarea,
.password-tool input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink);
  padding: 11px 12px;
}

.tool-split textarea {
  min-height: 280px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  resize: vertical;
}

.tool-form button,
.tool-actions button,
.password-tool button,
.speed-test button,
.contact-form button,
.newsletter-form button,
.cookie-banner button {
  min-height: 44px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  padding: 10px 16px;
}

.tool-actions {
  display: flex;
  flex-wrap: wrap;
  grid-column: 1 / -1;
  gap: 10px;
}

.tool-category-nav,
.domain-health-widget,
.tool-category-section,
.supertool-panel,
.tool-help,
.breadcrumbs,
.category-featured,
.faq-block,
.troubleshooting-band,
.resource-layout {
  width: min(100% - 36px, 1180px);
  margin-inline: auto;
}

.domain-health-widget {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 18px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(18px, 4vw, 28px);
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.domain-health-widget .tool-output {
  grid-column: 1 / -1;
  margin: 0;
}

.tool-category-nav {
  margin-bottom: 28px;
}

.tool-category-section {
  margin-bottom: 42px;
}

.quick-ports {
  grid-column: 1 / -1;
}

.quick-ports button {
  min-height: 0;
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  padding: 6px 10px;
}

.tool-help {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.tool-help > div,
.tool-help-grid > div,
.faq-block details,
.home-sidebar-modules section,
.troubleshooting-grid a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
  box-shadow: var(--shadow);
}

.tool-help h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.tool-help p {
  margin: 0;
  color: var(--muted);
}

.tool-help a {
  display: block;
  margin-top: 6px;
  text-decoration: none;
}

.tool-help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.tool-help-grid > div {
  display: grid;
  gap: 7px;
}

.tool-help-grid .ui-icon {
  width: 32px;
  height: 32px;
  color: var(--brand);
}

.tool-brief {
  display: grid;
  gap: 18px;
}

.tool-brief-lede {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

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

.tool-brief-grid > div,
.tool-lead-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 16px;
  box-shadow: var(--shadow);
}

.tool-brief-grid h2,
.tool-lead-card h2 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.tool-brief-grid p,
.tool-lead-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.tool-brief-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.tool-lead-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.tool-lead-card .ui-icon {
  width: 34px;
  height: 34px;
  color: var(--brand);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding-top: 24px;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumbs a {
  color: var(--brand);
  text-decoration: none;
}

.tool-output {
  max-height: 420px;
  overflow: auto;
  border-radius: 8px;
  background: var(--code);
  color: var(--code-text);
  padding: 16px;
  white-space: pre-wrap;
}

.strength-meter {
  overflow: hidden;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
}

.strength-meter span {
  display: grid;
  min-width: 62px;
  height: 100%;
  place-items: center;
  border-radius: inherit;
  background: var(--accent);
  color: #111713;
  font-size: 0.72rem;
  font-weight: 900;
  transition: width 0.2s ease;
}

.check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.check-row label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0;
  text-transform: none;
}

.speed-test {
  display: grid;
  justify-items: center;
  gap: 22px;
  padding: 10px;
}

.speed-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: min(260px, 80vw);
  aspect-ratio: 1;
}

.speed-ring svg {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.speed-ring circle {
  fill: none;
  stroke-width: 7;
}

.speed-ring circle:first-child {
  stroke: var(--line);
}

.speed-ring circle:last-child {
  stroke: var(--brand-2);
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  transition: stroke-dashoffset 0.3s ease;
}

.speed-ring span {
  position: relative;
  font-size: 2.5rem;
  font-weight: 900;
}

.speed-results {
  display: grid;
  width: min(100%, 620px);
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.speed-results div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.speed-results strong {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.speed-results span {
  font-size: 1.5rem;
  font-weight: 900;
}

.troubleshooting-band {
  padding: 58px clamp(18px, 4vw, 54px);
  background: var(--bg);
}

.troubleshooting-grid {
  display: grid;
  width: min(100%, 1180px);
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.troubleshooting-grid a {
  display: grid;
  gap: 7px;
  color: inherit;
  text-decoration: none;
}

.troubleshooting-grid .ui-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--brand) 12%, var(--surface));
  color: var(--brand);
  padding: 7px;
}

.troubleshooting-grid span {
  color: var(--muted);
}

.resource-layout {
  padding: 56px 0;
}

.home-sidebar-modules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-sidebar-modules section {
  display: grid;
  align-content: start;
  gap: 10px;
}

.mini-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.faq-block {
  margin-bottom: 76px;
}

.faq-block details + details {
  margin-top: 10px;
}

.faq-block summary {
  cursor: pointer;
  font-weight: 850;
}

.faq-block p {
  color: var(--muted);
}

.category-featured {
  margin-bottom: 34px;
}

.newsletter-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  padding: 64px clamp(18px, 4vw, 54px);
  background: var(--soft);
}

.newsletter-cta > * {
  width: min(100%, 760px);
}

.newsletter-cta h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.newsletter-cta p {
  color: var(--muted);
}

.newsletter-form {
  display: grid;
  gap: 10px;
  justify-self: end;
  width: min(100%, 440px);
}

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

.content-page .contact-form {
  margin-top: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(18px, 4vw, 28px);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-2);
  color: var(--ink);
  padding: 12px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .full,
.contact-form button,
.contact-form .form-status {
  grid-column: 1 / -1;
}

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.cookie-banner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: grid;
  width: min(420px, calc(100vw - 36px));
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  padding: 16px;
  box-shadow: var(--shadow);
}

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

.cookie-banner p {
  margin: 0;
  color: var(--muted);
}

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

.cookie-banner button:last-child {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.ah-category-section {
  padding: 150px 40px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  text-align: center;
}

.ah-category-container {
  max-width: 1200px;
  margin: 0 auto;
}

.ah-category-kicker {
  display: inline-block;
  margin-bottom: 20px;
  color: #007bff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.ah-category-section h2,
.ah-home-cta h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.18;
  color: #0f172a;
}

.ah-category-subtext {
  max-width: 700px;
  margin: 0 auto 70px;
  color: #475569;
  line-height: 1.7;
}

.ah-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ah-category-card {
  display: block;
  min-height: 250px;
  padding: 42px 34px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  color: #0f172a;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ah-category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 123, 255, 0.18);
}

.ah-category-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #007bff, #00c6ff);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.ah-category-card h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.ah-category-card p {
  margin: 0;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}

.ah-home-cta {
  padding: 120px 40px;
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 198, 255, 0.16), transparent 38%),
    linear-gradient(135deg, #0b1c2d 0%, #102a43 55%, #0f172a 100%);
  color: #fff;
  text-align: center;
}

.ah-home-cta-inner {
  max-width: 900px;
  margin: 0 auto;
}

.ah-home-cta h2 {
  color: #fff;
}

.ah-home-cta p {
  max-width: 660px;
  margin: 0 auto 34px;
  color: #cbd5e1;
  line-height: 1.7;
}

.ah-home-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.ah-cta-secondary {
  display: inline-block;
  padding: 15px 35px;
  border: 1px solid #00c6ff;
  border-radius: 10px;
  color: #00c6ff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.ah-cta-secondary:hover {
  background: #00c6ff;
  color: #0b1c2d;
  box-shadow: 0 0 40px rgba(0, 198, 255, 0.38);
}

.site-footer {
  padding: 34px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  background: #202823;
  color: #eff4ec;
}

.footer-grid {
  display: grid;
  width: min(100%, 1180px);
  margin: 0 auto;
  grid-template-columns: 1.4fr repeat(5, minmax(130px, 1fr));
  gap: 24px;
}

.site-footer p {
  margin: 4px 0 0;
  color: #b9c6be;
}

.site-footer .affiliate-disclosure {
  max-width: 720px;
  margin-top: 10px;
  font-size: 0.88rem;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 8px;
}

.site-footer h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 0.9rem;
}

.site-footer a {
  color: #eff4ec;
}

.theme-switcher {
  display: grid;
  align-content: start;
  gap: 8px;
}

.theme-switcher h3 {
  margin: 0 0 4px;
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .search-overlay-panel,
html[data-theme="dark"] .mega-panel,
html[data-theme="dark"] .main-nav {
  background: var(--surface);
  color: var(--ink);
}

html[data-theme="contrast"] *:focus-visible {
  outline: 3px solid #ffff00;
  outline-offset: 2px;
}

html[data-theme="contrast"] .affiliate-top-bar,
html[data-theme="contrast"] .site-footer {
  border-block: 2px solid #ffffff;
  background: #000000;
}

html[data-theme="contrast"] .site-footer,
html[data-theme="contrast"] .site-footer a,
html[data-theme="contrast"] .site-footer p {
  color: #ffffff;
}

html[data-theme="contrast"] a {
  color: #ffff00;
}

@media (max-width: 1180px) {
  .site-header-inner {
    gap: 14px;
  }

  .main-nav {
    gap: 13px;
  }

  .main-nav a,
  .nav-trigger {
    font-size: 0.78rem;
  }

  .original-brand {
    min-width: 162px;
  }

  .brand-logo-img {
    height: 76px;
  }
}

@media (max-width: 920px) {
  .site-header-inner {
    min-height: 72px;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .brand-wordmark small {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 18px;
    right: 18px;
    display: none;
    max-height: calc(100vh - 170px);
    overflow: auto;
    justify-content: stretch;
    gap: 0;
    border: 1px solid #dfe8f1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 35, 62, 0.16);
    padding: 10px;
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav > a,
  .nav-trigger {
    display: flex;
    min-height: 44px;
    justify-content: space-between;
    padding: 10px 12px;
  }

  .mega-item {
    display: grid;
  }

  .mega-panel {
    position: static;
    display: none;
    width: auto;
    min-width: 0;
    max-height: none;
    border: 0;
    border-left: 2px solid #d8e9fb;
    border-radius: 0;
    box-shadow: none;
    margin: 0 0 8px 10px;
    opacity: 1;
    padding: 4px 0 4px 8px;
    pointer-events: auto;
    transform: none;
  }

  .mega-item.is-open .mega-panel,
  .mega-item:focus-within .mega-panel {
    display: grid;
  }

  .mega-panel a {
    min-height: 42px;
  }
}

@media (max-width: 760px) {
  .affiliate-top-inner {
    height: 56px;
    padding-inline: 16px;
  }

  .affiliate-top-links {
    gap: 28px;
  }

  .affiliate-top-links a {
    font-size: 0.82rem;
  }

  .site-header-inner {
    min-height: 86px;
    padding-inline: 16px;
  }

  .original-brand {
    min-width: 0;
  }

  .brand-logo-img {
    height: 60px;
  }

  .header-cta {
    display: none;
  }

  .brand-emblem {
    width: 40px;
    height: 40px;
  }

  .brand-wordmark strong {
    font-size: 1.05rem;
  }

  .section-heading,
  .site-footer,
  .newsletter-cta {
    display: grid;
  }

  .tool-split,
  .speed-results,
  .hero-grid,
  .value-strip,
  .article-layout,
  .docs-layout,
  .article-meta-grid,
  .contact-form,
  .domain-health-widget,
  .tool-help,
  .tool-help-grid,
  .tool-brief-grid,
  .tool-lead-card,
  .home-sidebar-modules,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .support-cta {
    display: grid;
    margin-bottom: 38px;
  }

  .hero-copy h1 {
    font-size: clamp(2.35rem, 13vw, 4.25rem);
  }

  .search-results {
    position: static;
    margin-top: 8px;
  }

  .toc {
    position: static;
  }

  .docs-sidebar,
  .docs-toc {
    position: static;
    max-height: none;
  }

  .newsletter-form {
    justify-self: stretch;
  }

  .ah-category-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 761px) and (max-width: 1000px) {
  .ah-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
