/* Qlarif.ai override skin for HTML5UP Hyperspace (enabled via enable_tabler_ui on Site/Home/Index) */

:root {
    --clarif-font-sans: "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --clarif-font-display: "Outfit", "Plus Jakarta Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    --clarif-pink-accent: #be6484;
    --clarif-pink-glow: #e8a7bc;
    --clarif-emerald-accent: #06ca7e;
}

/* Core palette
   forest-green-dark  : #072530
   forest-green       : #09323b
   forest-green-light : #164655
   spearmint-dark     : #0f6b55
   lime-dark          : #038f62
   lime-light         : #06ca7e
   card surface       : #E5F7F0
   rose/pink          : #be6484
   rose-dark          : #893f5d
   rose-light         : #e8a7bc
*/

body,
input,
select,
textarea {
    font-family: var(--clarif-font-sans);
    font-size: 16.5pt;
    font-weight: normal;
    line-height: 1.75;
    color: #ffffff;
}

/* Override HTML5UP Hyperspace default dark/purple body background */
body {
    background: #ffffff;
}

/* Remove the 75em max-width cap that Hyperspace sets on all wrapper inner containers */
.wrapper > .inner {
    width: 100%;
}

@media screen and (max-width: 1680px) {
    body,
    input,
    select,
    textarea {
        font-size: 13pt;
    }
}

@media screen and (max-width: 1280px) {
    body,
    input,
    select,
    textarea {
        font-size: 12pt;
    }
}

@media screen and (max-width: 360px) {
    body,
    input,
    select,
    textarea {
        font-size: 11pt;
    }
}

h1,
h2 {
    font-family: var(--clarif-font-display);
    font-weight: 700;
    line-height: 1.24;
    letter-spacing: 0.005em;
}

h3,
h4,
h5,
h6 {
    font-family: var(--clarif-font-sans);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.01em;
}

a {
    color: #06ca7e;
}

a:hover {
    color: #e8a7bc;
}

/* ── Sidebar ── */

/* #mobile-menu-overlay sits between #sidebar and #wrapper in the DOM, so Hyperspace's
   adjacent-sibling rule "#sidebar + #wrapper { margin-left: 18em }" no longer fires.
   Re-declare with the general sibling combinator to restore the desktop offset. */
#sidebar ~ #wrapper {
    margin-left: 18em;
}

@media screen and (max-width: 1280px) {
    #sidebar ~ #wrapper {
        margin-left: 0;
    }
}

#sidebar {
    background:
        radial-gradient(42rem 28rem at -8% 0%, rgba(232, 167, 188, 0.28), rgba(232, 167, 188, 0) 58%),
        radial-gradient(40rem 24rem at 100% 100%, rgba(6, 202, 126, 0.24), rgba(6, 202, 126, 0) 60%),
        linear-gradient(165deg, #06222d 0%, #072530 42%, #0b3745 100%);
}

#sidebar .clarif-sidebar-brand {
    margin: 0 0 2rem 0;
}

#sidebar .clarif-sidebar-brand a {
    border: none;
    text-decoration: none;
}

#sidebar .clarif-sidebar-brand img {
    max-width: 13rem;
    width: 100%;
    display: block;
    margin-bottom: .75rem;
}

#sidebar .clarif-sidebar-brand p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: .92rem;
}

#sidebar nav a {
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.04em;
}

#sidebar nav a:before {
    background: rgba(255, 255, 255, 0.1);
}

#sidebar nav a:hover,
#sidebar nav a.active {
    color: #ffffff !important;
}

#sidebar nav a:hover:before {
    background: rgba(255, 255, 255, 0.25) !important;
}

#sidebar nav a:after {
    background-image: linear-gradient(90deg, #06ca7e 0%, #e8a7bc 100%) !important;
}

#sidebar nav a.active:before {
    background: linear-gradient(90deg, #06ca7e 0%, #e8a7bc 100%) !important;
}

#sidebar nav a.active:after,
#sidebar nav a[aria-current="true"]:after {
    max-width: 100% !important;
}

#mobile-menu-overlay nav a.active {
    color: #ffffff;
    background: linear-gradient(90deg, rgba(6, 202, 126, 0.2) 0%, rgba(232, 167, 188, 0.18) 100%);
}

@media screen and (min-width: 737px) {
    #sidebar nav > ul > li {
        margin-top: 0.2em !important;
    }
}

/* Auth buttons in sidebar */
#sidebar .clarif-sidebar-auth {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

#sidebar .clarif-sidebar-auth .button {
    width: 100%;
    text-align: center;
    font-size: .9rem;
}

/* ── Wrapper styles ── */

