html.menu-open,
body.menu-open {
    overflow: hidden !important;
    height: 100%;
}

:root {

    --font-heading: "Outfit", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    --font-body: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

    --bg: #0b1220;
    --bg2: #070c16;
    --card: #0e172a;
    --text: #e8eefc;
    --muted: rgba(232, 238, 252, .99);
    --border: rgba(66, 186, 255, .25);
    --border-bright: rgba(66, 186, 255, .9);
    --accent: #3399ff;
    --radius: 18px;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    background:
        radial-gradient(1200px 600px at 30% 10%, rgba(47, 184, 255, .14), transparent 60%),
        radial-gradient(900px 500px at 70% 30%, rgba(47, 184, 255, .10), transparent 55%),
        linear-gradient(180deg, var(--bg), var(--bg2));
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.light {
    --bg: #f5f7fb;
    --bg2: #ffffff;
    --card: #ffffff;
    --text: #0b1220;
    --muted: rgba(11, 18, 32, .7);
    --border: rgba(47, 184, 255, .35);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 64px 0;
}

.h1,
.h2,
.h3,
h1,
h2,
h3 {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.h1 {
    font-size: 54px;
    line-height: 1.05;
    font-weight: 800;
    margin: 0 0 14px;
}

.h2 {
    font-size: 34px;
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 12px;
}

.h3 {
    font-size: 22px;
    font-weight: 900;
    margin: 14px 0 8px;
}


.lead {
    font-size: 18px;
    color: var(--muted);
    max-width: 52ch;
}

.muted {
    color: var(--muted);
}

.accent {
    color: var(--accent);
}

.text-gradient {
    background-image: linear-gradient(135deg, #2fb8ff, #1190ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, 0)), var(--card);
    border: 1px solid var(--border-bright);
    border-radius: var(--radius);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .25);
}

.pad {
    padding: 22px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 12, 22, .55);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

body.light .site-header {
    background: rgba(255, 255, 255, .72);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    border-radius: 999px;
    padding: 10px 12px;
    cursor: pointer;
}

.menu-toggle .icon svg {
    width: 20px;
    height: 20px;
}

/* Mobile menu styles */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    background: rgba(6, 10, 18, .95);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, visibility .18s ease;
}

body.light .mobile-menu {
    background: rgba(245, 247, 251, .92);
}

.mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 90%;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mobile-menu__close {
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .06);
    color: var(--text);
    border-radius: 999px;
    padding: 12px;
    cursor: pointer;
}

.mobile-menu__close .icon svg {
    width: 22px;
    height: 22px;
}

.mobile-menu__nav {
    flex: 1;
    display: flex;
}

.mobile-menu__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 92%;
}

.mobile-menu__list li {
    margin: 0;
}

.mobile-menu__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: 100%;
    padding: 18px 18px;
    border-radius: 18px;
    text-decoration: none;
    color: var(--text);
    font-family: var(--font-heading);
    font-weight: 700;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}

.mobile-menu__list a::after {
    content: "";
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: .9;
}

.mobile-menu__cta {
    padding-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu__cta .btn {
    width: 80%;
}

.mobile-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .55));
    pointer-events: none;
}

body.light .mobile-menu::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .55));
}

/* Lock background scroll when menu open */
html.menu-open,
html.menu-open body {
    overflow: hidden !important;
    height: 100%;
}

