/* ══════════════════════════════════════════════════════════════════════
   MonitorWWW.com — homepage redesign (bento grid, Manrope, Lucide icons)
   Scoped under body.hv to avoid bleeding into other pages that share
   landing.css (blog, wp-vulnerabilities, dashboard...).
   ══════════════════════════════════════════════════════════════════════ */

body.hv {
  font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  background: #f7f8fb;
  color: #16181d;
  text-wrap: pretty;
  font-feature-settings: "tnum" 1;
  background:
    radial-gradient(90% 55% at 12% -8%, rgba(79,114,245,.16) 0%, rgba(79,114,245,0) 60%),
    radial-gradient(80% 50% at 88% 2%, rgba(79,114,245,.08) 0%, rgba(79,114,245,0) 60%),
    linear-gradient(180deg,#fbfcfe 0%,#f7f8fb 55%,#f2f4f9 100%);
  background-attachment: fixed;
}
/* :where() keeps this at the specificity of the bare "a"/"a:hover" selector, so
   every component-specific color rule below (all of which carry a real class)
   reliably wins instead of losing to this reset. */
:where(body.hv) a { color: #16181d; text-decoration: none; }
:where(body.hv) a:hover { color: #4f72f5; text-decoration: none; }
body.hv svg { display: block; }

/* Header/footer are shared on pages that don't carry body.hv (blog, CVE database,
   terms, privacy) — force Manrope + Lucide-icon sizing there too, without pulling
   in the rest of the homepage's body font/background. */
.hv-header, .hv-footer { font-family: 'Manrope', ui-sans-serif, system-ui, sans-serif; }
.hv-header svg, .hv-footer svg { display: block; }

.hv-wrap { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.hv-section { max-width: 1220px; margin: 0 auto; padding: 80px 24px 0; }
.hv-grid12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }

@keyframes hv-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(.8); } }
@keyframes hv-ring { 0% { box-shadow: 0 0 0 0 rgba(79,114,245,.45); } 70% { box-shadow: 0 0 0 12px rgba(79,114,245,0); } 100% { box-shadow: 0 0 0 0 rgba(79,114,245,0); } }
[data-reveal] { opacity: 0; transform: translateY(22px); }
[data-reveal][data-shown] { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; } }

.hv-hover-lift { transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s ease; }
.hv-hover-lift:hover { transform: translateY(-4px); box-shadow: 0 24px 46px -26px rgba(35,45,80,.45); }