/* style1 — dark forest green (hero, how-it-works, faq) */
.wrapper.style1 {
    background:
        radial-gradient(90rem 60rem at 100% -8%, rgba(232, 167, 188, 0.33), rgba(232, 167, 188, 0) 56%),
        radial-gradient(80rem 50rem at -10% 100%, rgba(6, 202, 126, 0.3), rgba(6, 202, 126, 0) 52%),
        linear-gradient(145deg, #072530 0%, #0a3440 45%, #164655 100%);
    color: #ffffff;
}

/* Override Hyperspace intro.svg hero background with Clarif brand gradient hero */
#intro {
    background-attachment: scroll;
    background-image:
        radial-gradient(90rem 60rem at 100% -8%, rgba(232, 167, 188, 0.33), rgba(232, 167, 188, 0) 56%),
        radial-gradient(80rem 50rem at -10% 100%, rgba(6, 202, 126, 0.3), rgba(6, 202, 126, 0) 52%),
        linear-gradient(145deg, #072530 0%, #0a3440 45%, #164655 100%) !important;
    background-position: center center !important;
    background-repeat: no-repeat;
    background-size: cover !important;
}

.wrapper.style1 h1,
.wrapper.style1 h2,
.wrapper.style1 h3,
.wrapper.style1 h4 {
    color: #06ca7e;
}

.wrapper.style1 p,
.wrapper.style1 li {
    color: rgba(255, 255, 255, 0.85);
}

/* style2 — lime-dark (spotlights, trust) */
.wrapper.style2 {
    background:
        radial-gradient(80rem 50rem at 92% -10%, rgba(232, 167, 188, 0.24), rgba(232, 167, 188, 0) 50%),
        radial-gradient(70rem 40rem at -10% 100%, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0) 56%),
        linear-gradient(145deg, #0b5e4b 0%, #0f6b55 48%, #17906e 100%);
    color: #ffffff;
}

.wrapper.style2 h1,
.wrapper.style2 h2,
.wrapper.style2 h3,
.wrapper.style2 h4 {
    color: #ffffff;
}

.wrapper.style2 p,
.wrapper.style2 li {
    color: rgba(255, 255, 255, 0.92);
}

/* style3 — lime-dark green (evaluation CTA, use-cases) */
.wrapper.style3 {
    background:
        radial-gradient(70rem 46rem at 110% 0%, rgba(232, 167, 188, 0.26), rgba(232, 167, 188, 0) 52%),
        radial-gradient(74rem 44rem at -14% 104%, rgba(6, 202, 126, 0.26), rgba(6, 202, 126, 0) 54%),
        linear-gradient(150deg, #0a4f46 0%, #0f6b55 45%, #0b7f67 100%);
    color: #ffffff;
}

.wrapper.style3 h1,
.wrapper.style3 h2,
.wrapper.style3 h3,
.wrapper.style3 h4 {
    color: #ffffff;
}

.wrapper.style3 p,
.wrapper.style3 li {
    color: rgba(255, 255, 255, 0.92);
}

#evaluation p {
    color: rgba(255, 255, 255, 0.92);
}

/* style1-alt — matches intro section background */
.wrapper.style1-alt {
    background:
        radial-gradient(60rem 40rem at 100% -18%, rgba(190, 100, 132, 0.24), rgba(190, 100, 132, 0) 52%),
        linear-gradient(145deg, #072530 0%, #0a3440 50%, #123f4f 100%);
    color: rgba(255, 255, 255, 0.7);
}

.wrapper.style1-alt a {
    color: rgba(255, 255, 255, 0.9);
}

.wrapper.style1-alt a:hover {
    color: #ffffff;
}

.wrapper.style1-alt .menu li {
    color: rgba(255, 255, 255, 0.92);
}

/* ── Spotlights ── */

/* Solid background colours — computed equivalents of the original rgba overlays
   composited over wrapper.style2's #038f62, so fade gradients can match exactly.
   rgba(255,255,255,0.06) over #038f62 → #12966b
   rgba(255,255,255,0.12) over #038f62 → #219c75                                  */
.spotlights > section {
    background: #12966b;
}

.spotlights > section:nth-child(2n) {
    background: #219c75;
}

/* Hyperspace base CSS has a higher-specificity nth-child(3) rule
   (background-color: rgba(0,0,0,0.1)) that overrides the generic odd rule above.
   Match that specificity here so ours wins by load order.                         */
.spotlights > section:nth-child(3) {
    background: #12966b;
}

/* Alternate images left/right */
.spotlights > section:nth-child(even) {
    flex-direction: row-reverse;
}

/* Even rows: image is on the right, so content sits on the left — align text left */
.spotlights > section:nth-child(even) > .content,
.spotlights > section:nth-child(even) > .content .inner {
    text-align: left !important;
}

/* Image background offset 20 percentage points left of centre (50% − 20% = 30%).
   !important overrides the inline style Hyperspace JS sets from data-position.    */
.spotlights > section > .image {
    overflow: hidden;
    max-height: 500px;
    background-position: 30% center !important;
}

/* Hyperspace JS replaces <img> with background-image and hides it;
   these rules constrain the img before that swap occurs. */
.spotlights > section > .image img {
    max-height: 500px;
    width: 100%;
    object-fit: cover;
}

/* Desktop: cap height, 50/50 split between image and content.
   Keeping these inside min-width so Hyperspace's own ≤980px rules
   (width:100%; height:50vh) take over cleanly on tablet/mobile.     */
@media screen and (min-width: 981px) {
    .spotlights > section {
        max-height: 500px;
        overflow: hidden;
    }

    .spotlights > section > .image {
        width: 50%;
        max-height: 500px;
    }

    .spotlights > section > .content {
        width: 50%;
    }
}

/* Narrower desktop / landscape tablet — scale height down proportionally */
@media screen and (min-width: 981px) and (max-width: 1280px) {
    .spotlights > section,
    .spotlights > section > .image {
        max-height: 380px;
    }
}

/* ── Spotlight fades: inner edge only, 32% wide, colour matches each section bg ── */

.spotlights > section > .image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

/* Odd (image LEFT) — fade RIGHT inner edge; colour matches odd section bg #12966b */
.spotlights > section:nth-child(odd) > .image::after {
    background: linear-gradient(to right, transparent 68%, #12966b 100%);
}

/* Even (image RIGHT via row-reverse) — fade LEFT inner edge; matches even bg #219c75 */
.spotlights > section:nth-child(even) > .image::after {
    background: linear-gradient(to right, #219c75 0%, transparent 32%);
}

/* Mobile/tablet: image stacks above content — side fades no longer apply */
@media screen and (max-width: 980px) {
    .spotlights > section:nth-child(odd) > .image::after,
    .spotlights > section:nth-child(even) > .image::after {
        background: none;
    }
}

/* ── Key-questions spotlights: white background, dark text ──
   Targets .wrapper.style2.spotlights only — NOT the trust section (.wrapper.style2.fade-up) */

.wrapper.style2.spotlights {
    background: #ffffff;
}

.wrapper.style2.spotlights h2,
.wrapper.style2.spotlights h3,
.wrapper.style2.spotlights h4,
.wrapper.style2.spotlights p,
.wrapper.style2.spotlights li {
    color: #09323b;
}

/* White section backgrounds (override the green computed values) */
.wrapper.style2.spotlights > section,
.wrapper.style2.spotlights > section:nth-child(2n),
.wrapper.style2.spotlights > section:nth-child(3) {
    background: #ffffff;
}

/* White fades to match white section background */
.wrapper.style2.spotlights > section:nth-child(odd) > .image::after {
    background: linear-gradient(to right, transparent 68%, #ffffff 100%);
}

.wrapper.style2.spotlights > section:nth-child(even) > .image::after {
    background: linear-gradient(to right, #ffffff 0%, transparent 32%);
}

/* Desktop image sizing for key-questions spotlights.
   Odd sections (image LEFT): margin-left bleeds the image left into the sidebar area.
   Even sections (image RIGHT via row-reverse): no bleed — margin-right on the right
   edge has nothing to contain it and causes horizontal page overflow.             */
@media screen and (min-width: 981px) {
    .wrapper.style2.spotlights > section {
        overflow: visible;
    }

    .wrapper.style2.spotlights > section > .image {
        max-height: 500px;
        overflow: hidden;
    }

    .wrapper.style2.spotlights > section:nth-child(odd) > .image {
        margin-left: -150px;
        margin-right: 0;
    }

    .wrapper.style2.spotlights > section:nth-child(even) > .image {
        margin-left: 0;
        margin-right: 0;
    }
}

/* Key-questions spotlight images: replace Hyperspace's dark-purple preload overlay
   (rgba(49,36,80,0.9)) with white so loading images don't flash purple on this
   white-background section. The opacity animation (0 ↔ 1) is still driven by
   Hyperspace's section-activation JS — we only change the colour.              */
.wrapper.style2.spotlights > section > .image:before {
    background: #ffffff;
}

/* Mobile: key-questions spotlights — content alignment + image fades.
   This block intentionally sits AFTER the desktop side-fade rules (lines above) so the
   mobile overrides win the cascade despite equal specificity.
   overflow:visible prevents any translateX animation from being hard-clipped.    */
@media screen and (max-width: 980px) {
    .wrapper.style2.spotlights > section {
        overflow: visible;
    }

    .wrapper.style2.spotlights > section > .content,
    .wrapper.style2.spotlights > section > .content .inner {
        text-align: left !important;
    }

    /* Replace desktop side fades with vertical fades that suit the stacked layout.
       First image: only a bottom fade (nothing to blend into above it).
       Last image:  only a top fade (nothing to blend into below it).
       Middle images: both top and bottom fades.                                   */
    .wrapper.style2.spotlights > section:first-child > .image::after {
        background: linear-gradient(
            to bottom,
            transparent 72%,
            #ffffff 100%
        );
    }

    .wrapper.style2.spotlights > section:not(:first-child):not(:last-child) > .image::after {
        background: linear-gradient(
            to bottom,
            #ffffff 0%,
            transparent 20%,
            transparent 72%,
            #ffffff 100%
        );
    }

    .wrapper.style2.spotlights > section:last-child > .image::after {
        background: linear-gradient(
            to bottom,
            #ffffff 0%,
            transparent 28%
        );
    }
}

/* ── Use-cases: white background, dark text (mirrors key-questions visual style) ──
   Uses #use-cases ID (specificity 1,0,0) to override .wrapper.style3 (0,2,0)
   without affecting #evaluation which also carries wrapper.style3.               */

#use-cases {
    background: #ffffff;
}

#use-cases h2,
#use-cases h3,
#use-cases h4,
#use-cases p,
#use-cases li {
    color: #09323b;
}

#use-cases .features section {
    border-color: rgba(9, 50, 59, 0.15);
}

#use-cases .icon.major {
    background: #be6484;
    color: #ffffff;
}

#proof,
#roles {
    background: #ffffff;
}

#proof h1,
#proof h2,
#proof h3,
#proof h4,
#proof p,
#proof li,
#roles h1,
#roles h2,
#roles h3,
#roles h4,
#roles p,
#roles li {
    color: #09323b;
}

