/* ==========================================================================
   HIPAA Auditors — V4 inner-page template & components

   Loaded (after v4/chrome.css) on every page that sets `$v4_template = true`.
   Those pages do NOT load the V3 stylesheets, so the base layer below is safe.
   Markup helpers live in includes/v4-ui.php (v4_hero, v4_head, v4_btn, v4_icon).

   Contents
     1. Base            6. Cards & tiles       11. Forms
     2. Layout          7. Lists               12. FAQ, tables, callouts
     3. Type            8. Stats & steps       13. Prose (legal/articles)
     4. Buttons         9. Tags, filters       14. Modal
     5. Hero / heads   10. Quotes, plans, CTA  15. Responsive & motion
   ========================================================================== */

/* ─── 1. Base ──────────────────────────────────────────────────────────── */

:root {
    color-scheme: light;
    /* V3 variable names read by shared widgets (cookie banner) and captcha. */
    --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-6: 1.5rem; --white: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Anchor targets clear the sticky header, plus the jump-nav where a page has one. */
html:has(.v4-jumpnav) { scroll-padding-top: calc(var(--v4-header-h) + 76px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
    margin: 0; background: #fff; color: var(--v4-text-2);
    font-family: var(--v4-font-sans); font-size: 1rem; line-height: 1.6;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
main :where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
main :where(ul, ol) { padding: 0; list-style: none; }
main a { color: var(--v4-teal-700); text-decoration: none; }
main a:hover { color: var(--v4-teal-800); }
main :where(h1, h2) { font-family: var(--v4-font-display); font-optical-sizing: auto; font-weight: 600; color: var(--v4-text); letter-spacing: -0.02em; text-wrap: balance; }
main :where(h3, h4, h5, h6) { font-family: var(--v4-font-sans); font-weight: 700; color: var(--v4-text); line-height: 1.35; }
main :where(h1, h2) em { font-style: italic; font-weight: 500; color: var(--v4-teal-700); }
main p { text-wrap: pretty; }
main strong { color: var(--v4-text); font-weight: 700; }
main :focus-visible { outline: 3px solid var(--v4-focus); outline-offset: 2px; border-radius: 6px; }
/* `hidden` must win over component display rules (e.g. a form collapsed after success). */
main [hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
main .v4-ico { width: 1.15em; height: 1.15em; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ─── 2. Layout ────────────────────────────────────────────────────────── */

.v4-section { padding-block: clamp(64px, 7vw, 104px); }
.v4-section--tight { padding-block: clamp(40px, 5vw, 64px); }
.v4-section--tint { background: var(--v4-tint); }
.v4-section--ink { background: var(--v4-ink-900); color: rgba(255, 255, 255, .76); --v4-focus: var(--v4-gold-400); }
.v4-section--ink :where(h2, h3) { color: #fff; }
.v4-section--ink h2 em { color: var(--v4-teal-300); }
.v4-section--ink p { color: rgba(255, 255, 255, .74); }
/* Two consecutive plain (white) sections share one gap. */
.v4-section:not(.v4-section--tint):not(.v4-section--ink) + .v4-section:not(.v4-section--tint):not(.v4-section--ink) { padding-top: 0; }
.v4-section--tint + .v4-section--tint { padding-top: 0; }

.v4-narrow { max-width: 820px; margin-inline: auto; }
.v4-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.v4-split--top { align-items: start; }
.v4-with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.v4-with-aside--left { grid-template-columns: 260px minmax(0, 1fr); }
.v4-sticky { position: sticky; top: calc(var(--v4-header-h) + 24px); }

.v4-grid { display: grid; gap: 20px; }
.v4-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.v4-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v4-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.v4-grid--auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ─── 3. Type ──────────────────────────────────────────────────────────── */

.v4-eyebrow {
    display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px !important;
    font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--v4-teal-700);
}
.v4-eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.v4-eyebrow--dark { color: var(--v4-teal-300); }
.v4-head--center .v4-eyebrow::before, .v4-hero--center .v4-eyebrow::before { display: none; }
.v4-lede { font-size: 1.0625rem; color: var(--v4-text-3); max-width: 64ch; }
.v4-muted { color: var(--v4-text-3); }
.v4-small { font-size: .875rem; }
main h2.v4-h2, .v4-head h2 { font-size: clamp(1.9rem, 2.4vw + 1rem, 2.75rem); line-height: 1.1; }
.v4-h3 { font-size: 1.25rem; }

/* ─── 4. Buttons ───────────────────────────────────────────────────────── */

main .v4-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 44px; padding: 10px 20px; border-radius: 12px; border: 1.5px solid transparent;
    font: 700 .9375rem/1.2 var(--v4-font-sans); white-space: nowrap; cursor: pointer; text-decoration: none;
    touch-action: manipulation;
    transition: background-color .2s var(--v4-ease), color .2s var(--v4-ease), border-color .2s var(--v4-ease), transform .2s var(--v4-ease);
}
main .v4-btn:active { transform: scale(.98); }
main .v4-btn .v4-ico { transition: transform .2s var(--v4-ease); }
main .v4-btn:hover .v4-ico { transform: translateX(2px); }
main .v4-btn-lg { min-height: 52px; padding: 13px 24px; font-size: 1rem; border-radius: 14px; }
main .v4-btn-sm { min-height: 38px; padding: 7px 14px; font-size: .875rem; border-radius: 10px; }
main .v4-btn-block { width: 100%; }
main .v4-btn-gold, main .v4-btn-gold:hover { color: var(--v4-ink-900); }
main .v4-btn-gold { background: var(--v4-gold-500); box-shadow: 0 6px 18px -8px rgba(242, 179, 61, .8); }
main .v4-btn-gold:hover { background: var(--v4-gold-400); }
main .v4-btn-ink, main .v4-btn-ink:hover { color: #fff; }
main .v4-btn-ink { background: var(--v4-ink-900); }
main .v4-btn-ink:hover { background: var(--v4-ink-700); }
main .v4-btn-outline, main .v4-btn-outline:hover { color: var(--v4-text); }
main .v4-btn-outline { background: #fff; border-color: var(--v4-line-2); }
main .v4-btn-outline:hover { border-color: var(--v4-ink-900); }
main .v4-btn-outline-light, main .v4-btn-outline-light:hover { color: #fff; }
main .v4-btn-outline-light { border-color: rgba(255, 255, 255, .32); }
main .v4-btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
main .v4-btn-ghost { color: var(--v4-text); }
main .v4-btn-ghost:hover { background: var(--v4-tint); color: var(--v4-text); }
main .v4-btn-link { padding-inline: 0; min-height: 40px; color: var(--v4-teal-700); }
main .v4-btn-link:hover { color: var(--v4-teal-800); }
main .v4-btn[disabled], main button.v4-btn:disabled { opacity: .55; cursor: not-allowed; }
.v4-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 28px; }

/* ─── 5. Page hero & section heads ─────────────────────────────────────── */

.v4-hero {
    position: relative; overflow: hidden; isolation: isolate;
    padding-block: clamp(30px, 3.4vw, 50px) clamp(34px, 3.8vw, 54px);
    background:
        radial-gradient(900px 460px at 88% 0%, rgba(13, 148, 136, .26), transparent 62%),
        radial-gradient(700px 420px at 0% 110%, rgba(37, 99, 235, .14), transparent 60%),
        var(--v4-ink-900);
    color: rgba(255, 255, 255, .78);
    --v4-focus: var(--v4-gold-400);
}
.v4-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse at 70% 20%, #000 15%, transparent 70%);
    mask-image: radial-gradient(ellipse at 70% 20%, #000 15%, transparent 70%);
}
.v4-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.v4-hero--split .v4-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.v4-hero__copy { max-width: 760px; }
.v4-hero--center .v4-hero__copy { margin-inline: auto; text-align: center; }
.v4-hero h1 { color: #fff; font-size: clamp(2.1rem, 2.2vw + 1rem, 3.1rem); line-height: 1.06; letter-spacing: -0.03em; }
.v4-hero h1 em { color: var(--v4-gold-400); }
.v4-hero__lede { margin-top: 14px; font-size: clamp(1rem, .3vw + .95rem, 1.125rem); color: rgba(255, 255, 255, .76); max-width: 60ch; }
.v4-hero--center .v4-hero__lede { margin-inline: auto; }
.v4-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.v4-hero--center .v4-hero__actions, .v4-hero--center .v4-hero__meta, .v4-hero--center .v4-hero__chips, .v4-hero--center .v4-crumbs ol { justify-content: center; }
.v4-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px !important; font-size: .875rem; color: rgba(255, 255, 255, .72); }
.v4-hero__meta li { display: inline-flex; align-items: center; gap: 6px; }
.v4-hero__meta .v4-ico { color: var(--v4-teal-300); }
.v4-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px !important; }
.v4-hero__chips a, .v4-hero__chips span {
    display: inline-flex; align-items: center; min-height: 38px; padding: 7px 14px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .05);
    color: #fff; font-size: .875rem; font-weight: 600;
    transition: background-color .2s var(--v4-ease), border-color .2s var(--v4-ease);
}
.v4-hero__chips a:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .4); color: #fff; }
.v4-hero--compact { padding-block: clamp(28px, 3vw, 44px); }
.v4-hero--compact h1 { font-size: clamp(1.9rem, 1.6vw + 1rem, 2.6rem); }
.v4-hero__aside { min-width: 0; }

.v4-crumbs { margin-bottom: 14px; font-size: .8438rem; }
.v4-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.v4-crumbs li { display: inline-flex; align-items: center; gap: 6px; color: rgba(255, 255, 255, .55); }
.v4-crumbs li + li::before { content: "/"; color: rgba(255, 255, 255, .3); }
.v4-crumbs a { color: rgba(255, 255, 255, .8); }
.v4-crumbs a:hover { color: #fff; }
.v4-crumbs [aria-current] { color: rgba(255, 255, 255, .6); }

/* Hero aside panel: quick facts, contact card, stats */
.v4-panel {
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--v4-r-xl); padding: 20px 24px; color: rgba(255, 255, 255, .78);
}
.v4-panel h2, .v4-panel h3 { color: #fff; font-family: var(--v4-font-sans); font-size: 1rem; font-weight: 700; margin-bottom: 8px; letter-spacing: 0; }
.v4-panel-list { display: grid; gap: 4px; }
.v4-panel-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .9375rem; }
.v4-panel-list li:first-child { border-top: 0; }
.v4-panel-list strong { color: #fff; font-family: var(--v4-font-display); font-size: 1.35rem; font-weight: 600; }
.v4-panel-list a { color: #fff; display: flex; justify-content: space-between; width: 100%; align-items: center; min-height: 32px; }
.v4-panel-list a:hover { color: var(--v4-gold-400); }

.v4-head { margin-bottom: clamp(32px, 4vw, 48px); }
.v4-head .v4-lede { margin-top: 14px; }
.v4-head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.v4-head--center .v4-lede { margin-inline: auto; }
.v4-head--split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px 64px; align-items: end; }
.v4-head--split .v4-lede { margin-top: 0; }
.v4-head--split .v4-btn-link { margin-top: 8px; }

/* ─── 6. Cards & tiles ─────────────────────────────────────────────────── */

.v4-card {
    position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0;
    padding: clamp(22px, 2vw, 28px); background: #fff;
    border: 1px solid var(--v4-line); border-radius: var(--v4-r-lg);
    transition: border-color .2s var(--v4-ease), box-shadow .2s var(--v4-ease), transform .2s var(--v4-ease);
}
.v4-card h3 { font-size: 1.125rem; }
.v4-card p { font-size: .9375rem; color: var(--v4-text-3); }
.v4-card__icon {
    width: 46px; height: 46px; flex-shrink: 0; margin-bottom: 6px; border-radius: 13px;
    display: grid; place-items: center; background: var(--v4-teal-50); color: var(--v4-teal-700);
    transition: background-color .2s var(--v4-ease), color .2s var(--v4-ease);
}
.v4-card__icon .v4-ico { width: 22px; height: 22px; }
.v4-card__icon--gold { background: var(--v4-gold-50); color: var(--v4-gold-600); }
.v4-card__icon--ink { background: var(--v4-ink-900); color: var(--v4-teal-300); }
.v4-card__foot {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px;
    margin-top: auto; padding-top: 14px; border-top: 1px solid var(--v4-line); font-size: .8438rem; color: var(--v4-text-3);
}
.v4-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.v4-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.v4-card__body > .v4-card__foot { margin-top: auto; }
.v4-card--link:hover, a.v4-card:hover { border-color: var(--v4-teal-600); box-shadow: var(--v4-shadow); transform: translateY(-3px); }
.v4-card--link:hover .v4-card__icon, a.v4-card:hover .v4-card__icon { background: var(--v4-teal-700); color: #fff; }
/* .v4-card sets position: relative, which would cancel .v4-sticky on a sticky card. */
.v4-card.v4-sticky { position: sticky; }
a.v4-card { color: inherit; }
.v4-card > .v4-card__link:last-child { margin-top: auto; padding-top: 4px; }
a.v4-card:hover { color: inherit; }
/* Make a whole card clickable from its main link without nesting anchors. */
.v4-card--link .v4-stretched::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.v4-card--row { flex-direction: row; align-items: flex-start; gap: 16px; }
.v4-card--row .v4-card__icon { margin-bottom: 0; }
.v4-card--featured { border-color: var(--v4-teal-600); box-shadow: 0 0 0 1px var(--v4-teal-600), var(--v4-shadow); }
.v4-card--ink { background: var(--v4-ink-900); border-color: var(--v4-ink-900); color: rgba(255, 255, 255, .78); --v4-focus: var(--v4-gold-400); }
.v4-card--ink h3 { color: #fff; }
.v4-card--ink p { color: rgba(255, 255, 255, .72); }
.v4-card--ink .v4-card__icon { background: rgba(94, 234, 212, .12); color: var(--v4-teal-300); }
.v4-card--ink .v4-card__link, .v4-card--ink a:not(.v4-btn) { color: var(--v4-teal-300); }
.v4-section--ink .v4-card--ink { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
.v4-card--ink .v4-card__foot { border-color: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .6); }
.v4-card--tint { background: var(--v4-tint); }
.v4-card__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .9375rem; color: var(--v4-teal-700); }
.v4-card__link .v4-ico { transition: transform .2s var(--v4-ease); }
.v4-card:hover .v4-card__link .v4-ico { transform: translateX(3px); }
.v4-card__kicker { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--v4-teal-700); }

/* Media panel with an image */
.v4-media { position: relative; border-radius: var(--v4-r-xl); overflow: hidden; box-shadow: var(--v4-shadow-lg); }
.v4-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ─── 7. Lists ─────────────────────────────────────────────────────────── */

.v4-ticks { display: grid; gap: 10px; }
.v4-ticks li { position: relative; padding-left: 28px; font-size: .9375rem; color: var(--v4-text-2); line-height: 1.5; }
.v4-ticks li::before {
    content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%;
    background: var(--v4-teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F766E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.v4-ticks--2 { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.v4-section--ink .v4-ticks li, .v4-card--ink .v4-ticks li { color: rgba(255, 255, 255, .82); }
.v4-section--ink .v4-ticks li::before, .v4-card--ink .v4-ticks li::before { background-color: rgba(94, 234, 212, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EEAD4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.v4-ticks--compact li { font-size: .875rem; }

.v4-defs { display: grid; gap: 0; }
.v4-defs > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--v4-line); font-size: .9375rem; }
.v4-defs > div:first-child { border-top: 0; }
.v4-defs dt { color: var(--v4-text-3); }
.v4-defs dd { color: var(--v4-text); font-weight: 600; text-align: right; }

/* ─── 8. Stats & steps ─────────────────────────────────────────────────── */

.v4-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--v4-line); }
.v4-stats--3 { grid-template-columns: repeat(3, 1fr); }
.v4-stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 24px 20px 0 0; }
.v4-stats > div + div { padding-left: 20px; border-left: 1px solid var(--v4-line); }
.v4-stats dd { margin: 0; font-family: var(--v4-font-display); font-weight: 600; font-size: clamp(1.9rem, 2vw + 1rem, 2.6rem); line-height: 1; color: var(--v4-text); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.v4-stats dt { font-size: .875rem; color: var(--v4-text-3); max-width: 24ch; }
.v4-section--ink .v4-stats, .v4-hero .v4-stats { border-color: rgba(255, 255, 255, .12); }
.v4-section--ink .v4-stats > div + div, .v4-hero .v4-stats > div + div { border-color: rgba(255, 255, 255, .12); }
.v4-section--ink .v4-stats dd, .v4-hero .v4-stats dd { color: #fff; }
.v4-section--ink .v4-stats dt, .v4-hero .v4-stats dt { color: rgba(255, 255, 255, .64); }

.v4-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: v4step; }
.v4-steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.v4-step { counter-increment: v4step; display: flex; flex-direction: column; gap: 10px; padding: 26px 22px; border-radius: var(--v4-r-lg); background: #fff; border: 1px solid var(--v4-line); }
.v4-step::before { content: counter(v4step, decimal-leading-zero); font-family: var(--v4-font-display); font-style: italic; font-weight: 500; font-size: 2.2rem; line-height: 1; color: var(--v4-teal-700); }
.v4-step h3 { font-size: 1.0625rem; }
.v4-step p { font-size: .9375rem; color: var(--v4-text-3); }
.v4-section--ink .v4-step { background: rgba(255, 255, 255, .035); border-color: rgba(255, 255, 255, .1); }
.v4-section--ink .v4-step::before { color: var(--v4-teal-300); }
.v4-section--ink .v4-step p { color: rgba(255, 255, 255, .72); }

/* ─── 9. Tags, pills, filters ──────────────────────────────────────────── */

.v4-tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--v4-slate-100); color: var(--v4-text-2); white-space: nowrap; }
.v4-tag--teal { background: var(--v4-teal-50); color: var(--v4-teal-700); }
.v4-tag--gold { background: var(--v4-gold-50); color: #92400E; }
.v4-tag--ink { background: var(--v4-ink-900); color: #fff; }
.v4-tag--red { background: #FEF2F2; color: #B91C1C; }
.v4-tag--orange { background: #FFF7ED; color: #C2410C; }
.v4-tag--green { background: #F0FDF4; color: #15803D; }
.v4-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.v4-filter { display: flex; flex-wrap: wrap; gap: 8px; }
.v4-filter a, .v4-filter button {
    display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 16px;
    border-radius: 999px; border: 1px solid var(--v4-line-2); background: #fff;
    font: 600 .875rem/1.2 var(--v4-font-sans); color: var(--v4-text); cursor: pointer;
    transition: background-color .2s var(--v4-ease), border-color .2s var(--v4-ease), color .2s var(--v4-ease);
}
.v4-filter a:hover, .v4-filter button:hover { border-color: var(--v4-ink-900); color: var(--v4-text); }
.v4-filter [aria-current="page"], .v4-filter [aria-pressed="true"], .v4-filter [aria-selected="true"], .v4-filter .is-active {
    background: var(--v4-ink-900); border-color: var(--v4-ink-900); color: #fff;
}
.v4-filter .v4-count { font-size: .75rem; padding: 1px 7px; border-radius: 999px; background: var(--v4-slate-100); color: var(--v4-text-3); }
.v4-filter [aria-current="page"] .v4-count, .v4-filter .is-active .v4-count { background: rgba(255, 255, 255, .16); color: #fff; }

/* Section jump-nav (in-page anchors), sits under the hero */
.v4-jumpnav { position: sticky; top: var(--v4-header-h); z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--v4-line); }
.v4-jumpnav ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding-block: 8px; }
.v4-jumpnav ul::-webkit-scrollbar { display: none; }
.v4-jumpnav a { display: inline-flex; align-items: center; gap: 5px; min-height: 40px; padding: 8px 14px; border-radius: 10px; white-space: nowrap; font-weight: 600; font-size: .9063rem; color: var(--v4-text-2); }
.v4-jumpnav a:hover, .v4-jumpnav a.is-active { background: var(--v4-tint); color: var(--v4-text); }

/* ─── 10. Quotes, plans, CTA ───────────────────────────────────────────── */

.v4-quote { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--v4-r-lg); background: #fff; border: 1px solid var(--v4-line); }
.v4-quote blockquote { flex: 1; }
.v4-quote blockquote p { color: var(--v4-text); font-size: 1rem; line-height: 1.65; }
.v4-quote figcaption { display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; align-items: center; padding-top: 16px; border-top: 1px solid var(--v4-line); font-size: .8438rem; color: var(--v4-text-3); }
.v4-quote figcaption strong { display: block; font-size: .9375rem; }
.v4-avatar { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--v4-ink-900); color: #fff; font-weight: 700; font-size: .875rem; }
.v4-stars { display: inline-flex; gap: 2px; color: var(--v4-gold-500); }
.v4-stars .v4-ico { width: 15px; height: 15px; }

.v4-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.v4-plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 28px; border-radius: var(--v4-r-xl); background: #fff; border: 1px solid var(--v4-line); }
.v4-plan h3 { font-size: 1.25rem; }
.v4-plan__for { font-size: .9375rem; color: var(--v4-text-3); min-height: 3em; }
.v4-plan__price { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 6px !important; }
.v4-plan__price span { font-family: var(--v4-font-display); font-weight: 600; font-size: clamp(2.3rem, 2vw + 1.2rem, 2.9rem); line-height: 1; color: var(--v4-text); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.v4-plan__price small { font-size: .875rem; font-weight: 600; color: var(--v4-text-3); }
.v4-plan .v4-ticks { margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--v4-line); }
.v4-plan--featured { background: var(--v4-ink-900); border-color: var(--v4-ink-900); color: rgba(255, 255, 255, .78); box-shadow: var(--v4-shadow-lg); --v4-focus: var(--v4-gold-400); }
.v4-plan--featured h3, .v4-plan--featured .v4-plan__price span { color: #fff; }
.v4-plan--featured .v4-plan__for, .v4-plan--featured .v4-plan__price small { color: rgba(255, 255, 255, .64); }
.v4-plan--featured .v4-ticks { border-color: rgba(255, 255, 255, .12); }
.v4-plan--featured .v4-ticks li { color: rgba(255, 255, 255, .86); }
.v4-plan--featured .v4-ticks li::before { background-color: rgba(94, 234, 212, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235EEAD4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.v4-plan__badge { position: absolute; top: -13px; left: 28px; padding: 6px 12px; border-radius: 999px; background: var(--v4-gold-500); color: var(--v4-ink-900); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.v4-cta {
    position: relative; overflow: hidden;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
    padding: clamp(28px, 4vw, 48px); border-radius: var(--v4-r-xl);
    background: radial-gradient(600px 300px at 100% 0%, rgba(242, 179, 61, .14), transparent 70%), radial-gradient(600px 300px at 0% 100%, rgba(13, 148, 136, .25), transparent 70%), var(--v4-ink-900);
    color: rgba(255, 255, 255, .76); --v4-focus: var(--v4-gold-400);
}
.v4-cta h2 { color: #fff; font-size: clamp(1.6rem, 1.6vw + 1rem, 2.2rem); }
.v4-cta h2 em { color: var(--v4-gold-400); }
.v4-cta p { margin-top: 8px; color: rgba(255, 255, 255, .72); max-width: 56ch; }
.v4-cta .v4-actions { margin-top: 0; }

/* ─── 11. Forms ────────────────────────────────────────────────────────── */

.v4-form { display: grid; gap: 18px; }
.v4-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.v4-field { display: grid; gap: 6px; min-width: 0; }
.v4-label, .v4-form label:not(.v4-check) { font-size: .875rem; font-weight: 600; color: var(--v4-text); }
.v4-label .v4-req, .v4-form .v4-req { color: #B91C1C; margin-left: 2px; }
.v4-input, .v4-form input[type="text"], .v4-form input[type="email"], .v4-form input[type="tel"], .v4-form input[type="url"],
.v4-form input[type="number"], .v4-form input[type="search"], .v4-form input[type="password"], .v4-form select, .v4-form textarea {
    width: 100%; min-height: 48px; padding: 11px 14px;
    font: 400 1rem/1.4 var(--v4-font-sans); color: var(--v4-text);
    background: #fff; border: 1.5px solid var(--v4-line-2); border-radius: 12px;
    transition: border-color .2s var(--v4-ease), box-shadow .2s var(--v4-ease);
}
.v4-form textarea { min-height: 140px; resize: vertical; }
.v4-form select { appearance: none; padding-right: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6880' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.v4-form :is(input, select, textarea):hover { border-color: var(--v4-slate-400); }
.v4-form :is(input, select, textarea):focus { outline: none; border-color: var(--v4-teal-600); box-shadow: 0 0 0 3px rgba(13, 148, 136, .18); }
.v4-form :is(input, select, textarea).error, .v4-form :is(input, select, textarea)[aria-invalid="true"] { border-color: #DC2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, .12); }
.v4-form ::placeholder { color: #8A96AA; }
.v4-help { font-size: .8125rem; color: var(--v4-text-3); }
.v4-form .form-error, .v4-error { font-size: .8125rem; font-weight: 600; color: #B91C1C; }
.v4-check { display: flex; align-items: flex-start; gap: 10px; font-size: .875rem; color: var(--v4-text-2); cursor: pointer; }
.v4-check input { width: 18px; height: 18px; min-height: 0; margin-top: 2px; flex-shrink: 0; accent-color: var(--v4-teal-700); }
.v4-form-status { display: none; padding: 14px 16px; border-radius: 12px; font-size: .9375rem; font-weight: 600; }
.v4-form-status.is-success { display: block; background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.v4-form-status.is-error { display: block; background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.v4-form-card { padding: clamp(24px, 3vw, 36px); background: #fff; border: 1px solid var(--v4-line); border-radius: var(--v4-r-xl); box-shadow: var(--v4-shadow); }
.v4-honeypot { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* SimpleCaptcha markup (includes/captcha.php) inside V4 forms */
.v4-form .captcha-container, .v4-form .captcha-wrapper { display: grid; gap: 8px; }
.v4-form .captcha-container img, .v4-form .captcha-wrapper img { border-radius: 10px; border: 1px solid var(--v4-line); max-width: 220px; }
.v4-form .captcha-container { margin: 0; }
.v4-form .captcha-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.v4-form .captcha-refresh-btn { width: 36px; height: 36px; top: -14px; right: -14px; font-size: 16px; background: var(--v4-teal-700); }
.v4-form .captcha-refresh-btn:hover { background: var(--v4-teal-800); }
.v4-form input.captcha-input { width: 170px; flex: 0 0 auto; letter-spacing: .14em; }
.v4-form input.captcha-input::placeholder { letter-spacing: normal; text-transform: none; font-family: var(--v4-font-sans); font-weight: 400; font-size: .9375rem; }
.v4-form .captcha-help { font-size: .8125rem; color: var(--v4-text-3); }

/* Search bar (white bar with action button) */
.v4-search { position: relative; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 16px; padding: 6px 6px 6px 46px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .55); border: 1px solid var(--v4-line); }
.v4-search > .v4-ico { position: absolute; left: 16px; width: 20px; height: 20px; color: var(--v4-text-3); }
.v4-search input { flex: 1; min-width: 0; height: 46px; border: 0; outline: 0; background: transparent; font: 400 1rem var(--v4-font-sans); color: var(--v4-text); }
.v4-search:focus-within { box-shadow: 0 0 0 3px var(--v4-gold-400), 0 20px 40px -20px rgba(0, 0, 0, .55); }

/* ─── 12. FAQ, tables, callouts, pagination ────────────────────────────── */

.v4-faq details { border-bottom: 1px solid var(--v4-line); }
.v4-faq details:first-child { border-top: 1px solid var(--v4-line); }
.v4-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.0625rem; color: var(--v4-text); }
.v4-faq summary::-webkit-details-marker { display: none; }
.v4-faq summary:hover { color: var(--v4-teal-700); }
.v4-faq summary::after {
    content: ""; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--v4-line-2);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1E3C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
    transition: transform .25s var(--v4-ease), background-color .25s var(--v4-ease);
}
.v4-faq details[open] summary::after { transform: rotate(45deg); background-color: var(--v4-tint); }
.v4-faq details > div, .v4-faq details > p { padding: 0 52px 22px 0; color: var(--v4-text-2); }
.v4-faq details > div p + p { margin-top: 10px; }

.v4-table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--v4-line); border-radius: var(--v4-r-lg); background: #fff; }
.v4-table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.v4-table th, .v4-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--v4-line); vertical-align: top; }
.v4-table thead th { background: var(--v4-tint); font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--v4-text-3); }
.v4-table tbody tr:last-child > * { border-bottom: 0; }
.v4-table td { color: var(--v4-text-2); }

.v4-callout { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--v4-r); background: var(--v4-teal-50); border: 1px solid var(--v4-teal-100); color: var(--v4-text-2); font-size: .9375rem; }
.v4-callout > .v4-ico { width: 22px; height: 22px; color: var(--v4-teal-700); margin-top: 1px; }
.v4-callout--gold { background: var(--v4-gold-50); border-color: #F8E2B0; }
.v4-callout--gold > .v4-ico { color: var(--v4-gold-600); }
.v4-callout--red { background: #FEF2F2; border-color: #FECACA; }
.v4-callout--red > .v4-ico { color: #B91C1C; }

.v4-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 40px; }
.v4-pagination a, .v4-pagination span { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--v4-line-2); font-weight: 600; color: var(--v4-text); background: #fff; }
.v4-pagination a:hover { border-color: var(--v4-ink-900); color: var(--v4-text); }
.v4-pagination [aria-current="page"] { background: var(--v4-ink-900); border-color: var(--v4-ink-900); color: #fff; }
.v4-pagination .is-disabled { opacity: .45; }

.v4-empty { text-align: center; padding: 56px 24px; border: 1px dashed var(--v4-line-2); border-radius: var(--v4-r-lg); color: var(--v4-text-3); }
.v4-empty h3 { margin-bottom: 6px; }

/* ─── 13. Prose (legal pages, articles) ────────────────────────────────── */

.v4-prose { color: var(--v4-text-2); font-size: 1.0625rem; line-height: 1.75; max-width: 72ch; }
.v4-prose > * + * { margin-top: 1.1em; }
.v4-prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 1vw + 1.1rem, 1.9rem); line-height: 1.2; }
.v4-prose h3 { margin-top: 1.8em; font-size: 1.1875rem; }
.v4-prose h4 { margin-top: 1.5em; font-size: 1.0625rem; }
.v4-prose > h2:first-child, .v4-prose > h3:first-child { margin-top: 0; }
.v4-prose ul, .v4-prose ol { padding-left: 1.4em; }
.v4-prose ul { list-style: disc; }
.v4-prose ol { list-style: decimal; }
.v4-prose li + li { margin-top: .4em; }
.v4-prose li::marker { color: var(--v4-teal-700); }
.v4-prose a { color: var(--v4-teal-700); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.v4-prose blockquote { margin-inline: 0; padding: 14px 20px; border-left: 3px solid var(--v4-teal-600); background: var(--v4-tint); border-radius: 0 12px 12px 0; color: var(--v4-text); }
.v4-prose code { font-size: .875em; padding: 2px 6px; border-radius: 6px; background: var(--v4-slate-100); color: var(--v4-ink-800); }
.v4-prose pre { overflow-x: auto; padding: 18px 20px; border-radius: 14px; background: var(--v4-ink-950); color: #E2E8F0; font-size: .875rem; line-height: 1.6; }
.v4-prose pre code { padding: 0; background: none; color: inherit; }
.v4-prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.v4-prose th, .v4-prose td { padding: 10px 14px; border: 1px solid var(--v4-line); text-align: left; vertical-align: top; }
.v4-prose th { background: var(--v4-tint); color: var(--v4-text); }
/* A .v4-table inside prose keeps its own row-rule look, not prose's full grid. */
.v4-prose .v4-table th, .v4-prose .v4-table td { border: 0; border-bottom: 1px solid var(--v4-line); padding: 12px 16px; }
.v4-prose .v4-table thead th { background: var(--v4-tint); color: var(--v4-text-3); font-size: .8125rem; }
.v4-prose .v4-table tbody tr:last-child > * { border-bottom: 0; }
.v4-prose .v4-table-wrap { margin-block: 1.2em; }
.v4-prose hr { border: 0; border-top: 1px solid var(--v4-line); margin-block: 2em; }
.v4-prose strong { color: var(--v4-text); }
.v4-prose img { border-radius: 14px; }

.v4-toc { padding: 20px; border-radius: var(--v4-r-lg); background: var(--v4-tint); border: 1px solid var(--v4-line); }
.v4-toc p { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--v4-text-3); margin-bottom: 10px !important; }
.v4-toc ol { display: grid; gap: 2px; counter-reset: toc; }
.v4-toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 8px; font-size: .875rem; line-height: 1.4; color: var(--v4-text-2); }
.v4-toc a::before { counter-increment: toc; content: counter(toc); min-width: 1.2em; font-weight: 700; color: var(--v4-text-3); font-variant-numeric: tabular-nums; }
.v4-toc a:hover { background: #fff; color: var(--v4-text); }
.v4-toc a.is-active { background: #fff; color: var(--v4-teal-700); font-weight: 600; box-shadow: var(--v4-shadow-sm); }

.v4-doc-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px !important; font-size: .875rem; color: rgba(255, 255, 255, .64); }
.v4-doc-meta li { display: inline-flex; align-items: center; gap: 6px; }

/* ─── 13b. Knowledge base (HIPAA controls, NIST guidelines) ────────────── */

/* ── List: hero search panel ─────────────────────────────────────────────── */
.v4-kb-search-help { margin-top: 12px !important; font-size: .8125rem; color: rgba(255, 255, 255, .66); }
.v4-kb-search-panel .v4-search { box-shadow: none; }

/* ── List: filter rows ───────────────────────────────────────────────────── */
.v4-kb-filters { display: grid; gap: 12px; padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--v4-line); }
.v4-kb-filters__row { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 8px 16px; align-items: start; }
.v4-kb-filters__label { padding-top: 11px; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--v4-text-3); }

/* ── List: results bar + cards ───────────────────────────────────────────── */
.v4-kb-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 24px; margin-bottom: 24px; }
.v4-kb-bar h2 { font-size: clamp(1.5rem, 1vw + 1.1rem, 1.9rem); line-height: 1.15; }
.v4-kb-bar p { margin-top: 4px !important; }
.v4-kb-card h3 { font-size: 1.0625rem; }
.v4-kb-card h3 a { color: var(--v4-text); }
.v4-kb-card:hover h3 a { color: var(--v4-teal-700); }
.v4-kb-id { font: 700 .8125rem/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: var(--v4-teal-700); overflow-wrap: anywhere; }
.v4-kb-card .v4-card__top { align-items: center; }
.v4-kb-meta { display: inline-flex; align-items: center; gap: 6px; }
.v4-empty .v4-card__icon { margin: 0 auto 14px; }
.v4-empty .v4-btn { margin-top: 20px; }

/* ── Below the results ───────────────────────────────────────────────────── */
.v4-kb-checklist { margin-top: 20px; }
.v4-kb-checklist h3 + p { margin-top: 8px !important; }
.v4-kb-checklist .v4-ticks a { font-weight: 700; }

/* ── Detail: main column + aside ─────────────────────────────────────────── */
.v4-kb-main { display: grid; gap: 48px; min-width: 0; }
.v4-kb-main h2 { font-size: clamp(1.45rem, .8vw + 1.1rem, 1.8rem); line-height: 1.2; margin-bottom: 16px !important; }
.v4-kb-main .v4-callout { padding: clamp(22px, 2.4vw, 30px); gap: 16px; }
.v4-kb-main .v4-callout h2 { margin-bottom: 10px !important; }
.v4-kb-main .v4-callout .v4-prose { font-size: 1rem; }
.v4-kb-main .v4-card--row h3 { font-size: 1rem; }
/* The aside spans the full row so its last card (related links) can stay in
   view while reading; the taller quick-facts card scrolls normally. */
.v4-kb-aside { display: grid; gap: 16px; align-self: stretch; align-content: start; }
/* .v4-card (position: relative) is declared after .v4-sticky in pages.css and
   would win, so restate sticky here for the related-links card. */
.v4-kb-detail .v4-sticky { position: sticky; top: calc(var(--v4-header-h) + 81px); }
.v4-kb-aside h2 { font: 700 1rem/1.3 var(--v4-font-sans); letter-spacing: 0; }
.v4-kb-aside .v4-defs { margin-top: 6px; }
.v4-kb-aside .v4-defs dd { overflow-wrap: anywhere; }
.v4-kb-aside__actions { display: grid; gap: 10px; margin-top: 8px; }
.v4-kb-related ul { display: grid; margin-top: 6px; }
.v4-kb-related li + li { border-top: 1px solid var(--v4-line); }
.v4-kb-related li a { display: grid; gap: 2px; padding: 10px 0; min-height: 44px; color: var(--v4-text); font-size: .9375rem; font-weight: 600; line-height: 1.4; }
.v4-kb-related li a:hover { color: var(--v4-teal-700); }

@media (max-width: 960px), (max-height: 640px) {
    .v4-kb-detail .v4-sticky { position: static; }
}
@media (max-width: 640px) {
    .v4-kb-filters__row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .v4-kb-filters__label { padding-top: 0; }
    /* Long pill rows scroll sideways instead of stacking six lines deep. */
    .v4-kb-filters .v4-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--v4-gutter) * -1); padding: 4px var(--v4-gutter); }
    .v4-kb-filters .v4-filter::-webkit-scrollbar { display: none; }
    .v4-kb-filters .v4-filter li { flex-shrink: 0; }
    .v4-kb-main { gap: 40px; }
    .v4-kb-main .v4-callout { flex-direction: column; gap: 10px; }
}

/* ─── 14. Modal ────────────────────────────────────────────────────────── */

.v4-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; background: rgba(6, 19, 37, .62); }
.v4-modal[hidden] { display: none; }
.v4-modal__dialog { position: relative; width: 100%; max-width: 480px; max-height: calc(100dvh - 32px); overflow-y: auto; padding: clamp(24px, 4vw, 36px); border-radius: var(--v4-r-xl); background: #fff; box-shadow: var(--v4-shadow-lg); animation: v4-pop .25s var(--v4-ease); }
.v4-modal__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; background: none; color: var(--v4-text-3); cursor: pointer; }
.v4-modal__close:hover { background: var(--v4-tint); color: var(--v4-text); }
.v4-modal__dialog h2 { font-size: 1.6rem; margin-bottom: 8px !important; padding-right: 36px; }
html.v4-modal-open { overflow: hidden; }

/* ─── 15. Responsive & motion ──────────────────────────────────────────── */

@keyframes v4-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }

@media (max-width: 1080px) {
    .v4-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v4-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v4-with-aside { grid-template-columns: minmax(0, 1fr) 300px; }
}
@media (max-width: 960px) {
    .v4-hide-mobile { display: none !important; }
    .v4-hero--split .v4-hero__grid, .v4-split, .v4-with-aside, .v4-with-aside--left, .v4-head--split { grid-template-columns: minmax(0, 1fr); }
    .v4-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v4-plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
    .v4-stats { grid-template-columns: repeat(2, 1fr); }
    .v4-stats > div:nth-child(3) { padding-left: 0; border-left: 0; }
    .v4-stats > div:nth-child(n + 3) { padding-top: 20px; }
    .v4-sticky, .v4-card.v4-sticky { position: static; }
    .v4-steps--3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .v4-grid--2, .v4-grid--3, .v4-grid--4, .v4-steps, .v4-form-row, .v4-ticks--2 { grid-template-columns: minmax(0, 1fr); }
    .v4-hero__actions .v4-btn { width: 100%; }
    .v4-card--row { flex-direction: column; }
    .v4-cta .v4-actions, .v4-cta .v4-actions .v4-btn { width: 100%; }
    .v4-faq details > div, .v4-faq details > p { padding-right: 0; }
    .v4-defs > div { flex-direction: column; gap: 2px; }
    .v4-defs dd { text-align: left; }
    .v4-table th, .v4-table td { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) {
    main *, main *::before, main *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