/* Mobile rules */
@media (max-width: 900px) {

    .nav-primary {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}


.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.logo {
    height: 50px;
    width: auto;
    display: block;
}

.logo-light {
    display: none;
}

body.light .logo-dark {
    display: none;
}

body.light .logo-light {
    display: block;
}

.menu {
    display: flex;
    gap: 14px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.menu a:hover {
    color: var(--text);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle {
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    border-radius: 999px;
    padding: 8px 10px;
    cursor: pointer;
    display: flex;
    gap: 8px;
    align-items: center;
}

.theme-toggle .icon {
    display: inline-flex;
}

.theme-toggle .icon svg {
    width: 18px;
    height: 18px;
    display: block;
}

.theme-toggle .icon-moon {
    display: none;
}

body.light .theme-toggle .icon-sun {
    display: none;
}

body.light .theme-toggle .icon-moon {
    display: inline-flex;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    border: 1px solid transparent;
    position: relative;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #06101a;
    background: linear-gradient(90deg, #2fb8ff 0%, #1aa4ff 40%, #1190ff 100%);
    box-shadow: 0 10px 30px rgba(47, 184, 255, .25);
}

/*.btn-primary:hover {
    box-shadow: 0 12px 36px rgba(47, 184, 255, .34);
}*/

.btn-secondary {
    color: var(--text);
    background: rgba(255, 255, 255, .02);
    border-color: rgba(47, 184, 255, .55);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(47, 184, 255, .75);
}

.btn.has-arrow::after {
    content: "";
    width: 18px;
    height: 18px;
    display: inline-block;
    margin-left: 8px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/contain no-repeat;
    opacity: .95;
}

.btn-sm {
    padding: 10px 14px;
    font-size: 14px;
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: var(--hero-bg-opacity, .35);
    z-index: 0;
    filter: saturate(1.05) contrast(1.05);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(1200px 600px at 30% 10%, rgba(47, 184, 255, .18), transparent 60%),
        radial-gradient(900px 500px at 70% 30%, rgba(47, 184, 255, .12), transparent 55%),
        linear-gradient(180deg, rgba(7, 12, 22, .75), rgba(7, 12, 22, .92));
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 26px;
    align-items: center;
}

.hero-card {
    padding: 18px;
}

.hero-mock {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.hero-mock-placeholder {
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, .18);
}

.grid {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(47, 184, 255, .95), rgba(17, 144, 255, .85));
    box-shadow: 0 14px 34px rgba(47, 184, 255, .18);
    border: 1px solid rgba(255, 255, 255, .14);
}

.icon svg {
    width: 22px;
    height: 22px;
    display: block;
}


.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
}

.checklist {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.checklist li {
    padding-left: 26px;
    position: relative;
    margin: 10px 0;
    color: var(--muted);
}

.checklist li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 900;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-value {
    font-size: 28px;
    font-weight: 900;
    color: var(--accent);
}

.value-stats h2 {
    margin-bottom: 40px;
}

.stats-disclaimer {
    margin-top: 18px;
    max-width: 820px;
    font-size: 13px;
    line-height: 1.45;
    opacity: 0.75;
    color: var(--muted);
    margin: 18px auto 0;
    text-align: center;
}

.section-value .value-kicker {
    width: 100%;
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: -0.01em;
    color: var(--text);
    opacity: .9;
}

.section-contact .contact-split {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 44px;
    align-items: start;
}

.contact-subhead {
    max-width: 46ch;
    margin-top: 14px;
}

.contact-steps {
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
    display: grid;
    gap: 18px;
}

.contact-step {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 14px;
    align-items: start;
}

.contact-step__num {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    background: rgba(47, 184, 255, .18);
    border: 1px solid rgba(47, 184, 255, .28);
    color: var(--accent);
}

.contact-step__title {
    font-weight: 900;
    margin-bottom: 2px;
}

.contact-form-card {
    border-radius: 18px;
}

.contact-privacy {
    margin-top: 14px;
    text-align: center;
    font-size: 12px;
    opacity: .85;
}

/* Ninja Forms styling to match theme */
.section-contact .nf-form-cont .nf-field-label label {
    font-weight: 700;
    font-size: 13px;
}

.section-contact input[type="text"],
.section-contact input[type="email"],
.section-contact input[type="tel"],
.section-contact select,
.section-contact textarea {
    width: 100%;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 10px;
    padding: 12px 12px;
    color: var(--text);
}

body.light .section-contact input[type="text"],
body.light .section-contact input[type="email"],
body.light .section-contact input[type="tel"],
body.light .section-contact select,
body.light .section-contact textarea {
    background: rgba(0, 0, 0, .03);
    border-color: rgba(0, 0, 0, .10);
}

.section-contact .nf-form-cont input[type="button"],
.section-contact .nf-form-cont button {
    width: 100%;
    border-radius: 14px;
    padding: 14px 16px;
    font-weight: 900;
}

/* Contact right column (optional heading/body + stacked blocks) */
.contact-right__heading {
    margin: 0 0 10px;
}

.contact-right__body {
    margin: 0 0 14px;
}

.contact-right__block {
    margin-top: 14px;
}

.contact-right__block:first-child {
    margin-top: 0;
}

/* Stripe embeds: keep contained */
.contact-right__block--stripe {
    overflow: hidden;
    text-align: center;
}

.contact-right__block--stripe iframe {
    max-width: 100%;
}

@media (max-width: 980px) {
    .section-contact .contact-split {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* =========================
   Ninja Forms – Submit Button
   ========================= */

.ninja-forms-form-wrap .submit-wrap input[type="submit"],
.ninja-forms-form-wrap .submit-wrap button {
    appearance: none;
    border: 0;
    border-radius: 14px;
    padding: 16px 28px;
    width: 100%;
    max-width: 100%;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    cursor: pointer;

    color: #001018;
    background: linear-gradient(135deg,
            #00c8ff 0%,
            #2f8cff 100%);

    box-shadow:
        0 10px 30px rgba(0, 184, 255, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        filter 0.15s ease;
}

/* Hover */
.ninja-forms-form-wrap .submit-wrap input[type="submit"]:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow:
        0 14px 40px rgba(0, 184, 255, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Active */
.ninja-forms-form-wrap .submit-wrap input[type="submit"]:active {
    transform: translateY(0);
    box-shadow:
        0 8px 22px rgba(0, 184, 255, 0.35),
        inset 0 2px 6px rgba(0, 0, 0, 0.25);
}

/* Focus (accessibility) */
.ninja-forms-form-wrap .submit-wrap input[type="submit"]:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 3px rgba(0, 184, 255, 0.35),
        0 12px 36px rgba(0, 184, 255, 0.4);
}

/* Disabled / processing */
.ninja-forms-form-wrap .submit-wrap input[type="submit"][disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Desktop refinement */
@media (min-width: 768px) {
    .ninja-forms-form-wrap .submit-wrap {
        text-align: right;
    }

    .ninja-forms-form-wrap .submit-wrap input[type="submit"] {
        width: auto;
        min-width: 100%;
    }
}



@media (max-width: 768px) {
    .section-value .value-kicker {
        font-size: 16px;
    }
}

.value-kicker {
    width: 100%;
    margin: 0 auto 12px;
    max-width: 820px;
    text-align: center;
    font-size: 18px;
    line-height: 1.35;
    opacity: .9;
}

@media (max-width: 768px) {
    .value-kicker {
        font-size: 16px;
        margin-bottom: 10px;
    }
}

.faq {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, .02);
}

.faq-q {
    cursor: pointer;
    font-weight: 800;
}

.faq-a {
    margin-top: 10px;
    color: var(--muted);
}

.cta-panel {
    text-align: center;
    padding: 34px;
}

.cta-panel .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    width: 32px;
    height: 32px;
}

.cta-panel .icon svg {
    width: 24px;
    height: 24px;
}

.site-footer {
    padding: 44px 0 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr .8fr .8fr;
    gap: 22px;
}

.footer-title {
    font-weight: 800;
    margin-bottom: 8px;
}

footer .menu {
    flex-direction: column;
    gap: 8px;
}

.footer-link {
    color: var(--muted);
    text-decoration: none;
}

.footer-link:hover {
    color: var(--text);
}

.footer-bottom {
    padding-top: 18px;
    margin-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    font-size: 13px;
}

.footer-bottom a {
    color: var(--muted);
}

.footer-social {
    display: flex;
    gap: 14px;
    margin-top: 12px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
}

/* A11y helper (you need this or your labels show as normal text) */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Footer social layout */
.site-footer .footer-social {
    display: flex;
    gap: 14px;
    margin-top: 12px;
}

/* Make the icon links look like your circles */
.site-footer .footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 2px solid var(--accent);
    color: var(--text);
    /* this drives currentColor */
    text-decoration: none;
    line-height: 0;
    /* prevents weird inline sizing */
}

/* THIS is the important part: stop SVG collapsing to 0px width */
.site-footer .footer-social-link svg {
    display: block;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    /* prevents 0 width in flex */
    min-height: 20px;
}

/* Optional: hover feel */
.site-footer .footer-social-link:hover {
    transform: translateY(-1px);
}

/* BLOG */
.section-blog-hero {
    padding-bottom: 12px;
}

.blog-hero-subhead {
    max-width: 760px;
    margin: 12px auto 0;
}

.blog-toolbar {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0 22px;
    flex-wrap: wrap;
}

.blog-toolbar .search-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.blog-toolbar input[type="search"] {
    width: min(420px, 70vw);
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border, rgba(66, 186, 255, .25));
    background: rgba(255, 255, 255, .03);
    color: var(--text, #e8eefc);
}

body.light .blog-toolbar input[type="search"] {
    background: rgba(255, 255, 255, .75);
    color: #0b1220;
}

.blog-cat-filter select {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border, rgba(66, 186, 255, .25));
    background: rgba(255, 255, 255, .03);
    color: var(--text, #e8eefc);
}

body.light .blog-cat-filter select {
    background: rgba(255, 255, 255, .75);
    color: #0b1220;
}

/* =========================
   BLOG POLISH
   ========================= */

/* Toolbar */
.blog-toolbar {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0 22px;
    flex-wrap: wrap;
}

.blog-toolbar__left .search-form {
    display: flex;
    gap: 10px;
    align-items: center;
}

.blog-toolbar input[type="search"] {
    width: min(520px, 74vw);
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--border, rgba(66, 186, 255, .25));
    background: rgba(255, 255, 255, .03);
    color: var(--text, #e8eefc);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.blog-toolbar input[type="search"]:focus {
    border-color: rgba(66, 186, 255, .75);
    box-shadow: 0 0 0 4px rgba(51, 153, 255, .14);
}

body.light .blog-toolbar input[type="search"] {
    background: rgba(255, 255, 255, .78);
    color: #0b1220;
}

.blog-toolbar .search-submit {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(66, 186, 255, .35);
    background: rgba(51, 153, 255, .22);
    color: var(--text, #e8eefc);
    cursor: pointer;
    transition: transform .15s ease, background .2s ease, border-color .2s ease;
}

.blog-toolbar .search-submit:hover {
    transform: translateY(-1px);
    background: rgba(51, 153, 255, .30);
    border-color: rgba(66, 186, 255, .65);
}

.blog-cat-filter select {
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid var(--border, rgba(66, 186, 255, .25));
    background: rgba(255, 255, 255, .03);
    color: var(--text, #e8eefc);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.blog-cat-filter select:focus {
    border-color: rgba(66, 186, 255, .75);
    box-shadow: 0 0 0 4px rgba(51, 153, 255, .14);
}

body.light .blog-cat-filter select {
    background: rgba(255, 255, 255, .78);
    color: #0b1220;
}

/* Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

@media (max-width: 980px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* Cards: equal height + nicer hover */
.blog-card {
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-card__media {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(66, 186, 255, .18);
}

.blog-card__media img {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.01);
    transition: transform .35s ease, filter .35s ease;
}

.blog-card__body {
    padding: 16px 16px 18px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 10px;
    min-height: 220px;

}

.blog-card__meta {
    font-size: 14px;
    opacity: .92;
}

.blog-card__title {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    letter-spacing: .2px;
}

.blog-card__excerpt {
    margin: 0;
    opacity: .92;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 0 0 auto;
}

.blog-card__cta {
    margin-top: auto;
    padding-top: 4px;
    width: 100%;
    display: block;
    text-align: center;
}
.blog-card__cta span {
    color: var(--accent);
}


/* Make “Read more” feel clickable but keep whole card as the link */
.blog-card__cta .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 90%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(66, 186, 255, .35);
    background: rgba(51, 153, 255, .18);
    transition: transform .15s ease, background .2s ease, border-color .2s ease;
    pointer-events: none;
    /* keep the whole card clickable */
}

.blog-card__link:hover .blog-card__cta .btn {
    transform: translateY(-1px);
    background: rgba(51, 153, 255, .28);
    border-color: rgba(66, 186, 255, .65);
}

.blog-card__link:hover .blog-card__media img {
    transform: scale(1.06);
    filter: saturate(1.05);
}

/* Pagination */
.blog-pagination {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 26px;
    flex-wrap: wrap;
}

.blog-pagination a,
.blog-pagination span {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--border, rgba(66, 186, 255, .25));
    background: rgba(255, 255, 255, .03);
    color: var(--text, #e8eefc);
    text-decoration: none;
    transition: transform .15s ease, background .2s ease, border-color .2s ease;
}

.blog-pagination a:hover {
    transform: translateY(-1px);
    background: rgba(51, 153, 255, .18);
    border-color: rgba(66, 186, 255, .55);
}

.blog-pagination .current {
    background: rgba(51, 153, 255, .22);
    border-color: rgba(51, 153, 255, .60);
}

/* Light mode refinements */
body.light .blog-card__cta .btn {
    background: rgba(51, 153, 255, .12);
}

body.light .blog-pagination a,
body.light .blog-pagination span {
    background: rgba(255, 255, 255, .70);
    color: #0b1220;
}

/* Blog/3 Cards */
.blog-flex__subhead {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.blog-grid {
    margin-top: 26px;
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(47, 184, 255, .25);
    background: rgba(255, 255, 255, .02);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
    display: flex;
    flex-direction: column;
    height: 100%;
}

body.light .blog-card {
    background: rgba(255, 255, 255, .75);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .08);
}

.blog-card__media {
    display: block;
}

.blog-card__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.blog-card__body {
    padding: 18px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.blog-card__meta {
    font-size: 14px;
    opacity: .75;
    margin-bottom: 8px;
}

.blog-card__title {
    margin: 0 0 10px;
    line-height: 1.15;
}

.blog-card__title a {
    color: inherit;
    text-decoration: none;
}

.blog-card__excerpt {
    margin: 0;
    opacity: .85;
}

.blog-card__cta {
    padding: 0;
    margin-top: auto;
    /* keeps button pinned bottom */
    width: 100%;
    text-align: center;
}

.blog-flex__footer {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

/* Blog/Single post */
.section-post-hero {
    padding-bottom: 10px;
}

.post-hero__meta {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}

.post-title {
    text-align: center;
    margin: 0 auto 10px;
}

.post-excerpt {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.post-featured {
    margin-top: 18px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--border, rgba(66, 186, 255, .25));
}

.post-featured img {
    display: block;
    width: 100%;
    height: auto;
}

.post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 18px;
    align-items: start;
}

@media (max-width: 980px) {
    .post-layout {
        grid-template-columns: 1fr;
    }

    .post-aside {
        order: 2;
    }
}

/* Sidebar CTA (Single post sidebar) */
.sidebar-cta {
	border-radius: var(--radius);
	padding: 18px;
	position: relative;
	overflow: hidden;
    margin-bottom: 18px;

	border: 1px solid rgba(66, 186, 255, 0.22);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);

	/* Dark/default */
	background: linear-gradient(
		135deg,
		rgba(51, 153, 255, 0.22),
		rgba(47, 184, 255, 0.10)
	);
}

/* Light mode variant (works whether you set data-theme on body or html) */
[data-theme="light"] .sidebar-cta {
	border-color: rgba(10, 20, 40, 0.10);
	box-shadow: 0 12px 35px rgba(10, 20, 40, 0.10);
	background: linear-gradient(
		135deg,
		rgba(51, 153, 255, 0.18),
		rgba(230, 240, 255, 0.65)
	);
}

.sidebar-cta__media {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.sidebar-cta__media img {
	max-width: 160px;
	height: auto;
	display: block;
}

.sidebar-cta__title {
	margin: 0 0 8px;
}

.sidebar-cta__body {
	margin: 0 0 14px;
}

.sidebar-cta__body p:last-child {
	margin-bottom: 0;
}

.sidebar-cta__actions {
	display: flex;
}


.post-aside__title {
    font-weight: 700;
    margin-bottom: 10px;
}

.post-aside__list {
    margin: 0;
    padding-left: 18px;
}

.post-aside__list li {
    margin: 8px 0;
}

.post-aside__list li a {
    color: var(--text);
}

.post-nav {
    margin-top: 18px;
    display: flex;
	gap: 18px;
	align-items: stretch;
}

@media (max-width: 640px) {
    .post-nav {
        flex-direction: column;
    }
}

.post-nav__link {
    display: block;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--border, rgba(66, 186, 255, .25));
    background: rgba(255, 255, 255, .03);
    text-decoration: none;
    color: inherit;
}

.post-nav__kicker {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.post-nav__title {
    display: block;
    font-weight: 700;
}

.post-nav__item {
	flex: 1;
	display: flex;
}

.post-nav__item--right {
    text-align: right;
}

/* Optional: consistent media height */
.blog-card__media {
	aspect-ratio: 16 / 9;
    flex: 0 0 auto;
}

.blog-card__media img {
	width:100%;
	height:100%;
	object-fit: cover;
	display:block;
}


/* Flexible Content */
.intro {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.intro .h1 {
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

.intro .wysiwyg {
    margin-top: 14px;
}

.intro .wysiwyg p {
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
}

/* Impact: Cost of Churn */
.cost-card {
    max-width: 920px;
    margin: 22px auto 0;
}

.cost-card__title {
    text-align: center;
    font-weight: 800;
    margin-bottom: 16px;
}

.cost-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}

.cost-item {
    border-radius: 14px;
    background: rgba(255, 255, 255, .02);
    border: 1px solid rgba(255, 255, 255, .06);
    padding: 16px;
    text-align: center;
}

body.light .cost-item {
    background: rgba(0, 0, 0, .03);
    border-color: rgba(0, 0, 0, .06);
}

.cost-item__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    background: rgba(47, 184, 255, .14);
    border: 1px solid rgba(47, 184, 255, .22);
}

.cost-item__value {
    font-weight: 900;
    font-size: 18px;
}

.cost-item__label {
    margin-top: 6px;
    font-weight: 700;
    font-size: 13px;
}

.cost-item__sub {
    margin-top: 4px;
    font-size: 12px;
    opacity: .85;
}

.cost-total {
    margin-top: 10px;
    border-radius: 14px;
    border: 1px solid rgba(47, 184, 255, .22);
    background: rgba(47, 184, 255, .08);
    padding: 16px;
    text-align: center;
}

.cost-total__value {
    font-size: 34px;
    font-weight: 900;
    color: var(--accent);
    line-height: 1.05;
    margin-top: 6px;
}

.cost-total__note {
    font-size: 12px;
    margin-top: 6px;
    opacity: .85;
}

/* Impact: Outcome + Results bars */
.outcome-split {
    align-items: center;
}

.outcome-list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.outcome-item {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 12px;
    align-items: flex-start;
}

.outcome-check {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-top: 2px;
}

.outcome-title {
    font-weight: 800;
    margin-bottom: 2px;
}

.results-card {
    width: 100%;
    margin-left: auto;
}

.results-title {
    font-weight: 900;
    text-align: center;
    margin-bottom: 12px;
}

.results-bars {
    display: grid;
    gap: 12px;
}

.results-row__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.results-row__label {
    font-weight: 700;
    font-size: 13px;
    opacity: .95;
}

.results-row__value {
    font-weight: 900;
    font-size: 13px;
    color: var(--accent);
}

.results-track {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    overflow: hidden;
}

body.light .results-track {
    background: rgba(0, 0, 0, .08);
}

.results-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    transform: translateZ(0);
    transition: width .9s cubic-bezier(.2, .8, .2, 1);
}

/* Reuse your thresholds */
.results-fill.tone-good {
    background: rgba(34, 197, 94, 1);
}

.results-fill.tone-warn {
    background: rgba(245, 158, 11, 1);
}

.results-fill.tone-bad {
    background: rgba(239, 68, 68, 1);
}

@media (max-width: 900px) {
    .cost-grid {
        grid-template-columns: 1fr;
    }

    .results-card {
        max-width: 90%;
        margin-left: 0;
    }
}

/* Retention Tabs */
.tabs-retention {
    margin-top: 22px;
}

.tabs-retention .tabs-nav {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 18px 0 22px;
}

.tabs-retention .tab-btn {
    appearance: none;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

body.light .tabs-retention .tab-btn {
    background: rgba(0, 0, 0, .03);
}

.tabs-retention .tab-btn:hover {
    transform: translateY(-1px);
}

.tabs-retention .tab-btn.is-active {
    background: rgba(47, 184, 255, .18);
    border-color: rgba(47, 184, 255, .45);
}

.tabs-retention .tabs-panels {
    margin-top: 8px;
}

.tabs-retention .tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .22s ease, transform .22s ease;
}

.tabs-retention .tab-panel.is-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* The framed card area */
.tabs-retention .tab-panel {
    border: 1px solid rgba(47, 184, 255, .35);
    border-radius: 18px;
    padding: 18px;
    background: rgba(255, 255, 255, .02);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .22);
}

body.light .tabs-retention .tab-panel {
    background: rgba(255, 255, 255, .55);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .08);
}

.tabs-retention .bars {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.tabs-retention .bar-row {
    background: rgba(255, 255, 255, .03);
    border-radius: 14px;
    padding: 14px 14px 12px;
}

body.light .tabs-retention .bar-row {
    background: rgba(0, 0, 0, .03);
}

.tabs-retention .bar-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.tabs-retention .bar-label {
    font-weight: 700;
}

.tabs-retention .bar-meta {
    display: flex;
    gap: 14px;
    align-items: baseline;
}

.tabs-retention .bar-pct {
    font-weight: 800;
}

.tabs-retention .bar-track {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    overflow: hidden;
}

body.light .tabs-retention .bar-track {
    background: rgba(0, 0, 0, .08);
}

/* Animated fill */
.tabs-retention .bar-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    transform: translateZ(0);
    transition: width .85s cubic-bezier(.2, .8, .2, 1);
}

/* Threshold colors */
.tabs-retention .tone-good {
    background: rgba(34, 197, 94, 1);
}

/* green */
.tabs-retention .tone-warn {
    background: rgba(245, 158, 11, 1);
}

/* amber */
.tabs-retention .tone-bad {
    background: rgba(239, 68, 68, 1);
}

/* red */

.tabs-retention .tone-good+.bar-pct {
    color: rgba(34, 197, 94, 1);
}

.tabs-retention .tone-warn+.bar-pct {
    color: rgba(245, 158, 11, 1);
}

.tabs-retention .tone-bad+.bar-pct {
    color: rgba(239, 68, 68, 1);
}

/* Mobile spacing */
@media (max-width: 768px) {
    .tabs-retention .tab-panel {
        padding: 14px;
    }

    .tabs-retention .bar-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .tabs-retention .bar-meta {
        width: 100%;
        justify-content: space-between;
    }
}

/* Image Tabs (match Retention Tabs UI) */
.tabs-images {
    margin-top: 22px;
}

.tabs-images .tabs-nav {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 18px 0 22px;
}

.tabs-images .tab-btn {
    appearance: none;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

body.light .tabs-images .tab-btn {
    background: rgba(0, 0, 0, .03);
}

.tabs-images .tab-btn:hover {
    transform: translateY(-1px);
}

.tabs-images .tab-btn.is-active {
    background: rgba(47, 184, 255, .18);
    border-color: rgba(47, 184, 255, .45);
}

.tabs-images .tabs-panels {
    margin-top: 8px;
}

/* Panel transitions */
.tabs-images .tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .22s ease, transform .22s ease;
}

.tabs-images .tab-panel.is-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* The framed card area */
.tabs-images .tab-panel {
    border: 1px solid rgba(47, 184, 255, .35);
    border-radius: 18px;
    padding: 18px;
    background: rgba(255, 255, 255, .02);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .22);
}

body.light .tabs-images .tab-panel {
    background: rgba(255, 255, 255, .55);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .08);
}

/* Image tab panel content */
.tabs-images-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
}

@media (max-width: 860px) {
    .tabs-images-grid {
        grid-template-columns: 1fr;
    }
}

.tabs-images-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

/* Optional: make the content block breathe like your other sections */
.tabs-images-content .h3 {
    margin: 0 0 10px;
}

/* Rotating Stack Gallery (refactored) */
.gallery-rot {
    margin-top: 22px;
    overflow: hidden;
    /* kills horizontal scroll from transforms */
    --stage-h: 420px;
    /* JS will overwrite */
    --dots-gap: 42px;

    /* Fan tuning (defaults) */
    --rot-x: 160;
    --rot-scale-step: 0.12;
    --rot-rotY: -6;
}

.gallery-rot__stage {
    position: relative;
    width: 100%;
    display: grid;
    place-items: center;
    perspective: 1200px;

    /* Dynamic height driven by JS (prevents overlap with next section) */
    height: var(--stage-h);

    /* Keep cards visible, but x overflow handled by .gallery-rot */
    overflow: visible;

    /* nice spacing away from heading/subhead */
    margin-top: 18px;
}

.gallery-rot__card {
    position: absolute;
    width: min(860px, 92%);
    margin: 0;
    transform-origin: center;
    cursor: pointer;

    transition:
        transform .55s cubic-bezier(.2, .8, .2, 1),
        opacity .55s ease;
}

.gallery-rot__frame {
    border: 1px solid rgba(47, 184, 255, .35);
    border-radius: 18px;
    padding: 14px;
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .22);
}