#proof .clarif-section-intro p,
#roles .clarif-section-intro p {
    color: rgba(9, 50, 59, 0.72);
}

#proof .clarif-proof-card,
#proof .clarif-proof-splide,
#proof .clarif-proof-slide,
#roles .clarif-role-card {
    background: #ffffff;
    border: 1px solid rgba(9, 50, 59, 0.12);
    box-shadow: 0 12px 26px rgba(7, 37, 48, 0.08);
}

#proof .clarif-proof-card,
#roles .clarif-role-card {
    border-top: 3px solid #06ca7e;
}

#proof .clarif-proof-value {
    color: #0f6b55;
}

#proof .clarif-proof-card h3,
#proof .clarif-proof-slide h3,
#roles .clarif-role-card h3 {
    color: #09323b;
}

#proof .clarif-proof-card p,
#proof .clarif-proof-slide p,
#roles .clarif-role-card p,
#roles .clarif-role-card li {
    color: rgba(9, 50, 59, 0.72);
}

#roles .clarif-role-card h3 .icon {
    color: #09323b;
}

#proof .clarif-proof-splide .splide__arrow {
    background: #e5f7f0;
}

#proof .clarif-proof-splide .splide__arrow svg {
    fill: #0f6b55;
}

#proof .clarif-proof-splide .splide__pagination__page::before {
    background: rgba(9, 50, 59, 0.28);
}

#proof .clarif-proof-splide .splide__pagination__page.is-active::before {
    background: #06ca7e;
}

#proof .button {
    color: #09323b !important;
    border-color: rgba(9, 50, 59, 0.35) !important;
    background: #e5f7f0 !important;
}

#proof .button:hover {
    color: #09323b !important;
    border-color: #09323b !important;
    background: #d6f2e9 !important;
}

/* ── Buttons ── */

/* Ghost button — works on both dark and light backgrounds */
.button {
    color: #09323b !important;
    border-color: rgba(9, 50, 59, 0.35) !important;
    background: #E5F7F0 !important;
    box-shadow: none;
    font-size: 0.875rem !important;
    line-height: 1.2 !important;
    min-height: 2.75rem;
    height: auto !important;
    padding: 0.78rem 1.3rem !important;
    letter-spacing: 0.11em !important;
}

.button:hover {
    border-color: #09323b !important;
    color: #09323b !important;
}

/* On dark sections (style1 / style2 / style3), ghost buttons use transparent white style */
.wrapper.style1 .button,
.wrapper.style2 .button,
.wrapper.style3 .button {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

.wrapper.style1 .button:hover,
.wrapper.style2 .button:hover,
.wrapper.style3 .button:hover {
    border-color: rgba(255, 255, 255, 0.75) !important;
    background: rgba(255, 255, 255, 0.14) !important;
    color: #ffffff !important;
}

/* Primary button — brand emerald accent */
.button.primary {
    background: linear-gradient(92deg, #06ca7e 0%, #20c98a 62%, #4ad39e 100%) !important;
    color: #021812 !important;
    border-color: transparent !important;
    box-shadow: 0 10px 24px rgba(6, 202, 126, 0.22);
}

.button.primary:hover {
    background: linear-gradient(92deg, #03b76f 0%, #19bc7f 62%, #3bc892 100%) !important;
    color: #021812 !important;
}

/* Hero rhythm and CTA hierarchy */
#intro h1 {
    font-size: 3.2rem;
    line-height: 1.16;
    margin-bottom: 1rem;
    color: #edf8f5;
    text-wrap: balance;
}

.clarif-hero-eyebrow {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--clarif-emerald-accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.clarif-hero-highlight {
    color: var(--clarif-emerald-accent);
    font-weight: 800;
}

#intro p {
    max-width: 58ch;
    font-size: 1rem;
    color: rgba(235, 252, 246, 0.88);
}

#intro .actions {
    gap: 0.75rem;
}

#intro .actions .button {
    min-width: 10.5rem;
}

