/* =========================================================================
   Hostlino 2.0 — Design System
   Ported from the Hostlino 2.0 design prototype (DC export) to a real,
   dependency-free stylesheet. Scoped under .h2-root so it never leaks into
   wp-admin or other themes.
   ========================================================================= */

/* Fonts are enqueued separately in functions.php (no @import, no CDN). */

/* ---- Design tokens ---------------------------------------------------- */
.h2-root {
  --ink: #0F172A;
  --ink2: #64748B;
  --ink3: #94A3B8;
  --bg: #F5F8FC;
  --card: #FFFFFF;
  --line: #DCE5EF;
  --line2: #EDF2F8;
  --accent: #065C95;
  --accent2: #0879B8;
  --accentDark: #063E67;
  --accentSoft: #EAF5FC;
  --good: #10B981;
  --goodSoft: #E7F7F1;
  --warn: #F59E0B;
  --warnSoft: #FEF3E2;
  --danger: #EF4444;
  --dangerSoft: #FDECEC;

  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  font-family: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.h2-root *,
.h2-root *::before,
.h2-root *::after { box-sizing: border-box; }

.h2-root ::selection { background: rgba(6,92,149,.16); }

.h2-root .mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  direction: ltr;
  unicode-bidi: isolate;
}

/* ---- Keyframes -------------------------------------------------------- */
@keyframes h2-floaty  { 0%,100% { transform: translateY(0) }   50% { transform: translateY(-14px) } }
@keyframes h2-floaty2 { 0%,100% { transform: translateY(0) }   50% { transform: translateY(10px) } }
@keyframes h2-pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(30,158,106,.55) }
  70%  { box-shadow: 0 0 0 8px rgba(30,158,106,0) }
  100% { box-shadow: 0 0 0 0 rgba(30,158,106,0) }
}
@keyframes h2-blob {
  0%,100% { transform: translate(0,0) scale(1) }
  33%     { transform: translate(3%,-4%) scale(1.06) }
  66%     { transform: translate(-3%,3%) scale(.96) }
}
.h2-floaty  { animation: h2-floaty  7s ease-in-out infinite; }
.h2-floaty2 { animation: h2-floaty2 8s ease-in-out infinite; }
.h2-pulse   { animation: h2-pulseDot 2.2s infinite; }
.h2-blob    { animation: h2-blob 22s ease-in-out infinite; }
.h2-blob.slow { animation-duration: 26s; }

/* ---- Reset for the theme wrapper ------------------------------------- */
.h2-root h1, .h2-root h2, .h2-root h3, .h2-root p { margin: 0; }
.h2-root a { color: inherit; }
.h2-root button { font-family: inherit; }
.h2-root img { max-width: 100%; }