body.light .gallery-rot__frame {
    background: rgba(255, 255, 255, .6);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .08);
}

.gallery-rot__frame img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
}

.gallery-rot__caption {
    margin-top: 10px;
    text-align: center;
}

/* Dots */
.gallery-rot__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: var(--dots-gap);
    padding-bottom: 6px;
    /* extra breathing room */
}

.gallery-rot__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(47, 184, 255, .18);
    cursor: pointer;
}

body.light .gallery-rot__dot {
    background: rgba(0, 0, 0, .12);
}

.gallery-rot__dot.is-active {
    background: rgba(47, 184, 255, .85);
    border-color: rgba(47, 184, 255, .65);
}

/* Size variants */
.gallery-rot--sm {
    --rot-x: 120;
    --rot-scale-step: 0.10;
    --rot-rotY: -5;
}

.gallery-rot--sm .gallery-rot__card {
    width: min(680px, 92%);
}

.gallery-rot--md .gallery-rot__card {
    width: min(860px, 92%);
}

.gallery-rot--lg {
    --rot-x: 190;
    --rot-scale-step: 0.13;
    --rot-rotY: -7;
}

.gallery-rot--lg .gallery-rot__card {
    width: min(980px, 92%);
}

/* Height animation (disabled for reduced motion in JS as well) */
.gallery-rot__stage {
    transition: height .35s ease;
}