.button:focus-visible,
#sidebar nav a:focus-visible,
#mobile-menu-overlay nav a:focus-visible,
#mobile-menu-toggle:focus-visible {
    outline: 2px solid #06ca7e;
    outline-offset: 2px;
}

#mobile-menu-toggle:focus-visible {
    border-radius: 0.35rem;
}

#waitlist input,
#waitlist select,
#waitlist textarea {
    background: #ffffff !important;
    color: #09323b !important;
    border-color: rgba(9, 50, 59, 0.32) !important;
    border-radius: 0.35rem !important;
}

#waitlist ::placeholder {
    color: #5e7580 !important;
}

#waitlist label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

#waitlist .box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.clarif-site-card {
    border-radius: 0.45rem;
}

/* ── Features grid ── */

.features section {
    border-color: rgba(255, 255, 255, 0.15);
}

/* style3 is now dark green — keep same white border as other dark sections */
.wrapper.style3 .features section {
    border-color: rgba(255, 255, 255, 0.15);
}

/* ── Icons ── */

/* Pink icon circles on dark (style1) sections */
.icon.major {
    background: #be6484;
    color: #ffffff;
}

/* White icon circles on style2 (lime-dark bg) — enough contrast against #038f62 */
.wrapper.style2 .icon.major {
    background: #ffffff;
    color: #038f62;
}

/* White icon circles on style3 (now lime-dark green bg, same treatment as style2) */
.wrapper.style3 .icon.major {
    background: #ffffff;
    color: #038f62;
}

/* Bring oversized circles down for readability on legal/content pages */
.wrapper.style1 .features .icon.major {
    width: 1.75rem;
    height: 1.75rem;
    line-height: 1.75rem;
    margin: 0 0 0.75rem 0;
}

.wrapper.style1 .features .icon.major:before {
    font-size: 0.875rem;
}

/* ── Step flow (used in #how-it-works, dark style1 section) ── */

.clarif-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    counter-reset: clarif-step;
}

.clarif-step {
    position: relative;
    padding-top: 4rem;
    counter-increment: clarif-step;
}

/* Numbered pink circle via CSS counter */
.clarif-step::before {
    content: counter(clarif-step);
    position: absolute;
    top: 0;
    left: 0;
    width: 2.75rem;
    height: 2.75rem;
    background: #be6484;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
}

.clarif-step h3 {
    color: #06ca7e;
    margin-top: 0;
}

.clarif-step p {
    color: rgba(255, 255, 255, 0.85);
    margin: .5rem 0 0 0;
}

@media screen and (min-width: 737px) and (max-width: 980px) {
    .clarif-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 736px) {
    .clarif-steps {
        grid-template-columns: 1fr;
    }
}

/* ── Cards grid (used in #use-cases, white bg section) ── */

.clarif-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.clarif-card {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.4rem 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(9, 50, 59, 0.1);
    border-left: 4px solid #be6484;
    border-radius: .4rem;
    box-shadow: 0 1px 4px rgba(9, 50, 59, 0.06);
}

/* Pink icon circle */
.clarif-card-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: #be6484;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.15rem;
}

/* Centre the ::before glyph inside the flex circle */
.clarif-card-icon .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    line-height: 1;
}

.clarif-card-body h3 {
    margin: 0 0 .35rem 0;
    color: #09323b;
    font-size: 1rem;
    line-height: 1.3;
}

.clarif-card-body p {
    margin: 0;
    color: rgba(9, 50, 59, 0.72);
    font-size: .9375rem;
    line-height: 1.6;
}

@media screen and (max-width: 736px) {
    .clarif-cards {
        grid-template-columns: 1fr;
    }
}

/* ── FAQs ── */

/* Platform capabilities section */
.clarif-section-intro {
    margin-bottom: 1.5rem;
    max-width: 66ch;
}

.clarif-section-intro h2 {
    margin-bottom: 0.55rem;
    color: #ffffff;
    text-wrap: balance;
}

.clarif-section-intro h2::after {
    content: "";
    display: block;
    width: 4rem;
    height: 0.22rem;
    margin-top: 0.75rem;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--clarif-emerald-accent) 0%, var(--clarif-pink-glow) 100%);
}

.clarif-section-intro p {
    margin: 0;
    color: rgba(228, 246, 239, 0.84);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.clarif-bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.clarif-bento-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-top: 4px solid #06ca7e;
    border-radius: 0.5rem;
    padding: 1.1rem 1.1rem 1.2rem;
    box-shadow: 0 16px 34px rgba(7, 37, 48, 0.22);
}

.clarif-bento-card__head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.clarif-bento-card__head .icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: #e5f7f0;
    color: #0f6b55;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex: 0 0 2.1rem;
}

.clarif-bento-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.28;
}

.wrapper.style1 .clarif-bento-card p,
.wrapper.style1 .clarif-bento-card li {
    color: rgba(235, 252, 246, 0.9);
}

.clarif-bento-card p {
    margin: 0;
    font-size: 0.9375rem;
}

.clarif-bento-card ul {
    margin: 0;
    padding-left: 1.1rem;
}

.clarif-bento-card ul li {
    margin: 0.2rem 0;
    font-size: 0.875rem;
    line-height: 1.45;
}

.clarif-bento-card .button {
    margin-top: auto;
    width: 100%;
    text-align: center;
    color: #09323b !important;
    border-color: rgba(9, 50, 59, 0.3) !important;
    background: #e5f7f0 !important;
}

.clarif-bento-card .button:hover {
    border-color: #0f6b55 !important;
    color: #072530 !important;
}

/* Workflow strip */
.clarif-workflow-track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.clarif-workflow-step {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 0.5rem;
    padding: 1rem;
    min-height: 12rem;
}

.clarif-workflow-step__number {
    display: inline-flex;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #06ca7e;
    color: #072530;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 0.55rem;
}

.clarif-workflow-step h3 {
    margin: 0 0 0.35rem;
    color: #ffffff;
    font-size: 1rem;
}

.clarif-workflow-step p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    line-height: 1.55;
}

/* Glossary term helper in copy blocks */
.clarif-inline-term {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.clarif-inline-term .icon {
    color: #e8a7bc;
    font-size: 0.68rem;
    line-height: 1;
}

/* Proof counters and use-outcome carousel */
.clarif-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.clarif-proof-card {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 14px 30px rgba(7, 37, 48, 0.2);
}

.clarif-proof-value {
    color: #06ca7e;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.45rem;
}

.clarif-proof-card h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: #ffffff;
}

