/* ==========================================================================
   websiteseo.biz : V2 design layer
   Loaded after bootstrap + custom.css. Ink + signal-lime instrument look.
   ========================================================================== */

:root {
  --ink: #0e1512;
  --ink-2: #151e1a;
  --ink-3: #1d2823;
  --ink-line: rgba(233, 245, 236, 0.09);
  --ink-text: #e9f1eb;
  --ink-muted: #9fb0a6;

  --paper: #f5f7f3;
  --surface: #fcfdfb;
  --line: #dfe5dd;
  --text: #121a16;
  --muted: #4a5750;

  --accent: #c9f45c;
  --accent-hover: #d7fa7a;
  --accent-ink: #0e1512;
  --accent-deep: #3d6a0f;

  --good: #1e9d57;
  --warn: #c98100;
  --bad: #d1433b;

  --font: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --nav-h: 72px;

  --z-sticky: 1030;
  --z-drawer: 1040;
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; }
body.v2 {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.v2 h1, body.v2 h2, body.v2 h3, body.v2 h4, body.v2 h5, body.v2 h6,
body.v2 .h1, body.v2 .h2, body.v2 .h3, body.v2 .h4 {
  font-family: var(--font);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
body.v2 p { text-wrap: pretty; }
body.v2 a { color: var(--accent-deep); }
body.v2 a:hover, body.v2 a:focus { color: var(--text); }
body.v2 :focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 2px;
  border-radius: 4px;
}
::selection { background: var(--accent); color: var(--accent-ink); }

/* Buttons */
body.v2 .btn {
  font-family: var(--font);
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-out), border-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
body.v2 .btn:active { transform: scale(0.97); box-shadow: none; }
body.v2 .btn-primary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ink-text);
}
body.v2 .btn-primary:hover, body.v2 .btn-primary:focus {
  background: var(--ink-3);
  border-color: var(--ink-3);
  color: #fff;
}
.v2-btn-accent,
body.v2 .btn-green,
body.v2 .btn-success {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--accent-ink);
}
.v2-btn-accent:hover, .v2-btn-accent:focus,
body.v2 .btn-green:hover, body.v2 .btn-success:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-ink);
}

/* Form controls */
body.v2 .form-control {
  font-family: var(--font);
  border-radius: var(--r-sm);
  border-color: var(--line);
  box-shadow: none;
  color: var(--text);
}
body.v2 .form-control:focus {
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px rgba(61, 106, 15, 0.15);
}
body.v2 .form-control::placeholder { color: #66736b; }

/* ---------- Navigation ---------- */
/* The legacy wrapper translates for the mobile drawer; neutralise it so the
   fixed header is fixed to the viewport again. */
body.v2 .main-content { transform: none; overflow: visible; }
body.v2.open-nav .main-content { transform: translate3d(-240px, 0, 0); }

body.v2 .v2-nav.navbar-fixed-top {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: var(--z-sticky);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 220ms var(--ease-out), border-color 220ms var(--ease-out);
}
body.v2 .v2-nav.top-nav-collapse {
  background: rgba(14, 21, 18, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom-color: var(--ink-line);
}
.v2-nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--nav-h);
}
.v2-nav-inner::before, .v2-nav-inner::after { display: none; }

.v2-brand, .v2-brand:hover, .v2-brand:focus { text-decoration: none; }
body.v2 .v2-brand .logo {
  float: none;
  margin: 0;
  padding: 0;
  color: var(--ink-text);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: flex;
  align-items: center;
}
body.v2 .v2-brand .themeLogoText { display: inline-flex; align-items: center; gap: 10px; }
body.v2 .v2-brand .logo-icon {
  display: inline-grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 16px;
  margin: 0;
}
body.v2 .v2-brand img { max-height: 36px; width: auto; }

body.v2 .desktop-nav {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}
body.v2 .desktop-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; float: none; }
body.v2 .desktop-nav .main-nav { gap: 4px; margin: 0 auto 0 8px; }
body.v2 .desktop-nav .login-nav { gap: 8px; }
body.v2 .desktop-nav > ul > li { float: none; margin: 0; }
body.v2 .desktop-nav > ul > li > a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
body.v2 .desktop-nav > ul > li > a:hover,
body.v2 .desktop-nav > ul > li > a:focus-visible { color: var(--ink-text); background: rgba(233, 245, 236, 0.06); }
body.v2 .desktop-nav > ul > li > a.signup {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 16px;
}
body.v2 .desktop-nav > ul > li > a.signup:hover { background: var(--accent-hover); color: var(--accent-ink); }
body.v2 .desktop-nav .v2-lang > a { font-family: var(--mono); font-size: 13px; }
body.v2 .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 12px 32px -12px rgba(14, 21, 18, 0.28);
  padding: 6px;
  min-width: 180px;
  margin-top: 8px;
}
body.v2 .dropdown-menu > li > a { padding: 8px 12px; border-radius: 6px; color: var(--text); font-size: 14px; }
body.v2 .dropdown-menu > li > a:hover { background: var(--paper); color: var(--text); }

body.v2 .start-mobile-nav {
  margin-left: auto;
  width: 44px; height: 44px;
  display: none;
  place-items: center;
  font-size: 20px;
  color: var(--ink-text);
  border-radius: var(--r-sm);
  text-align: center;
  line-height: 44px;
}
body.v2 .start-mobile-nav:hover { background: rgba(233, 245, 236, 0.06); color: #fff; }

/* Mobile drawer */
body.v2 .mobile-nav {
  width: 240px;
  background: var(--ink-2);
  border-left: 1px solid var(--ink-line);
  transform: translate3d(240px, 0, 0);
  transition: transform 280ms var(--ease-out);
  z-index: var(--z-drawer);
  padding-top: 12px;
}
body.v2.open-nav .mobile-nav { transform: translate3d(0, 0, 0); }
body.v2 .mobile-nav a { color: var(--ink-muted); font-size: 15px; }
body.v2 .mobile-nav a:hover { color: var(--ink-text); background: rgba(233, 245, 236, 0.05); }
body.v2 .mobile-nav .main-nav li, body.v2 .mobile-nav .login-nav li { border-bottom: 1px solid var(--ink-line); }
body.v2 .mobile-nav .main-nav a, body.v2 .mobile-nav .login-nav a { border: 0; padding: 14px 20px; }
body.v2 .mobile-nav .login-nav .signup { color: var(--accent); }
body.v2 .mobile-nav .submenu { background: var(--ink); }

@media (max-width: 991px) {
  body.v2 .desktop-nav { display: none; }
  body.v2 .start-mobile-nav { display: grid; }
}
@media (min-width: 992px) {
  body.v2 .mobile-nav { display: none; }
}

/* ---------- Hero ---------- */
.v2-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--ink-text);
  padding: calc(var(--nav-h) + 72px) 0 96px;
}
.v2-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ink-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 70% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}
.v2-hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 64px;
  align-items: center;
}
.v2-hero-inner::before, .v2-hero-inner::after { display: none; }
.v2-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(38px, 22px + 3.4vw, 70px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #f4faf5;
  max-width: 14ch;
}
.v2-hero .v2-hero-sub {
  margin: 0 0 36px;
  font-size: clamp(17px, 15px + 0.35vw, 20px);
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 46ch;
}

.v2-search { margin: 0; max-width: 620px; }
.v2-search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  background: var(--ink-2);
  border: 1px solid rgba(233, 245, 236, 0.16);
  border-radius: var(--r-md);
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.v2-search-field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 244, 92, 0.16);
}
.v2-search-prefix {
  padding-left: 12px;
  font-family: var(--mono);
  font-size: 15px;
  color: #7d8f84;
  user-select: none;
}
body.v2 .v2-search .form-control {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 4px;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #f4faf5;
  font-family: var(--mono);
  font-size: 16px;
}
body.v2 .v2-search .form-control::placeholder { color: #8a9a90; font-family: var(--font); }
body.v2 .v2-search .form-control:focus { box-shadow: none; }
body.v2 .v2-search .v2-btn-accent {
  height: 48px;
  padding: 0 22px;
  font-size: 15px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
body.v2 .v2-search .v2-btn-accent .glyphicon { top: 0; }

.v2-examples {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.v2-examples li { padding: 0; }
body.v2 .v2-examples a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(233, 245, 236, 0.14);
  border-radius: 999px;
  color: var(--ink-muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
body.v2 .v2-examples a:hover { color: var(--ink-text); border-color: rgba(233, 245, 236, 0.32); }

/* Scan panel (signature) */
.v2-scan {
  display: block;
  position: relative;
  background: var(--ink-2);
  border: 1px solid rgba(233, 245, 236, 0.12);
  border-radius: var(--r-lg);
  color: var(--ink-text);
  text-decoration: none;
  overflow: hidden;
  transition: transform 240ms var(--ease-out), border-color 240ms var(--ease-out);
}
.v2-scan:hover, .v2-scan:focus { color: var(--ink-text); text-decoration: none; border-color: rgba(201, 244, 92, 0.4); }
@media (hover: hover) { .v2-scan:hover { transform: translateY(-2px); } }
.v2-scan::after {
  /* scanning line */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(201, 244, 92, 0.07) 80%, rgba(201, 244, 92, 0.22) 100%);
  border-bottom: 1px solid rgba(201, 244, 92, 0.45);
  transform: translateY(-110%);
  animation: v2-scan 3.6s var(--ease-out) 0.4s infinite;
  pointer-events: none;
}
@keyframes v2-scan {
  0% { transform: translateY(-110%); opacity: 1; }
  70% { transform: translateY(260%); opacity: 1; }
  100% { transform: translateY(260%); opacity: 0; }
}
.v2-scan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ink-line);
}
.v2-scan-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.v2-scan-live i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(201, 244, 92, 0.6);
  animation: v2-pulse 2s ease-out infinite;
}
@keyframes v2-pulse {
  0% { box-shadow: 0 0 0 0 rgba(201, 244, 92, 0.55); }
  100% { box-shadow: 0 0 0 8px rgba(201, 244, 92, 0); }
}
.v2-scan-domain {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v2-scan-body {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px 24px 28px;
}
.v2-ring { position: relative; width: 148px; height: 148px; }
.v2-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.v2-ring circle { fill: none; stroke-width: 9; }
.v2-ring-track { stroke: var(--ink-3); }
.v2-ring-value {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: calc(100 - var(--score));
  animation: v2-ring 1.4s var(--ease-out) 0.2s both;
}
.tone-warn .v2-ring-value { stroke: #f0b43c; }
.tone-bad .v2-ring-value { stroke: #f06a5f; }
@keyframes v2-ring { from { stroke-dashoffset: 100; } }
.v2-ring-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}
.v2-ring-label strong {
  font-family: var(--mono);
  font-size: 44px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #f4faf5;
}
.v2-ring-label span {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.v2-scan-rows { list-style: none; margin: 0; padding: 0; }
.v2-scan-rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--ink-line);
  font-size: 14px;
  color: var(--ink-text);
  opacity: 0;
  transform: translateY(4px);
  animation: v2-row 420ms var(--ease-out) forwards;
}
.v2-scan-rows li:last-child { border-bottom: 0; }
.v2-scan-rows li:nth-child(1) { animation-delay: 0.35s; }
.v2-scan-rows li:nth-child(2) { animation-delay: 0.5s; }
.v2-scan-rows li:nth-child(3) { animation-delay: 0.65s; }
.v2-scan-rows li:nth-child(4) { animation-delay: 0.8s; }
.v2-scan-rows li:nth-child(5) { animation-delay: 0.95s; }
@keyframes v2-row { to { opacity: 1; transform: none; } }
.v2-scan-rows i {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 1.5px solid rgba(201, 244, 92, 0.55);
  position: relative;
  flex: none;
}
.v2-scan-rows i::after {
  content: "";
  position: absolute;
  left: 5px; top: 2px;
  width: 5px; height: 9px;
  border: solid var(--accent);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.v2-scan-rows b { font-family: var(--mono); font-weight: 500; color: var(--accent); }

/* ---------- Inner page head ---------- */
.v2-pagehead {
  background: var(--ink);
  color: var(--ink-text);
  padding: calc(var(--nav-h) + 40px) 0 44px;
  position: relative;
  overflow: hidden;
}
.v2-pagehead::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ink-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  pointer-events: none;
}
body.v2 .v2-pagehead .pageTitle {
  position: relative;
  margin: 0;
  opacity: 1;
  color: #f4faf5;
  font-size: clamp(30px, 21px + 2vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-align: left;
  overflow-wrap: anywhere;
}
body.v2 .v2-pagehead .pageTitle::first-letter { text-transform: uppercase; }

/* ---------- Features ---------- */
.v2-features { background: var(--surface); border-bottom: 1px solid var(--line); }
.v2-feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.v2-feature-list li {
  padding: 56px 40px 56px 0;
  position: relative;
}
.v2-feature-list li + li { padding-left: 40px; border-left: 1px solid var(--line); }
.v2-feature-num {
  display: block;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent-deep);
  margin-bottom: 20px;
}
.v2-feature-list h2 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.2;
  color: var(--text);
}
.v2-feature-list p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 38ch; }

.v2-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
body.v2 .v2-link-arrow { color: var(--text); }
.v2-link-arrow i { transition: transform 200ms var(--ease-out); color: var(--accent-deep); }
body.v2 .v2-link-arrow:hover { color: var(--text); text-decoration: none; }
.v2-link-arrow:hover i { transform: translateX(3px); }