@media (prefers-reduced-motion: reduce) {
    .gallery-rot__stage {
        transition: none;
    }

    .gallery-rot__card {
        transition: none;
    }
}

.wysiwyg>*:first-child {
    margin-top: 0;
}

.wysiwyg>*:last-child {
    margin-bottom: 0;
}

.wysiwyg p {
    color: var(--muted);
    line-height: 1.7;
}

.wysiwyg ul,
.wysiwyg ol {
    margin: 14px 0 0 18px;
    color: var(--muted);
}

.wysiwyg li {
    margin: 8px 0;
}

.wysiwyg a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* What It Is / Isn’t Section */
.text-center {
    text-align: center;
}

.max-w {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.is-isnt {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.is-isnt__box {
    border-radius: 18px;
}

.is-isnt__box--is {
    border: 2px solid rgba(47, 184, 255, .75);
    box-shadow: 0 18px 46px rgba(47, 184, 255, .08);
}

.is-isnt__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.is-isnt__badge {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.is-isnt__badge--not {
    background: rgba(255, 91, 91, .14);
    border: 1px solid rgba(255, 91, 91, .18);
    color: rgba(255, 91, 91, 1);
}

.is-isnt__badge--is {
    background: rgba(47, 184, 255, .18);
    border: 1px solid rgba(47, 184, 255, .22);
    color: rgba(47, 184, 255, 1);
}

.is-isnt__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.is-isnt__item {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 12px;
    align-items: flex-start;
}

.is-isnt__mark {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    opacity: .95;
}

.is-isnt__mark--not {
    color: rgba(255, 91, 91, 1);
}

.is-isnt__mark--is {
    color: rgba(47, 184, 255, 1);
}

.is-isnt__item-title {
    font-weight: 700;
    margin-bottom: 2px;
}

/* Pricing Table */
.pricing-intro {
    margin: 10px auto 0;
    max-width: 70ch;
}

.pricing-toggle {
    gap: 0;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .04);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
    margin: 16px auto 18px;
    display: flex;
    width: fit-content;
    justify-content: center;
}

body.light .pricing-toggle {
    background: rgba(0, 0, 0, .03);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
}

.pricing-toggle__btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--text);
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease;
}