.clarif-proof-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9375rem;
    line-height: 1.5;
}

.clarif-proof-splide {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.55rem;
    padding: 0.95rem 0.95rem 1.2rem;
}

.clarif-proof-slide {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 0.45rem;
    padding: 1rem;
    min-height: 12rem;
}

.clarif-proof-slide h3 {
    margin: 0 0 0.45rem;
    color: #ffffff;
    font-size: 1rem;
}

.clarif-proof-slide p {
    margin: 0 0 0.75rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.9375rem;
}

.clarif-proof-splide .splide__arrow {
    background: #e5f7f0;
    opacity: 1;
    width: 2.75rem !important;
    height: 2.75rem !important;
    min-width: 2.75rem;
    min-height: 2.75rem;
}

.clarif-proof-splide .splide__arrow svg {
    fill: #09323b;
}

.clarif-proof-splide .splide__pagination__page.is-active {
    background: #06ca7e;
}

.clarif-proof-splide .splide__pagination__page {
    width: 2.75rem !important;
    height: 2.75rem !important;
    min-width: 2.75rem;
    min-height: 2.75rem;
    background: transparent;
    opacity: 1;
    margin: 0 0.15rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.clarif-proof-splide .splide__pagination__page::before {
    content: "";
    width: 0.52rem;
    height: 0.52rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.56);
}

.clarif-proof-splide .splide__pagination__page.is-active::before {
    background: #06ca7e;
}

/* Normalize proof Splide controls so they do not overlap content or render oversized controls. */
#proof .clarif-proof-splide,
.clarif-proof-splide {
    padding: 1rem 1rem 4rem !important;
}

#proof .clarif-proof-splide,
#proof .clarif-proof-slide {
    box-shadow: none !important;
}

.clarif-proof-splide .splide__arrows {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 0.85rem;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.clarif-proof-splide .splide__arrow {
    position: static;
    transform: none !important;
    width: 2rem !important;
    height: 2rem !important;
    min-width: 2rem;
    min-height: 2rem;
    border: 1px solid rgba(9, 50, 59, 0.22);
    border-radius: 999px;
    background: #ffffff !important;
    box-shadow: none !important;
    opacity: 1;
    pointer-events: auto;
}

.clarif-proof-splide .splide__arrow svg {
    width: 0.85rem;
    height: 0.85rem;
    fill: #09323b !important;
}

.clarif-proof-splide .splide__pagination {
    bottom: 1.1rem;
    padding: 0 4.2rem !important;
}

.clarif-proof-splide .splide__pagination__page,
.clarif-proof-splide .splide__pagination__page.is-active {
    width: 1rem !important;
    height: 1rem !important;
    min-width: 1rem;
    min-height: 1rem;
    margin: 0 0.15rem !important;
    border-radius: 999px;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.clarif-proof-splide .splide__pagination__page::before {
    width: 0.45rem;
    height: 0.45rem;
    background: rgba(9, 50, 59, 0.3);
}

.clarif-proof-splide .splide__pagination__page.is-active::before {
    width: 0.56rem;
    height: 0.56rem;
    background: #06ca7e;
}

#proof .clarif-proof-slide {
    padding-bottom: 1.25rem;
}

#proof .clarif-proof-slide .button {
    margin-top: 1rem;
}

/* Role-specific value messaging */
.clarif-role-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.clarif-role-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 0.5rem;
    padding: 1rem 1rem 1.1rem;
}

.clarif-role-card h3 {
    margin: 0 0 0.45rem;
    color: #ffffff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.clarif-role-card h3 .icon {
    color: #06ca7e;
    font-size: 1rem;
}

.clarif-role-card p {
    margin: 0 0 0.6rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.clarif-role-card ul {
    margin: 0;
    padding-left: 1rem;
}

.clarif-role-card li {
    font-size: 0.875rem;
    line-height: 1.45;
    margin: 0.2rem 0;
}

/* Social proof */
.clarif-logo-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.6rem;
    margin-bottom: 1.05rem;
}

.clarif-logo-strip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.6rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px dashed rgba(255, 255, 255, 0.35);
    border-radius: 0.45rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    letter-spacing: 0.03em;
}

.clarif-social-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.clarif-social-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 0.5rem;
    padding: 1rem;
}

.clarif-social-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1rem;
    color: #ffffff;
}

.clarif-social-card p {
    margin: 0;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
}

.clarif-social-card__meta {
    margin-top: 0.55rem !important;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.75rem !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Micromodal visual layer for site demo */
.modal {
    display: none;
}

.modal.is-open {
    display: block;
}

.modal__overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

.modal__container {
    max-height: 90vh;
    overflow-y: auto;
}

.clarif-site-modal {
    max-width: 44rem;
    width: calc(100% - 2rem);
    border-radius: 0.6rem;
    background: #ffffff;
    color: #09323b;
    border: 1px solid rgba(9, 50, 59, 0.18);
}

.clarif-site-modal .modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(9, 50, 59, 0.12);
    padding: 1rem 1.1rem;
}

.clarif-site-modal .modal__title {
    margin: 0;
    color: #09323b;
    font-size: 1.35rem;
}

.clarif-site-modal .modal__close {
    background: transparent;
    border: 0;
    cursor: pointer;
}

.clarif-site-modal .modal__close:before {
    content: "×";
    color: #09323b;
    font-size: 1.25rem;
    line-height: 1;
}

.clarif-site-modal .modal__content {
    padding: 1rem 1.1rem 0.4rem;
    color: rgba(9, 50, 59, 0.84);
}

.clarif-site-modal-flow {
    margin: 0;
    padding-left: 1.2rem;
}

.clarif-site-modal-flow li {
    margin: 0.35rem 0;
}

.clarif-site-modal-note {
    margin-top: 0.8rem;
    font-size: 0.9375rem;
}

.clarif-site-modal-footer {
    display: flex;
    gap: 0.6rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    padding: 0.8rem 1.1rem 1.1rem;
}

.micromodal-slide .modal__overlay {
    background: rgba(7, 37, 48, 0.78);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
    animation: mmfadeIn 0.24s ease;
}

.micromodal-slide[aria-hidden="true"] .modal__container {
    animation: mmfadeOut 0.2s ease;
}

@keyframes mmfadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mmfadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(12px);
    }
}