/* ── Header ── */
.hv-header {
  position: sticky; top: 0; z-index: 60;
  backdrop-filter: blur(16px);
  background: rgba(251,252,254,.82);
  border-bottom: 1px solid rgba(22,24,29,.08);
}
.hv-header-inner {
  max-width: 1220px; margin: 0 auto; padding: 0 24px;
  height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.hv-logo { display: flex; align-items: center; flex: none; }
.hv-logo img { width: 221px; height: 72px; display: block; }
.hv-nav-links { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 500; color: #4b5160; }
/* Child combinator (>) on purpose — .hv-header-right nests its own <a> elements (lang
   switch, login/logout, CTA) inside .hv-nav-links for the mobile collapse below, and
   those must NOT inherit this color (it was clobbering .hv-btn-primary's white text). */
.hv-nav-links > a { color: #4b5160; }
.hv-nav-links > a:hover { color: #4f72f5; }
/* margin-left:auto pushes this to the far right within the .hv-nav-links flex row on
   desktop (same visual result as the old separate always-visible header-right block),
   while still letting the whole nav — links + lang-switch + login/CTA — collapse into
   one mobile dropdown together. See .hv-nav-links.open below. */
.hv-header-right { display: flex; align-items: center; gap: 16px; margin-left: auto; }
/* Divider so the lang switch reads as its own group, separate from login/logout + CTA. */
.hv-lang-switch { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding-right: 14px; margin-right: 2px; border-right: 1px solid rgba(22,24,29,.14); }
.hv-lang-switch a { color: #7a8190; }
.hv-lang-switch a.active { color: #4f72f5; }
.hv-login-link { font-size: 14.5px; font-weight: 500; color: #4b5160; white-space: nowrap; }
.hv-login-link:hover { color: #4f72f5; }
/* Logout is a <button type="submit"> inside a <form> so it survives CSRF-protected POST.
   Deliberately NOT display:contents on the form (fragile in flex layouts, esp. Safari —
   was the cause of the header breaking apart on mobile for logged-in users); instead the
   form is itself an inline-flex box so its child lines up like any other nav item. */
.hv-logout-form { display: inline-flex; align-items: center; }
.hv-logout-btn { background: none; border: 0; cursor: pointer; font: inherit; padding: 0; }

.hv-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-family: inherit; border: 0; cursor: pointer; white-space: nowrap;
}
.hv-btn-primary { background: #4f72f5; color: #ffffff; padding: 10px 18px; border-radius: 11px; font-size: 14.5px; box-shadow: 0 8px 22px -8px rgba(79,114,245,.7); }
.hv-btn-primary:hover { background: #3f60e0; color: #ffffff; }
.hv-btn-primary-lg { padding: 15px 26px; border-radius: 13px; font-size: 15.5px; box-shadow: 0 14px 30px -12px rgba(79,114,245,.8); }
.hv-btn-secondary { background: #eef1f8; color: #2a2e38; border: 1px solid rgba(22,24,29,.1); padding: 15px 22px; border-radius: 13px; font-size: 15px; font-weight: 600; }
.hv-btn-secondary:hover { background: #e3e8f6; color: #2a2e38; }
.hv-btn-outline { border: 1px solid rgba(22,24,29,.16); color: #22252c; padding: 15px 24px; border-radius: 13px; font-size: 15px; font-weight: 600; background: transparent; }
.hv-btn-outline:hover { border-color: #22252c; color: #22252c; }

.hv-nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; cursor: pointer; }
.hv-nav-toggle span { width: 22px; height: 2px; background: #22252c; border-radius: 2px; }

/* ── Hero ── */
.hv-hero-section { max-width: 1220px; margin: 0 auto; padding: 56px 24px 0; }
.hv-hero-card {
  grid-column: span 7; background: #ffffff; border-radius: 26px; padding: 44px 44px 40px;
  border: 1px solid rgba(22,24,29,.08); box-shadow: 0 1px 2px rgba(22,24,29,.05), 0 20px 44px -24px rgba(35,45,80,.28);
}
.hv-pill {
  display: inline-flex; align-items: center; gap: 9px; background: rgba(79,114,245,.13); color: #4f72f5;
  border: 1px solid rgba(79,114,245,.25); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 700;
}
.hv-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: #4f72f5; animation: hv-pulse 1.8s infinite, hv-ring 2.4s infinite; }
.hv-h1 { margin: 26px 0 0; font-size: clamp(32px,4.4vw,58px); line-height: 1.03; letter-spacing: -.04em; font-weight: 800; color: #12141a; }
.hv-h1 span { color: #4f72f5; }
.hv-hero-lead { margin: 22px 0 0; font-size: 17.5px; line-height: 1.55; color: #565d6c; max-width: 54ch; }
.hv-hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hv-hero-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; font-size: 13.5px; font-weight: 500; color: #6a7181; }
.hv-hero-checks span { display: inline-flex; align-items: center; gap: 7px; }
.hv-hero-checks svg { color: #4f72f5; }

.hv-hero-side { grid-column: span 5; display: grid; gap: 16px; align-content: start; }
.hv-stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.hv-stat { background: #ffffff; border: 1px solid rgba(22,24,29,.08); border-radius: 22px; padding: 22px 18px; }
.hv-stat-accent { background: linear-gradient(160deg,rgba(79,114,245,.18),rgba(79,114,245,.06)); border: 1px solid rgba(79,114,245,.28); }
.hv-stat-n { font-size: 24px; font-weight: 800; letter-spacing: -.04em; color: #12141a; white-space: nowrap; }
.hv-stat-accent .hv-stat-n { color: #3f60e0; }
.hv-stat-l { font-size: 12.5px; color: #6a7181; margin-top: 6px; line-height: 1.35; }
.hv-stat-accent .hv-stat-l { color: #5f6675; }

.hv-row-card { background: #ffffff; border: 1px solid rgba(22,24,29,.08); border-radius: 22px; padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.hv-row-icon { width: 38px; height: 38px; border-radius: 12px; background: rgba(79,114,245,.13); display: flex; align-items: center; justify-content: center; flex: none; }
.hv-row-icon svg { color: #4f72f5; }
.hv-row-text { font-size: 15px; font-weight: 600; line-height: 1.4; color: #22252c; }

.hv-panel-shot { grid-column: span 12; border-radius: 26px; border: 1px solid rgba(22,24,29,.08); box-shadow: 0 22px 48px -26px rgba(35,45,80,.4); background: #ffffff; padding: 16px; position: relative; }
.hv-panel-shot img { width: 100%; height: auto; margin: 0 auto; display: block; border-radius: 14px; }
.hv-panel-badge {
  position: absolute; left: 30px; bottom: 30px; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.92); border: 1px solid rgba(22,24,29,.12); border-radius: 999px;
  padding: 6px 12px; font-size: 12px; font-weight: 600; color: #3a3f4a; backdrop-filter: blur(6px);
}
.hv-panel-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #4f72f5; animation: hv-pulse 1.8s infinite; }

/* ── Eyebrow / heading helpers ── */
.hv-eyebrow { font-size: 12.5px; font-weight: 700; color: #4f72f5; letter-spacing: .06em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }
.hv-eyebrow svg { width: 15px; height: 15px; }
.hv-h2 { margin: 16px 0 0; font-size: clamp(26px,3.2vw,42px); line-height: 1.06; letter-spacing: -.035em; font-weight: 800; color: #12141a; }
.hv-h2-sm { font-size: clamp(24px,2.8vw,34px); }
.hv-lead { margin: 16px 0 0; font-size: 16.5px; line-height: 1.6; color: #565d6c; }

/* ── Cost section ── */
.hv-cost-card { grid-column: span 5; background: linear-gradient(165deg,#fdf1ee,#ffffff); border: 1px solid rgba(226,86,60,.22); border-radius: 26px; padding: 40px 36px; }
.hv-cost-card .hv-eyebrow { color: #c9502f; }
.hv-cost-grid { grid-column: span 7; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hv-mini-card { background: #ffffff; border: 1px solid rgba(22,24,29,.08); border-radius: 22px; padding: 28px; }
.hv-mini-icon { width: 40px; height: 40px; border-radius: 13px; display: flex; align-items: center; justify-content: center; }
.hv-mini-icon svg { width: 19px; height: 19px; }
.hv-mini-icon-warn { background: rgba(226,86,60,.1); }
.hv-mini-icon-warn svg { color: #c9502f; }
.hv-mini-icon-accent { background: rgba(79,114,245,.13); }
.hv-mini-icon-accent svg { color: #4f72f5; }
.hv-mini-title { margin: 18px 0 8px; font-size: 17px; font-weight: 700; letter-spacing: -.02em; color: #191c22; }
.hv-mini-body { margin: 0; font-size: 14.5px; line-height: 1.55; color: #5f6675; }

/* ── Steps ── */
.hv-steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 36px; }
.hv-step-num { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 11px; background: rgba(79,114,245,.15); color: #3f60e0; font-size: 14px; font-weight: 800; }

/* ── Feature grid ── */
.hv-feat-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; flex-wrap: wrap; }
.hv-feat-head-lead { margin: 0; font-size: 16px; line-height: 1.6; color: #565d6c; max-width: 44ch; }
.hv-feat-grid { display: grid; grid-template-columns: repeat(12,1fr); gap: 16px; margin-top: 36px; }
.hv-feat-card { border-radius: 22px; padding: 26px; display: flex; flex-direction: column; border: 1px solid rgba(22,24,29,.08); background: #ffffff; }
.hv-feat-card.hi { background: linear-gradient(160deg,#eaf0ff,#ffffff); border-color: rgba(79,114,245,.28); }
.hv-feat-icon { width: 38px; height: 38px; border-radius: 12px; background: #eef1f8; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.hv-feat-icon svg { width: 19px; height: 19px; color: #4f72f5; }
.hv-feat-card.hi .hv-feat-icon { background: rgba(79,114,245,.14); }
.hv-feat-card.hi .hv-feat-icon svg { color: #3f60e0; }
.hv-feat-title { margin: 0 0 8px; font-size: 16.5px; font-weight: 700; letter-spacing: -.02em; color: #191c22; }
.hv-feat-body { margin: 0; font-size: 14px; line-height: 1.55; color: #5f6675; }
.hv-feat-cta-row { display: flex; align-items: center; gap: 20px; margin-top: 32px; flex-wrap: wrap; }
.hv-feat-cta-note { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #6a7181; font-weight: 500; }
.hv-feat-cta-note svg { width: 16px; height: 16px; }

/* ── Checks accordion ── */
.hv-checks-card { background: #ffffff; border: 1px solid rgba(22,24,29,.08); border-radius: 26px; padding: 36px 36px 12px; }
.hv-checks-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; padding-bottom: 20px; }
.hv-checks-head h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: #12141a; }
.hv-checks-head span { font-size: 12.5px; font-weight: 700; color: #7a8190; letter-spacing: .04em; }
.hv-cg { border-top: 1px solid rgba(22,24,29,.08); }
.hv-cg-btn {
  display: flex; align-items: center; gap: 16px; padding: 18px 6px; cursor: pointer; border-radius: 14px;
  background: none; border: 0; width: 100%; text-align: left; font-family: inherit;
}
.hv-cg-btn:hover { background: #f4f6fc; }
.hv-cg-icon { width: 34px; height: 34px; border-radius: 11px; background: rgba(79,114,245,.13); display: flex; align-items: center; justify-content: center; flex: none; }
.hv-cg-icon svg { width: 17px; height: 17px; color: #4f72f5; }
.hv-cg-title { flex: 1; font-size: 16px; font-weight: 600; letter-spacing: -.015em; color: #22252c; }
.hv-cg-count { font-size: 13px; color: #7a8190; font-weight: 600; }
.hv-cg-chevron { width: 18px; height: 18px; color: #4b5160; flex: none; transition: transform .2s; }
.hv-cg-body { display: none; grid-template-columns: 1fr 1fr; gap: 2px 36px; padding: 4px 6px 22px 50px; }
.hv-cg.open .hv-cg-body { display: grid; }
.hv-cg.open .hv-cg-chevron { transform: rotate(180deg); }
.hv-cg-item { display: flex; gap: 10px; padding: 6px 0; font-size: 13.5px; line-height: 1.45; color: #565d6c; }
.hv-cg-item svg { width: 15px; height: 15px; color: #4f72f5; flex: none; margin-top: 2px; }

/* ── CVE alerts ── */
.hv-cve-card { grid-column: span 7; background: linear-gradient(160deg,#eaf0ff,#ffffff); border: 1px solid rgba(79,114,245,.28); border-radius: 26px; padding: 40px 36px; }
.hv-cve-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; font-size: 14px; font-weight: 500; color: #5f6675; }
.hv-cve-checks span { display: inline-flex; align-items: center; gap: 7px; }
.hv-cve-checks svg { width: 15px; height: 15px; color: #4f72f5; }
.hv-cve-side { grid-column: span 5; display: grid; gap: 16px; }
.hv-cve-mini { background: #ffffff; border: 1px solid rgba(22,24,29,.08); border-radius: 22px; padding: 26px; }

/* ── Repair ── */
.hv-repair-cta-row { display: flex; align-items: center; gap: 20px; margin-top: 28px; flex-wrap: wrap; }
.hv-repair-note { font-size: 14px; color: #6a7181; }

/* ── Integrations ── */
.hv-int-card { grid-column: span 4; background: #ffffff; border: 1px solid rgba(22,24,29,.08); border-radius: 22px; padding: 28px; }
.hv-int-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hv-int-icon { width: 40px; height: 40px; border-radius: 13px; background: #eef1f8; display: flex; align-items: center; justify-content: center; }
.hv-int-icon svg { width: 20px; height: 20px; color: #3a3f4a; }
.hv-int-badge { font-size: 11.5px; font-weight: 700; color: #4f72f5; background: rgba(79,114,245,.13); padding: 5px 10px; border-radius: 999px; white-space: nowrap; }
.hv-int-name { margin: 18px 0 0; font-size: 17.5px; font-weight: 700; letter-spacing: -.02em; color: #191c22; }
.hv-int-desc { margin: 12px 0 0; font-size: 14.5px; line-height: 1.55; color: #5f6675; }
.hv-notify-card {
  grid-column: span 12; background: linear-gradient(120deg,#e9efff,#ffffff); border: 1px solid rgba(79,114,245,.2);
  border-radius: 22px; padding: 28px 32px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap;
}
.hv-notify-title { margin: 0 0 6px; font-size: 17.5px; font-weight: 700; letter-spacing: -.02em; color: #191c22; }
.hv-notify-text { margin: 0; font-size: 14.5px; line-height: 1.55; color: #565d6c; max-width: 60ch; }
.hv-notify-form { display: flex; gap: 10px; background: #ffffff; border: 1px solid rgba(22,24,29,.1); border-radius: 13px; padding: 6px; flex-wrap: wrap; }
.hv-notify-form input { border: 0; background: transparent; padding: 10px 14px; font-size: 14px; font-family: inherit; color: #22252c; outline: none; min-width: 190px; }
.hv-notify-form button { border: 0; background: #4f72f5; color: #ffffff; border-radius: 10px; padding: 10px 18px; font-size: 14px; font-weight: 700; font-family: inherit; cursor: pointer; }
.hv-notify-form button:hover { background: #3f60e0; }
.hv-notify-ok { display: none; font-size: 14px; font-weight: 600; color: #1a8f4c; }

/* ── Testimonials ── */
.hv-testi-wrap { position: relative; }
.hv-testi-track {
  display: flex; gap: 16px; margin: 0 -2px; padding: 2px 2px 4px;
  /* proximity, nie mandatory — mandatory potrafi "usztywnić" scrollLeft na granicy
     (pierwsza/ostatnia karta) i ignorować kolejny programistyczny scrollTo(), przez
     co strzałka cofająca się z ostatniej karty nie robi nic w niektórych przeglądarkach */
  overflow-x: auto; scroll-snap-type: x proximity; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.hv-testi-track::-webkit-scrollbar { display: none; }
.hv-testi-card {
  background: #ffffff; border: 1px solid rgba(22,24,29,.08); border-radius: 22px; padding: 30px;
  display: flex; flex-direction: column;
  scroll-snap-align: start; flex: 0 0 calc((100% - 32px) / 3); min-width: 0;
}
.hv-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.hv-stars svg { width: 15px; height: 15px; color: #4f72f5; fill: #4f72f5; }
.hv-testi-text { margin: 0; font-size: 15.5px; line-height: 1.6; color: #3a3f4a; flex: 1; }
.hv-testi-name { margin-top: 22px; font-size: 14.5px; font-weight: 700; color: #191c22; }
.hv-testi-role { font-size: 13px; color: #7a8190; margin-top: 3px; }
.hv-testi-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.hv-testi-dots { display: flex; gap: 8px; }
.hv-testi-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 50%; background: rgba(22,24,29,.15); cursor: pointer; transition: background .15s, transform .15s; }
.hv-testi-dot.active { background: #4f72f5; transform: scale(1.3); }
.hv-testi-nav { display: flex; align-items: center; gap: 10px; }
.hv-testi-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: #ffffff; border: 1px solid rgba(22,24,29,.1); color: #191c22;
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.hv-testi-arrow:hover { background: #f4f6ff; border-color: #4f72f5; color: #4f72f5; }
.hv-testi-arrow:disabled { opacity: .35; cursor: default; pointer-events: none; }

/* ── Pricing ── */
.hv-pricing-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 36px; align-items: start; }
.hv-plan-card { background: #ffffff; border: 1px solid rgba(22,24,29,.08); border-radius: 24px; padding: 30px 26px; display: flex; flex-direction: column; }
.hv-plan-card.hi { background: linear-gradient(165deg,#eaf0ff,#ffffff); border-color: rgba(79,114,245,.32); box-shadow: 0 26px 54px -28px rgba(79,114,245,.55); }
.hv-plan-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.hv-plan-tag { font-size: 11.5px; font-weight: 700; background: #eef1f8; color: #4b5160; padding: 5px 11px; border-radius: 999px; }
.hv-plan-card.hi .hv-plan-tag { background: rgba(79,114,245,.22); color: #3f60e0; }
.hv-plan-limit { font-size: 12.5px; font-weight: 600; color: #767d8c; }
.hv-plan-name { margin: 20px 0 6px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: #12141a; }
.hv-plan-for { margin: 0 0 18px; font-size: 13.5px; line-height: 1.5; color: #6a7181; min-height: 40px; }
.hv-plan-price { font-size: 32px; font-weight: 800; letter-spacing: -.04em; color: #12141a; }
.hv-plan-card.hi .hv-plan-price { color: #3f60e0; }
.hv-plan-period { font-size: 12.5px; color: #767d8c; margin-top: 6px; }
.hv-plan-feats { margin: 22px 0 24px; padding-top: 20px; border-top: 1px solid rgba(22,24,29,.08); display: flex; flex-direction: column; gap: 10px; }
.hv-plan-feat { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.45; color: #3f4450; }
.hv-plan-feat svg { width: 15px; height: 15px; color: #4f72f5; flex: none; margin-top: 2px; }
.hv-plan-feat.pf-extra { display: none; }
.hv-plan-feat.pf-extra.pf-open { display: flex; }
.hv-plan-toggle { align-self: flex-start; margin-top: 4px; border: 0; background: transparent; padding: 0; font-size: 13px; font-weight: 700; color: #4f72f5; cursor: pointer; font-family: inherit; }
.hv-plan-cta { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 9px; background: #eef1f8; color: #22252c; border: 1px solid rgba(22,24,29,.14); padding: 13px 18px; border-radius: 13px; font-size: 14.5px; font-weight: 700; }
.hv-plan-card.hi .hv-plan-cta { background: #4f72f5; color: #ffffff; border-color: #4f72f5; }
.hv-plan-cta svg { width: 15px; height: 15px; }
.hv-pricing-note { margin: 22px 0 0; font-size: 13.5px; color: #6a7181; line-height: 1.6; }
.hv-pricing-note a { font-weight: 600; color: #4f72f5; }

/* ── FAQ ── */
.hv-faq-side { grid-column: span 4; }
.hv-faq-side p { margin: 16px 0 0; font-size: 15.5px; line-height: 1.6; color: #565d6c; }
.hv-faq-side a { font-weight: 600; color: #4f72f5; }
.hv-faq-card { grid-column: span 8; background: #ffffff; border: 1px solid rgba(22,24,29,.08); border-radius: 26px; padding: 12px 30px; }
.hv-faq-item { border-bottom: 1px solid rgba(22,24,29,.08); }
.hv-faq-item:last-child { border-bottom: none; }
.hv-faq-btn { display: flex; gap: 18px; align-items: center; padding: 18px 0; cursor: pointer; width: 100%; text-align: left; background: none; border: 0; font-family: inherit; }
.hv-faq-q { flex: 1; font-size: 16px; font-weight: 600; letter-spacing: -.015em; color: #22252c; }
.hv-faq-icon { width: 18px; height: 18px; color: #7a8190; flex: none; }
.hv-faq-a { display: none; margin: 0; padding: 0 40px 20px 0; font-size: 15px; line-height: 1.6; color: #565d6c; }
.hv-faq-item.open .hv-faq-a { display: block; }
.hv-faq-a a { font-weight: 600; color: #4f72f5; }

/* ── Sample report ── */
.hv-report-card { grid-column: span 7; background: #ffffff; border: 1px solid rgba(22,24,29,.08); border-radius: 26px; padding: 40px; }
.hv-report-note { font-size: 12.5px; color: #767d8c; margin-top: 12px; font-weight: 600; }
.hv-report-shot { grid-column: span 5; border-radius: 26px; border: 1px solid rgba(22,24,29,.08); position: relative; background: #ffffff; padding: 16px; display: flex; align-items: flex-start; box-shadow: 0 18px 40px -24px rgba(35,45,80,.38); }
.hv-report-shot img { width: 100%; height: auto; display: block; border-radius: 14px; }

/* ── Closing CTA ── */
.hv-closing {
  background: linear-gradient(140deg,#e6edff 0%,#ffffff 48%,#eef2ff 100%); border: 1px solid rgba(22,24,29,.1);
  border-radius: 30px; padding: 56px 48px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center;
}
.hv-closing h2 { margin: 0; font-size: clamp(28px,3.6vw,46px); line-height: 1.04; letter-spacing: -.04em; font-weight: 800; color: #12141a; }
.hv-closing p { margin: 20px 0 0; font-size: 16.5px; line-height: 1.6; color: #565d6c; max-width: 58ch; }
.hv-closing-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* ── Footer ── */
.hv-footer { max-width: 1220px; margin: 0 auto; padding: 64px 24px 40px; }
.hv-footer-grid { display: grid; grid-template-columns: 1.6fr .7fr .9fr; gap: 44px; }
.hv-footer-brand-text { margin: 16px 0 0; font-size: 14.5px; line-height: 1.6; color: #6a7181; max-width: 40ch; }
.hv-footer-col-h { font-size: 12px; font-weight: 700; color: #7a8190; letter-spacing: .06em; text-transform: uppercase; }
.hv-footer-links { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; font-size: 14.5px; }
.hv-footer-links a { color: #4b5160; }
.hv-footer-links a:hover { color: #4f72f5; }
.hv-footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(22,24,29,.08); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; color: #7a8190; }
.hv-footer-legal { display: flex; gap: 20px; }
.hv-footer-legal a { color: #7a8190; }
.hv-footer-logo img { width: 221px; height: 72px; display: block; }

/* ── Responsive (not specified in source design — added for production) ── */
@media (max-width: 1024px) {
  .hv-nav-links { display: none; }
  .hv-nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
    position: fixed; top: 104px; left: 0; right: 0; z-index: 59;
    background: #fbfcfe; border-bottom: 1px solid rgba(22,24,29,.08);
    padding: 20px 24px 24px; box-shadow: 0 16px 30px -18px rgba(35,45,80,.3);
  }
  .hv-nav-toggle { display: flex; }
  /* Inside the collapsed dropdown, .hv-header-right is just another stacked row —
     drop the desktop margin-left:auto and let it wrap instead of forcing everything
     onto one cramped line (this, plus removing display:contents on the logout form
     above, is the actual fix for the header breaking apart on mobile when logged in). */
  .hv-nav-links.open .hv-header-right {
    margin-left: 0; width: 100%; flex-wrap: wrap; gap: 12px 16px;
    padding-top: 16px; border-top: 1px solid rgba(22,24,29,.08);
  }
  .hv-hero-card { grid-column: span 12; }
  .hv-hero-side { grid-column: span 12; }
  .hv-cost-card, .hv-cost-grid { grid-column: span 12; }
  .hv-cve-card, .hv-cve-side { grid-column: span 12; }
  .hv-int-card { grid-column: span 6; }
  .hv-report-card, .hv-report-shot { grid-column: span 12; }
  .hv-faq-side, .hv-faq-card { grid-column: span 12; }
  .hv-feat-grid > [style*="span 6"], .hv-feat-grid > [style*="span 3"] { grid-column: span 6; }
  .hv-steps-grid { grid-template-columns: repeat(2,1fr); }
  .hv-testi-card { flex-basis: calc((100% - 16px) / 2); }
  .hv-pricing-grid { grid-template-columns: repeat(2,1fr); }
  .hv-closing { grid-template-columns: 1fr; }
  .hv-closing-actions { justify-content: flex-start; }
}
@media (max-width: 720px) {
  /* Logo stays 221×72 at every width — same fixed size as the dashboard header
     (assets/css/app.css .logo img), just with a taller header bar to fit it. */
  .hv-header-inner { height: 92px; }
  .hv-nav-links.open { top: 92px; }
  .hv-hero-section, .hv-section { padding-left: 16px; padding-right: 16px; }
  .hv-hero-section { padding-top: 28px; }
  .hv-section { padding-top: 56px; }
  .hv-hero-card { padding: 28px 22px 26px; border-radius: 20px; }
  .hv-cost-card, .hv-cve-card { padding: 28px 22px; border-radius: 20px; }
  .hv-cost-grid { grid-template-columns: 1fr; }
  .hv-steps-grid { grid-template-columns: 1fr; }
  .hv-feat-grid > div { grid-column: span 12 !important; }
  .hv-int-card { grid-column: span 12; }
  .hv-testi-card { flex-basis: calc(100% - 12px); }
  .hv-pricing-grid { grid-template-columns: 1fr; }
  .hv-faq-card { padding: 4px 18px; }
  .hv-checks-card { padding: 24px 18px 8px; }
  .hv-cg-body { grid-template-columns: 1fr; padding-left: 50px; }
  .hv-closing { padding: 32px 24px; border-radius: 22px; }
  .hv-report-card { padding: 28px 22px; }
  .hv-notify-card { padding: 22px; }
  .hv-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hv-stats-row { grid-template-columns: repeat(3,1fr); gap: 10px; }
  .hv-stat { padding: 16px 12px; border-radius: 16px; }
  .hv-stat-n { font-size: 19px; }
}