.pricing-toggle__btn:hover {
    transform: translateY(-1px);
}

.pricing-toggle__btn.is-active {
    background: rgba(47, 184, 255, .18);
    border: 1px solid rgba(47, 184, 255, .45);
}

.pricing-grid {
    display: grid;
    gap: 22px;
    margin-top: 18px;
    align-items: stretch;
}

.pricing-grid > .pricing-card {
    height: 100%;
    min-height: 0;
}

/* 1 plan = centered 33% feel */
.pricing-grid[data-count="1"] {
    grid-template-columns: minmax(0, 420px);
    justify-content: center;
}

/* 2 plans = 50/50 */
.pricing-grid[data-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* 3+ plans = 3 across */
.pricing-grid[data-count="3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
    .pricing-grid[data-count="3"] {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {

    .pricing-grid[data-count="2"],
    .pricing-grid[data-count="3"] {
        grid-template-columns: 1fr;
    }
}

.pricing-card__cta .btn {
    margin-top: auto;
    position: relative;
    z-index: 0;
}

.pricing-card__cta .btn:focus,
.pricing-card__cta .btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(47,184,255,.35);
}

.pricing-card {
    border: 1px solid rgba(47, 184, 255, .22);
    border-radius: 18px;
    padding: 22px;
    background: rgba(255, 255, 255, .02);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .22);
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    contain: layout paint;
    min-height: 0;
    height: auto;
    position: relative;
    isolation: isolate;
}

.pricing-card .btn:hover {
    transform: none;
}

.pricing-card .btn-primary {
    box-shadow: 0 10px 30px rgba(47, 184, 255, .25);
    will-change: auto;
}

.pricing-card .btn-primary:hover {
    box-shadow: 0 10px 30px rgba(47, 184, 255, .25); /* no change on hover */
}

body.light .pricing-card {
    background: rgba(255, 255, 255, .55);
    box-shadow: 0 22px 55px rgba(0, 0, 0, .08);
}

.pricing-card.is-featured {
    border-color: rgba(47, 184, 255, .45);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .28);
    transform: translateY(-2px);
}