/* ---------- Recent sites ---------- */
body.v2 .v2-recent { padding: 88px 0 104px; margin: 0; }
.v2-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.v2-section-head h2 {
  margin: 0;
  font-size: clamp(28px, 21px + 1.4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.v2-section-head .v2-link-arrow { margin: 0; }

.v2-site-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.v2-site-grid-3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.v2-site {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--text);
  transition: transform 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}
body.v2 .v2-site:hover, body.v2 .v2-site:focus { color: var(--text); text-decoration: none; border-color: #c4cfc3; }
@media (hover: hover) {
  .v2-site:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(14, 21, 18, 0.45); }
}
.v2-site-shot {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.v2-site-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 400ms var(--ease-out);
}
@media (hover: hover) { .v2-site:hover .v2-site-shot img { transform: scale(1.03); } }
.v2-site-meta { display: block; padding: 16px 18px 18px; }
.v2-site-name {
  display: block;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 12px;
}
.v2-site-stats { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.v2-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
}
.v2-pill small { font-size: 11px; font-weight: 500; opacity: 0.7; }
.v2-pill.tone-good { background: #e3f5e9; color: #146b3b; }
.v2-pill.tone-warn { background: #fbf0d9; color: #7a4f00; }
.v2-pill.tone-bad { background: #fbe5e3; color: #9b2b24; }
.v2-site-speed { font-size: 13px; color: var(--muted); }
.v2-site-speed b { font-family: var(--mono); font-weight: 600; color: var(--text); margin-left: 4px; }

/* ---------- Generic inner content ---------- */
.v2-page { padding-bottom: 72px; }
body.v2.v2-inner .top40 { margin-top: 40px; }
body.v2 .sidebar-title { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.v2-pagination { margin-top: 32px; }
body.v2 .pagination > li > a, body.v2 .pagination > li > span {
  border-color: var(--line);
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  margin: 0 3px;
  border-radius: 6px !important;
}
body.v2 .pagination > .active > a, body.v2 .pagination > .active > span,
body.v2 .pagination > .active > a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--accent);
}

/* ---------- Footer ---------- */
.v2-footer {
  background: var(--ink);
  color: var(--ink-muted);
  padding: 72px 0 32px;
  margin-top: 0;
  font-size: 15px;
}
.v2-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--ink-line);
}
.v2-footer-about p { margin: 20px 0 0; max-width: 56ch; line-height: 1.65; color: var(--ink-muted); }
body.v2 .v2-footer .footer-title {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d8f84;
}
body.v2 .v2-footer .footer-title::after { display: none; }
.v2-footer-nav ul {
  columns: 2;
  column-gap: 32px;
  margin: 0;
}
.v2-footer-nav li { break-inside: avoid; margin-bottom: 8px; }
body.v2 .v2-footer-nav a {
  color: var(--ink-text);
  text-decoration: none;
  text-transform: none;
  font-size: 15px;
}
body.v2 .v2-footer-nav a:hover { color: var(--accent); }
.v2-footer-bottom { padding-top: 24px; }
.v2-footer-bottom p { margin: 0; font-size: 13px; color: #7d8f84; }

/* ---------- Modals ---------- */
body.v2 .modal-content {
  border: 0;
  border-radius: var(--r-lg);
  box-shadow: 0 32px 64px -24px rgba(14, 21, 18, 0.5);
}
body.v2 .modal-header { border-bottom-color: var(--line); padding: 20px 24px; }
body.v2 .modal-title { font-weight: 700; letter-spacing: -0.02em; }
body.v2 .modal-body { padding: 20px 24px; }
body.v2 .modal-footer { border-top-color: var(--line); padding: 16px 24px 20px; }
body.v2 .loginme .form-input {
  width: 100%;
  height: 44px;
  margin-top: 6px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-weight: 400;
}
body.v2 .loginme .form-input:focus { outline: none; border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(61, 106, 15, 0.15); }

/* ---------- Domain report touch-ups ---------- */
body.v2 #scroll-nav > li > a { border-radius: var(--r-sm); color: var(--muted); font-weight: 500; }
body.v2 #scroll-nav > li > a:hover { background: var(--surface); color: var(--text); }
body.v2 #scroll-nav > li.active > a,
body.v2 #scroll-nav > li.active > a:hover,
body.v2 #scroll-nav > li.active > a:focus { background: var(--ink); color: var(--ink-text); }
body.v2 #scroll-nav > li.active > a .scroll-icon,
body.v2 #scroll-nav > li.active > a .scroll-arrow { color: var(--accent); }
body.v2.v2-inner #scroll-menu.affix { top: calc(var(--nav-h) + 16px); }


/* ---------- Domain report (overrides legacy www.css / custom.css) ---------- */
body.v2 .nav-pills > li > a { color: var(--muted) !important; }
body.v2 .nav-pills > li.active > a,
body.v2 .nav-pills > li.active > a:focus,
body.v2 .nav-pills > li.active > a:hover {
  background-color: var(--ink) !important;
  color: var(--ink-text) !important;
}
body.v2 #scoreBoard .circleBox { background: transparent; width: auto; height: auto; border-radius: 0; font-size: inherit; }
body.v2 #scoreBoard .circleBox::after { display: none; }
body.v2 .circle strong { font-family: var(--mono); color: var(--text); letter-spacing: -0.03em; }
body.v2 .seoBox-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  border-bottom-color: var(--line);
}
body.v2 .seoBox { opacity: 1; border-radius: var(--r-md); }
body.v2 .seoBox:hover { border-color: var(--line); background: var(--surface); }
body.v2 .headBox { background: var(--surface); border-color: var(--line); border-radius: var(--r-sm); }
body.v2 .seoBox:hover .headBox { background: var(--paper); }
body.v2 .titleStr { color: var(--text); font-weight: 600; }
body.v2 .btn-lgreen, body.v2 .btn-lgreen:hover, body.v2 .btn-lgreen:focus {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
}
body.v2 .btn-red, body.v2 .btn-violet, body.v2 .btn-blue, body.v2 .btn-info {
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
}
body.v2 .btn-red:hover, body.v2 .btn-violet:hover, body.v2 .btn-blue:hover, body.v2 .btn-info:hover,
body.v2 .btn-red:focus, body.v2 .btn-violet:focus, body.v2 .btn-blue:focus, body.v2 .btn-info:focus {
  background: var(--ink); border-color: var(--ink); color: var(--ink-text);
}
body.v2 .btn-sm { padding: 7px 14px; font-size: 13px; }

/* Hide empty ad slots */
body.v2 .sidebar:not(:has(ins, iframe, img, a)) { display: none; }
body.v2 .xd_top_box:empty { display: none; }

body.v2 .row > .col-md-3.top40:not(:has(ins, iframe, img)) { display: none; }
@media (min-width: 992px) {
  body.v2 .row:has(> .col-md-3.top40):not(:has(> .col-md-3.top40 :is(ins, iframe, img))) > .col-md-9 { width: 100%; }
}

/* Legacy feature icons (site-vs-site, etc.) */
body.v2 #featured .circleBox {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--accent-deep);
}
body.v2 #featured h4 { font-weight: 650; color: var(--text); }
body.v2 #featured p { color: var(--muted); }