@media screen and (max-width: 1280px) {
    .clarif-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clarif-role-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clarif-workflow-track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clarif-social-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clarif-proof-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 736px) {
    .clarif-bento {
        grid-template-columns: 1fr;
    }

    .clarif-role-grid {
        grid-template-columns: 1fr;
    }

    .clarif-logo-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .clarif-social-grid {
        grid-template-columns: 1fr;
    }

    .clarif-workflow-track {
        grid-template-columns: 1fr;
    }

    .clarif-workflow-step {
        min-height: 0;
    }

    .clarif-proof-grid {
        grid-template-columns: 1fr;
    }

    .clarif-proof-slide {
        min-height: 0;
    }

    .clarif-site-modal-footer {
        flex-direction: column;
    }

    .clarif-site-modal-footer .button {
        width: 100%;
        text-align: center;
    }
}

.clarif-faq-list {
    display: grid;
    gap: 1rem;
}

.clarif-faq-list details {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: .5rem;
    padding: .85rem 1rem;
    overflow: hidden;
}

.clarif-faq-list details summary {
    cursor: pointer;
    color: #06ca7e;
    font-weight: 700;
    list-style: none;
}

.clarif-faq-list details summary::-webkit-details-marker {
    display: none;
}

.clarif-faq-list details p {
    margin: .75rem 0 0 0;
    color: rgba(255, 255, 255, 0.85);
}

.clarif-faq-list + .actions {
    margin-top: 2rem;
}

/* ── Split / contact ── */

.split.style1 > section {
    border-color: rgba(255, 255, 255, 0.2);
}

.wrapper.style3 .split.style1 > section {
    border-color: rgba(255, 255, 255, 0.2);
}

input,
textarea,
select {
    color: #09323b !important;
}

input::placeholder,
textarea::placeholder {
    color: rgba(9, 50, 59, 0.7) !important;
}

.contact li {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.wrapper.style3 .contact li {
    border-top-color: rgba(255, 255, 255, 0.2);
}

/* Contact cards in hyperspace mode */
.clarif-contact-cards > section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 1rem 1.1rem;
    box-shadow: 0 10px 24px rgba(7, 37, 48, 0.12);
}

.clarif-contact-cards > section p {
    margin-bottom: 0.45rem;
}

.wrapper.style2 .clarif-contact-cards > section p,
.wrapper.style2 .clarif-contact-cards > section span {
    color: #ffffff;
}

.clarif-contact-cards > section h2 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 0.75rem;
    padding-bottom: 0.45rem;
}

.clarif-contact-cards a {
    color: #ffffff;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.6);
}

.clarif-contact-cards a:hover {
    color: #e6fff4;
}

.clarif-about-hero h1 {
    color: #ffffff;
}

/* ── Footer ── */

#footer .menu {
    color: rgba(255, 255, 255, 0.6);
}

#footer .menu li {
    border-left-color: rgba(255, 255, 255, 0.2);
}

/* ── Responsive ── */

/* Tablet / narrow desktop (737px–1280px):
   Hyperspace collapses #sidebar into a 3.5em horizontal bar with overflow:hidden.
   Brand logo and auth buttons must fit within that height.                        */
@media screen and (min-width: 737px) and (max-width: 1280px) {
    /* Pink bottom border to distinguish nav bar from the hero section */
    #sidebar {
        border-bottom: 2px solid #be6484;
    }

    /* Centre all flex children vertically (override Hyperspace's align-items: stretch) */
    #sidebar > .inner {
        align-items: center;
    }

    /* Brand: natural height, centred by parent flex, shrink logo, hide tagline */
    #sidebar .clarif-sidebar-brand {
        display: flex;
        align-items: center;
        height: auto;
        margin: 0;
        padding: 0 1em;
        flex-shrink: 0;
    }

    #sidebar .clarif-sidebar-brand a {
        display: flex;
        align-items: center;
        border: none;
        text-decoration: none;
    }

    #sidebar .clarif-sidebar-brand img {
        max-width: 5.5rem;
        margin-bottom: 0;
    }

    #sidebar .clarif-sidebar-brand p {
        display: none;
    }

    /* Nav spacer — text links replaced by hamburger */
    #sidebar nav {
        flex: 1;
    }

    #sidebar nav ul {
        display: none !important;
    }

    /* Show hamburger on tablet */
    #mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: 1px solid rgba(255, 255, 255, 0.4);
        cursor: pointer;
        padding: 0 .8em;
        min-width: 2.5rem;
        min-height: 2.5rem;
        flex-shrink: 0;
        border-radius: 0.35rem;
    }

    #mobile-menu-toggle .icon {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.85);
        line-height: 1;
    }

    /* Auth buttons: switch to row, natural height, centred by parent flex */
    #sidebar .clarif-sidebar-auth {
        flex-direction: row;
        align-items: center;
        height: auto;
        margin: 0;
        padding: 0 1em;
        gap: .75em;
        flex-shrink: 0;
    }

    /* Reset full pill-button appearance — match the nav link visual weight */
    #sidebar .clarif-sidebar-auth .button {
        background: transparent !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 0.75em !important;
        font-weight: bold !important;
        letter-spacing: 0.08em !important;
        text-transform: uppercase !important;
        padding: 0.42em 0.95em !important;
        line-height: 2 !important;
        border-radius: 0.2em !important;
        box-shadow: none !important;
        width: auto !important;
        min-width: 7.8rem !important;
        text-align: center !important;
    }

    #sidebar .clarif-sidebar-auth .button.primary {
        background: #06ca7e !important;
        border-color: transparent !important;
        color: #072530 !important;
    }

    #sidebar .clarif-sidebar-auth .button:not(.primary):hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #ffffff !important;
    }

    #sidebar .clarif-sidebar-auth .button.primary:hover {
        background: #03b76f !important;
    }

}

/* ── Mobile nav overlay (base — position:fixed, off-screen above viewport) ── */

#mobile-menu-toggle {
    display: none;
}

#mobile-menu-overlay {
    position: fixed;
    top: 3.5em;
    left: 0;
    right: 0;
    height: calc(100vh - 3.5em);
    background: #072530;
    z-index: 9998;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    display: none; /* enabled in the ≤1280px block below */
}

/* Overlay active on both tablet and mobile — slides down from above viewport */
@media screen and (max-width: 1280px) {
    #mobile-menu-overlay {
        display: flex;
        transform: translateY(-105%);
        transition: transform 0.35s ease;
        pointer-events: none;
    }

    #mobile-menu-overlay.is-open {
        transform: translateY(0);
        pointer-events: auto;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }
}