.pricing-card__plan {
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    opacity: .9;
}

.pricing-card__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    min-height: 52px;
    /* stabilizes layout when switching prices */
}

.pricing-price {
    display: none;
    align-items: baseline;
    gap: 8px;
}

.pricing-price.is-active {
    display: inline-flex;
}

.pricing-price__value {
    font-size: clamp(34px, 4.2vw, 48px);
    line-height: 1;
    font-weight: 900;
}

.pricing-price__suffix {
    opacity: .75;
    font-weight: 700;
}

.pricing-card__desc {
    margin: 0;
    opacity: .9;
}

.pricing-card__cta {
    margin-top: 6px;
    display: flex;
}

.pricing-card__cta .btn {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 14px 18px;
    font-size: 1rem;
    font-weight: 700;
}

.pricing-card__body {
    margin-top: 2px;
}

.pricing-features {
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.pricing-features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.pricing-features li::before {
    content: "✓";
    font-weight: 900;
    color: rgba(47, 184, 255, .95);
    transform: translateY(1px);
}

/* Safari runaway height fix */
.pricing-card {
    min-height: 0 !important;
    height: auto !important;
}

.pricing-grid {
    align-items: stretch;
}

.pricing-grid > .pricing-card {
    height: 100%;
    min-height: 0;
}

.pricing-grid {
    overflow: clip;          /* better than hidden for this */
}

@supports not (overflow: clip) {
    .pricing-grid { overflow: hidden; }
}

/* CTA Button Centered (full-width section) */
.section-cta-button {
    position: relative;
    overflow: hidden;
    padding: 56px 0;
}

@media (max-width: 768px) {
    .section-cta-button {
        padding: 44px 0;
    }
}

.cta-button-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.cta-button-bg__img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .55;
    filter: saturate(1.05) contrast(1.02);
}