/* ---- Interaction helpers (replace DC's style-hover) ------------------ */
.h2-lift { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.h2-lift:hover { transform: translateY(-4px); }

.h2-cardhover { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s, background .35s; }
.h2-cardhover:hover {
  box-shadow: 0 24px 50px -28px rgba(23,27,34,.22);
  border-color: var(--accentSoft);
}

.h2-navlink { transition: background .2s, color .2s; }
.h2-navlink:hover { background: var(--line2); color: var(--ink); }

.h2-ghost { transition: background .2s, border-color .2s, color .2s; }
.h2-ghost:hover { background: var(--line2); }

.h2-btn-dark { transition: background .2s, transform .2s; }
.h2-btn-dark:hover { background: #000; }

.h2-btn-grad { transition: transform .2s, box-shadow .2s; }
.h2-btn-grad:hover { transform: translateY(-2px); }

.h2-btn-outline { transition: border-color .2s, color .2s; }
.h2-btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.h2-infra-tile { transition: border-color .35s, background .35s, box-shadow .35s; }
.h2-infra-tile:hover {
  border-color: var(--accentSoft);
  background: #fff;
  box-shadow: 0 14px 30px -20px rgba(23,27,34,.2);
}

.h2-plan { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s; }
.h2-plan:hover { transform: translateY(-5px); }

/* ---- Command Center tabs (JS-driven) --------------------------------- */
.h2-tab {
  flex: 1; min-width: 120px; padding: 11px 12px; border-radius: 11px;
  border: none; cursor: pointer; font-family: inherit; font-size: 13.5px;
  font-weight: 700; background: transparent; color: var(--ink2);
  transition: all .2s;
}
.h2-tab.is-active { background: var(--ink); color: #fff; }
.h2-panel { display: none; }
.h2-panel.is-active { display: block; }

/* ---- Responsive ------------------------------------------------------ */
@media (max-width: 960px) {
  .h2-hero-grid   { grid-template-columns: 1fr !important; gap: 44px !important; }
  .h2-infra-grid  { grid-template-columns: 1fr !important; gap: 36px !important; }
  .h2-labs-top    { grid-template-columns: 1fr !important; }
  .h2-replace-grid{ grid-template-columns: 1fr !important; gap: 22px !important; }
  .h2-replace-arrow { flex-direction: row !important; justify-content: center !important; }
  .h2-resp-4 { grid-template-columns: 1fr 1fr !important; }
  .h2-resp-5 { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 840px) {
  .h2-nav-mini { display: none !important; }
}
@media (max-width: 620px) {
  .h2-resp-3 { grid-template-columns: 1fr !important; }
  .h2-resp-4 { grid-template-columns: 1fr !important; }
  .h2-resp-5 { grid-template-columns: 1fr !important; }
  .h2-reassure { flex-direction: column !important; align-items: flex-start !important; }
  .h2-cc-health { grid-template-columns: 1fr !important; }
  .h2-cc-2col { grid-template-columns: 1fr !important; }
  .h2-hero-h1 { font-size: 34px !important; }
  .h2-section-h2 { font-size: 30px !important; }
}

/* ---- Mobile menu ----------------------------------------------------- */
.h2-mobile-menu { display: none; border-top: 1px solid var(--line); background: rgba(245,248,252,.98); }
.h2-mobile-menu.is-open { display: block; }

/* ---- WordPress nav menu (reads the site's existing menu) -------------- */
.h2-root .h2-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.h2-root .h2-menu li { margin: 0; }
.h2-root .h2-menu a {
  display: block; padding: 8px 12px; border-radius: 9px; font-size: 14.5px;
  color: var(--ink2); text-decoration: none; font-weight: 600; white-space: nowrap;
  transition: background .2s, color .2s;
}
.h2-root .h2-menu a:hover { background: var(--line2); color: var(--ink); }
.h2-root .h2-menu .current-menu-item > a,
.h2-root .h2-menu .current_page_item > a,
.h2-root .h2-menu .current-menu-ancestor > a { color: var(--ink); background: var(--line2); }

.h2-root .h2-menu-mobile { display: flex; flex-direction: column; gap: 2px; list-style: none; margin: 0; padding: 0; }
.h2-root .h2-menu-mobile a { display: block; padding: 11px 8px; border-radius: 9px; font-size: 15px; color: var(--ink); text-decoration: none; font-weight: 600; }
.h2-root .h2-menu-mobile a:hover { background: var(--line2); }

/* ---- Toggle groups (location / duration) ----------------------------- */
.h2-root .h2-toggle { display: inline-flex; gap: 4px; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 13px; flex-wrap: wrap; }
.h2-root .h2-toggle button {
  position: relative; padding: 9px 16px; border-radius: 9px; border: none; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 700; background: transparent; color: var(--ink2);
  transition: background .2s, color .2s; display: inline-flex; align-items: center; gap: 7px;
}
.h2-root .h2-toggle button.is-active { background: var(--ink); color: #fff; }
.h2-root .h2-toggle .h2-off-badge { font-size: 11px; font-weight: 800; color: var(--good); background: var(--goodSoft); padding: 2px 7px; border-radius: 999px; }
.h2-root .h2-toggle button.is-active .h2-off-badge { color: #fff; background: rgba(255,255,255,.2); }

/* ---- Range sliders --------------------------------------------------- */
.h2-root .h2-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; background: var(--line); outline: none; cursor: pointer; }
.h2-root .h2-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 2px 8px rgba(6,92,149,.35); cursor: pointer; margin-top: -1px; }
.h2-root .h2-slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 2px 8px rgba(6,92,149,.35); cursor: pointer; }

/* ---- FAQ accordion (native <details>) -------------------------------- */
.h2-root .h2-faq { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.h2-root .h2-faq + .h2-faq { margin-top: 12px; }
.h2-root .h2-faq summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; align-items: center; gap: 14px; font-size: 15.5px; font-weight: 700; color: var(--ink); }
.h2-root .h2-faq summary::-webkit-details-marker { display: none; }
.h2-root .h2-faq summary::after { content: '+'; margin-inline-start: auto; font-size: 22px; font-weight: 400; color: var(--accent); transition: transform .25s; line-height: 1; }
.h2-root .h2-faq[open] summary::after { transform: rotate(45deg); }
.h2-root .h2-faq .h2-faq-body { padding: 0 22px 20px 58px; font-size: 14px; line-height: 2; color: var(--ink2); }

/* ---- Landing-page tab list (exclusive features) ---------------------- */
.h2-root .h2-tablist { display: flex; flex-direction: column; gap: 10px; }
.h2-root .h2-tabcard {
  text-align: right; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 20px; cursor: pointer; font-family: inherit; transition: border-color .25s, box-shadow .25s, background .25s;
  display: flex; gap: 14px; align-items: flex-start;
}
.h2-root .h2-tabcard:hover { border-color: var(--accentSoft); }
.h2-root .h2-tabcard.is-active { border-color: var(--accent); box-shadow: 0 18px 40px -26px rgba(6,92,149,.4); }
.h2-root .h2-tabcard .h2-tabdesc { display: none; margin-top: 8px; font-size: 13.5px; line-height: 1.9; color: var(--ink2); }
.h2-root .h2-tabcard.is-active .h2-tabdesc { display: block; }

/* ---- Package description rich text (from API HTML) ------------------- */
.h2-root .h2-prose ul, .h2-root .h2-prose ol { list-style: none; padding: 0; margin: 6px 0; }
.h2-root .h2-prose li { position: relative; padding-inline-start: 18px; margin-bottom: 5px; line-height: 1.8; }
.h2-root .h2-prose li::before { content: '✓'; position: absolute; inset-inline-start: 0; top: 0; color: var(--good); font-weight: 700; }
.h2-root .h2-prose p { margin: 6px 0; }
.h2-root .h2-prose strong, .h2-root .h2-prose b { font-weight: 700; }
.h2-root .h2-prose a { color: var(--accent); text-decoration: underline; }

/* ---- Blog pagination ------------------------------------------------- */
.h2-root .h2-pagination { display: flex; justify-content: center; margin-top: 44px; }
.h2-root .h2-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.h2-root .h2-pagination .page-numbers {
  min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 11px; border: 1px solid var(--line); background: #fff; color: var(--ink2);
  font-weight: 700; font-size: 14px; text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.h2-root .h2-pagination a.page-numbers:hover { border-color: var(--accent); color: var(--accent); }
.h2-root .h2-pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.h2-root .h2-pagination .page-numbers.dots { border: none; background: transparent; }

/* ---- Single-post rich content (the_content) -------------------------- */
.h2-root .h2-post { font-size: 16px; line-height: 2.1; color: var(--ink); }
.h2-root .h2-post > * { margin: 0 0 22px; }
.h2-root .h2-post h2 { font-size: 26px; font-weight: 800; line-height: 1.5; margin: 36px 0 16px; letter-spacing: -.3px; }
.h2-root .h2-post h3 { font-size: 21px; font-weight: 800; line-height: 1.5; margin: 30px 0 14px; }
.h2-root .h2-post h4 { font-size: 18px; font-weight: 800; margin: 26px 0 12px; }
.h2-root .h2-post p { color: var(--ink); }
.h2-root .h2-post a { color: var(--accent); text-decoration: underline; }
.h2-root .h2-post ul, .h2-root .h2-post ol { padding-inline-start: 24px; color: var(--ink); }
.h2-root .h2-post li { margin-bottom: 8px; }
.h2-root .h2-post img, .h2-root .h2-post figure img { max-width: 100%; height: auto; border-radius: 16px; }
.h2-root .h2-post figure { margin: 26px 0; }
.h2-root .h2-post figcaption { font-size: 13px; color: var(--ink3); text-align: center; margin-top: 8px; }
.h2-root .h2-post blockquote {
  margin: 26px 0; padding: 18px 22px; border-inline-start: 4px solid var(--accent);
  background: var(--accentSoft); border-radius: 0 14px 14px 0; color: var(--ink); font-weight: 500;
}
.h2-root .h2-post blockquote p:last-child { margin-bottom: 0; }
.h2-root .h2-post code { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .9em; background: var(--line2); padding: 2px 6px; border-radius: 6px; direction: ltr; unicode-bidi: isolate; }
.h2-root .h2-post pre { background: #171B22; color: #fff; padding: 18px 20px; border-radius: 14px; overflow-x: auto; direction: ltr; text-align: left; }
.h2-root .h2-post pre code { background: none; padding: 0; color: inherit; }
.h2-root .h2-post h1:first-child, .h2-root .h2-post h2:first-child, .h2-root .h2-post p:first-child { margin-top: 0; }

/* ---- Accessibility: skip link + focus ------------------------------- */
.h2-skip {
  position: fixed; top: -80px; inset-inline-start: 12px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; font-size: 14px;
  text-decoration: none; transition: top .2s;
}
.h2-skip:focus { top: 12px; }
.h2-root a:focus-visible, .h2-root button:focus-visible, .h2-root input:focus-visible, .h2-root summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 6px;
}

/* ---- Anchored sections clear the sticky header ----------------------- */
.h2-root section[id] { scroll-margin-top: 84px; }

/* ---- Sticky mobile CTA ----------------------------------------------- */
.h2-sticky-cta { display: none; }
/* reserve space so the floating CTA never covers the footer */
@media (max-width: 720px) { .h2-root { padding-bottom: 76px; } }
@media (max-width: 720px) {
  .h2-sticky-cta {
    display: flex; position: fixed; inset-inline: 12px; bottom: 12px; z-index: 60;
    align-items: center; gap: 10px; padding: 11px 16px; border-radius: 14px;
    background: var(--accent); color: #fff; text-decoration: none; font-weight: 800; font-size: 15px;
    box-shadow: 0 12px 30px -10px rgba(6,92,149,.55); justify-content: center;
  }
}

/* ---- Free-audit form states ------------------------------------------ */
.h2-audit [data-audit-state] { display: none; }
.h2-audit.is-idle [data-audit-state="idle"],
.h2-audit.is-loading [data-audit-state="loading"],
.h2-audit.is-success [data-audit-state="success"],
.h2-audit.is-error [data-audit-state="error"] { display: block; }

/* ---- Footer grid ----------------------------------------------------- */
@media (max-width: 900px) { .h2-root .h2-foot-grid { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 520px) { .h2-root .h2-foot-grid { grid-template-columns: 1fr !important; } }

/* ---- Product-pillar accent variants ---------------------------------- */
.h2-pillar { transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.h2-pillar:hover { transform: translateY(-5px); box-shadow: 0 26px 54px -30px rgba(6,92,149,.28); border-color: var(--accent); }

/* ---- Respect reduced-motion (helps perf on low-end devices) ---------- */
@media (prefers-reduced-motion: reduce) {
  .h2-root * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* ====================================================================== */
/* ==  Header navigation (structured: Smart Hosting / Tools / How / Resources)  == */
/* ====================================================================== */
.h2-root .h2-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,248,252,.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background .25s ease;
}
.h2-root .h2-header.is-scrolled {
  background: rgba(245,248,252,.94);
  box-shadow: 0 6px 20px -14px rgba(15,23,42,.45);
}
.h2-root .h2-header-inner {
  max-width: 1220px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; gap: 24px;
  transition: padding .25s ease;
}
.h2-root .h2-header.is-scrolled .h2-header-inner { padding: 9px 28px; }

.h2-root .h2-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.h2-root .h2-logo-mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: linear-gradient(135deg,var(--accent),var(--accent2));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(6,92,149,.32);
}
.h2-root .h2-logo-dot { width: 11px; height: 11px; border-radius: 50%; border: 2.5px solid #fff; }
.h2-root .h2-logo-name { font-weight: 800; font-size: 19px; letter-spacing: -.3px; color: var(--ink); }

.h2-root .h2-nav-mini { display: flex; align-items: center; margin-inline-start: 6px; }
.h2-root .h2-navlist { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.h2-root .h2-navlist > li { margin: 0; position: relative; }
.h2-root .h2-navlink {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 13px; border-radius: 10px; font-size: 14.5px; font-weight: 600;
  color: var(--ink2); text-decoration: none; white-space: nowrap;
  background: none; border: 0; cursor: pointer; font-family: inherit;
  transition: background .2s, color .2s;
}
.h2-root .h2-navlink:hover { background: var(--line2); color: var(--ink); }
.h2-root .h2-caret {
  width: 7px; height: 7px; border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin-top: -3px; opacity: .7; transition: transform .2s;
}
.h2-root .h2-nav-has-dd:hover .h2-caret,
.h2-root .h2-nav-has-dd:focus-within .h2-caret,
.h2-root .h2-nav-has-dd.is-open .h2-caret { transform: rotate(-135deg); margin-top: 2px; }

/* Dropdown panel */
.h2-root .h2-dd {
  position: absolute; top: 100%; inset-inline-start: 0; margin-top: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 24px 60px -24px rgba(15,23,42,.30), 0 6px 18px -12px rgba(15,23,42,.14);
  padding: 12px; z-index: 60;
  opacity: 0; visibility: hidden; transform: translateY(6px); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.h2-root .h2-dd::before { content: ""; position: absolute; top: -12px; inset-inline: 0; height: 12px; } /* hover bridge */
.h2-root .h2-nav-has-dd:hover > .h2-dd,
.h2-root .h2-nav-has-dd:focus-within > .h2-dd,
.h2-root .h2-nav-has-dd.is-open > .h2-dd { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }

.h2-root .h2-dd-tools { display: flex; gap: 10px; width: min(720px, 92vw); }
.h2-root .h2-dd-col-main { flex: 1.5; }
.h2-root .h2-dd-col-infra { flex: 1; border-inline-start: 1px solid var(--line2); padding-inline-start: 10px; }
.h2-root .h2-dd-sm { width: 230px; display: flex; flex-direction: column; }
.h2-root .h2-dd-menu { width: min(320px, 92vw); display: flex; flex-direction: column; gap: 2px; }
.h2-root .h2-dd-h {
  font-size: 11.5px; font-weight: 800; color: var(--ink3); text-transform: none;
  letter-spacing: .2px; padding: 6px 10px 8px;
}
.h2-root .h2-dd-item {
  display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; border-radius: 11px;
  text-decoration: none; color: var(--ink); transition: background .15s;
}
.h2-root .h2-dd-item:hover { background: var(--bg); }
.h2-root .h2-dd-item-plain { display: block; font-size: 14px; font-weight: 600; color: var(--ink2); padding: 10px; }
.h2-root .h2-dd-item-plain:hover { background: var(--bg); color: var(--ink); }
.h2-root .h2-dd-ic {
  width: 30px; height: 30px; border-radius: 9px; flex: none; margin-top: 1px;
  background: var(--accentSoft); border: 1px solid rgba(6,92,149,.14);
  position: relative;
}
.h2-root .h2-dd-ic::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 11px; height: 11px;
  border-radius: 4px; background: var(--accent);
}
.h2-root .h2-dd-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.h2-root .h2-dd-t { font-size: 14px; font-weight: 700; color: var(--ink); display: inline-flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.h2-root .h2-dd-d { font-size: 12px; color: var(--ink2); line-height: 1.6; }
.h2-root .h2-dd-empty { font-size: 12.5px; color: var(--ink3); padding: 8px 10px; line-height: 1.7; }
.h2-root .h2-badge {
  font-size: 10.5px; font-weight: 800; color: var(--accent);
  background: var(--accentSoft); border: 1px solid rgba(6,92,149,.18);
  border-radius: 999px; padding: 2px 8px; white-space: nowrap;
}
.h2-root .h2-dd-item-pro { background: var(--accentSoft); border: 1px solid rgba(6,92,149,.12); margin-bottom: 6px; }
.h2-root .h2-dd-item-pro:hover { background: #E1F0FA; }
.h2-root .h2-dd-item-pro .h2-dd-ic { background: #fff; }

.h2-root .h2-header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.h2-root .h2-login { padding: 9px 14px; border-radius: 10px; font-size: 14.5px; color: var(--ink); text-decoration: none; font-weight: 600; }
.h2-root .h2-cta {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 11px;
  font-size: 14.5px; color: #fff; text-decoration: none; font-weight: 700;
  background: linear-gradient(135deg,var(--accent),var(--accent2));
  box-shadow: 0 8px 20px -6px rgba(6,92,149,.5);
}
.h2-root .h2-burger {
  width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line); background: #fff;
  display: none; align-items: center; justify-content: center; cursor: pointer;
}
.h2-root .h2-burger-bars { display: block; width: 16px; height: 2px; background: var(--ink); box-shadow: 0 5px 0 var(--ink), 0 -5px 0 var(--ink); }

/* Mobile menu (accordion) */
.h2-root .h2-mobile-inner { max-width: 1220px; margin: 0 auto; padding: 10px 22px 18px; }
.h2-root .h2-m-link { display: block; padding: 13px 8px; border-radius: 10px; font-size: 15.5px; font-weight: 700; color: var(--ink); text-decoration: none; }
.h2-root .h2-m-link:hover { background: var(--line2); }
.h2-root .h2-acc { border-radius: 10px; }
.h2-root .h2-acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 13px 8px; border: 0; background: none; font-family: inherit;
  font-size: 15.5px; font-weight: 700; color: var(--ink); cursor: pointer; border-radius: 10px;
}
.h2-root .h2-acc-btn:hover { background: var(--line2); }
.h2-root .h2-acc-panel { display: none; padding: 2px 6px 10px; }
.h2-root .h2-acc.is-open .h2-acc-panel { display: block; }
.h2-root .h2-acc.is-open .h2-caret { transform: rotate(-135deg); margin-top: 2px; }
.h2-root .h2-acc-h { font-size: 11.5px; font-weight: 800; color: var(--ink3); padding: 8px 10px 4px; }
.h2-root .h2-m-sub { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 9px; font-size: 14.5px; font-weight: 600; color: var(--ink2); text-decoration: none; }
.h2-root .h2-m-sub:hover { background: var(--bg); color: var(--ink); }
.h2-root .h2-m-sub-pro { color: var(--ink); }
.h2-root .h2-mobile-cta { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.h2-root .h2-m-login { flex: none; padding: 12px 14px; border-radius: 10px; font-size: 15px; font-weight: 700; color: var(--accent); text-decoration: none; border: 1px solid var(--line); }
.h2-root .h2-m-cta { flex: 1; justify-content: center; padding: 12px 18px; border-radius: 11px; font-size: 15px; }

/* Header responsive: collapse to burger */
@media (max-width: 900px) {
  .h2-root .h2-dd-tools { width: min(560px, 92vw); }
}
@media (max-width: 840px) {
  .h2-root .h2-nav-mini { display: none !important; }
  .h2-root .h2-burger { display: inline-flex; }
  .h2-root .h2-login { display: none; }
}
@media (max-width: 520px) {
  .h2-root .h2-cta { display: none; }
  .h2-root .h2-header-inner { padding: 12px 18px; gap: 14px; }
}

/* ====================================================================== */
/* ==  Smart-Hosting product page components                            == */
/* ====================================================================== */
.h2-root .h2-demo-tag {
  display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 800;
  color: var(--warn); background: var(--warnSoft); border: 1px solid rgba(245,158,11,.28);
  border-radius: 999px; padding: 2px 9px; white-space: nowrap;
}

/* Comparison table */
.h2-root .h2-cmp { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #fff; }
.h2-root .h2-cmp-head, .h2-root .h2-cmp-row { display: grid; grid-template-columns: .9fr 1fr 1.15fr; align-items: center; }
.h2-root .h2-cmp-head { background: var(--bg); font-size: 12.5px; font-weight: 800; color: var(--ink3); }
.h2-root .h2-cmp-head > div { padding: 14px 18px; }
.h2-root .h2-cmp-head .h2-cmp-c3 { color: var(--accent); background: var(--accentSoft); }
.h2-root .h2-cmp-row { border-top: 1px solid var(--line2); font-size: 13.5px; }
.h2-root .h2-cmp-row > div { padding: 15px 18px; }
.h2-root .h2-cmp-c1 { font-weight: 800; color: var(--ink); }
.h2-root .h2-cmp-c2 { color: var(--ink2); display: flex; align-items: center; gap: 9px; }
.h2-root .h2-cmp-c3 { color: var(--ink); font-weight: 600; display: flex; align-items: center; gap: 9px; background: var(--accentSoft); }
.h2-root .h2-cmp-x { width: 18px; height: 18px; border-radius: 50%; background: var(--line); color: var(--ink3); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.h2-root .h2-cmp-ok { width: 18px; height: 18px; border-radius: 50%; background: var(--good); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; flex: none; }
@media (max-width: 680px) {
  .h2-root .h2-cmp-head { display: none; }
  .h2-root .h2-cmp-row { grid-template-columns: 1fr; }
  .h2-root .h2-cmp-row > div { padding: 9px 16px; }
  .h2-root .h2-cmp-c1 { padding-top: 15px; font-size: 14px; }
  .h2-root .h2-cmp-c3 { padding-bottom: 15px; }
}

/* Scenario cards */
.h2-root .h2-scn { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.h2-root .h2-scn-n { display: inline-flex; width: 34px; height: 34px; border-radius: 10px; background: var(--warnSoft); color: var(--warn); align-items: center; justify-content: center; font-weight: 900; margin-bottom: 14px; }

/* Feature groups */
.h2-root .h2-fgroup { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.h2-root .h2-fgroup-ic { display: flex; width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--accent); align-items: center; justify-content: center; margin-bottom: 16px; }
.h2-root .h2-fgroup-ic > span { width: 14px; height: 14px; border-radius: 5px; display: block; }

/* AI demo messages */
.h2-root .h2-ai-msg { display: flex; gap: 9px; align-items: flex-start; padding: 11px 12px; border: 1px solid var(--line2); border-radius: 12px; margin-bottom: 8px; font-size: 12.5px; color: var(--ink); line-height: 1.75; background: var(--bg); }
.h2-root .h2-ai-msg:last-child { margin-bottom: 0; }
.h2-root .h2-ai-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; margin-top: 6px; }

/* Product tour */
.h2-root .h2-tour-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 6px; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; -webkit-overflow-scrolling: touch; }
.h2-root .h2-tour-tab { flex: none; padding: 9px 15px; border-radius: 10px; border: 0; background: transparent; font-family: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink2); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.h2-root .h2-tour-tab:hover { color: var(--ink); }
.h2-root .h2-tour-tab.is-active { background: #fff; color: var(--accent); box-shadow: 0 2px 8px -3px rgba(15,23,42,.2); }
.h2-root .h2-tour-body { margin-top: 18px; }
.h2-root .h2-tour-mock { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 20px 50px -36px rgba(15,23,42,.3); }
.h2-root .h2-tour-mock-head { display: flex; align-items: center; gap: 9px; padding-bottom: 14px; border-bottom: 1px solid var(--line2); }

/* ====================================================================== */
/* ==  Smart-Host conversion journey                                    == */
/* ====================================================================== */
/* Hero product stage */
.h2-root .h2-stage-step { color: var(--ink3); background: var(--bg); border: 1px solid var(--line2); transition: background .2s, color .2s; }
.h2-root .h2-stage-step.is-active { color: #fff; background: linear-gradient(135deg,var(--accent),var(--accent2)); border-color: transparent; }
.h2-root .h2-stage-body { position: relative; min-height: 96px; }
.h2-root .h2-stage-panel { display: none; }
.h2-root .h2-stage-panel.is-active { display: block; animation: h2-fade .4s ease; }
@keyframes h2-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* Diagnosis */
.h2-root .h2-diag-tab { padding: 10px 16px; border-radius: 11px; border: 1px solid var(--line); background: #fff; font-family: inherit; font-size: 14px; font-weight: 700; color: var(--ink2); cursor: pointer; transition: all .2s; }
.h2-root .h2-diag-tab:hover { color: var(--ink); border-color: var(--accent); }
.h2-root .h2-diag-tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.h2-root .h2-diag-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: 0 20px 50px -36px rgba(15,23,42,.3); }
.h2-root .h2-diag-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.h2-root .h2-diag-cell { background: var(--bg); border: 1px solid var(--line2); border-radius: 13px; padding: 14px 15px; }
.h2-root .h2-diag-k { font-size: 11.5px; font-weight: 800; color: var(--ink3); margin-bottom: 6px; }
.h2-root .h2-diag-v { font-size: 13px; color: var(--ink); line-height: 1.8; }
@media (max-width: 720px) { .h2-root .h2-diag-grid { grid-template-columns: 1fr; } }

/* Plan finder */
.h2-root .h2-finder { background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.h2-root .h2-finder-q { margin-bottom: 18px; }
.h2-root .h2-finder-qh { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.h2-root .h2-finder-n { width: 26px; height: 26px; border-radius: 8px; background: var(--accentSoft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; flex: none; }
.h2-root .h2-finder-opts { display: flex; flex-wrap: wrap; gap: 9px; }
.h2-root .h2-finder-opt { padding: 11px 16px; border-radius: 11px; border: 1px solid var(--line); background: #fff; font-family: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink2); cursor: pointer; transition: all .18s; }
.h2-root .h2-finder-opt:hover { border-color: var(--accent); color: var(--ink); }
.h2-root .h2-finder-opt.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.h2-root .h2-finder-result { margin-top: 6px; background: #fff; border: 1px solid var(--accent); border-radius: 16px; padding: 24px; }
.h2-root .h2-finder-rec-badge { display: inline-flex; font-size: 11.5px; font-weight: 800; color: var(--accent); background: var(--accentSoft); border-radius: 999px; padding: 3px 11px; margin-bottom: 10px; }
.h2-root .h2-finder-rec-name { font-size: 22px; font-weight: 900; color: var(--ink); }
.h2-root .h2-finder-rec-why { font-size: 13.5px; color: var(--ink2); line-height: 1.8; margin-top: 6px; }
.h2-root .h2-finder-rec-list { list-style: none; margin: 14px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.h2-root .h2-finder-rec-list li { position: relative; padding-inline-start: 20px; font-size: 13px; color: var(--ink); }
.h2-root .h2-finder-rec-list li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--good); font-weight: 800; font-size: 11px; }
.h2-root .h2-finder-rec-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.h2-root .h2-finder-go { display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 12px; background: linear-gradient(135deg,var(--accent),var(--accent2)); color: #fff; text-decoration: none; font-weight: 800; font-size: 14.5px; box-shadow: 0 10px 24px -8px rgba(6,92,149,.5); }
.h2-root .h2-finder-see { padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-family: inherit; font-weight: 700; font-size: 14px; color: var(--ink); cursor: pointer; }

/* Recommended plan highlight */
.h2-root .h2-plan.is-rec { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Mobile sticky conversion bar */
.h2-root .h2-smart-sticky { position: fixed; inset-inline: 12px; bottom: 12px; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px -14px rgba(15,23,42,.4); transition: transform .3s ease, opacity .3s ease; }
.h2-root .h2-smart-sticky.is-hidden { transform: translateY(160%); opacity: 0; pointer-events: none; }
.h2-root .h2-smart-sticky-price { display: flex; flex-direction: column; line-height: 1.2; }
.h2-root .h2-smart-sticky-btn { margin-inline-start: auto; flex: none; padding: 12px 22px; border-radius: 12px; background: linear-gradient(135deg,var(--accent),var(--accent2)); color: #fff; text-decoration: none; font-weight: 800; font-size: 15px; box-shadow: 0 8px 20px -6px rgba(6,92,149,.5); }

/* ====================================================================== */
/* ==  Smart-Host visual storytelling                                   == */
/* ====================================================================== */
/* Not-just-hosting strip */
@media (max-width: 900px) { .h2-root .h2-resp-6 { grid-template-columns: repeat(3,1fr) !important; } }
@media (max-width: 480px) { .h2-root .h2-resp-6 { grid-template-columns: repeat(2,1fr) !important; } }

/* Before / After */
.h2-root .h2-ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: stretch; }
.h2-root .h2-ba-before { background: #F3F5F8; border: 1px dashed var(--line); border-radius: 18px; padding: 22px; }
.h2-root .h2-ba-after { background: #fff; border: 1px solid var(--accent); border-radius: 18px; padding: 22px; box-shadow: 0 20px 50px -36px rgba(6,92,149,.35); }
.h2-root .h2-ba-title { font-size: 13px; font-weight: 800; color: var(--ink3); }
.h2-root .h2-ba-after .h2-ba-title { color: var(--accent); }
.h2-root .h2-ba-chip { font-size: 11.5px; font-weight: 700; color: var(--ink3); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; font-family: 'JetBrains Mono', ui-monospace, monospace; }
.h2-root .h2-ba-arrow { display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 22px; }
.h2-root .h2-ba-arrow span { transform: scaleX(-1); }
@media (max-width: 760px) {
  .h2-root .h2-ba { grid-template-columns: 1fr; }
  .h2-root .h2-ba-arrow { transform: rotate(90deg); padding: 4px 0; }
}

/* Journey timeline */
.h2-root .h2-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); gap: 18px 14px; }
.h2-root .h2-tl-step { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 8px; }
.h2-root .h2-tl-dot { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg,var(--accent),var(--accent2)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; box-shadow: 0 6px 16px -6px rgba(6,92,149,.5); }
.h2-root .h2-tl-title { font-size: 14px; font-weight: 800; color: var(--ink); }
.h2-root .h2-tl-desc { font-size: 12px; color: var(--ink2); line-height: 1.7; }
.h2-root .h2-tl-status { display: inline-flex; align-self: flex-start; font-size: 10.5px; font-weight: 800; color: var(--accent); background: var(--accentSoft); border-radius: 999px; padding: 2px 9px; }
@media (max-width: 900px) { .h2-root .h2-timeline { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px) { .h2-root .h2-timeline { grid-template-columns: 1fr; } }

/* Management center (nav + panel) */
.h2-root .h2-mc { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: start; }
.h2-root .h2-mc-nav { display: flex; flex-direction: column; gap: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 8px; }
.h2-root .h2-mc-tab { text-align: start; padding: 11px 14px; border-radius: 10px; border: 0; background: transparent; font-family: inherit; font-size: 13.5px; font-weight: 700; color: var(--ink2); cursor: pointer; transition: background .2s, color .2s; }
.h2-root .h2-mc-tab:hover { color: var(--ink); }
.h2-root .h2-mc-tab.is-active { background: #fff; color: var(--accent); box-shadow: 0 2px 8px -3px rgba(15,23,42,.2); }
.h2-root .h2-mc-mock { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: 0 20px 50px -36px rgba(15,23,42,.3); }
@media (max-width: 820px) {
  .h2-root .h2-mc { grid-template-columns: 1fr; }
  .h2-root .h2-mc-nav { flex-direction: row; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .h2-root .h2-mc-tab { flex: none; white-space: nowrap; }
}

/* ====================================================================== */
/* ==  Smart-Host interactive landing (feature explorer + resources)    == */
/* ====================================================================== */
.h2-root .h2-feat-cat { padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-family: inherit; font-size: 13px; font-weight: 700; color: var(--ink2); cursor: pointer; transition: all .18s; }
.h2-root .h2-feat-cat:hover { color: var(--ink); border-color: var(--accent); }
.h2-root .h2-feat-cat.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.h2-root .h2-feat-card { transition: border-color .2s, box-shadow .2s, transform .2s; }
.h2-root .h2-feat-card:hover { border-color: var(--accent); box-shadow: 0 14px 30px -22px rgba(6,92,149,.4); transform: translateY(-2px); }

.h2-root .h2-rchart { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; box-shadow: 0 20px 50px -40px rgba(15,23,42,.3); }
.h2-root .h2-rchart-tabs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.h2-root .h2-rchart-tab { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font-family: inherit; font-size: 13px; font-weight: 700; color: var(--ink2); cursor: pointer; transition: all .18s; }
.h2-root .h2-rchart-tab:hover { color: var(--ink); }
.h2-root .h2-rchart-tab.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ====================================================================== */
/* ==  Motion layer (entrance animations; JS adds .h2-motion, disabled   == */
/* ==  entirely under prefers-reduced-motion)                            == */
/* ====================================================================== */
.h2-root.h2-motion .h2-reveal { opacity: 0; transform: translateY(16px); }
.h2-root.h2-motion .h2-reveal.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
/* stagger the pricing cards a touch */
.h2-root.h2-motion .h2-plan:nth-child(2).is-in { transition-delay: .07s; }
.h2-root.h2-motion .h2-plan:nth-child(3).is-in { transition-delay: .14s; }
/* tab crossfade */
.h2-root.h2-motion .h2-panel.is-active { animation: h2-fade .35s ease; }
/* resources chart line draw (pathLength=1) */
@keyframes h2-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.h2-root.h2-motion [data-rchart-line].h2-draw { stroke-dasharray: 1; animation: h2-draw 1.1s cubic-bezier(.2,.7,.2,1) forwards; }
@media (prefers-reduced-motion: reduce) {
  .h2-root .h2-reveal { opacity: 1 !important; transform: none !important; }
}

/* ====================================================================== */
/* ==  Free Site Health Check tool (scoped under .h2-health)            == */
/* ====================================================================== */

/* screen-reader-only live region */
.h2-root .h2-sr-live { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* generic 2-col responsive helper used by this tool */
.h2-root .h2-resp-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---- domain form ---- */
.h2-root .h2-health-label { display: block; font-size: 13px; font-weight: 700; color: var(--ink2); margin-bottom: 8px; }
.h2-root .h2-health-field { display: flex; gap: 10px; align-items: stretch; }
.h2-root .h2-health-input {
  flex: 1; min-width: 0; font-family: inherit; font-size: 16px; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 15px 16px;
  transition: border-color .18s, box-shadow .18s;
}
.h2-root .h2-health-input::placeholder { color: var(--ink3); }
.h2-root .h2-health-input:focus { outline: none; border-color: var(--accent2); box-shadow: 0 0 0 4px rgba(8,121,184,.14); }
.h2-root .h2-health-input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(239,68,68,.12); }
.h2-root .h2-health-submit {
  flex: none; font-family: inherit; font-size: 15.5px; font-weight: 800; color: #fff; cursor: pointer;
  background: linear-gradient(135deg,var(--accent),var(--accent2)); border: 0; border-radius: 14px;
  padding: 15px 24px; box-shadow: 0 12px 28px -10px rgba(6,92,149,.6); transition: transform .18s, box-shadow .18s, opacity .18s;
}
.h2-root .h2-health-submit:hover { transform: translateY(-2px); }
.h2-root .h2-health-submit[disabled] { opacity: .7; cursor: default; transform: none; }
.h2-root .h2-health-submit[aria-busy="true"] > [data-health-submit-label] { position: relative; padding-inline-start: 22px; }
.h2-root .h2-health-submit[aria-busy="true"] > [data-health-submit-label]::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: h2-health-spin .7s linear infinite;
}
@keyframes h2-health-spin { to { transform: rotate(360deg); } }
.h2-root .h2-health-error { margin: 10px 0 0; font-size: 13px; font-weight: 600; color: var(--danger); }
.h2-root .h2-health-hint { margin: 12px 0 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink2); }
.h2-root .h2-health-hint > span:not([aria-hidden]) { display: inline-flex; align-items: center; }
.h2-root .h2-health-hint > span:not([aria-hidden])::before { content: '✓'; margin-inline-end: 5px; color: var(--good); font-weight: 800; font-size: 11px; }
.h2-root .h2-health-hint > [aria-hidden] { color: var(--ink3); }

/* ---- stage + card shell ---- */
.h2-root .h2-health-stage { max-width: 1000px; margin: 34px auto 0; }
.h2-root .h2-health-card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 70px -40px rgba(15,23,42,.32); padding: 26px; }

/* ---- progress ---- */
.h2-root .h2-health-progress-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.h2-root .h2-health-progress-domain { font-size: 14px; font-weight: 800; color: var(--ink); }
.h2-root .h2-health-progress-step { font-size: 13px; color: var(--ink2); margin-top: 3px; }
.h2-root .h2-health-progress-pct { font-size: 22px; font-weight: 900; color: var(--accent); flex: none; }
.h2-root .h2-health-bar { height: 10px; border-radius: 999px; background: var(--line2); overflow: hidden; }
.h2-root .h2-health-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg,var(--accent),var(--accent2)); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.h2-root .h2-health-timeline { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; }
.h2-root .h2-health-tl-item { display: flex; align-items: center; gap: 11px; padding: 9px 2px; border-bottom: 1px solid var(--line2); }
.h2-root .h2-health-tl-item:last-child { border-bottom: 0; }
.h2-root .h2-health-tl-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--ink3); flex: none; box-sizing: border-box; }
.h2-root .h2-health-tl-dot.is-running { animation: h2-health-pulse 1.3s ease-in-out infinite; }
@keyframes h2-health-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(8,121,184,.4); } 50% { box-shadow: 0 0 0 6px rgba(8,121,184,0); } }
.h2-root .h2-health-tl-label { font-size: 13.5px; font-weight: 600; color: var(--ink); flex: 1; }
.h2-root .h2-health-tl-state { font-size: 12px; font-weight: 700; flex: none; }
.h2-root .h2-health-note { margin-top: 16px; background: var(--accentSoft); border: 1px solid rgba(6,92,149,.12); border-radius: 12px; padding: 12px 14px; font-size: 12.5px; color: var(--ink2); line-height: 1.7; }

/* ---- result header ---- */
.h2-root .h2-health-result-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; outline: none; }
.h2-root .h2-health-result-domain { font-size: 16px; font-weight: 800; color: var(--ink); }
.h2-root .h2-health-result-status { font-size: 13px; color: var(--ink2); margin-top: 3px; }
.h2-root .h2-health-rescan { flex: none; font-family: inherit; font-size: 13px; font-weight: 700; color: var(--accent); background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 15px; cursor: pointer; transition: border-color .18s, color .18s; }
.h2-root .h2-health-rescan:hover { border-color: var(--accent); }

/* ---- three separate figures ---- */
.h2-root .h2-health-figs { margin-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.h2-root .h2-health-scorecol { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.h2-root .h2-health-ring { position: relative; width: 118px; height: 118px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.h2-root .h2-health-ring-in { width: 90px; height: 90px; border-radius: 50%; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.h2-root .h2-health-ring-num { font-size: 28px; font-weight: 900; line-height: 1; }
.h2-root .h2-health-ring-cap { font-size: 10.5px; color: var(--ink2); margin-top: 4px; }
.h2-root .h2-health-how { font-family: inherit; font-size: 12px; font-weight: 700; color: var(--accent); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.h2-root .h2-health-figrow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.h2-root .h2-health-fig { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 16px; text-align: center; }
.h2-root .h2-health-fig-val { font-size: 20px; font-weight: 900; color: var(--ink); }
.h2-root .h2-health-fig-label { font-size: 12.5px; font-weight: 700; color: var(--ink); margin-top: 5px; }
.h2-root .h2-health-fig-sub { font-size: 11px; color: var(--ink3); margin-top: 2px; }

/* ---- summary / AI ---- */
.h2-root .h2-health-summary { margin-top: 18px; font-size: 14px; color: var(--ink); line-height: 1.9; }
.h2-root .h2-health-ai { margin-top: 16px; background: linear-gradient(135deg,rgba(6,92,149,.05),rgba(8,121,184,.05)); border: 1px solid var(--accentSoft); border-radius: 16px; padding: 18px; }
.h2-root .h2-health-ai-tag { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 800; color: var(--accent); margin-bottom: 10px; }
.h2-root .h2-health-ai-badge { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg,var(--accent),var(--accent2)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.h2-root .h2-health-ai-text { font-size: 14px; color: var(--ink); line-height: 1.95; }
.h2-root .h2-health-ai-impact { font-size: 13.5px; color: var(--ink2); line-height: 1.9; margin-top: 8px; }
.h2-root .h2-health-ai-lim { font-size: 12px; color: var(--ink3); line-height: 1.8; margin-top: 8px; }

/* ---- section grid ---- */
.h2-root .h2-health-h3 { font-size: 17px; font-weight: 800; color: var(--ink); margin: 28px 0 14px; }
.h2-root .h2-health-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.h2-root .h2-health-sec { background: var(--bg); border: 1px solid var(--line); border-inline-start: 3px solid var(--ink3); border-radius: 14px; padding: 16px; }
.h2-root .h2-health-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.h2-root .h2-health-sec-name { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.h2-root .h2-health-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; background: #fff; border: 1px solid; border-radius: 999px; padding: 4px 10px; }
.h2-root .h2-health-badge-dot { width: 7px; height: 7px; border-radius: 50%; }
.h2-root .h2-health-kvs { margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }
.h2-root .h2-health-kv { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.h2-root .h2-health-k { color: var(--ink2); }
.h2-root .h2-health-v { color: var(--ink); font-weight: 700; }
.h2-root .h2-health-sec-note { margin-top: 10px; font-size: 11.5px; color: var(--ink3); line-height: 1.7; }

/* ---- findings ---- */
.h2-root .h2-health-findings { display: flex; flex-direction: column; gap: 12px; }
.h2-root .h2-health-find { background: #fff; border: 1px solid var(--line); border-inline-start: 3px solid var(--ink3); border-radius: 14px; padding: 16px 18px; }
.h2-root .h2-health-find-head { display: flex; align-items: center; gap: 10px; }
.h2-root .h2-health-sev { flex: none; font-size: 11.5px; font-weight: 800; border: 1px solid; border-radius: 999px; padding: 3px 10px; }
.h2-root .h2-health-find-title { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.h2-root .h2-health-find-sum { margin-top: 9px; font-size: 13.5px; color: var(--ink2); line-height: 1.85; }
.h2-root .h2-health-find-impact { margin-top: 7px; font-size: 13px; color: var(--ink2); line-height: 1.8; }
.h2-root .h2-health-find-rec { margin-top: 9px; font-size: 13px; color: var(--ink); font-weight: 600; line-height: 1.8; }
.h2-root .h2-health-find-cta { margin-top: 12px; }

/* ---- actions ---- */
.h2-root .h2-health-actions { display: flex; flex-direction: column; gap: 12px; }
.h2-root .h2-health-act { background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.h2-root .h2-health-act-head { display: flex; align-items: center; gap: 11px; }
.h2-root .h2-health-act-num { width: 28px; height: 28px; flex: none; border-radius: 9px; background: linear-gradient(135deg,var(--accent),var(--accent2)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 900; }
.h2-root .h2-health-act-title { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.h2-root .h2-health-act-impact { margin-top: 8px; font-size: 13px; color: var(--ink2); line-height: 1.8; }
.h2-root .h2-health-act-rec { margin-top: 7px; font-size: 13px; color: var(--ink); line-height: 1.8; }
.h2-root .h2-health-act-cta { margin-top: 12px; }

/* ---- requires connection (honest upsell) ---- */
.h2-root .h2-health-rc { margin-top: 26px; background: linear-gradient(135deg,rgba(6,92,149,.05),rgba(8,121,184,.05)); border: 1px solid var(--accentSoft); border-radius: 18px; padding: 22px; }
.h2-root .h2-health-rc-intro { margin-top: 6px; font-size: 13px; color: var(--ink2); line-height: 1.85; }
.h2-root .h2-health-rc-list { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.h2-root .h2-health-rc-item { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.h2-root .h2-health-rc-lock { flex: none; font-size: 14px; }
.h2-root .h2-health-rc-label { font-size: 13px; font-weight: 700; color: var(--ink); }
.h2-root .h2-health-rc-msg { font-size: 11.5px; color: var(--ink2); line-height: 1.7; margin-top: 2px; }
.h2-root .h2-health-rc-cta { margin-top: 16px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.h2-root .h2-health-rc-soon { font-size: 12.5px; font-weight: 700; color: var(--warn); background: var(--warnSoft); border-radius: 999px; padding: 6px 12px; }

/* ---- conversion + CTAs ---- */
.h2-root .h2-health-conversion { margin-top: 26px; border-top: 1px solid var(--line2); padding-top: 22px; }
.h2-root .h2-health-cta-primary-wrap { margin-bottom: 18px; }
.h2-root .h2-health-cta-primary { display: inline-flex; align-items: center; gap: 8px; font-family: inherit; font-size: 15.5px; font-weight: 800; color: #fff; cursor: pointer; text-decoration: none; background: linear-gradient(135deg,var(--accent),var(--accent2)); border: 0; border-radius: 13px; padding: 14px 26px; box-shadow: 0 12px 28px -10px rgba(6,92,149,.6); transition: transform .18s; }
.h2-root .h2-health-cta-primary:hover { transform: translateY(-2px); }
.h2-root .h2-health-cta-sm { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; color: var(--accent); text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 10px 16px; transition: border-color .18s; }
.h2-root .h2-health-cta-sm:hover { border-color: var(--accent); }
.h2-root .h2-health-cta-ghost { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--ink); text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 20px; transition: border-color .18s, color .18s; }
.h2-root .h2-health-cta-ghost:hover { border-color: var(--accent); color: var(--accent); }
.h2-root .h2-health-cta-finals { margin-top: 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---- lead capture ---- */
.h2-root .h2-health-lead { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.h2-root .h2-health-lead-title { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.h2-root .h2-health-lead-sub { font-size: 12.5px; color: var(--ink2); margin-top: 4px; line-height: 1.7; }
.h2-root .h2-health-lead-row { margin-top: 14px; display: flex; gap: 10px; }
.h2-root .h2-health-lead-input { flex: 1; min-width: 0; font-family: inherit; font-size: 14.5px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.h2-root .h2-health-lead-input:focus { outline: none; border-color: var(--accent2); box-shadow: 0 0 0 3px rgba(8,121,184,.12); }
.h2-root .h2-health-lead-send { flex: none; font-family: inherit; font-size: 14px; font-weight: 800; color: #fff; cursor: pointer; background: var(--accent); border: 0; border-radius: 12px; padding: 12px 22px; transition: background .18s; }
.h2-root .h2-health-lead-send:hover { background: var(--accentDark); }
.h2-root .h2-health-lead-send[disabled] { opacity: .7; cursor: default; }
.h2-root .h2-health-lead-consent-row { margin-top: 12px; display: flex; align-items: flex-start; gap: 9px; }
.h2-root .h2-health-lead-consent { margin-top: 3px; width: 16px; height: 16px; flex: none; accent-color: var(--accent); }
.h2-root .h2-health-lead-consent-row label { font-size: 12.5px; color: var(--ink2); line-height: 1.7; cursor: pointer; }
.h2-root .h2-health-lead-msg { margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--good); }
.h2-root .h2-health-lead-msg.is-err { color: var(--danger); }
.h2-root .h2-health-lead-done { font-size: 14px; font-weight: 700; color: var(--good); }

/* ---- terminal / error messages ---- */
.h2-root .h2-health-msg { text-align: center; }
.h2-root .h2-health-msg-icon { width: 54px; height: 54px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 900; margin-bottom: 14px; }
.h2-root .h2-health-msg-info { background: var(--accentSoft); color: var(--accent); }
.h2-root .h2-health-msg-warn { background: var(--warnSoft); color: var(--warn); }
.h2-root .h2-health-msg-fail { background: var(--dangerSoft); color: var(--danger); }
.h2-root .h2-health-msg-title { font-size: 19px; font-weight: 800; color: var(--ink); }
.h2-root .h2-health-msg-body { margin: 10px auto 0; font-size: 14px; color: var(--ink2); line-height: 1.85; max-width: 460px; }
.h2-root .h2-health-msg-btns { margin-top: 20px; display: flex; align-items: center; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- responsive ---- */
@media (max-width: 900px) {
  .h2-root .h2-health-hero-grid { grid-template-columns: 1fr !important; }
  .h2-root .h2-health-mockup-wrap { display: none; }
  .h2-root .h2-health-levels { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .h2-root .h2-health-field { flex-direction: column; }
  .h2-root .h2-health-submit { width: 100%; }
  .h2-root .h2-health-figs { grid-template-columns: 1fr !important; justify-items: center; text-align: center; }
  .h2-root .h2-health-figrow { width: 100%; }
  .h2-root .h2-health-grid { grid-template-columns: 1fr !important; }
  .h2-root .h2-health-rc-list { grid-template-columns: 1fr !important; }
  .h2-root .h2-health-resp-2, .h2-root .h2-resp-2 { grid-template-columns: 1fr !important; }
  .h2-root .h2-health-card { padding: 20px 16px; }
  .h2-root .h2-health-lead-row { flex-direction: column; }
  .h2-root .h2-health-lead-send { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .h2-root .h2-health-bar-fill { transition: none; }
  .h2-root .h2-health-tl-dot.is-running { animation: none; }
  .h2-root .h2-health-submit[aria-busy="true"] > [data-health-submit-label]::before { animation: none; }
}

/* ---- Analyzing scanner (premium, honest; driven by real server state) ---- */
.h2-root .h2-health-scan { overflow: hidden; }
.h2-root .h2-scan-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.h2-root .h2-scan-domain { font-size: 15px; font-weight: 800; color: var(--ink); }
.h2-root .h2-scan-step { font-size: 13.5px; font-weight: 700; color: var(--accent); margin-top: 5px; min-height: 18px; transition: opacity .3s; }
.h2-root .h2-scan-count { font-size: 12px; color: var(--ink2); margin-top: 3px; }
.h2-root .h2-scan-pct { font-size: 24px; font-weight: 900; color: var(--accent); flex: none; }
.h2-root .h2-scan-pct.is-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--accentSoft); border-top-color: var(--accent); animation: h2-health-spin .8s linear infinite; font-size: 0; }

.h2-root .h2-scan-stage { display: flex; justify-content: center; padding: 24px 0 20px; }
.h2-root .h2-scan-radar { position: relative; width: 152px; height: 152px; display: flex; align-items: center; justify-content: center; }
.h2-root .h2-scan-ring { position: absolute; border-radius: 50%; border: 1.5px solid var(--accentSoft); opacity: 0; animation: h2-scan-ping 2.6s ease-out infinite; }
.h2-root .h2-scan-ring.r1 { width: 152px; height: 152px; }
.h2-root .h2-scan-ring.r2 { width: 106px; height: 106px; animation-delay: .55s; }
.h2-root .h2-scan-ring.r3 { width: 62px; height: 62px; animation-delay: 1.1s; }
@keyframes h2-scan-ping { 0% { transform: scale(.65); opacity: .12; } 45% { opacity: .5; } 100% { transform: scale(1.06); opacity: 0; } }
.h2-root .h2-scan-sweep { position: absolute; width: 152px; height: 152px; border-radius: 50%; background: conic-gradient(from 0deg, rgba(8,121,184,.32), rgba(8,121,184,0) 52%); animation: h2-scan-rot 1.8s linear infinite; -webkit-mask: radial-gradient(circle 30px at center, transparent 98%, #000 100%); mask: radial-gradient(circle 30px at center, transparent 98%, #000 100%); }
@keyframes h2-scan-rot { to { transform: rotate(360deg); } }
.h2-root .h2-scan-core { position: relative; z-index: 2; width: 54px; height: 54px; border-radius: 17px; background: linear-gradient(135deg,var(--accent),var(--accent2)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 21px; box-shadow: 0 12px 28px -8px rgba(6,92,149,.6); animation: h2-scan-corepulse 2s ease-in-out infinite; }
@keyframes h2-scan-corepulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }

.h2-root .h2-health-scan .h2-scan-bar { height: 10px; border-radius: 999px; background: var(--line2); overflow: hidden; }
.h2-root .h2-scan-bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg,var(--accent),var(--accent2)); width: 0; transition: width .5s cubic-bezier(.2,.7,.2,1); }
.h2-root .h2-health-scan.is-queued .h2-scan-bar-fill { width: 38% !important; animation: h2-scan-indet 1.25s ease-in-out infinite; }
@keyframes h2-scan-indet { 0% { margin-inline-start: -38%; } 100% { margin-inline-start: 100%; } }

.h2-root .h2-scan-list { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; }
.h2-root .h2-scan-row { display: flex; align-items: center; gap: 11px; padding: 10px 2px; border-bottom: 1px solid var(--line2); }
.h2-root .h2-scan-row:last-child { border-bottom: 0; }
.h2-root .h2-scan-ic { width: 18px; height: 18px; border-radius: 50%; box-sizing: border-box; border: 2px solid var(--ink3); color: var(--ink3); flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 800; line-height: 1; transition: color .3s, border-color .3s, background .3s; }
.h2-root .h2-scan-row.is-pending .h2-scan-ic { animation: h2-scan-idlepulse 1.6s ease-in-out infinite; }
@keyframes h2-scan-idlepulse { 0%,100% { opacity: .5; } 50% { opacity: 1; } }
.h2-root .h2-scan-row.is-running .h2-scan-ic { border-color: var(--accent); border-top-color: transparent; animation: h2-health-spin .7s linear infinite; }
.h2-root .h2-scan-row.is-passed .h2-scan-ic { background: var(--good); border-color: var(--good); color: #fff; animation: h2-scan-pop .35s cubic-bezier(.2,1.5,.4,1); }
.h2-root .h2-scan-row.is-warning .h2-scan-ic { background: var(--warn); border-color: var(--warn); color: #fff; animation: h2-scan-pop .35s cubic-bezier(.2,1.5,.4,1); }
.h2-root .h2-scan-row.is-failed .h2-scan-ic { background: var(--danger); border-color: var(--danger); color: #fff; animation: h2-scan-pop .35s cubic-bezier(.2,1.5,.4,1); }
@keyframes h2-scan-pop { from { transform: scale(0); } to { transform: scale(1); } }
.h2-root .h2-scan-row-label { font-size: 13.5px; font-weight: 600; color: var(--ink); flex: 1; }
.h2-root .h2-scan-row.is-pending .h2-scan-row-label { color: var(--ink2); }
.h2-root .h2-scan-row-state { font-size: 12px; font-weight: 700; flex: none; }

@media (prefers-reduced-motion: reduce) {
  .h2-root .h2-scan-sweep,
  .h2-root .h2-scan-ring,
  .h2-root .h2-scan-core,
  .h2-root .h2-scan-row .h2-scan-ic,
  .h2-root .h2-scan-pct.is-spin { animation: none !important; }
  .h2-root .h2-scan-ring { opacity: .3; }
  .h2-root .h2-scan-pct.is-spin { border-top-color: var(--accent); }
  .h2-root .h2-health-scan.is-queued .h2-scan-bar-fill { animation: none !important; width: 40% !important; margin-inline-start: 0 !important; }
}