/* ---------- Auth pages (login, register, forget, resend) ---------- */
@media (min-width: 992px) {
  body.v2 .row > .col-md-9.v2-auth { width: 100%; }
}
body.v2 .v2-auth > form,
body.v2 .v2-auth > .alert,
body.v2 .v2-auth > h4,
body.v2 .v2-auth > a {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
body.v2 .v2-auth > form {
  display: block;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  margin-top: 8px;
  margin-bottom: 72px;
}
body.v2 .v2-auth .loginpage { padding: 0; margin: 0; }
body.v2 .v2-auth .loginpage .info,
body.v2 .loginme .info {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
body.v2 .v2-auth .infoshort { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; opacity: 1; }
body.v2 .v2-auth label,
body.v2 .loginme label {
  display: block;
  width: 100%;
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
}
body.v2 .v2-auth label br, body.v2 .loginme label br { display: none; }
body.v2 .v2-auth .form-input,
body.v2 .v2-auth .width96 {
  display: block;
  width: 100% !important;
  height: 44px;
  margin-top: 6px;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-weight: 400;
  font-size: 16px;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
body.v2 .v2-auth .form-input:focus {
  outline: none;
  border-color: var(--accent-deep);
  box-shadow: 0 0 0 3px rgba(61, 106, 15, 0.15);
}
body.v2 .v2-auth .login-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 0;
}
body.v2 .v2-auth .login-footer::before, body.v2 .v2-auth .login-footer::after { display: none; }
body.v2 .v2-auth .login-footer .pull-left,
body.v2 .v2-auth .login-footer .pull-right { float: none !important; }
body.v2 .v2-auth .login-footer .btn-primary,
body.v2 .loginme .modal-footer .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  height: 44px;
  padding: 0 24px;
}
body.v2 .v2-auth .login-footer .btn-primary:hover,
body.v2 .loginme .modal-footer .btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
body.v2 .v2-auth .login-footer .align-right { text-align: right; font-size: 14px; line-height: 1.8; }
body.v2 .v2-auth .bottom70 { margin-bottom: 0; }

/* Social sign-in */
body.v2 .connect-with {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 24px;
  margin: 0 0 24px !important;
  border-bottom: 1px solid var(--line);
  overflow: visible;
}
body.v2 .connect-with .info { flex-basis: 100%; }
body.v2 .connect-with .connect {
  flex: 1 1 0;
  min-width: 120px;
  float: none;
  margin: 0;
  height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff !important;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--text) !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
body.v2 .connect-with .connect:hover { border-color: var(--text); background: var(--paper) !important; }
body.v2 .connect-with .connect::before {
  font-family: FontAwesome;
  font-weight: normal;
  font-size: 16px;
}
body.v2 .connect.facebook::before { content: "\f09a"; color: #1877f2; }
body.v2 .connect.google::before { content: "\f1a0"; color: #ea4335; }
body.v2 .connect.twitter::before { content: "\f099"; color: #1d9bf0; }

/* Captcha block */
body.v2 #capImg { border-radius: 6px; }

/* ---------- Profile ---------- */
body.v2 .profile .nav-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
body.v2 .profile .nav-tabs::before, body.v2 .profile .nav-tabs::after { display: none; }
body.v2 .profile .nav-tabs > li { float: none; margin-bottom: -1px; }
body.v2 .profile .nav-tabs > li > a {
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  margin: 0;
  padding: 12px 16px;
  color: var(--muted);
  font-weight: 600;
  background: none;
}
body.v2 .profile .nav-tabs > li > a:hover { color: var(--text); background: none; }
body.v2 .profile .nav-tabs > li.active > a,
body.v2 .profile .nav-tabs > li.active > a:hover,
body.v2 .profile .nav-tabs > li.active > a:focus {
  border: 0;
  border-bottom: 2px solid var(--text);
  color: var(--text);
  background: none;
}
body.v2 .profile .thumbnail {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
body.v2 .profile .userLogo, body.v2 .profile .userLogoBox { border-radius: 50%; object-fit: cover; }
body.v2 .profile h4 { font-weight: 700 !important; letter-spacing: -0.01em; }
body.v2 .table-bordered {
  border-color: var(--line);
  background: var(--surface);
  border-radius: var(--r-md);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}
body.v2 .table-bordered > tbody > tr > td,
body.v2 .table-bordered > tbody > tr > th,
body.v2 .table-bordered > thead > tr > th { border-color: var(--line); padding: 12px 14px; }
body.v2 .table-hover > tbody > tr:hover { background: var(--paper); }
body.v2 .profile .form-control { height: 44px; width: 100% !important; }
body.v2 .profile label { font-weight: 500; font-size: 14px; }
body.v2 .btn-danger {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ink-text);
  height: 44px;
  padding: 0 24px;
}
body.v2 .btn-danger:hover, body.v2 .btn-danger:focus { background: var(--ink-3); border-color: var(--ink-3); color: #fff; }
body.v2 .profile .btn-success { height: 44px; padding: 0 28px; }
body.v2 .alert { border-radius: var(--r-md); }

/* ---------- Site vs Site result ---------- */
body.v2 .v2-vs-overview { margin-bottom: 48px; }
.v2-vs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.v2-vs-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 24px;
  background: var(--ink);
  border-radius: var(--r-lg);
  color: var(--ink-text);
}
.v2-vs-domain {
  font-family: var(--mono);
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.v2-vs-score {
  font-family: var(--mono);
  font-size: 56px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #f4faf5;
}
.v2-vs-score small { font-size: 16px; font-weight: 500; color: var(--ink-muted); letter-spacing: 0; margin-left: 2px; }
.v2-vs-bar { display: block; height: 6px; border-radius: 999px; background: var(--ink-3); overflow: hidden; }
.v2-vs-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transform-origin: left; animation: v2-bar 900ms var(--ease-out) 0.2s both; }
.v2-vs-card.tone-warn .v2-vs-bar i { background: #f0b43c; }
.v2-vs-card.tone-bad .v2-vs-bar i { background: #f06a5f; }
@keyframes v2-bar { from { transform: scaleX(0); } }
.v2-vs-date { font-size: 12.5px; color: var(--ink-muted); }
.v2-vs-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
  border: 4px solid var(--paper);
}
.v2-vs-actions { margin-top: 16px; }
.v2-chart-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px;
}
body.v2 #seo > .seoBox-title,
body.v2 .row > .seoBox-title { padding: 0 15px; }
body.v2 .compare-table > tbody > tr > td { border-top: 0; }
body.v2 .shareBox .social-icons a { color: var(--text); }
body.v2 .shareBox .social-icons a:hover { color: var(--accent-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .v2-hero { padding: calc(var(--nav-h) + 40px) 0 64px; }
  .v2-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .v2-scan { max-width: 520px; }
  .v2-feature-list { grid-template-columns: 1fr; }
  .v2-feature-list li, .v2-feature-list li + li { padding: 32px 0; border-left: 0; }
  .v2-feature-list li + li { border-top: 1px solid var(--line); }
  .v2-footer-top { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  :root { --nav-h: 64px; }
  body.v2 .v2-brand .logo { font-size: 13px; }
  .v2-hero h1 { font-size: 38px; }
  .v2-search-prefix { display: none; }
  body.v2 .v2-search .form-control { padding-left: 10px; font-size: 16px; }
  body.v2 .v2-search .v2-btn-accent { padding: 0 16px; }
  .v2-scan-body { grid-template-columns: 1fr; justify-items: center; gap: 20px; }
  .v2-scan-rows { width: 100%; }
  body.v2 .v2-recent { padding: 56px 0 72px; }
  .v2-section-head { flex-wrap: wrap; }
  .v2-footer-nav ul { columns: 1; }
}

@media (max-width: 991px) {
  .v2-chart-card { margin-top: 24px; }
}
@media (max-width: 560px) {
  body.v2 .v2-auth > form { padding: 24px 20px; }
  .v2-vs { grid-template-columns: 1fr; }
  .v2-vs-score { font-size: 44px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .v2-scan::after, .v2-scan-live i { animation: none; }
  .v2-scan::after { display: none; }
  .v2-ring-value, .v2-vs-bar i { animation: none; }
  .v2-scan-rows li { animation: none; opacity: 1; transform: none; }
  .v2-site, .v2-site-shot img, .v2-scan, .v2-link-arrow i { transition: none; }
  .v2-site:hover, .v2-scan:hover, .v2-site:hover .v2-site-shot img { transform: none; }
}

/* ---------- Captcha (all forms) ---------- */
body.v2 .captchaCode > br { display: none; }
body.v2 .captchaCode > label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 14px; }
body.v2 .captchaCode .imagever { display: block; margin: 0 0 8px; border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: none; max-width: 100%; }
body.v2 .captchaCode .phpCap { display: flex; width: 100% !important; max-width: 240px; }
body.v2 .captchaCode .phpCap .form-control { flex: 1; min-width: 0; height: 44px; border-radius: var(--r-sm) 0 0 var(--r-sm); font-family: var(--mono); letter-spacing: 0.08em; }
body.v2 .captchaCode .phpCap .input-group-addon { width: 44px; display: grid; place-items: center; background: var(--surface); border-color: var(--line); border-radius: 0 var(--r-sm) var(--r-sm) 0; cursor: pointer; }
body.v2 .captchaCode .phpCap .input-group-addon:hover { background: var(--paper); }
body.v2 .btn.disabled, body.v2 .btn[disabled] { opacity: 0.55; }

/* ---------- Profile refinements ---------- */
body.v2 .profile .form-control { height: 44px !important; }
body.v2 .profile select.form-control { padding-left: 10px; }
body.v2 .profile #password form { max-width: 560px; }
body.v2 .profile .table-bordered td:first-child { color: var(--muted); width: 38%; }
body.v2 #logoUpload { text-transform: none; font-weight: 400; border: 1px solid var(--line) !important; border-radius: var(--r-sm); background: #fff; max-width: 100%; }
body.v2 .profile .nav-tabs { overflow-x: auto; scrollbar-width: none; }
body.v2 .profile .nav-tabs > li > a { white-space: nowrap; }
@media (max-width: 560px) {
  body.v2 .profile .nav-tabs > li > a { padding: 12px 10px; font-size: 14px; }
  body.v2 .profile .thumbnail { margin: 0 0 16px; }
}

/* ==========================================================================
   V3 : more energy on the home page
   ========================================================================== */

/* Headline highlight: last word in lime with a marker sweep */
.v2-hero h1 .v2-hl {
  color: var(--accent);
  background: linear-gradient(transparent 64%, rgba(201, 244, 92, 0.22) 64%, rgba(201, 244, 92, 0.22) 92%, transparent 92%) no-repeat 0 0 / 100% 100%;
  animation: v3-marker 900ms var(--ease-out) 300ms both;
  padding: 0 0.04em;
}
@keyframes v3-marker { from { background-size: 0% 100%; } }

/* Radar behind the scan panel */
.v2-radar {
  position: absolute;
  width: 760px;
  height: 760px;
  right: -120px;
  top: 50%;
  margin-top: -420px;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%);
  mask-image: radial-gradient(circle, #000 35%, transparent 70%);
}
.v2-radar i {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(201, 244, 92, 0.22);
  border-radius: 50%;
  transform: scale(0.3);
  opacity: 0;
  animation: v3-ring 6s linear infinite;
}
.v2-radar i:nth-child(2) { animation-delay: 2s; }
.v2-radar i:nth-child(3) { animation-delay: 4s; }
@keyframes v3-ring {
  0% { transform: scale(0.3); opacity: 0; }
  15% { opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}
.v2-radar b {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(201, 244, 92, 0.16), transparent 22%, transparent);
  animation: v3-sweep 7s linear infinite;
}
@keyframes v3-sweep { to { transform: rotate(360deg); } }

.v2-hero { padding-bottom: 0; }
.v2-hero-inner { padding-bottom: 88px; }

/* Live ticker */
.v2-ticker {
  position: relative;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--ink-line);
  background: rgba(21, 30, 26, 0.7);
  height: 60px;
}
.v2-ticker-label {
  position: relative;
  z-index: 1;
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 20px 0 max(20px, calc((100vw - 1170px) / 2 + 15px));
  background: var(--ink);
  border-right: 1px solid var(--ink-line);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.v2-ticker-label i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: v2-pulse 2s ease-out infinite;
}
.v2-ticker-track {
  display: flex;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.v2-ticker-list {
  flex: none;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0 8px 0 0;
  list-style: none;
  animation: v3-ticker 45s linear infinite;
}
.v2-ticker-track:hover .v2-ticker-list,
.v2-ticker-track:focus-within .v2-ticker-list { animation-play-state: paused; }
@keyframes v3-ticker { to { transform: translateX(-100%); } }
.v2-ticker-list a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 14px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  color: var(--ink-text);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.v2-ticker-list a:hover, .v2-ticker-list a:focus-visible { color: #fff; text-decoration: none; border-color: rgba(201, 244, 92, 0.45); background: rgba(201, 244, 92, 0.06); }
.v2-ticker-domain { font-family: var(--mono); font-size: 13px; }
.v2-ticker-score {
  min-width: 30px;
  padding: 2px 8px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.v2-ticker-score.tone-good { background: rgba(201, 244, 92, 0.16); color: var(--accent); }
.v2-ticker-score.tone-warn { background: rgba(240, 180, 60, 0.16); color: #f5c46a; }
.v2-ticker-score.tone-bad { background: rgba(240, 106, 95, 0.16); color: #f58a80; }

/* Stats band */
.v2-stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.v2-stats-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.v2-stats-list li {
  padding: 40px 28px 40px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.v2-stats-list li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.v2-stats-list strong {
  font-family: var(--mono);
  font-size: clamp(36px, 26px + 1.6vw, 52px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.v2-stats-list span { font-size: 15px; color: var(--muted); }

/* Bento */
.v2-bento-wrap { padding: 96px 0 40px; }
.v2-bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.v2-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 32px;
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
}
@media (hover: hover) {
  .v2-tile:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(14, 21, 18, 0.5); }
}
.v2-tile-wide { grid-column: span 2; }
.v2-tile h2 { margin: 0 0 12px; font-size: 26px; font-weight: 700; line-height: 1.15; letter-spacing: -0.025em; }
.v2-tile p { margin: 0; font-size: 16px; line-height: 1.6; max-width: 44ch; }
.v2-tile-num { font-family: var(--mono); font-size: 13px; font-weight: 500; margin-bottom: auto; padding-bottom: 40px; }
.v2-tile .v2-link-arrow { margin-top: 20px; }

.v2-tile-ink { background: var(--ink); color: var(--ink-text); }
.v2-tile-ink h2 { color: #f4faf5; }
.v2-tile-ink p { color: var(--ink-muted); max-width: 40ch; }
.v2-tile-ink .v2-tile-num { color: var(--accent); }

.v2-tile-accent { background: var(--accent); color: var(--accent-ink); }
.v2-tile-accent h2 { color: var(--accent-ink); }
.v2-tile-accent p { color: #24330f; }
.v2-tile-accent .v2-tile-num { color: #24330f; }

.v2-tile-light { background: var(--surface); border: 1px solid var(--line); color: var(--text); }
.v2-tile-light p { color: var(--muted); }
.v2-tile-light .v2-tile-num { color: var(--accent-deep); }

.v2-bars {
  position: absolute;
  right: 32px;
  bottom: 32px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 130px;
}
.v2-bars i {
  width: 18px;
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--accent), rgba(201, 244, 92, 0.25));
  transform-origin: bottom;
}
.v2-js .v2-bars i { transform: scaleY(0); transition: transform 700ms var(--ease-out); transition-delay: calc(var(--d) + 200ms); }
.v2-js .is-in .v2-bars i { transform: scaleY(1); }

.v2-tile-checks { min-height: 0; }
.v2-tile-checks h2 { margin-bottom: 20px; }
.v2-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.v2-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: border-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.v2-chips li:hover { border-color: var(--text); }
.v2-chips i { color: var(--accent-deep); width: 14px; text-align: center; }

/* Steps: dark band */
.v2-steps {
  margin-top: 56px;
  padding: 96px 0;
  background: var(--ink);
  color: var(--ink-text);
  position: relative;
  overflow: hidden;
}
.v2-steps::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ink-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%);
  mask-image: linear-gradient(180deg, #000, transparent 80%);
  pointer-events: none;
}
.v2-steps .container { position: relative; }
.v2-steps-title {
  margin: 0 0 56px;
  font-size: clamp(30px, 22px + 1.8vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #f4faf5;
}
.v2-steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  counter-reset: step;
  position: relative;
}
.v2-steps-list::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 28px;
  border-top: 1px dashed rgba(201, 244, 92, 0.35);
}
.v2-steps-list li { position: relative; counter-increment: step; }
.v2-step-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 22px;
  box-shadow: 0 0 0 8px var(--ink);
}
.v2-step-icon::after {
  content: counter(step);
  position: absolute;
  top: -4px; right: -6px;
  width: 22px; height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink-3);
  color: var(--ink-text);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}
.v2-steps-list h3 { margin: 0 0 10px; font-size: 21px; font-weight: 650; color: #f4faf5; }
.v2-steps-list p { margin: 0; color: var(--ink-muted); font-size: 15.5px; line-height: 1.6; max-width: 34ch; }

/* Recent cards: hover overlay */
.v2-site-shot { position: relative; }
.v2-site-cta {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 40px 16px 14px;
  background: linear-gradient(180deg, transparent, rgba(14, 21, 18, 0.88));
  color: #f4faf5;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}
.v2-site-cta i { color: var(--accent); }
.v2-site:hover .v2-site-cta, .v2-site:focus-visible .v2-site-cta { opacity: 1; transform: none; }

/* Final CTA band */
.v2-cta { background: var(--accent); color: var(--accent-ink); }
.v2-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 80px;
  padding-bottom: 80px;
}
.v2-cta-inner::before, .v2-cta-inner::after { display: none; }
.v2-cta h2 {
  margin: 0;
  font-size: clamp(32px, 22px + 2.6vw, 60px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--accent-ink);
  max-width: 16ch;
}
body.v2 .v2-btn-ink {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 28px;
  background: var(--ink);
  border: 0;
  color: #f4faf5;
  font-size: 16px;
  border-radius: var(--r-md);
}
body.v2 .v2-btn-ink:hover, body.v2 .v2-btn-ink:focus { background: var(--ink-3); color: #fff; }
body.v2 .v2-btn-ink i { color: var(--accent); transition: transform 200ms var(--ease-out); }
body.v2 .v2-btn-ink:hover i { transform: translateX(3px); }
body.v2 .v2-cta :focus-visible { outline-color: var(--ink); }

/* Reveal on scroll */
.v2-js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: var(--rd, 0ms);
}
.v2-js [data-reveal].is-in { opacity: 1; transform: none; }
.v2-js .v2-tile[data-reveal].is-in:hover { transform: translateY(-4px); transition-delay: 0ms; }
.v2-js .v2-site[data-reveal].is-in:hover { transform: translateY(-3px); transition-delay: 0ms; }

@media (max-width: 991px) {
  .v2-radar { right: -300px; opacity: 0.6; }
  .v2-bento { grid-template-columns: 1fr 1fr; }
  .v2-tile-wide { grid-column: span 2; }
  .v2-steps-list { grid-template-columns: 1fr; gap: 32px; }
  .v2-steps-list::before { left: 28px; right: auto; top: 28px; bottom: 28px; border-top: 0; border-left: 1px dashed rgba(201, 244, 92, 0.35); }
  .v2-steps-list li { padding-left: 80px; }
  .v2-step-icon { position: absolute; left: 0; top: 0; }
  .v2-cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .v2-hero-inner { padding-bottom: 56px; }
  .v2-radar { display: none; }
  .v2-ticker { height: 52px; }
  .v2-ticker-label { padding: 0 12px; }
  .v2-stats-list { grid-template-columns: 1fr 1fr; }
  .v2-stats-list li, .v2-stats-list li + li { padding: 24px 16px; border-left: 0; }
  .v2-stats-list li:nth-child(even) { border-left: 1px solid var(--line); }
  .v2-stats-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .v2-bento-wrap { padding: 56px 0 24px; }
  .v2-bento { grid-template-columns: 1fr; }
  .v2-tile-wide { grid-column: auto; }
  .v2-tile { padding: 24px; min-height: 0; }
  .v2-bars { position: static; margin-top: 28px; height: 90px; }
  .v2-steps { padding: 64px 0; margin-top: 32px; }
  .v2-cta-inner { padding-top: 56px; padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .v2-hero h1 .v2-hl { animation: none; }
  .v2-radar i, .v2-radar b { animation: none; }
  .v2-radar i { opacity: 0.5; }
  .v2-radar i:nth-child(1) { transform: scale(0.45); }
  .v2-radar i:nth-child(2) { transform: scale(0.7); }
  .v2-radar i:nth-child(3) { transform: scale(0.95); }
  .v2-ticker-list { animation: none; }
  .v2-ticker-track { overflow-x: auto; }
  .v2-ticker-list[aria-hidden="true"] { display: none; }
  .v2-ticker-label i { animation: none; }
  .v2-js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .v2-js .v2-bars i { transform: none; transition: none; }
  .v2-tile, .v2-site-cta { transition: none; }
}

/* V3 fixes */
body.v2 .v2-ticker-list a { color: var(--ink-text); }
body.v2 .v2-ticker-list a:hover, body.v2 .v2-ticker-list a:focus-visible { color: #fff; }
.v2-hero h1 .v2-hl {
  background-image: linear-gradient(transparent 70%, rgba(201, 244, 92, 0.2) 70%, rgba(201, 244, 92, 0.2) 90%, transparent 90%);
}
.v2-hero h1.v2-h1-long { font-size: clamp(32px, 18px + 2.2vw, 48px); max-width: none; }
@media (max-width: 560px) { .v2-hero h1.v2-h1-long { font-size: 30px; } }

/* ==========================================================================
   V3 : domain report page
   ========================================================================== */

/* Overview panel */
body.v2 #overview { margin-bottom: 48px; }
body.v2 #overview > br { display: none; }
.v2-report {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  margin-top: 32px;
  padding: 28px;
  background: var(--ink);
  color: var(--ink-text);
  border-radius: 20px;
  overflow: hidden;
}
.v2-report-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--ink-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--ink-line) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 60% 90% at 100% 50%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 60% 90% at 100% 50%, #000, transparent 70%);
  pointer-events: none;
}
.v2-report > * { position: relative; }

/* Screenshot in a light browser frame (real screenshot inside) */
.v2-report-frame {
  background: var(--ink-2);
  border: 1px solid rgba(233, 245, 236, 0.12);
  border-radius: var(--r-md);
  overflow: hidden;
}
.v2-report-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 10px;
  border-bottom: 1px solid var(--ink-line);
}
.v2-report-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none; }
.v2-report-bar span {
  margin-left: 6px;
  flex: 1;
  min-width: 0;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.v2 .v2-report #screenshot { position: relative; width: auto; height: auto; margin: 0; padding: 0; background: none; }
body.v2 .v2-report #screenshotData {
  position: static;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  margin: 0;
  display: grid;
  place-items: center;
  background: #fff;
  overflow: hidden;
}
body.v2 .v2-report #screenshotData img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
body.v2 .v2-report .loaderLabel { color: var(--muted); font-size: 13px; }

/* Identity + KPIs */
.v2-report-id { margin-bottom: 20px; }
body.v2 .v2-report .mainLink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: clamp(20px, 14px + 1vw, 28px);
  font-weight: 500;
  color: #f4faf5;
  letter-spacing: -0.02em;
  text-decoration: none;
  word-break: break-all;
}
body.v2 .v2-report .mainLink i { font-size: 14px; color: var(--ink-muted); transition: color 160ms var(--ease-out); }
body.v2 .v2-report .mainLink:hover i { color: var(--accent); }
body.v2 .v2-report .timeBox { margin-top: 6px; font-size: 13px; color: var(--ink-muted); }

.v2-kpis { display: grid; gap: 14px; }
body.v2 .v2-kpi {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 6px 12px;
  margin: 0;
  width: auto;
}
body.v2 .v2-kpi .scoreProgress-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  width: auto;
  float: none;
  background: none;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-text);
  line-height: 1.3;
}
body.v2 .v2-kpi .scoreProgress-label::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
body.v2 .v2-kpi.tone-good .scoreProgress-label::before { background: var(--accent); }
body.v2 .v2-kpi.tone-warn .scoreProgress-label::before { background: #f0b43c; }
body.v2 .v2-kpi.tone-bad .scoreProgress-label::before { background: #f06a5f; }
.v2-kpi-val { font-family: var(--mono); font-size: 14px; font-weight: 600; color: #f4faf5; font-variant-numeric: tabular-nums; }
body.v2 .v2-kpi .scoreProgress {
  grid-column: 1 / -1;
  width: 100%;
  height: 6px;
  margin: 0;
  float: none;
  border-radius: 999px;
  background: var(--ink-3);
  box-shadow: none;
  border: 0;
  overflow: hidden;
}
body.v2 .v2-kpi .scoreProgress-bar {
  height: 100%;
  border-radius: inherit;
  box-shadow: none;
  transition: width 700ms var(--ease-out);
}
body.v2 .v2-kpi .scoreProgress-value { display: none; }
body.v2 .v2-kpi.tone-good .scoreProgress-bar { background: var(--accent); }
body.v2 .v2-kpi.tone-warn .scoreProgress-bar { background: #f0b43c; }
body.v2 .v2-kpi.tone-bad .scoreProgress-bar { background: #f06a5f; }

/* Actions */
.v2-report-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
body.v2 .v2-report-actions .btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; font-size: 13.5px; }
body.v2 .v2-report-actions .btn-lgreen { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
body.v2 .v2-report-actions .btn-lgreen:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
body.v2 .v2-btn-ghost { background: transparent; border: 1px solid rgba(233, 245, 236, 0.18); color: var(--ink-text); }
body.v2 .v2-btn-ghost:hover, body.v2 .v2-btn-ghost:focus { background: rgba(233, 245, 236, 0.07); border-color: rgba(233, 245, 236, 0.32); color: #fff; }

/* Score ring */
.v2-report-score { justify-self: end; padding-right: 8px; }
.v2-ring-lg { width: 184px; height: 184px; }
.v2-ring-lg .v2-ring-value { animation: none; transition: stroke-dashoffset 1100ms var(--ease-out), stroke 300ms var(--ease-out); }
.v2-report-score.tone-warn .v2-ring-value { stroke: #f0b43c; }
.v2-report-score.tone-bad .v2-ring-value { stroke: #f06a5f; }
.v2-report-score.tone-good .v2-ring-value { stroke: var(--accent); }
body.v2 .v2-report #overallscore {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: static;
  font-family: var(--mono);
  font-size: 56px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: #f4faf5;
  margin: 0;
}
body.v2 .v2-report #overallscore .newI {
  display: block;
  margin-top: 8px;
  font-family: var(--font);
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Analysis in progress bar */
body.v2 #progress-bar { height: 44px; margin: 24px 0 0; border-radius: var(--r-md); background: var(--ink-2); box-shadow: none; }
body.v2 #progress-bar .progress-bar-primary { background-color: var(--accent); }
body.v2 #progress-bar .progress-bar div { color: var(--accent-ink) !important; line-height: 44px; }

/* Sidebar navigation */
body.v2 #scroll-menu { margin-top: 32px; }
body.v2 #scroll-nav { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 8px; }
body.v2 #scroll-nav > li + li { margin-top: 2px; }
body.v2 #scroll-nav > li > a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; font-size: 14.5px; }
body.v2 #scroll-nav .scroll-icon { width: 18px; text-align: center; color: var(--accent-deep); }
body.v2 #scroll-nav .scroll-text { flex: 1; }
body.v2 #scroll-nav .scroll-arrow { font-size: 11px; opacity: 0.5; }

/* Section titles with icon badge */
body.v2 .seoBox-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 56px 0 20px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
  font-size: 26px;
}
body.v2 .seoBox-title::before {
  font-family: FontAwesome;
  font-weight: normal;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  flex: none;
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--accent);
  font-size: 19px;
}
body.v2 #seo .seoBox-title::before { content: "\f002"; }
body.v2 #usability .seoBox-title::before { content: "\f0a6"; }
body.v2 #mobile .seoBox-title::before { content: "\f10b"; font-size: 24px; }
body.v2 #technologies .seoBox-title::before { content: "\f135"; }
body.v2 #social .seoBox-title::before { content: "\f087"; }
body.v2 #visitors .seoBox-title::before { content: "\f0c0"; }
body.v2 #link-analysis .seoBox-title::before { content: "\f0c1"; }
body.v2 .clearSep { display: none; }

/* Check cards with a status badge */
body.v2 .seoBox {
  padding: 0;
  margin-bottom: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
body.v2 .seoBox:hover { border-color: #c4cfc3; background: var(--surface); box-shadow: 0 12px 28px -22px rgba(14, 21, 18, 0.45); }
body.v2 .seoBox .headBox {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 14px 18px;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
body.v2 .seoBox:hover .headBox { background: transparent; }
body.v2 .seoBox .headBox::before, body.v2 .seoBox .headBox::after { display: none; }
body.v2 .seoBox .headBox .titleStr { float: none; flex: 1; margin: 0; padding: 0; font-size: 17px; font-weight: 650; }
body.v2 .seoBox .headBox .solveMsg { float: none; margin: 0; order: 3; }
body.v2 .seoBox .headBox .solveMsgBlue { color: var(--accent-deep); }
/* Status badge before the title (colour + icon, so status is not colour alone) */
body.v2 .seoBox .headBox .titleStr::before {
  font-family: FontAwesome;
  font-weight: normal;
  display: inline-grid;
  place-items: center;
  width: 26px; height: 26px;
  margin-right: 10px;
  border-radius: 50%;
  font-size: 12px;
  vertical-align: 1px;
  content: "\f129";
  background: #eef1ec;
  color: var(--muted);
}
body.v2 .seoBox:has(.passedBox) .headBox .titleStr::before { content: "\f00c"; background: #e3f5e9; color: #146b3b; }
body.v2 .seoBox:has(.improveBox) .headBox .titleStr::before { content: "\f12a"; background: #fbf0d9; color: #7a4f00; }
body.v2 .seoBox:has(.errorBox) .headBox .titleStr::before { content: "\f00d"; background: #fbe5e3; color: #9b2b24; }
body.v2 .seoBox .contentBox { margin: 0; padding: 16px 18px 18px 18px; }
body.v2 .seoBox .questionBox { top: 14px; right: 14px; }
body.v2 .seoBox .suggestionBox {
  margin-top: 14px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
body.v2 .seoBox .table { margin-bottom: 0; }
body.v2 .seoBox .table > thead > tr > th { border-bottom-color: var(--line); font-family: var(--mono); font-size: 13px; color: var(--muted); }
body.v2 .seoBox .table > tbody > tr > td { border-top-color: var(--line); }
body.v2 .seoBox .label, body.v2 .seoBox .badge { border-radius: 6px; font-family: var(--mono); font-weight: 500; }

/* Share box */
body.v2 .shareBox .social-icons a {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
}

@media (max-width: 1199px) {
  .v2-report { grid-template-columns: minmax(0, 1fr) auto; }
  .v2-report-shot { grid-column: 1 / -1; max-width: 420px; }
}
@media (max-width: 767px) {
  .v2-report { grid-template-columns: 1fr; padding: 20px; gap: 24px; }
  .v2-report-shot { max-width: none; }
  .v2-report-score { justify-self: center; order: -1; padding: 0; }
  .v2-ring-lg { width: 160px; height: 160px; }
  body.v2 .seoBox-title { font-size: 22px; margin-top: 40px; }
  body.v2 #scroll-nav { border-radius: 0; padding: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-ring-lg .v2-ring-value, body.v2 .v2-kpi .scoreProgress-bar { transition: none; }
}
.v2-report > .v2-report-grid { position: absolute; }
body.v2 .v2-kpi .scoreProgress { width: 100% !important; max-width: none; }
body.v2 .v2-report .progressBox { border: 0; }
/* Sidebar nav width follows the column (it becomes position:fixed when affixed) */
@media (min-width: 768px) { body.v2 #scroll-menu { width: 157px; } }
@media (min-width: 992px) { body.v2 #scroll-menu { width: 212px; } }
@media (min-width: 1200px) { body.v2 #scroll-menu { width: 262px; } }
body.v2 #scroll-nav .scroll-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 767px) {
  body.v2.v2-inner #scroll-menu.affix { top: var(--nav-h); left: 0; right: 0; z-index: 1020; box-shadow: 0 10px 24px -18px rgba(14, 21, 18, 0.5); }
  body.v2 #scroll-menu { border: 0; }
  body.v2 #scroll-nav { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 2px; border-left: 0; border-right: 0; scrollbar-width: none; }
  body.v2 #scroll-nav > li { flex: none; margin: 0 !important; }
}
/* Compare page: one card covers two sites, so a single status badge would mislead */
body.v2 .seoBox:has(.compare-table) .headBox .titleStr::before { display: none; }

/* ==========================================================================
   V3 : Site vs Site (form + result)
   ========================================================================== */

/* ----- Form ----- */
@media (min-width: 992px) {
  body.v2 .row > .col-md-9:has(> .v2-duel-form) { width: 100%; }
}
.v2-duel-form {
  position: relative;
  margin: 8px 0 32px;
  padding: 40px;
  background: var(--ink);
  color: var(--ink-text);
  border-radius: 20px;
  overflow: hidden;
}
.v2-duel-form > * { position: relative; }
.v2-duel-form > .v2-report-grid { position: absolute; }
.v2-duel-intro { max-width: 60ch; margin-bottom: 32px; }
.v2-duel-intro h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 18px + 1.6vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #f4faf5;
}
.v2-duel-intro p { margin: 0; color: var(--ink-muted); font-size: 16.5px; }

.v2-duel-inputs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 16px;
}
body.v2 .v2-duel-slot { margin: 0; }
body.v2 .v2-duel-slot label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.v2-slot-dot { width: 8px; height: 8px; border-radius: 50%; }
.v2-slot-dot.tone-good { background: var(--accent); }
.v2-slot-dot.tone-bad { background: #f06a5f; }
body.v2 .v2-duel-slot .form-control {
  height: 60px;
  padding: 0 18px;
  background: var(--ink-2);
  border: 1px solid rgba(233, 245, 236, 0.16);
  border-radius: var(--r-md);
  color: #f4faf5;
  font-family: var(--mono);
  font-size: 17px;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
body.v2 .v2-duel-slot .form-control::placeholder { color: #6f8177; }
body.v2 .v2-duel-slot .form-control:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(201, 244, 92, 0.16); }
body.v2 .v2-duel-slot .form-control[readonly] { background: var(--ink-3); color: var(--accent); }
.v2-duel-vs {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 0 0 6px rgba(201, 244, 92, 0.12);
}
body.v2 .v2-duel-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 28px 0 0;
  text-align: left;
}
body.v2 .v2-duel-submit .captchaCode { margin: 0; }
body.v2 .v2-duel-submit .captchaCode > label { color: var(--ink-muted); }
body.v2 .v2-duel-submit .captchaCode .phpCap .form-control { background: var(--ink-2); border-color: rgba(233, 245, 236, 0.16); color: #f4faf5; }
body.v2 .v2-duel-submit .captchaCode .phpCap .input-group-addon { background: var(--ink-3); border-color: rgba(233, 245, 236, 0.16); color: var(--ink-text); }
body.v2 .v2-duel-submit .captchaCode .imagever { border-color: rgba(233, 245, 236, 0.16); }
body.v2 .v2-duel-submit .url-lg {
  height: 60px;
  padding: 0 34px;
  margin-left: auto;
  border-radius: var(--r-md);
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
body.v2 .v2-duel-submit .url-lg i { margin-right: 6px; }

.v2-bento-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 40px; }
.v2-bento-3 .v2-tile { min-height: 230px; }

/* ----- Result ----- */
.v2-duel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 24px;
  margin-top: 32px;
  padding: 28px;
  background: var(--ink);
  color: var(--ink-text);
  border-radius: 20px;
  overflow: hidden;
}
.v2-duel > * { position: relative; }
.v2-duel > .v2-report-grid { position: absolute; }
.v2-duel > .v2-duel-vs { align-self: center; }
.v2-duel-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  background: var(--ink-2);
  border: 1px solid rgba(233, 245, 236, 0.1);
  border-radius: var(--r-lg);
  transition: border-color 240ms var(--ease-out);
}
.v2-duel-side.is-winner { border-color: rgba(201, 244, 92, 0.5); box-shadow: 0 0 0 4px rgba(201, 244, 92, 0.08); }
.v2-duel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
body.v2 .v2-duel-domain {
  min-width: 0;
  font-family: var(--mono);
  font-size: 18px;
  color: #f4faf5;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.v2 .v2-duel-domain:hover { color: var(--accent); }
.v2-duel-win {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}
.v2-duel-body { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; align-items: center; }
.v2-ring-md { width: 132px; height: 132px; }
.v2-ring-md .v2-ring-label strong { font-size: 38px; }
.v2-duel-side.tone-good .v2-ring-value { stroke: var(--accent); }
.v2-duel-side.tone-warn .v2-ring-value { stroke: #f0b43c; }
.v2-duel-side.tone-bad .v2-ring-value { stroke: #f06a5f; }
.v2-duel .v2-kpi { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: center; }
.v2-duel .v2-kpi .scoreProgress-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--ink-text); }
.v2-duel .v2-kpi .scoreProgress-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.v2-duel .v2-kpi.tone-good .scoreProgress-label::before { background: var(--accent); }
.v2-duel .v2-kpi.tone-warn .scoreProgress-label::before { background: #f0b43c; }
.v2-duel .v2-kpi.tone-bad .scoreProgress-label::before { background: #f06a5f; }
.v2-duel .v2-kpi .scoreProgress { grid-column: 1 / -1; display: block; height: 6px; border-radius: 999px; background: var(--ink-3); overflow: hidden; }
.v2-duel .v2-kpi .scoreProgress-bar { display: block; height: 100%; border-radius: inherit; transform-origin: left; animation: v2-bar 900ms var(--ease-out) 0.25s both; }
.v2-duel .v2-kpi.tone-good .scoreProgress-bar { background: var(--accent); }
.v2-duel .v2-kpi.tone-warn .scoreProgress-bar { background: #f0b43c; }
.v2-duel .v2-kpi.tone-bad .scoreProgress-bar { background: #f06a5f; }
.v2-duel-date { font-size: 12.5px; color: var(--ink-muted); }

.v2-duel-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
  margin-top: 20px;
}
body.v2 .v2-duel-foot .v2-chart-card { padding: 20px 24px; }
.v2-duel-actions { display: flex; flex-direction: column; gap: 10px; }
body.v2 .v2-duel-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; }
body.v2 .v2-btn-ghost-light { background: var(--surface); border: 1px solid var(--line); color: var(--text); }
body.v2 .v2-btn-ghost-light:hover, body.v2 .v2-btn-ghost-light:focus { border-color: var(--text); color: var(--text); background: #fff; }

/* ----- Analysis progress dialog (sweetalert) ----- */
body.v2 .sweet-alert {
  border-radius: 20px;
  font-family: var(--font);
  padding: 28px;
  box-shadow: 0 40px 80px -30px rgba(14, 21, 18, 0.6);
}
body.v2 .sweet-alert h2 { font-family: var(--font); font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
body.v2 .sweet-alert p { color: var(--muted); font-size: 16px; }
body.v2 .sweet-alert .progress { height: 10px; border-radius: 999px; background: #e7ece5; box-shadow: none; overflow: hidden; }
body.v2 .sweet-alert .progress-bar { background-color: var(--accent-deep); font-size: 0; box-shadow: none; transition: width 400ms var(--ease-out); }
body.v2 .sweet-alert #progress-label { margin-top: 10px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
body.v2 .sweet-alert button.confirm { background-color: var(--ink) !important; box-shadow: none !important; border-radius: var(--r-sm); font-family: var(--font); font-weight: 600; }

@media (max-width: 991px) {
  .v2-duel-foot { grid-template-columns: 1fr; }
  .v2-duel-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 767px) {
  .v2-duel-form { padding: 24px 20px; }
  .v2-duel-inputs { grid-template-columns: 1fr; gap: 12px; }
  .v2-duel-inputs .v2-duel-vs { justify-self: center; margin: 0; width: 44px; height: 44px; }
  body.v2 .v2-duel-submit .url-lg { width: 100%; margin: 0; }
  .v2-bento-3 { grid-template-columns: 1fr; }
  .v2-duel { grid-template-columns: 1fr; padding: 16px; gap: 12px; }
  .v2-duel > .v2-duel-vs { justify-self: center; width: 44px; height: 44px; }
  .v2-duel-side { padding: 18px; }
  .v2-duel-body { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; }
  .v2-ring-md { width: 104px; height: 104px; }
  .v2-ring-md .v2-ring-label strong { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-duel .v2-kpi .scoreProgress-bar { animation: none; }
}
body.v2 .v2-duel-foot #container { position: relative; height: 280px; }
body.v2 .v2-duel-foot #container canvas { width: 100% !important; height: 100% !important; }
body.v2 .v2-vs-overview .v2-duel { margin-top: 0; }
body.v2 .v2-duel .v2-kpi .scoreProgress-bar { box-shadow: none; background-image: none; }
@media (max-width: 767px) { body.v2 .v2-duel-foot #container { height: 220px; } }
body.v2 .v2-kpi .scoreProgress-bar, body.v2 .v2-duel .v2-kpi .scoreProgress-bar { border: 0; margin: 0; min-width: 0; }
body.v2 .v2-kpi .scoreProgress { border: 0; }

/* ==========================================================================
   V3 : Recent sites page
   ========================================================================== */
@media (min-width: 992px) {
  body.v2 .row > .col-md-9.v2-recent-page { width: 100%; }
}

/* Stats panel */
.v2-feed-stats {
  position: relative;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 32px 36px;
  margin: 8px 0 28px;
  background: var(--ink);
  color: var(--ink-text);
  border-radius: 20px;
  overflow: hidden;
}
.v2-feed-stats > * { position: relative; }
.v2-feed-stats > .v2-report-grid { position: absolute; }
.v2-feed-count { display: flex; flex-direction: column; gap: 4px; padding-right: 40px; border-right: 1px solid var(--ink-line); }
.v2-feed-count strong {
  font-family: var(--mono);
  font-size: clamp(40px, 28px + 2vw, 60px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #f4faf5;
  font-variant-numeric: tabular-nums;
}
.v2-feed-count span, .v2-feed-avg > span, .v2-feed-dist-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.v2-feed-avg { display: flex; align-items: center; gap: 16px; padding-right: 40px; border-right: 1px solid var(--ink-line); }
.v2-ring-sm { width: 84px; height: 84px; }
.v2-ring-sm circle { stroke-width: 11; }
.v2-ring-sm .v2-ring-label strong { font-size: 28px; }
.v2-feed-avg.tone-good .v2-ring-value { stroke: var(--accent); }
.v2-feed-avg.tone-warn .v2-ring-value { stroke: #f0b43c; }
.v2-feed-avg.tone-bad .v2-ring-value { stroke: #f06a5f; }
.v2-feed-avg > span { max-width: 9ch; line-height: 1.4; }

.v2-feed-dist { min-width: 0; }
.v2-feed-dist-title { display: block; margin-bottom: 14px; }
.v2-dist-bar {
  display: flex;
  gap: 4px;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
}
.v2-dist-bar i { display: block; min-width: 6px; flex-basis: 0; transform-origin: left; }
.v2-dist-bar i:first-child { border-radius: 999px 0 0 999px; }
.v2-dist-bar i:last-child { border-radius: 0 999px 999px 0; }
.v2-dist-bar .tone-good { background: var(--accent); }
.v2-dist-bar .tone-warn { background: #f0b43c; }
.v2-dist-bar .tone-bad { background: #f06a5f; }
.v2-js .v2-feed-stats .v2-dist-bar i { transform: scaleX(0); transition: transform 900ms var(--ease-out) 250ms; }
.v2-js .v2-feed-stats.is-in .v2-dist-bar i { transform: none; }
.v2-dist-legend { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.v2-dist-legend li { display: inline-flex; align-items: baseline; gap: 6px; font-size: 14px; color: var(--ink-text); }
.v2-dist-legend li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; align-self: center; }
.v2-dist-legend .tone-good::before { background: var(--accent); }
.v2-dist-legend .tone-warn::before { background: #f0b43c; }
.v2-dist-legend .tone-bad::before { background: #f06a5f; }
.v2-dist-legend b { font-family: var(--mono); font-weight: 600; color: #f4faf5; }
.v2-dist-legend small { font-family: var(--mono); font-size: 11px; color: var(--ink-muted); }

/* Toolbar: filters + page indicator */
.v2-feed-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.v2-filter { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.v2-filter button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}
.v2-filter button:hover { color: var(--text); background: var(--paper); }
.v2-filter button.is-active { background: var(--ink); color: #f4faf5; }
.v2-filter button:active { transform: scale(0.97); }
.v2-filter button i { width: 8px; height: 8px; border-radius: 50%; }
.v2-filter .tone-good { background: #7fb81f; }
.v2-filter button.is-active .tone-good { background: var(--accent); }
.v2-filter .tone-warn { background: #f0b43c; }
.v2-filter .tone-bad { background: #f06a5f; }
.v2-page-ind { font-size: 14px; color: var(--muted); }
.v2-page-ind b { font-family: var(--mono); color: var(--text); }

/* Cards: score badge on the screenshot */
body.v2 .v2-site[hidden] { display: none; }
.v2-shot-score {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 6px 16px -6px rgba(14, 21, 18, 0.6);
}
.v2-shot-score.tone-good { color: var(--accent); box-shadow: inset 0 0 0 3px var(--accent), 0 6px 16px -6px rgba(14, 21, 18, 0.6); }
.v2-shot-score.tone-warn { color: #f5c46a; box-shadow: inset 0 0 0 3px #f0b43c, 0 6px 16px -6px rgba(14, 21, 18, 0.6); }
.v2-shot-score.tone-bad { color: #f58a80; box-shadow: inset 0 0 0 3px #f06a5f, 0 6px 16px -6px rgba(14, 21, 18, 0.6); }
.v2-recent-page .v2-site-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.v2-feed-empty { margin: 8px 0 0; padding: 32px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--r-lg); }

/* Pagination */
body.v2 .v2-pagination { margin: 40px 0 24px; }
body.v2 .v2-pagination .pagination {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  margin: 0;
  padding: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
body.v2 .v2-pagination .pagination > li { flex: none; }
body.v2 .v2-pagination .pagination > li > a,
body.v2 .v2-pagination .pagination > li > span {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  margin: 0;
  padding: 0 10px;
  float: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm) !important;
  background: var(--surface);
  color: var(--text);
  font-family: var(--mono);
  font-size: 14px;
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
body.v2 .v2-pagination .pagination > li > a:hover { border-color: var(--text); background: #fff; }
body.v2 .v2-pagination .pagination > .active > a,
body.v2 .v2-pagination .pagination > .active > a:hover { background: var(--ink); border-color: var(--ink); color: var(--accent); }
body.v2 .v2-pagination .glyphicon { top: 0; font-size: 11px; }

@media (max-width: 991px) {
  .v2-feed-stats { grid-template-columns: auto minmax(0, 1fr); gap: 24px 32px; }
  .v2-feed-dist { grid-column: 1 / -1; }
  .v2-feed-avg { border-right: 0; padding-right: 0; }
}
@media (max-width: 560px) {
  .v2-feed-stats { grid-template-columns: 1fr; padding: 24px 20px; gap: 20px; }
  .v2-feed-count { border-right: 0; padding-right: 0; flex-direction: row; align-items: baseline; gap: 10px; }
  .v2-filter { width: 100%; justify-content: space-between; border-radius: var(--r-md); }
  .v2-filter button { padding: 0 10px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-js .v2-feed-stats .v2-dist-bar i { transform: none; transition: none; }
}
.v2-recent-page .v2-site-name { margin-bottom: 6px; }
.v2-recent-page .v2-site-stats:empty { display: none; }

/* ==========================================================================
   V3 : Contact page
   ========================================================================== */
@media (min-width: 992px) {
  body.v2 .row > .col-md-9.v2-contact-page { width: 100%; }
}
.v2-contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px;
  align-items: stretch;
  margin: 8px 0 64px;
}
.v2-contact-side {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 36px;
  background: var(--ink);
  color: var(--ink-text);
  border-radius: 20px;
  overflow: hidden;
}
.v2-contact-side > * { position: relative; }
.v2-contact-side > .v2-report-grid { position: absolute; }
.v2-contact-icon {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  margin-bottom: 28px;
  border-radius: var(--r-md);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 22px;
  box-shadow: 0 0 0 8px rgba(201, 244, 92, 0.1);
}
.v2-contact-side h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 17px + 1.3vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #f4faf5;
}
.v2-contact-side p { margin: 0 0 32px; color: var(--ink-muted); font-size: 16.5px; line-height: 1.6; }
.v2-contact-links { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 8px; }
body.v2 .v2-contact-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-md);
  background: rgba(233, 245, 236, 0.03);
  color: var(--ink-text);
  font-weight: 600;
  text-decoration: none;
  transition: border-color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}
body.v2 .v2-contact-links a:hover, body.v2 .v2-contact-links a:focus-visible { border-color: rgba(201, 244, 92, 0.45); background: rgba(201, 244, 92, 0.06); color: #fff; }
.v2-contact-links a span { flex: 1; }
.v2-contact-links a i:first-child { width: 18px; text-align: center; color: var(--accent); }
.v2-contact-links a i:last-child { color: var(--ink-muted); transition: transform 200ms var(--ease-out), color 200ms var(--ease-out); }
.v2-contact-links a:hover i:last-child { transform: translateX(3px); color: var(--accent); }

.v2-contact-form {
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.v2-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
body.v2 .v2-contact-form .form-group { margin-bottom: 18px; }
body.v2 .v2-contact-form label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--text); }
body.v2 .v2-contact-form .form-control {
  height: 48px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 16px;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out);
}
body.v2 .v2-contact-form textarea.form-control { height: auto; min-height: 150px; padding: 12px 14px; line-height: 1.55; resize: vertical; }
body.v2 .v2-contact-form .form-control:focus { border-color: var(--accent-deep); box-shadow: 0 0 0 3px rgba(61, 106, 15, 0.15); }
body.v2 .v2-contact-form .has-error .form-control { border-color: var(--bad); box-shadow: 0 0 0 3px rgba(209, 67, 59, 0.12); }
body.v2 .v2-contact-form .has-error label { color: var(--bad); }
body.v2 .v2-contact-form .has-success .form-control { border-color: var(--good); }
body.v2 .v2-contact-form .help-block { margin: 6px 0 0; font-size: 13px; color: var(--bad); }
body.v2 .v2-contact-form .help-block:empty { display: none; }
body.v2 .v2-contact-form .help-block ul { margin: 0; padding: 0; list-style: none; }
.v2-contact-submit { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 8px; }
body.v2 .v2-contact-submit .captchaCode { margin: 0; }
body.v2 .v2-contact-submit .btn-send {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  margin-left: auto;
  border-radius: var(--r-md);
  font-size: 16px;
}
body.v2 .v2-contact-submit .btn-send.disabled, body.v2 .v2-contact-submit .btn-send[disabled] { opacity: 0.5; }

body.v2 .v2-contact-page #message .alert { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border: 0; }
body.v2 .v2-contact-page #message .alert .close { order: 3; margin-left: auto; opacity: 0.6; }
body.v2 .v2-contact-page #message .alert-success { background: #e3f5e9; color: #146b3b; }
body.v2 .v2-contact-page #message .alert-danger { background: #fbe5e3; color: #9b2b24; }

@media (max-width: 991px) {
  .v2-contact { grid-template-columns: 1fr; }
  .v2-contact-links { margin-top: 0; }
}
@media (max-width: 560px) {
  .v2-contact-side, .v2-contact-form { padding: 24px 20px; }
  .v2-form-row { grid-template-columns: 1fr; }
  body.v2 .v2-contact-submit .btn-send { width: 100%; justify-content: center; margin: 0; }
}
body.v2 .v2-contact-form .has-error .form-control:focus-visible { outline-color: var(--bad); }
body.v2 .v2-contact-form .has-error .form-control:focus { border-color: var(--bad); box-shadow: 0 0 0 3px rgba(209, 67, 59, 0.18); }

/* ==========================================================================
   V4 : "flame" colour layer. Lime stays the action / pass colour.
   Flame, hot pink and violet bring energy to surfaces, never to body text
   on light backgrounds. Text on flame/pink fills is ink (contrast >= 5:1).
   ========================================================================== */
:root {
  --flame: #ff6a2b;
  --hot: #ff3d7f;
  --violet: #8b6cff;
  --sun: #ffd23f;
  --grad-fire: linear-gradient(115deg, #ff6a2b 0%, #ff3d7f 55%, #8b6cff 100%);
  --grad-heat: linear-gradient(115deg, #ff8a2b 0%, #ff3d7f 100%);
  --grad-zest: linear-gradient(100deg, #c9f45c 0%, #ffd23f 45%, #ff6a2b 100%);
}

/* ---------- Hero: moving warm light behind the grid ---------- */
.v2-hero::before,
.v2-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.v2-hero::before {
  width: 780px; height: 780px;
  right: -160px; top: -220px;
  background: radial-gradient(circle, rgba(255, 61, 127, 0.34) 0%, rgba(255, 61, 127, 0) 62%);
  animation: v4-drift-a 16s ease-in-out infinite alternate;
}
.v2-hero::after {
  width: 700px; height: 700px;
  left: -240px; bottom: -320px;
  background: radial-gradient(circle, rgba(255, 106, 43, 0.3) 0%, rgba(255, 106, 43, 0) 62%);
  animation: v4-drift-b 19s ease-in-out infinite alternate;
}
.v2-hero > * { position: relative; z-index: 1; }
.v2-hero > .v2-hero-grid, .v2-hero > .v2-radar { position: absolute; z-index: 0; }
@keyframes v4-drift-a { to { transform: translate(-120px, 90px) scale(1.12); } }
@keyframes v4-drift-b { to { transform: translate(140px, -60px) scale(1.08); } }

/* Violet glow sitting under the scan panel */
.v2-scan { box-shadow: 0 30px 80px -30px rgba(139, 108, 255, 0.55), 0 0 0 1px rgba(139, 108, 255, 0.12); }
.v2-scan-head { background: linear-gradient(90deg, rgba(255, 61, 127, 0.12), rgba(139, 108, 255, 0.08) 60%, transparent); }

/* Headline: fire underline under the lime word */
.v2-hero h1 .v2-hl {
  background-image: linear-gradient(90deg, rgba(255, 106, 43, 0.55), rgba(255, 61, 127, 0.55));
  background-size: 100% 14%;
  background-position: 0 92%;
  background-repeat: no-repeat;
}
@keyframes v3-marker { from { background-size: 0% 14%; } }

/* Example chips pick up colour on hover */
body.v2 .v2-examples a:hover { border-color: var(--hot); color: #fff; background: rgba(255, 61, 127, 0.1); }

/* Ticker label in hot pink */
.v2-ticker-label { color: #ff7aa6; }
.v2-ticker-label i { background: var(--hot); box-shadow: 0 0 0 0 rgba(255, 61, 127, 0.6); animation-name: v4-pulse-hot; }
@keyframes v4-pulse-hot { 0% { box-shadow: 0 0 0 0 rgba(255, 61, 127, 0.55); } 100% { box-shadow: 0 0 0 8px rgba(255, 61, 127, 0); } }

/* ---------- Stats band: dark, each figure in its own colour ---------- */
.v2-stats { background: var(--ink); border-bottom: 0; position: relative; }
.v2-stats::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 3px;
  background: var(--grad-fire);
}
.v2-stats-list li + li { border-left-color: var(--ink-line); }
.v2-stats-list span { color: var(--ink-muted); }
.v2-stats-list li:nth-child(1) strong { color: var(--accent); }
.v2-stats-list li:nth-child(2) strong { color: #ff8a4c; }
.v2-stats-list li:nth-child(3) strong { color: #ff6f9f; }
.v2-stats-list li:nth-child(4) strong { color: #a891ff; }
@media (max-width: 560px) {
  .v2-stats-list li:nth-child(even) { border-left-color: var(--ink-line); }
  .v2-stats-list li:nth-child(n+3) { border-top-color: var(--ink-line); }
}

/* ---------- Bento: add a fire tile and colourful chips ---------- */
.v2-bento-wrap { background:
  radial-gradient(600px 300px at 90% 10%, rgba(255, 61, 127, 0.08), transparent 70%),
  radial-gradient(500px 300px at 5% 90%, rgba(255, 106, 43, 0.08), transparent 70%); }
.v2-bento .v2-tile-light:not(.v2-tile-checks),
.v2-bento-3 .v2-tile-light {
  background: var(--grad-heat);
  border: 0;
  color: var(--accent-ink);
}
.v2-bento .v2-tile-light:not(.v2-tile-checks) p,
.v2-bento-3 .v2-tile-light p { color: #2a0f16; }
.v2-bento .v2-tile-light:not(.v2-tile-checks) .v2-tile-num,
.v2-bento-3 .v2-tile-light .v2-tile-num { color: #2a0f16; }
body.v2 .v2-bento .v2-tile-light:not(.v2-tile-checks) .v2-link-arrow,
body.v2 .v2-bento .v2-tile-light:not(.v2-tile-checks) .v2-link-arrow i { color: var(--accent-ink); }
.v2-tile-ink { background: radial-gradient(420px 260px at 100% 100%, rgba(139, 108, 255, 0.35), transparent 70%), var(--ink); }
.v2-tile-accent { background: var(--grad-zest); }
.v2-tile-accent p, .v2-tile-accent .v2-tile-num { color: #22300c; }
.v2-chips li:nth-child(4n+1) i { color: #5d9a10; }
.v2-chips li:nth-child(4n+2) i { color: #e2541a; }
.v2-chips li:nth-child(4n+3) i { color: #e0266a; }
.v2-chips li:nth-child(4n+4) i { color: #6b4cf0; }
.v2-chips li:nth-child(4n+1):hover { border-color: #5d9a10; }
.v2-chips li:nth-child(4n+2):hover { border-color: #e2541a; }
.v2-chips li:nth-child(4n+3):hover { border-color: #e0266a; }
.v2-chips li:nth-child(4n+4):hover { border-color: #6b4cf0; }

/* ---------- Steps: one colour per step ---------- */
.v2-steps { background: radial-gradient(700px 360px at 85% 0%, rgba(139, 108, 255, 0.22), transparent 70%), radial-gradient(600px 300px at 0% 100%, rgba(255, 106, 43, 0.16), transparent 70%), var(--ink); }
.v2-steps-list::before { border-top: 0; height: 2px; top: 27px; background: linear-gradient(90deg, var(--accent), var(--flame), var(--hot)); opacity: 0.55; }
.v2-steps-list li:nth-child(2) .v2-step-icon { background: var(--flame); }
.v2-steps-list li:nth-child(3) .v2-step-icon { background: var(--hot); }
@media (max-width: 991px) {
  .v2-steps-list::before { width: 2px; height: auto; top: 28px; bottom: 28px; background: linear-gradient(180deg, var(--accent), var(--flame), var(--hot)); border-left: 0; }
}

/* ---------- Recent cards: warm glow on hover ---------- */
@media (hover: hover) {
  .v2-site:hover { box-shadow: 0 22px 44px -26px rgba(255, 61, 127, 0.55), 0 0 0 1px rgba(255, 61, 127, 0.25); border-color: transparent; }
}
.v2-site-cta i { color: #ff7aa6; }

/* ---------- Final CTA: animated zest gradient ---------- */
.v2-cta {
  background: linear-gradient(100deg, #c9f45c, #ffd23f, #ff8a2b, #ff3d7f, #ffd23f, #c9f45c);
  background-size: 300% 100%;
  animation: v4-pan 14s linear infinite;
}
@keyframes v4-pan { to { background-position: 300% 0; } }

/* ---------- Dark panels across inner pages get a warm corner glow ---------- */
.v2-report::before, .v2-duel::before, .v2-duel-form::before, .v2-feed-stats::before, .v2-contact-side::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(255, 61, 127, 0.26), transparent 70%),
    radial-gradient(480px 300px at 0% 100%, rgba(255, 106, 43, 0.2), transparent 70%);
}
.v2-pagehead::after {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  right: -120px; top: -360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 61, 127, 0.3), transparent 62%);
  pointer-events: none;
}
.v2-pagehead { border-bottom: 3px solid transparent; border-image: var(--grad-fire) 1; }
.v2-pagehead .container { position: relative; z-index: 1; }

/* Report / section icons rotate through the palette */
body.v2 #usability .seoBox-title::before { color: #ff8a4c; }
body.v2 #mobile .seoBox-title::before { color: #ff6f9f; }
body.v2 #technologies .seoBox-title::before { color: #a891ff; }
body.v2 #social .seoBox-title::before { color: #ff8a4c; }
body.v2 #visitors .seoBox-title::before { color: #ff6f9f; }
body.v2 #link-analysis .seoBox-title::before { color: #a891ff; }

/* Duel: VS badge on fire */
.v2-duel-vs { background: var(--grad-heat); color: var(--accent-ink); box-shadow: 0 0 0 6px rgba(255, 61, 127, 0.16), 0 10px 30px -8px rgba(255, 61, 127, 0.6); }
.v2-vs-badge { background: var(--grad-heat); }

/* Filters and pagination active state */
.v2-filter button.is-active { background: var(--ink); box-shadow: inset 0 -2px 0 var(--hot); }
body.v2 .v2-pagination .pagination > .active > a,
body.v2 .v2-pagination .pagination > .active > a:hover { background: var(--grad-heat); border-color: transparent; color: var(--accent-ink); }

/* Contact side icon */
.v2-contact-icon { background: var(--grad-heat); box-shadow: 0 0 0 8px rgba(255, 61, 127, 0.12); }
.v2-contact-links a i:first-child { color: #ff8a4c; }

/* Footer: fire hairline on top */
.v2-footer { position: relative; }
.v2-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-fire); }
body.v2 .v2-footer-nav a:hover { color: #ff8a4c; }

/* Brand mark */
body.v2 .v2-brand .logo-icon { background: var(--grad-zest); }

::selection { background: var(--hot); color: #fff; }

@media (max-width: 560px) {
  .v2-hero::before { width: 460px; height: 460px; right: -200px; top: -120px; }
  .v2-hero::after { width: 420px; height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-hero::before, .v2-hero::after, .v2-cta { animation: none; }
}
.v2-hero h1 .v2-hl {
  background-image: linear-gradient(90deg, #ff6a2b, #ff3d7f 60%, #8b6cff);
  background-size: 100% 7%;
  background-position: 0 96%;
}
@keyframes v3-marker { from { background-size: 0% 7%; } }

/* ==========================================================================
   V4 : Account pages (login / register / forget / resend) + profile
   ========================================================================== */
.v2-auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 24px;
  align-items: stretch;
  max-width: 1040px;
  margin: 0 auto 72px;
}
.v2-auth-side {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 36px;
  background: var(--ink);
  color: var(--ink-text);
  border-radius: 20px;
  overflow: hidden;
}
.v2-auth-side::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(255, 61, 127, 0.28), transparent 70%),
    radial-gradient(480px 300px at 0% 100%, rgba(255, 106, 43, 0.22), transparent 70%);
}
.v2-auth-side > * { position: relative; }
.v2-auth-side h2 { margin: 0 0 12px; font-size: clamp(24px, 17px + 1.2vw, 32px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; color: #f4faf5; }
.v2-auth-side p { margin: 0 0 28px; color: var(--ink-muted); font-size: 16px; line-height: 1.6; }
.v2-auth-perks { list-style: none; margin: 0 0 32px; padding: 0; display: grid; gap: 12px; }
.v2-auth-perks li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink-text); }
.v2-auth-perks i {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(233, 245, 236, 0.06);
  border: 1px solid var(--ink-line);
}
.v2-auth-perks li:nth-child(1) i { color: var(--accent); }
.v2-auth-perks li:nth-child(2) i { color: #ff8a4c; }
.v2-auth-perks li:nth-child(3) i { color: #ff6f9f; }
body.v2 .v2-auth-switch {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 61, 127, 0.45);
  border-radius: var(--r-md);
  background: rgba(255, 61, 127, 0.08);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 180ms var(--ease-out), border-color 180ms var(--ease-out);
}
body.v2 .v2-auth-switch:hover, body.v2 .v2-auth-switch:focus-visible { background: rgba(255, 61, 127, 0.16); border-color: var(--hot); color: #fff; }
body.v2 .v2-auth-switch i { color: #ff7aa6; transition: transform 200ms var(--ease-out); }
body.v2 .v2-auth-switch:hover i { transform: translateX(3px); }

/* The form card now lives in .v2-auth-main */
body.v2 .v2-auth-main > form {
  display: block;
  height: 100%;
  margin: 0;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}
body.v2 .v2-auth-main > .alert { margin-bottom: 16px; }
body.v2 .v2-auth-main > h4 { margin-top: 0; font-weight: 700; }
body.v2 .v2-auth-main > a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
body.v2 .v2-auth-main > br { display: none; }
body.v2 .v2-auth-main .connect-with .connect:hover { border-color: var(--hot); }
body.v2 .v2-auth-main .infoshort { display: block; margin-bottom: 4px; }

/* ----- Profile ----- */
body.v2 .profile > br { display: none; }
body.v2 .profile .tab-content > br { display: none; }
.v2-profile-msg { margin-bottom: 16px; }
.v2-profile-head {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  margin: 8px 0 28px;
  padding: 32px;
  background: var(--ink);
  color: var(--ink-text);
  border-radius: 20px;
  overflow: hidden;
}
.v2-profile-head::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(139, 108, 255, 0.32), transparent 70%),
    radial-gradient(420px 260px at 0% 100%, rgba(255, 106, 43, 0.22), transparent 70%);
}
.v2-profile-head > * { position: relative; }
.v2-profile-avatar {
  display: block;
  width: 104px; height: 104px;
  padding: 4px;
  border-radius: 50%;
  background: var(--grad-fire);
}
.v2-profile-avatar img { display: block; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--ink); background: #fff; }
.v2-profile-id h2 { margin: 0; font-size: clamp(24px, 18px + 1.2vw, 34px); font-weight: 700; letter-spacing: -0.03em; color: #f4faf5; overflow-wrap: anywhere; }
.v2-profile-user { display: block; margin-top: 4px; font-family: var(--mono); font-size: 14px; color: #ff8a4c; }
.v2-profile-chips { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.v2-profile-chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  background: rgba(233, 245, 236, 0.04);
  font-size: 13px;
  color: var(--ink-muted);
}
.v2-profile-chips b { color: #f4faf5; font-weight: 600; }
.v2-profile-chips li:nth-child(1) i { color: var(--accent); }
.v2-profile-chips li:nth-child(2) i { color: #ff8a4c; }
.v2-profile-chips li:nth-child(3) i { color: #a891ff; }
body.v2 .v2-profile-cta { display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 20px; align-self: start; }

/* Tabs: fire underline on the active tab */
body.v2 .profile .nav-tabs > li.active > a,
body.v2 .profile .nav-tabs > li.active > a:hover,
body.v2 .profile .nav-tabs > li.active > a:focus {
  border-bottom: 0;
  box-shadow: inset 0 -3px 0 transparent;
  background: linear-gradient(90deg, #ff6a2b, #ff3d7f) no-repeat 0 100% / 100% 3px;
}
body.v2 .profile .thumbnail { background: var(--surface); }
body.v2 .profile .btn-success { background: var(--grad-zest); border: 0; color: var(--accent-ink); }
body.v2 .profile .btn-success:hover { filter: saturate(1.15); color: var(--accent-ink); }

@media (max-width: 991px) {
  .v2-auth-shell { grid-template-columns: 1fr; }
  .v2-auth-side { order: 2; }
  .v2-profile-head { grid-template-columns: auto minmax(0, 1fr); }
  body.v2 .v2-profile-cta { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 560px) {
  .v2-auth-side, body.v2 .v2-auth-main > form { padding: 24px 20px; }
  .v2-profile-head { grid-template-columns: 1fr; padding: 24px 20px; gap: 18px; text-align: left; }
  .v2-profile-avatar { width: 84px; height: 84px; }
  body.v2 .v2-profile-cta { width: 100%; justify-content: center; }
}

/* ==========================================================================
   V4 : compare page (site A = flame, site B = violet)
   ========================================================================== */
:root { --site-a: #ff8a4c; --site-b: #a891ff; }
.v2-dot-a { background: var(--site-a); }
.v2-dot-b { background: var(--site-b); }
body.v2 .v2-duel-slot:first-child .form-control:focus { border-color: var(--site-a); box-shadow: 0 0 0 4px rgba(255, 138, 76, 0.18); }
body.v2 .v2-duel-slot:last-child .form-control:focus { border-color: var(--site-b); box-shadow: 0 0 0 4px rgba(168, 145, 255, 0.2); }

/* Duel sides carry their site colour */
.v2-duel-side { position: relative; }
.v2-duel-side::after {
  content: "";
  position: absolute;
  left: 22px; right: 22px; top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
}
.v2-side-a::after { background: var(--site-a); }
.v2-side-b::after { background: var(--site-b); }
.v2-side-a .v2-duel-domain::before, .v2-side-b .v2-duel-domain::before {
  content: "";
  display: inline-block;
  width: 10px; height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  vertical-align: 1px;
}
.v2-side-a .v2-duel-domain::before { background: var(--site-a); }
.v2-side-b .v2-duel-domain::before { background: var(--site-b); }

/* Winner: rotating fire border */
@property --v4-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.v2-duel-side.is-winner {
  border: 2px solid transparent;
  background:
    linear-gradient(var(--ink-2), var(--ink-2)) padding-box,
    conic-gradient(from var(--v4-angle), #ff6a2b, #ff3d7f, #8b6cff, #c9f45c, #ff6a2b) border-box;
  box-shadow: 0 24px 60px -30px rgba(255, 61, 127, 0.7);
  animation: v4-spin 6s linear infinite;
}
@keyframes v4-spin { to { --v4-angle: 360deg; } }
.v2-duel-win { background: var(--grad-heat); color: var(--accent-ink); box-shadow: 0 6px 18px -6px rgba(255, 61, 127, 0.7); }

/* Footer of the duel: actions row above a full-width chart */
.v2-duel-foot { grid-template-columns: 1fr; }
.v2-duel-actions { order: -1; flex-direction: row; justify-content: flex-end; }
body.v2 .v2-duel-foot .v2-chart-card { background:
  radial-gradient(500px 220px at 100% 0%, rgba(168, 145, 255, 0.1), transparent 70%),
  radial-gradient(500px 220px at 0% 100%, rgba(255, 138, 76, 0.1), transparent 70%),
  var(--surface); }

/* Column labels in every comparison card */
body.v2 .compare-table > tbody > tr > td { position: relative; padding-top: 38px; }
body.v2 .compare-table > tbody > tr > td::before {
  position: absolute;
  top: 8px; left: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  max-width: calc(100% - 16px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.v2 .compare-table > tbody > tr > td:first-child::before { background: rgba(255, 138, 76, 0.14); color: #b4460f; }
body.v2 .compare-table > tbody > tr > td:last-child::before { background: rgba(168, 145, 255, 0.18); color: #5536c9; }

/* Sticky score bar */
.v2-cmp-sticky {
  position: fixed;
  left: 0; right: 0;
  top: var(--nav-h);
  z-index: 1020;
  background: rgba(14, 21, 18, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-line);
  box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.6);
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 260ms var(--ease-out), opacity 200ms var(--ease-out);
}
.v2-cmp-sticky.is-visible { transform: none; opacity: 1; }
.v2-cmp-sticky::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: linear-gradient(90deg, var(--site-a), var(--hot), var(--site-b)); }
.v2-cmp-sticky .container { display: flex; align-items: center; justify-content: center; gap: 18px; height: 56px; }
.v2-cmp-sticky .container::before, .v2-cmp-sticky .container::after { display: none; }
.v2-cs-side { display: inline-flex; align-items: center; gap: 10px; min-width: 0; flex: 1; color: var(--ink-text); }
.v2-cs-side.v2-side-a { justify-content: flex-end; }
.v2-cs-side em { font-style: normal; font-family: var(--mono); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-cs-side b { font-family: var(--mono); font-size: 22px; font-weight: 600; letter-spacing: -0.03em; }
.v2-cs-side i { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.v2-cs-side.v2-side-a i { background: var(--site-a); }
.v2-cs-side.v2-side-b i { background: var(--site-b); }
.v2-cs-side.v2-side-a b { color: var(--site-a); }
.v2-cs-side.v2-side-b b { color: var(--site-b); }
.v2-cs-side.is-winner b::after { content: "\f091"; font-family: FontAwesome; font-size: 13px; margin: 0 6px; color: var(--sun); vertical-align: 3px; }
.v2-cs-vs { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--grad-heat); color: var(--accent-ink); font-family: var(--mono); font-size: 11px; font-weight: 700; }

@media (max-width: 767px) {
  .v2-duel-actions { justify-content: stretch; }
  body.v2 .v2-duel-actions .btn { flex: 1; }
  .v2-cmp-sticky .container { gap: 10px; height: 50px; }
  .v2-cs-side em { font-size: 12px; }
  .v2-cs-side b { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-duel-side.is-winner { animation: none; }
  .v2-cmp-sticky { transition: none; }
}
/* Column labels sit in the flow above the cell content (no overlap with status icons) */
body.v2 .compare-table > tbody > tr > td { position: static; padding-top: 12px; }
body.v2 .compare-table > tbody > tr > td::before {
  position: static;
  display: inline-block;
  margin: 0 0 12px;
  vertical-align: top;
}
body.v2 .compare-table > tbody > tr > td > * { clear: both; }
body.v2 .compare-table > tbody > tr > td::after { content: ""; display: block; }

/* ==========================================================================
   V4 : domain report extras
   ========================================================================== */
/* Score ring halo in the tone colour */
.v2-report-score .v2-ring-lg { position: relative; }
.v2-report-score .v2-ring-lg::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--halo, rgba(240, 180, 60, 0.35)) 0%, transparent 68%);
  animation: v4-breathe 3.6s ease-in-out infinite;
}
.v2-report-score.tone-good { --halo: rgba(201, 244, 92, 0.32); }
.v2-report-score.tone-warn { --halo: rgba(240, 180, 60, 0.34); }
.v2-report-score.tone-bad { --halo: rgba(240, 106, 95, 0.36); }
@keyframes v4-breathe { 50% { transform: scale(1.08); opacity: 0.7; } }
.v2-report-frame { box-shadow: 0 24px 50px -28px rgba(255, 61, 127, 0.55); }
.v2-report-bar span { color: #ff9dbd; }

/* Status filter */
.v2-check-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  margin: 0 0 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.v2-check-filter button {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}
.v2-check-filter button:hover { background: var(--paper); color: var(--text); }
.v2-check-filter button:active { transform: scale(0.97); }
.v2-check-filter button b {
  min-width: 26px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text);
}
.v2-check-filter button i { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; }
.v2-check-filter [data-status="pass"] i { background: #e3f5e9; color: #146b3b; }
.v2-check-filter [data-status="improve"] i { background: #fbf0d9; color: #7a4f00; }
.v2-check-filter [data-status="error"] i { background: #fbe5e3; color: #9b2b24; }
.v2-check-filter button.is-active { background: var(--ink); color: #f4faf5; }
.v2-check-filter button.is-active b { background: var(--grad-heat); color: var(--accent-ink); }
body.v2 .seoBox[hidden] { display: none; }
body.v2 .v2-sec-empty { display: none; }

/* Section titles: fire underline accent */
body.v2 .seoBox-title { position: relative; border-bottom-color: var(--line); }
body.v2 .seoBox-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 120px; height: 3px;
  border-radius: 3px;
  background: var(--grad-heat);
}
body.v2 #usability .seoBox-title::after, body.v2 #social .seoBox-title::after { background: linear-gradient(90deg, #ff8a4c, #ffd23f); }
body.v2 #technologies .seoBox-title::after, body.v2 #link-analysis .seoBox-title::after { background: linear-gradient(90deg, #8b6cff, #ff3d7f); }

/* Sidebar: active entry on fire */
body.v2 .nav-pills > li.active > a,
body.v2 .nav-pills > li.active > a:focus,
body.v2 .nav-pills > li.active > a:hover {
  background: var(--grad-heat) !important;
  color: var(--accent-ink) !important;
}
body.v2 #scroll-nav > li.active > a .scroll-icon,
body.v2 #scroll-nav > li.active > a .scroll-arrow { color: var(--accent-ink); }

/* Sticky summary */
.v2-rep-sticky {
  position: fixed;
  left: 0; right: 0;
  top: var(--nav-h);
  z-index: 1020;
  background: rgba(14, 21, 18, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-line);
  box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.6);
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 260ms var(--ease-out), opacity 200ms var(--ease-out);
}
.v2-rep-sticky.is-visible { transform: none; opacity: 1; }
.v2-rep-sticky::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad-fire); }
.v2-rep-sticky .container { display: flex; align-items: center; gap: 22px; height: 56px; }
.v2-rep-sticky .container::before, .v2-rep-sticky .container::after { display: none; }
.v2-rs-domain { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; font-family: var(--mono); font-size: 15px; color: #f4faf5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-rs-domain i { width: 10px; height: 10px; border-radius: 50%; background: var(--grad-heat); flex: none; }
.v2-rs-kpi { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-muted); white-space: nowrap; }
.v2-rs-kpi::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.v2-rs-kpi.tone-good::before { background: var(--accent); }
.v2-rs-kpi.tone-warn::before { background: #f0b43c; }
.v2-rs-kpi.tone-bad::before { background: #f06a5f; }
.v2-rs-kpi b { font-family: var(--mono); color: #f4faf5; }
.v2-rs-score {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  background: var(--ink-2);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 600;
  color: #f4faf5;
  box-shadow: inset 0 0 0 3px #f0b43c;
}
.v2-rs-score.tone-good { box-shadow: inset 0 0 0 3px var(--accent); color: var(--accent); }
.v2-rs-score.tone-warn { box-shadow: inset 0 0 0 3px #f0b43c; color: #f5c46a; }
.v2-rs-score.tone-bad { box-shadow: inset 0 0 0 3px #f06a5f; color: #f58a80; }

@media (max-width: 767px) {
  .v2-rep-sticky { display: none; }
  .v2-check-filter button { flex: 1 1 45%; font-size: 13px; }
}
@media (max-width: 991px) and (min-width: 768px) {
  .v2-rs-kpi { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-report-score .v2-ring-lg::before { animation: none; }
  .v2-rep-sticky { transition: none; }
}
body.v2 .v2-report .mainLink { display: inline; font-size: clamp(18px, 13px + 0.8vw, 24px); word-break: normal; overflow-wrap: anywhere; }
body.v2 .v2-report .mainLink i { margin-left: 6px; vertical-align: 2px; }

/* ==========================================================================
   V4 : home page extras
   ========================================================================== */
/* Hero scan ring: breathing halo in the score tone */
.v2-scan .v2-ring::before {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--halo, rgba(240, 180, 60, 0.34)) 0%, transparent 68%);
  animation: v4-breathe 3.6s ease-in-out infinite;
}
.v2-scan.tone-good { --halo: rgba(201, 244, 92, 0.3); }
.v2-scan.tone-warn { --halo: rgba(240, 180, 60, 0.34); }
.v2-scan.tone-bad { --halo: rgba(240, 106, 95, 0.36); }
.v2-scan .v2-ring svg { position: relative; }

/* Section titles: fire underline */
.v2-section-head h2, .v2-steps-title { position: relative; padding-bottom: 14px; }
.v2-section-head h2::after, .v2-steps-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 88px; height: 4px;
  border-radius: 4px;
  background: var(--grad-heat);
}
.v2-steps-title::after { background: linear-gradient(90deg, var(--accent), var(--flame), var(--hot)); }
body.v2 .v2-section-head .v2-link-arrow i { color: var(--hot); }

/* "What we check": fire border and tinted chips */
.v2-bento .v2-tile-checks {
  border: 2px solid transparent;
  background:
    radial-gradient(420px 220px at 100% 0%, rgba(255, 61, 127, 0.08), transparent 70%) padding-box,
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad-fire) border-box;
}
.v2-chips li { transition: transform 180ms var(--ease-out), border-color 180ms var(--ease-out), background-color 180ms var(--ease-out); }
.v2-chips li:nth-child(4n+1) { background: #f1f9e3; border-color: #dcecbd; }
.v2-chips li:nth-child(4n+2) { background: #fff0e8; border-color: #ffd6c2; }
.v2-chips li:nth-child(4n+3) { background: #ffebf2; border-color: #ffc9dc; }
.v2-chips li:nth-child(4n+4) { background: #f1edff; border-color: #d9d0ff; }
@media (hover: hover) { .v2-chips li:hover { transform: translateY(-2px); } }

/* Steps: glowing icons, each in its own colour */
.v2-steps-list li .v2-step-icon { box-shadow: 0 0 0 7px rgba(201, 244, 92, 0.14), 0 12px 30px -8px rgba(201, 244, 92, 0.55); }
.v2-steps-list li:nth-child(2) .v2-step-icon { box-shadow: 0 0 0 7px rgba(255, 106, 43, 0.16), 0 12px 30px -8px rgba(255, 106, 43, 0.6); }
.v2-steps-list li:nth-child(3) .v2-step-icon { box-shadow: 0 0 0 7px rgba(255, 61, 127, 0.16), 0 12px 30px -8px rgba(255, 61, 127, 0.6); }

/* Recently listed: score badge on the screenshot, tone line under it */
.v2-recent .v2-site-shot { position: relative; border-bottom: 3px solid var(--line); }
.v2-recent .v2-site[data-tone="good"] .v2-site-shot { border-bottom-color: var(--accent); }
.v2-recent .v2-site[data-tone="warn"] .v2-site-shot { border-bottom-color: #f0b43c; }
.v2-recent .v2-site[data-tone="bad"] .v2-site-shot { border-bottom-color: #f06a5f; }
.v2-recent .v2-site-name { margin-bottom: 6px; }
.v2-recent .v2-site-stats:empty { display: none; }
.v2-recent { background: radial-gradient(700px 360px at 100% 0%, rgba(255, 106, 43, 0.07), transparent 70%), radial-gradient(600px 320px at 0% 100%, rgba(139, 108, 255, 0.07), transparent 70%); }

/* Sticky search once the hero has scrolled away */
.v2-home-sticky {
  position: fixed;
  left: 0; right: 0;
  top: var(--nav-h);
  z-index: 1020;
  background: rgba(14, 21, 18, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ink-line);
  box-shadow: 0 12px 30px -20px rgba(0, 0, 0, 0.6);
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 260ms var(--ease-out), opacity 200ms var(--ease-out), visibility 0s linear 260ms;
}
.v2-home-sticky.is-visible { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.v2-home-sticky::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad-fire); }
.v2-home-sticky .container { display: flex; align-items: center; gap: 20px; height: 64px; }
.v2-home-sticky .container::before, .v2-home-sticky .container::after { display: none; }
.v2-hs-count { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-muted); white-space: nowrap; }
.v2-hs-count i { width: 8px; height: 8px; border-radius: 50%; background: var(--hot); animation: v4-pulse-hot 1.8s ease-out infinite; }
.v2-hs-count b { font-family: var(--mono); font-size: 15px; color: #f4faf5; }
.v2-hs-form {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  max-width: 640px;
  margin-left: auto;
  padding: 4px;
  background: var(--ink-2);
  border: 1px solid rgba(233, 245, 236, 0.16);
  border-radius: var(--r-md);
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.v2-hs-form:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(201, 244, 92, 0.16); }
.v2-hs-form .v2-search-prefix { font-size: 14px; }
.v2-hs-form input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 4px;
  background: transparent;
  border: 0;
  outline: 0;
  color: #f4faf5;
  font-family: var(--mono);
  font-size: 16px;
}
.v2-hs-form input::placeholder { color: #8a9a90; font-family: var(--font); }
body.v2 .v2-hs-form .v2-btn-accent { height: 40px; padding: 0 18px; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
body.v2 .v2-hs-form .v2-btn-accent .glyphicon { top: 0; }
@media (max-width: 767px) {
  .v2-hs-count { display: none; }
  .v2-home-sticky .container { height: 58px; }
  .v2-hs-form { max-width: none; margin-left: 0; }
  .v2-hs-form .v2-search-prefix { display: none; }
  body.v2 .v2-hs-form .v2-btn-accent { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-scan .v2-ring::before, .v2-hs-count i { animation: none; }
  .v2-home-sticky, .v2-chips li { transition: none; }
  .v2-chips li:hover { transform: none; }
}
.v2-section-head .v2-link-arrow { margin-bottom: 16px; }

/* ==========================================================================
   V4 : site vs site extras
   ========================================================================== */
/* Filled slots take their side colour */
body.v2 .v2-duel-slot.is-set:first-child .form-control:not(:focus) { border-color: rgba(255, 138, 76, 0.55); color: #ffd9c4; }
body.v2 .v2-duel-slot.is-set:last-child .form-control:not(:focus) { border-color: rgba(168, 145, 255, 0.6); color: #e2daff; }
body.v2 .v2-duel-slot .form-control[readonly] { border-color: rgba(255, 138, 76, 0.55); color: #ffd9c4; }
.v2-duel-slot label::after {
  content: "\f00c";
  font-family: FontAwesome;
  margin-left: auto;
  font-size: 11px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}
body.v2 .v2-duel-slot label { display: flex; }
.v2-duel-slot:first-child label::after { color: var(--site-a); }
.v2-duel-slot:last-child label::after { color: var(--site-b); }
.v2-duel-slot.is-set label::after { opacity: 1; transform: none; }

/* VS badge ignites once both sides are set */
.v2-duel-inputs .v2-duel-vs { position: relative; transition: transform 220ms var(--ease-out); }
.v2-duel-inputs .v2-duel-vs.is-armed { transform: scale(1.12); animation: v4-vs-glow 2.4s ease-in-out infinite; }
@keyframes v4-vs-glow {
  0%, 100% { box-shadow: 0 0 0 6px rgba(255, 61, 127, 0.2), 0 0 26px 4px rgba(255, 61, 127, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(255, 61, 127, 0.12), 0 0 44px 10px rgba(255, 106, 43, 0.5); }
}

/* Quick picks */
.v2-duel-picks { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 20px 0 4px; }
.v2-duel-picks-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #ff9dbd; white-space: nowrap; }
.v2-duel-picks-label i { margin-right: 4px; }
.v2-duel-picks ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.v2-duel-picks button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 6px 0 14px;
  border: 1px solid rgba(233, 245, 236, 0.16);
  border-radius: 999px;
  background: var(--ink-2);
  color: var(--ink-text);
  font-family: var(--mono);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 180ms var(--ease-out), background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}
.v2-duel-picks button:hover { border-color: var(--hot); background: rgba(255, 61, 127, 0.1); color: #fff; }
.v2-duel-picks button:active { transform: scale(0.97); }
.v2-duel-picks button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.v2-duel-picks b { display: grid; place-items: center; min-width: 26px; height: 24px; padding: 0 6px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.v2-duel-picks b.tone-good { background: rgba(201, 244, 92, 0.16); color: var(--accent); }
.v2-duel-picks b.tone-warn { background: rgba(240, 180, 60, 0.16); color: #f5c46a; }
.v2-duel-picks b.tone-bad { background: rgba(240, 106, 95, 0.16); color: #f58a80; }

/* Analyze button: fire glow */
body.v2 .v2-duel-submit .url-lg { box-shadow: 0 14px 34px -14px rgba(201, 244, 92, 0.7); }

/* Tiles below: fire underline on titles */
.v2-bento-3 .v2-tile h2 { position: relative; padding-bottom: 12px; }
.v2-bento-3 .v2-tile h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 3px; border-radius: 3px; background: currentColor; opacity: 0.35; }
.v2-bento-3 .v2-tile-ink h2::after { background: var(--grad-heat); opacity: 1; }

@media (max-width: 560px) {
  .v2-duel-picks ul { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; padding-bottom: 2px; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .v2-duel-picks li { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-duel-inputs .v2-duel-vs, .v2-duel-slot label::after { transition: none; }
  .v2-duel-inputs .v2-duel-vs.is-armed { transform: none; }
  .v2-duel-inputs .v2-duel-vs.is-armed { animation: none; }
}

/* ==========================================================================
   V4 : recent sites extras
   ========================================================================== */
/* Average ring halo */
.v2-feed-avg .v2-ring { position: relative; }
.v2-feed-avg .v2-ring::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--halo, rgba(240, 180, 60, 0.34)) 0%, transparent 68%);
  animation: v4-breathe 3.6s ease-in-out infinite;
}
.v2-feed-avg .v2-ring svg { position: relative; }
.v2-feed-avg.tone-good { --halo: rgba(201, 244, 92, 0.3); }
.v2-feed-avg.tone-warn { --halo: rgba(240, 180, 60, 0.34); }
.v2-feed-avg.tone-bad { --halo: rgba(240, 106, 95, 0.36); }
.v2-dist-bar .tone-good { box-shadow: 0 0 14px rgba(201, 244, 92, 0.45); }
.v2-dist-bar .tone-warn { box-shadow: 0 0 14px rgba(240, 180, 60, 0.45); }
.v2-dist-bar .tone-bad { box-shadow: 0 0 14px rgba(240, 106, 95, 0.5); }
.v2-dist-bar { overflow: visible; }

/* Filter counts */
.v2-filter button b {
  min-width: 24px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  text-align: center;
}
.v2-filter button b:empty { display: none; }
.v2-filter button.is-active b { background: var(--grad-heat); color: var(--accent-ink); }

/* Domain search */
.v2-feed-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 220px;
  max-width: 320px;
  height: 48px;
  margin: 0 0 0 auto;
  padding: 0 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 400;
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.v2-feed-search:focus-within { border-color: var(--hot); box-shadow: 0 0 0 4px rgba(255, 61, 127, 0.14); }
.v2-feed-search i { color: var(--hot); }
.v2-feed-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--mono);
  font-size: 15px;
}
.v2-feed-search input::placeholder { color: var(--muted); font-family: var(--font); }

/* Sticky toolbar */
.v2-feed-sentinel { height: 1px; }
.v2-feed-toolbar {
  position: sticky;
  top: calc(var(--nav-h) + 8px);
  z-index: 1010;
  padding: 0;
  border-radius: 999px;
  transition: background-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out), padding 200ms var(--ease-out);
}
.v2-feed-toolbar.is-stuck {
  padding: 6px 8px 6px 6px;
  background: rgba(14, 21, 18, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 16px 36px -18px rgba(14, 21, 18, 0.7), 0 0 0 1px rgba(255, 61, 127, 0.25);
}
.v2-feed-toolbar.is-stuck .v2-filter { background: transparent; border-color: transparent; }
.v2-feed-toolbar.is-stuck .v2-filter button { color: var(--ink-muted); }
.v2-feed-toolbar.is-stuck .v2-filter button:hover { background: var(--ink-2); color: #f4faf5; }
.v2-feed-toolbar.is-stuck .v2-filter button.is-active { background: var(--ink-3); color: #f4faf5; }
.v2-feed-toolbar.is-stuck .v2-filter button b { background: var(--ink-2); color: #f4faf5; }
.v2-feed-toolbar.is-stuck .v2-filter button.is-active b { background: var(--grad-heat); color: var(--accent-ink); }
.v2-feed-toolbar.is-stuck .v2-feed-search { background: var(--ink-2); border-color: rgba(233, 245, 236, 0.16); }
.v2-feed-toolbar.is-stuck .v2-feed-search input { color: #f4faf5; }
.v2-feed-toolbar.is-stuck .v2-page-ind { color: var(--ink-muted); padding-right: 10px; }
.v2-feed-toolbar.is-stuck .v2-page-ind b { color: #f4faf5; }

/* Cards: tone line under the screenshot */
.v2-recent-page .v2-site-shot { position: relative; border-bottom: 3px solid var(--line); }
.v2-recent-page .v2-site[data-tone="good"] .v2-site-shot { border-bottom-color: var(--accent); }
.v2-recent-page .v2-site[data-tone="warn"] .v2-site-shot { border-bottom-color: #f0b43c; }
.v2-recent-page .v2-site[data-tone="bad"] .v2-site-shot { border-bottom-color: #f06a5f; }

@media (max-width: 991px) {
  .v2-feed-toolbar.is-stuck .v2-page-ind { display: none; }
}
@media (max-width: 767px) {
  .v2-feed-toolbar { position: static; }
  .v2-feed-search { max-width: none; margin: 0; flex-basis: 100%; }
  .v2-page-ind { order: 3; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-feed-avg .v2-ring::before { animation: none; }
  .v2-feed-toolbar, .v2-feed-search { transition: none; }
}
body.v2 .v2-feed-search input,
body.v2 .v2-feed-search input:focus {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

/* ==========================================================================
   V4 : contact extras
   ========================================================================== */
/* Form card: fire top edge */
.v2-contact-form { position: relative; overflow: hidden; }
.v2-contact-form::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-fire); }

/* Progress meter */
.v2-form-progress { display: flex; align-items: center; gap: 14px; margin: -8px 0 24px; }
.v2-fp-bar { position: relative; flex: 1; height: 8px; border-radius: 999px; background: var(--paper); overflow: hidden; }
.v2-fp-bar i {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff8a2b, #ff3d7f 60%, #8b6cff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--ease-out);
}
.v2-contact-form.is-complete .v2-fp-bar i { background: linear-gradient(90deg, #c9f45c, #7fd13b); }
.v2-fp-count { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.v2-fp-count b { color: var(--text); font-weight: 600; }

/* Fields: pink focus, check mark when valid */
body.v2 .v2-contact-form .form-control:focus { border-color: var(--hot); box-shadow: 0 0 0 4px rgba(255, 61, 127, 0.14); }
body.v2 .v2-contact-form .form-group > label, body.v2 .v2-contact-form .captchaCode > label { display: flex; align-items: center; gap: 8px; }
body.v2 .v2-contact-form .form-group > label::after, body.v2 .v2-contact-form .captchaCode > label::after {
  content: "\f00c";
  font-family: FontAwesome;
  display: grid;
  place-items: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #e3f5e9;
  color: #146b3b;
  font-size: 10px;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}
body.v2 .v2-contact-form .is-valid > label::after { opacity: 1; transform: none; }
body.v2 .v2-contact-form .is-valid:not(.has-error) .form-control:not(:focus) { border-color: #9fd38a; }
body.v2 .v2-contact-form .captchaCode br { display: none; }
body.v2 .v2-contact-form .captchaCode .imagever { margin-bottom: 8px; }

/* Send button ignites when every field is filled */
body.v2 .v2-contact-submit .btn-send.is-ready {
  background: var(--grad-heat);
  border-color: transparent;
  color: var(--accent-ink);
  opacity: 1;
  box-shadow: 0 16px 34px -14px rgba(255, 61, 127, 0.75);
}
body.v2 .v2-contact-submit .btn-send.is-ready:hover { filter: saturate(1.15) brightness(1.03); }

/* Side panel: breathing glow around the icon */
.v2-contact-icon { animation: v4-icon-glow 3.2s ease-in-out infinite; }
@keyframes v4-icon-glow {
  0%, 100% { box-shadow: 0 0 0 8px rgba(255, 61, 127, 0.12), 0 12px 30px -10px rgba(255, 61, 127, 0.5); }
  50% { box-shadow: 0 0 0 14px rgba(255, 61, 127, 0.06), 0 16px 44px -8px rgba(255, 106, 43, 0.6); }
}
.v2-contact-links li:nth-child(2) a i:first-child { color: #ff6f9f; }
.v2-contact-links li:nth-child(3) a i:first-child { color: #a891ff; }
.v2-contact-links a:hover { border-color: rgba(255, 61, 127, 0.5); background: rgba(255, 61, 127, 0.08); }

@media (prefers-reduced-motion: reduce) {
  .v2-fp-bar i, body.v2 .v2-contact-form .form-group > label::after, body.v2 .v2-contact-form .captchaCode > label::after { transition: none; }
  .v2-contact-icon { animation: none; }
}
body.v2 .v2-contact-form .form-control:focus-visible { outline: 0; }

/* ==========================================================================
   V4 : account, profile, verification, static pages, compare nav
   ========================================================================== */
/* ---------- Shared form effects (.v2-fx is added by v2.js) ---------- */
body.v2 .v2-fx .form-group, body.v2 .v2-fx .captchaCode { position: relative; }
body.v2 .v2-fx .form-group::after, body.v2 .v2-fx .captchaCode::after {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  top: 0; right: 0;
  display: grid;
  place-items: center;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #e3f5e9;
  color: #146b3b;
  font-size: 10px;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out);
}
body.v2 .v2-fx .connect-with::after { display: none; }
body.v2 .v2-fx .is-valid::after { opacity: 1; transform: none; }
body.v2 .v2-fx .is-valid .form-input:not(:focus), body.v2 .v2-fx .is-valid .form-control:not(:focus) { border-color: #9fd38a; }
body.v2 .v2-fx .form-input:focus, body.v2 .v2-fx .form-control:focus { border-color: var(--hot); box-shadow: 0 0 0 4px rgba(255, 61, 127, 0.14); outline: 0; }
body.v2 .v2-fx [type="submit"] { transition: background-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out), filter 200ms var(--ease-out); }
body.v2 .v2-fx [type="submit"].is-ready {
  background: var(--grad-heat) !important;
  border-color: transparent !important;
  color: var(--accent-ink) !important;
  opacity: 1;
  box-shadow: 0 16px 34px -14px rgba(255, 61, 127, 0.75);
}
body.v2 .v2-fx [type="submit"].is-ready:hover { filter: saturate(1.15) brightness(1.03); }

/* Password toggle */
.v2-pw { position: relative; display: block; }
body.v2 .v2-pw input { padding-right: 48px !important; }
.v2-pw-toggle {
  position: absolute;
  right: 4px; bottom: 0;
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.v2-pw-toggle:hover, .v2-pw-toggle[aria-pressed="true"] { color: var(--hot); }

/* Strength meter */
.v2-strength { display: flex; align-items: center; gap: 12px; min-height: 22px; margin-top: 8px; }
.v2-strength-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; width: 132px; flex: none; }
.v2-strength-bar i { height: 6px; border-radius: 3px; background: var(--paper); border: 1px solid var(--line); transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out); }
.v2-strength-text { font-size: 13px; font-weight: 500; color: var(--muted); }
.v2-strength[data-level="0"] { visibility: hidden; }
.v2-strength[data-level="1"] i:nth-child(1) { background: #f06a5f; border-color: #f06a5f; }
.v2-strength[data-level="1"] .v2-strength-text { color: #9b2b24; }
.v2-strength[data-level="2"] i:nth-child(-n+2) { background: #f0b43c; border-color: #f0b43c; }
.v2-strength[data-level="2"] .v2-strength-text { color: #7a4f00; }
.v2-strength[data-level="3"] i { background: #7fd13b; border-color: #7fd13b; }
.v2-strength[data-level="3"] .v2-strength-text { color: #146b3b; }

/* ---------- Account ---------- */
.v2-auth-main { position: relative; overflow: hidden; }
.v2-auth-main::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-fire); }
.v2-auth-side .v2-contact-icon { animation: v4-icon-glow 3.2s ease-in-out infinite; }

/* ---------- Profile ---------- */
.v2-profile-avatar { animation: v4-avatar-glow 3.6s ease-in-out infinite; }
@keyframes v4-avatar-glow {
  0%, 100% { box-shadow: 0 0 0 6px rgba(255, 61, 127, 0.12), 0 0 28px 4px rgba(255, 61, 127, 0.35); }
  50% { box-shadow: 0 0 0 10px rgba(255, 106, 43, 0.1), 0 0 44px 10px rgba(139, 108, 255, 0.4); }
}

/* ---------- Verification (captcha before an analysis) ---------- */
.v2-verify {
  position: relative;
  max-width: 560px;
  margin: 8px auto 32px;
  padding: 40px;
  background: var(--ink);
  color: var(--ink-text);
  border-radius: 20px;
  overflow: hidden;
  text-align: center;
}
.v2-verify > * { position: relative; }
.v2-verify > .v2-report-grid { position: absolute; }
.v2-verify::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(420px 260px at 100% 0%, rgba(255, 61, 127, 0.28), transparent 70%), radial-gradient(380px 240px at 0% 100%, rgba(255, 106, 43, 0.22), transparent 70%);
}
.v2-verify::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-fire); }
.v2-verify-icon {
  display: inline-grid;
  place-items: center;
  width: 64px; height: 64px;
  border-radius: 18px;
  background: var(--grad-heat);
  color: var(--accent-ink);
  font-size: 28px;
  animation: v4-icon-glow 3.2s ease-in-out infinite;
}
.v2-verify-lead { margin: 20px auto 24px; max-width: 36ch; font-size: 17px; line-height: 1.5; color: #f4faf5; }
.v2-verify-form { display: flex; flex-direction: column; align-items: center; gap: 18px; }
body.v2 .v2-verify .captchaCode { margin: 0; display: flex; flex-direction: column; align-items: center; }
body.v2 .v2-verify .captchaCode > label, body.v2 .v2-verify .captchaCode br { display: none; }
body.v2 .v2-verify .captchaCode::after { display: none; }
body.v2 .v2-verify .imagever { margin-bottom: 12px; border-radius: 10px; border: 1px solid rgba(233, 245, 236, 0.16); }
body.v2 .v2-verify .phpCap { width: 260px !important; }
body.v2 .v2-verify .phpCap .form-control { height: 48px; background: var(--ink-2); border-color: rgba(233, 245, 236, 0.16); color: #f4faf5; font-family: var(--mono); font-size: 18px; letter-spacing: 0.2em; text-align: center; }
body.v2 .v2-verify .phpCap .input-group-addon { background: var(--ink-3); border-color: rgba(233, 245, 236, 0.16); color: var(--ink-text); cursor: pointer; }
body.v2 .v2-verify .btn-send { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 260px; height: 50px; border-radius: var(--r-md); font-size: 16px; font-weight: 600; }
body.v2 .v2-verify .btn-send:not(.is-ready) { opacity: 0.55; }

/* Blocked domain / words */
.v2-blocked {
  max-width: 560px;
  margin: 8px auto 32px;
  padding: 40px;
  text-align: center;
  background: var(--surface);
  border: 1px solid #f3c9c5;
  border-radius: 20px;
}
.v2-blocked-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #fbe5e3; color: #c0392b; font-size: 34px; }
.v2-blocked p { margin: 18px 0 24px; font-size: 17px; line-height: 1.55; color: #7d231c; }

/* ---------- Static pages ---------- */
body.v2 .v2-doc-page { float: none; width: 100%; }
.v2-doc-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; margin: 40px 0 16px; }
.v2-doc-layout.has-toc { grid-template-columns: minmax(0, 1fr) 260px; }
.v2-doc {
  position: relative;
  max-width: 76ch;
  padding: 44px 48px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  overflow: hidden;
}
.v2-doc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-fire); }
.v2-doc p { margin: 0 0 16px; text-wrap: pretty; }
.v2-doc .v2-doc-empty, .v2-doc .v2-doc-dup { display: none; }
.v2-doc .v2-doc-h, .v2-doc h2, .v2-doc h3 {
  position: relative;
  margin: 36px 0 14px;
  padding-bottom: 10px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.v2-doc > .v2-doc-h:first-child, .v2-doc > .v2-doc-dup + .v2-doc-h { margin-top: 0; }
.v2-doc .v2-doc-h::after { content: ""; position: absolute; left: 0; bottom: 0; width: 48px; height: 3px; border-radius: 3px; background: var(--grad-heat); }
.v2-doc .v2-doc-h strong, .v2-doc .v2-doc-h b { font-weight: inherit; }
.v2-doc ul, .v2-doc ol { margin: 0 0 18px; padding-left: 0; list-style: none; }
.v2-doc li { position: relative; margin-bottom: 10px; padding-left: 22px; }
.v2-doc ul > li::before { content: ""; position: absolute; left: 2px; top: 0.7em; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-heat); }
.v2-doc li em:first-child { font-style: normal; font-weight: 600; }
body.v2 .v2-doc a { color: #c2185b; text-decoration: underline; text-decoration-color: rgba(255, 61, 127, 0.4); text-underline-offset: 3px; }
.v2-doc a:hover { text-decoration-color: currentColor; }

.v2-doc-toc { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; padding: 22px; background: var(--ink); border-radius: 16px; color: var(--ink-text); }
.v2-doc-toc-title { margin: 0 0 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #ff9dbd; }
.v2-doc-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.v2-doc-toc li { counter-increment: toc; }
body.v2 .v2-doc-toc a {
  display: flex;
  gap: 10px;
  padding: 7px 10px;
  margin: 0 -10px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-muted);
  text-decoration: none;
  transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out);
}
body.v2 .v2-doc-toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); font-size: 12px; color: #6f8177; padding-top: 1px; }
body.v2 .v2-doc-toc a:hover { color: #f4faf5; background: var(--ink-2); text-decoration: none; }
body.v2 .v2-doc-toc a.is-active { color: #f4faf5; background: var(--ink-2); box-shadow: inset 3px 0 0 var(--hot); }
body.v2 .v2-doc-toc a.is-active::before { color: #ff8a4c; }

.v2-read-progress { position: fixed; left: 0; right: 0; top: var(--nav-h); height: 3px; z-index: 1020; pointer-events: none; }
.v2-read-progress i { display: block; height: 100%; background: var(--grad-fire); transform: scaleX(0); transform-origin: left; }

/* ---------- Compare: section navigation ---------- */
.v2-cmp-nav {
  position: sticky;
  top: calc(var(--nav-h) + 64px);
  z-index: 1015;
  display: flex;
  gap: 6px;
  margin: 8px 0 28px;
  padding: 6px;
  background: rgba(14, 21, 18, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  box-shadow: 0 16px 36px -20px rgba(14, 21, 18, 0.7), 0 0 0 1px rgba(255, 61, 127, 0.2);
  overflow-x: auto;
  scrollbar-width: none;
}
.v2-cmp-nav::-webkit-scrollbar { display: none; }
body.v2 .v2-cmp-nav a {
  flex: 1 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out);
}
body.v2 .v2-cmp-nav a:hover, body.v2 .v2-cmp-nav a:focus { color: #f4faf5; background: var(--ink-2); text-decoration: none; }
body.v2 .v2-cmp-nav a.is-active { background: var(--grad-heat); color: var(--accent-ink); }
.v2-cmp-nav a i { font-size: 13px; }
body.v2 #seo, body.v2 #usability, body.v2 #mobile, body.v2 #technologies, body.v2 #social, body.v2 #visitors, body.v2 #link-analysis { scroll-margin-top: calc(var(--nav-h) + 140px); }

@media (max-width: 991px) {
  .v2-doc-layout.has-toc { grid-template-columns: minmax(0, 1fr); }
  .v2-doc-toc { position: static; order: -1; }
}
@media (max-width: 767px) {
  .v2-doc { padding: 28px 22px; font-size: 16px; }
  .v2-verify, .v2-blocked { padding: 32px 22px; }
  .v2-cmp-nav { top: calc(var(--nav-h) + 58px); border-radius: var(--r-md); }
  .v2-cmp-nav a { flex: none; padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-profile-avatar, .v2-verify-icon, .v2-auth-side .v2-contact-icon { animation: none; }
  body.v2 .v2-fx .form-group::after, body.v2 .v2-fx .captchaCode::after, .v2-strength-bar i, .v2-cmp-nav a, .v2-doc-toc a { transition: none; }
}

/* ==========================================================================
   V4 : cookie consent banner
   ========================================================================== */
.v2-consent {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 1060;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.v2-consent[hidden] { display: none; }
.v2-consent-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  width: 100%;
  max-width: 1140px;
  padding: 22px 26px;
  background: rgba(14, 21, 18, 0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink-text);
  border-radius: 18px;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 61, 127, 0.25);
  overflow: hidden;
  pointer-events: auto;
  animation: v4-consent-in 320ms var(--ease-out) both;
}
.v2-consent-inner::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-fire); }
@keyframes v4-consent-in { from { opacity: 0; transform: translateY(16px); } }
.v2-consent-text { flex: 1; min-width: 0; }
body.v2 .v2-consent h2 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: #f4faf5; letter-spacing: -0.01em; }
.v2-consent h2 i { color: #ff8a4c; margin-right: 4px; }
.v2-consent p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-muted); max-width: 78ch; }
body.v2 .v2-consent p a { color: #ff9dbd; text-decoration: underline; text-underline-offset: 3px; }
.v2-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; flex: none; }
body.v2 .v2-consent-btn {
  height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(233, 245, 236, 0.22);
  border-radius: 10px;
  background: transparent;
  color: #f4faf5;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
body.v2 .v2-consent-btn:hover { background: var(--ink-2); border-color: rgba(233, 245, 236, 0.4); color: #fff; }
body.v2 .v2-consent-btn.is-primary { background: var(--grad-heat); border-color: transparent; color: var(--accent-ink); }
body.v2 .v2-consent-btn.is-primary:hover { filter: saturate(1.15) brightness(1.03); background: var(--grad-heat); color: var(--accent-ink); }
body.v2 .v2-consent-btn[data-consent="refuse"] { background: #f4faf5; border-color: #f4faf5; color: var(--ink); }
body.v2 .v2-consent-btn[data-consent="refuse"]:hover { background: #fff; color: var(--ink); }
body.v2 .v2-consent-btn:active { transform: scale(0.97); }
body.v2 .v2-consent-btn[hidden] { display: none; }

/* Preference switches */
.v2-consent-prefs { display: grid; gap: 10px; margin-top: 14px; }
.v2-consent-prefs[hidden] { display: none; }
body.v2 .v2-switch { display: flex; align-items: center; gap: 12px; margin: 0; font-size: 14px; font-weight: 500; color: #f4faf5; cursor: pointer; }
.v2-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.v2-switch span {
  position: relative;
  flex: none;
  width: 40px; height: 22px;
  border-radius: 999px;
  background: var(--ink-3);
  border: 1px solid rgba(233, 245, 236, 0.2);
  transition: background-color 160ms var(--ease-out);
}
.v2-switch span::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: #f4faf5;
  transition: transform 180ms var(--ease-out);
}
.v2-switch input:checked + span { background: var(--hot); border-color: transparent; }
.v2-switch input:checked + span::after { transform: translateX(18px); }
.v2-switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
body.v2 .v2-switch.is-locked { cursor: default; color: var(--ink-muted); }
.v2-switch.is-locked input:checked + span { background: #5d7a3a; }

/* Footer link */
.v2-footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
body.v2 .v2-cookie-link { padding: 0; border: 0; background: none; color: var(--ink-muted); font-size: 13px; cursor: pointer; }
body.v2 .v2-cookie-link:hover { color: #ff8a4c; }

@media (max-width: 860px) {
  .v2-consent-inner { flex-direction: column; align-items: stretch; gap: 16px; padding: 20px; }
  .v2-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  body.v2 .v2-consent-btn[data-consent="refuse"] { order: 1; }
  body.v2 .v2-consent-btn.is-primary { order: 2; }
  body.v2 .v2-consent-btn[data-consent="custom"], body.v2 .v2-consent-btn[data-consent="save"] { order: 3; grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .v2-consent { left: 8px; right: 8px; bottom: 8px; }
  .v2-consent p { font-size: 13.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-consent-inner { animation: none; }
  .v2-switch span, .v2-switch span::after, body.v2 .v2-consent-btn { transition: none; }
}