/* Mobile (≤736px):
   Hyperspace hides #sidebar entirely at this breakpoint. We override that,
   add a hamburger toggle, and slide down a full-height nav overlay.          */
@media screen and (max-width: 736px) {
    /* Un-hide sidebar — the ≤1280px horizontal bar rules still apply */
    #sidebar {
        display: block !important;
        border-bottom: 2px solid #be6484;
    }

    /* Restore the top offset Hyperspace removes at this breakpoint */
    #sidebar ~ #wrapper {
        padding-top: 3.5em !important;
    }

    /* Centre all flex children vertically */
    #sidebar > .inner {
        align-items: center;
    }

    /* Brand: logo only, no tagline */
    #sidebar .clarif-sidebar-brand {
        display: flex;
        align-items: center;
        height: auto;
        margin: 0;
        padding: 0 .75em;
        flex-shrink: 0;
    }

    #sidebar .clarif-sidebar-brand a {
        display: flex;
        align-items: center;
        border: none;
        text-decoration: none;
    }

    #sidebar .clarif-sidebar-brand img {
        max-width: 4.5rem;
        margin-bottom: 0;
    }

    #sidebar .clarif-sidebar-brand p {
        display: none;
    }

    /* Nav spacer — links hidden (available via overlay instead) */
    #sidebar nav {
        flex: 1;
    }

    #sidebar nav ul {
        display: none !important;
    }

    /* Auth buttons hidden from bar — shown in overlay instead */
    #sidebar .clarif-sidebar-auth {
        display: none;
    }

    /* ── Hamburger toggle button ── */
    #mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: 1px solid rgba(255, 255, 255, 0.4);
        cursor: pointer;
        padding: 0 .8em;
        min-width: 2.5rem;
        min-height: 2.5rem;
        flex-shrink: 0;
        color: #ffffff;
        border-radius: 0.35rem;
    }

    #mobile-menu-toggle .icon {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.85);
        line-height: 1;
    }

    /* Nav links */
    #mobile-menu-overlay nav {
        width: 100%;
    }

    #mobile-menu-overlay nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    #mobile-menu-overlay nav ul li a {
        display: block;
        padding: 1.1em 2em;
        color: rgba(255, 255, 255, 0.65);
        font-size: .7rem;
        font-weight: bold;
        letter-spacing: 0.25em;
        text-transform: uppercase;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        text-decoration: none;
        transition: color 0.2s, background 0.2s;
    }

    #mobile-menu-overlay nav ul li:first-child a {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    #mobile-menu-overlay nav ul li a:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.05);
    }

    /* Auth buttons in overlay */
    .mobile-menu-auth {
        display: flex;
        flex-direction: column;
        gap: .75rem;
        margin-top: 2.5rem;
        padding: 0 2rem;
        width: 100%;
        max-width: 280px;
    }

    .mobile-menu-auth .button {
        display: block !important;
        text-align: center !important;
        width: 100% !important;
        font-size: .85rem !important;
        padding: .85em 1.5em !important;
        letter-spacing: .1em !important;
        line-height: 1.4 !important;
        box-sizing: border-box;
    }

    .clarif-proof-splide {
        padding: 1rem 0.8rem 3rem !important;
    }

    .clarif-proof-splide .splide__arrows {
        display: none;
    }

    .clarif-proof-splide .splide__pagination {
        bottom: 0.75rem;
        padding: 0 0.8rem !important;
    }

    #intro h1 {
        font-size: 2.15rem;
    }
}

/* Site subscriptions (Hyperspace + Tabler-style payment cards) */
.clarif-site-pricing {
    color: #09323b;
}

.clarif-site-pricing h1 {
    color: #09323b;
    margin-bottom: 0.75rem;
}

.clarif-site-pricing > .inner > p {
    max-width: 64ch;
    color: #fff;
    margin-bottom: 1.5rem;
}

.clarif-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.clarif-site-pricing .card {
    background: #ffffff;
    border: 1px solid rgba(9, 50, 59, 0.14);
    border-radius: 0.55rem;
    box-shadow: 0 14px 28px rgba(7, 37, 48, 0.14);
    color: #09323b;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.clarif-site-pricing .card-header,
.clarif-site-pricing .card-body,
.clarif-site-pricing .card-footer {
    padding: 1rem 1rem 0.9rem;
}

.clarif-site-pricing .card-header {
    border-bottom: 1px solid rgba(9, 50, 59, 0.1);
}

.clarif-site-pricing .card-body {
    flex: 1 1 auto;
}

.clarif-site-pricing .card-footer {
    border-top: 1px solid rgba(9, 50, 59, 0.1);
    padding-top: 0.85rem;
}

.clarif-site-pricing .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 1.45rem;
    padding: 0.18rem 0.62rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #072530;
    background: linear-gradient(90deg, rgba(6, 202, 126, 0.28) 0%, rgba(232, 167, 188, 0.28) 100%);
    border: 1px solid rgba(9, 50, 59, 0.16);
}

.clarif-site-pricing .card-header h2 {
    margin: 0.7rem 0 0.18rem;
    color: #09323b;
    font-size: 1.2rem;
}

.clarif-pricing-subtitle {
    margin: 0;
    color: rgba(9, 50, 59, 0.7);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.clarif-pricing-price {
    color: #0f6b55;
    font-size: 1.18rem;
    font-weight: 800;
    margin-bottom: 0.55rem;
}

.clarif-pricing-summary {
    color: rgba(9, 50, 59, 0.78);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 0.7rem;
}

.clarif-pricing-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.45rem;
}

.clarif-pricing-features li {
    color: #09323b;
    font-size: 0.88rem;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}

.clarif-pricing-features .icon {
    color: #06ca7e;
    margin-top: 0.18rem;
    font-size: 0.78rem;
}

.clarif-pricing-card.is-featured {
    border-color: rgba(6, 202, 126, 0.58);
    box-shadow: 0 16px 34px rgba(6, 202, 126, 0.2);
}

.clarif-pricing-card.is-featured .card-header {
    background: linear-gradient(180deg, rgba(6, 202, 126, 0.11) 0%, rgba(232, 167, 188, 0.08) 100%);
}

.clarif-pricing-card .button {
    width: 100%;
    text-align: center;
}