.cta-button-bg__img--light {
    display: none;
}

body.light .cta-button-bg__img--dark {
    display: none;
}

body.light .cta-button-bg__img--light {
    display: block;
}

/* subtle overlay to keep text/button readable */
.section-cta-button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(1200px 600px at 30% 10%, rgba(47, 184, 255, .12), transparent 60%),
        radial-gradient(900px 520px at 70% 60%, rgba(47, 184, 255, .08), transparent 60%);
    pointer-events: none;
}

.cta-button-center {
    position: relative;
    z-index: 2;
    min-height: 180px;
    display: grid;
    place-items: center;
}

/* Button styles via CSS variables (dark defaults) */
.btn-cta-center {
    background: var(--cta-btn-bg);
    color: var(--cta-btn-text);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
    transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}

body.light .btn-cta-center {
    background: var(--cta-btn-bg-light);
    color: var(--cta-btn-text-light);
    border: 1px solid rgba(0, 0, 0, .10);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .10);
}

.btn-cta-center:hover {
    transform: translateY(-2px);
    background: var(--cta-btn-bg-hover);
    color: var(--cta-btn-text-hover);
}

body.light .btn-cta-center:hover {
    background: var(--cta-btn-bg-hover-light);
    color: var(--cta-btn-text-hover-light);
}

