/* =========================================================================
   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; }
}