/* Force readable card content inside style1 wrapper (prevents inherited white text/buttons). */
.clarif-site-pricing .clarif-pricing-grid .card,
.clarif-site-pricing .clarif-pricing-grid .card h1,
.clarif-site-pricing .clarif-pricing-grid .card h2,
.clarif-site-pricing .clarif-pricing-grid .card h3,
.clarif-site-pricing .clarif-pricing-grid .card h4,
.clarif-site-pricing .clarif-pricing-grid .card p,
.clarif-site-pricing .clarif-pricing-grid .card li,
.clarif-site-pricing .clarif-pricing-grid .card span {
    color: #09323b !important;
}

.clarif-site-pricing .clarif-pricing-grid .card .clarif-pricing-price {
    color: #0f6b55 !important;
}

.clarif-site-pricing .clarif-pricing-grid .card .button {
    color: #09323b !important;
    border-color: rgba(9, 50, 59, 0.35) !important;
    background: #e5f7f0 !important;
}

.clarif-site-pricing .clarif-pricing-grid .card .button:hover {
    color: #09323b !important;
    border-color: #09323b !important;
    background: #d6f2e9 !important;
}

.clarif-site-pricing .clarif-pricing-grid .card .button.primary {
    color: #021812 !important;
    border-color: transparent !important;
    background: linear-gradient(92deg, #06ca7e 0%, #20c98a 62%, #4ad39e 100%) !important;
}

.clarif-site-pricing .clarif-pricing-grid .card .button.primary:hover {
    color: #021812 !important;
    background: linear-gradient(92deg, #03b76f 0%, #19bc7f 62%, #3bc892 100%) !important;
}

.clarif-pricing-help {
    margin-top: 1.6rem;
}

.clarif-pricing-help p {
    margin: 0 0 0.6rem;
    color: rgba(9, 50, 59, 0.86);
    font-weight: 600;
}

@media screen and (max-width: 1680px) {
    .clarif-pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 736px) {
    .clarif-pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Page loader ────────────────────────────────────────────────────────────
   Full-screen overlay shown while the page (and its images) are loading.
   Uses a radial spotlight gradient: dark vignette → teal centre → deep black-green edge.
   This is intentionally different from the flat solid-colour section bands on the site.

   Mechanism: Hyperspace's main.js removes body.is-preload 100ms after window.load,
   which triggers the CSS transition that fades this overlay out.
   ───────────────────────────────────────────────────────────────────────────── */

#site-loader {
    position: fixed;
    inset: 0;
    z-index: 10001; /* must beat #sidebar z-index: 10000 from Hyperspace main.css */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
    /* Diagonal gradient, oversized so background-position animation creates a slow pan/drift.
       Uses three brand stops — spearmint, deep forest, near-black — at a 135deg angle.
       background-size: 300% 300% gives the position room to travel across all three bands. */
    background: linear-gradient(
        135deg,
        #030d12  0%,
        #0f6b55 30%,
        #072530 55%,
        #0f6b55 75%,
        #030d12 100%
    );
    background-size: 300% 300%;
    animation: clarif-loader-gradient 9s ease infinite;
    opacity: 1;
    visibility: visible;
    /* 0.5s hold after window.load before the fade begins; visibility collapses after fade */
    transition: opacity 0.65s ease 0.5s, visibility 0s linear 1.15s;
    pointer-events: auto;
}

@keyframes clarif-loader-gradient {
    0%   { background-position: 0%   0%;   }
    25%  { background-position: 100% 0%;   }
    50%  { background-position: 100% 100%; }
    75%  { background-position: 0%   100%; }
    100% { background-position: 0%   0%;   }
}

/* Dismiss when JS adds .loader-done to body (minimum display time enforced by inline script).
   Decoupled from Hyperspace's is-preload so it always shows for the full minimum duration. */
body.loader-done #site-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* ── Override Hyperspace's is-preload animation/transition kill ──────────────────────────
   main.css line 104: body.is-preload *, *:before, *:after { animation: none !important; }
   This wildcard rule suppresses ALL animations while is-preload is on body — which on a
   fast desktop means the loader never animates because is-preload is removed just 100ms
   after window.load (which fires almost instantly with cached assets).

   CSS !important precedence is still decided by specificity, so a more-specific !important
   rule beats the wildcard. ID selector (1,0,0) > universal (0,0,1), class+class (0,2,0)
   > class+universal (0,1,1) — so these rules win and animations run from first paint.    */
body.is-preload #site-loader {
    animation: clarif-loader-gradient 9s ease infinite !important;
}

body.is-preload .clarif-loader-lockup {
    animation: clarif-loader-breathe 2.4s ease-in-out infinite !important;
}

body.is-preload .clarif-loader-dots__dot {
    animation: clarif-loader-dot 1.5s infinite ease-in-out both !important;
}

/* Logo lockup: shield SVG + wordmark side by side */
.clarif-loader-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    animation: clarif-loader-breathe 2.4s ease-in-out infinite;
}

.clarif-loader-lockup__logo {
    width: min(20rem, 72vw);
    height: auto;
    display: block;
}

.clarif-loader-lockup__row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.clarif-loader-lockup__shield {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}

.clarif-loader-lockup__wordmark {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 2.2rem;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1;
    white-space: nowrap;
}

.clarif-loader-lockup__wordmark em {
    font-style: normal;
    font-weight: normal;
    color: #06ca7e;
}

.clarif-loader-lockup__tagline {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.04em;
    text-align: center;
    margin: 0;
}

/* Breathing pulse — subtle scale + opacity cycle on the whole lockup */
@keyframes clarif-loader-breathe {
    0%, 100% { transform: scale(1);    opacity: 0.88; }
    50%       { transform: scale(1.03); opacity: 1;    }
}

/* Three-dot progress indicator */
.clarif-loader-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.clarif-loader-dots__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #06ca7e;
    animation: clarif-loader-dot 1.5s infinite ease-in-out both;
}

.clarif-loader-dots__dot:nth-child(1) { animation-delay: -0.32s; }
.clarif-loader-dots__dot:nth-child(2) { animation-delay: -0.16s; }
.clarif-loader-dots__dot:nth-child(3) { animation-delay:  0s;    }

@keyframes clarif-loader-dot {
    0%, 80%, 100% { transform: scale(0.55); opacity: 0.3; }
    40%           { transform: scale(1);    opacity: 1;   }
}

/* Respect reduced-motion preference — disable all animations, instant hide */
@media (prefers-reduced-motion: reduce) {
    #site-loader {
        animation: none;
        transition: opacity 0.2s ease, visibility 0s linear 0.2s;
        background-position: 50% 50%;
    }

    .clarif-loader-lockup {
        animation: none;
        opacity: 1;
    }

    .clarif-loader-dots__dot {
        animation: none;
        opacity: 0.7;
    }
}