/* Sizes */
.btn-cta-sm {
    padding: 10px 16px;
    font-size: .95rem;
}

.btn-cta-md {
    padding: 14px 20px;
    font-size: 1.05rem;
}

.btn-cta-lg {
    padding: 18px 26px;
    font-size: 1.15rem;
    border-radius: 16px;
}


/* Mobile/Responsivness */
@media (max-width: 768px) {
    .is-isnt {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 22px;
    }
}

@media (max-width: 900px) {

    .header-cta {
        display: none !important;
    }

    .hero-inner,
    .split {
        grid-template-columns: 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .h1 {
        font-size: 42px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    .site-header .container {
        flex-wrap: wrap;
        gap: 12px;
        padding: 15px;
    }

    .nav-primary {
        display: none;
    }

    .header-actions {
        margin-left: auto;
        gap: 8px;
    }

    .brand img {
        max-height: 32px;
        width: auto;
    }

    .section {
        padding: 32px 0;
    }

    .hero .container {
        display: block;
    }

    .hero h1,
    .hero .h1 {
        font-size: 36px;
        line-height: 1.1;
    }

    .hero p {
        font-size: 15px;
    }

    .hero .hero-actions,
    .cta-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero .btn {
        font-size: 14px;
        width: 80%;
        text-align: center;
    }

    .hero .hero-media,
    .hero img {
        margin-top: 24px;
        max-width: 100%;
    }

    .site-main {
        padding: 15px;
    }

    .grid {
        grid-template-columns: 1fr !important;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr !important;
    }

    .cta-panel {
        text-align: center;
    }

    .cta-actions .btn {
        width: 80%;
    }
}