/**
 * Yalla Tidy — Intro / marketing site — premium design system
 * Scoped to body.intro-app; stacks over legacy style.css
 */

/* Fixed header + anchor offset (must live on :root / html so scroll-padding can use --ip-header-h) */
:root {
    --ip-header-h: 80px;
    --ip-scroll-gap: 36px;
    --ip-anchor-offset: calc(var(--ip-header-h) + var(--ip-scroll-gap));
}

html.intro-html {
    /* Hash links / scroll-into-view clear the fixed navbar */
    scroll-padding-top: var(--ip-anchor-offset);
}

/* Fragment targets: clear fixed header; About gets extra room for long first paragraph (RTL) */
body.intro-app .intro-home > section[id] {
    scroll-margin-top: var(--ip-anchor-offset);
}

body.intro-app .intro-home #about_us {
    scroll-margin-top: calc(var(--ip-anchor-offset) + 40px);
}

body.intro-app .intro-home > section#home {
    scroll-margin-top: 0;
}

/* -------------------------------------------------------------------------
   Tokens (defaults; brand colors still come from Blade :root --main, etc.)
   ------------------------------------------------------------------------- */
body.intro-app {
    --ip-radius-sm: 10px;
    --ip-radius: 14px;
    --ip-radius-lg: 22px;
    --ip-radius-xl: 28px;
    --ip-font: 'Cairo', 'Segoe UI', system-ui, sans-serif;
    --ip-text: #0f172a;
    --ip-text-muted: #64748b;
    --ip-text-soft: #94a3b8;
    --ip-surface: #ffffff;
    --ip-surface-2: #f8fafc;
    --ip-border: rgba(15, 23, 42, 0.08);
    --ip-border-strong: rgba(15, 23, 42, 0.1);
    --ip-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --ip-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --ip-shadow-md: 0 12px 40px rgba(15, 23, 42, 0.1);
    --ip-shadow-lg: 0 24px 64px rgba(15, 23, 42, 0.14);
    --ip-glass: rgba(255, 255, 255, 0.72);
    --ip-blur: 16px;
    --ip-transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    /* Match .ip-container horizontal padding — used for breakout edges */
    --ip-container-pad-x: clamp(1rem, 4vw, 1.5rem);
    /* Warm band (matches .intro-services .ip-services__bg) — footer + CTAs */
    --ip-services-bg: linear-gradient(
        165deg,
        #fffbeb 0%,
        #fef3c7 28%,
        #fde68a 55%,
        #fbbf24 85%,
        #f59e0b 100%
    );
    --ip-services-overlay: radial-gradient(circle at 14% 22%, rgba(255, 255, 255, 0.55) 0%, transparent 45%),
        radial-gradient(circle at 86% 78%, rgba(255, 251, 235, 0.5) 0%, transparent 42%),
        radial-gradient(ellipse 120% 80% at 50% 100%, rgba(180, 83, 9, 0.12) 0%, transparent 55%);
    --ip-services-ink: #422006;
    --ip-services-ink-muted: rgba(113, 63, 18, 0.78);
    --ip-services-ink-soft: rgba(66, 32, 6, 0.65);
    --ip-services-border: rgba(202, 138, 4, 0.42);
}

body.intro-app {
    font-family: var(--ip-font) !important;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ip-text);
    background: var(--ip-surface-2);
    -webkit-font-smoothing: antialiased;
}

body.intro-app * {
    box-sizing: border-box;
}

/* -------------------------------------------------------------------------
   Shell
   ------------------------------------------------------------------------- */
.intro-home {
    overflow-x: clip;
}

.ip-container {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: var(--ip-container-pad-x);
    /* Default: readable on light sections (hero, about, FAQ, contact, legal pages) */
    color: var(--ip-text);
}

/* -------------------------------------------------------------------------
   Top navigation — glass bar
   ------------------------------------------------------------------------- */
.ip-header {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 1000;
    min-height: var(--ip-header-h);
    height: auto;
    display: flex;
    align-items: center;
    background: var(--ip-glass);
    -webkit-backdrop-filter: blur(var(--ip-blur));
    backdrop-filter: blur(var(--ip-blur));
    border-bottom: 1px solid var(--ip-border);
    transition: box-shadow var(--ip-transition), background var(--ip-transition);
}

.ip-header.is-scrolled {
    box-shadow: var(--ip-shadow-md);
    background: rgba(255, 255, 255, 0.92);
}

.ip-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 1.5rem);
}

.ip-header__brand img {
    display: block;
    height: 48px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.ip-header__brand:hover img {
    transform: scale(1.03);
}

.ip-header__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 992px) {
    .ip-header__nav {
        position: static;
        width: auto;
        height: auto;
        inset: auto;
        background: transparent !important;
        box-shadow: none !important;
        flex-direction: row;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        padding: 0;
    }
}

.ip-header__nav a {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.9rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--ip-text-muted) !important;
    border-radius: 999px;
    text-decoration: none !important;
    transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.ip-header__nav a:hover {
    color: var(--main) !important;
    background: rgba(0, 0, 0, 0.04);
}

.ip-header__nav a.is-active {
    color: #fff !important;
    background: var(--main);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.ip-header__actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.ip-lang .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem !important;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ip-text) !important;
    background: var(--ip-surface-2) !important;
    border: 1px solid var(--ip-border) !important;
    border-radius: 999px !important;
    box-shadow: var(--ip-shadow-sm);
}

.ip-lang .dropdown-toggle::after {
    display: none !important;
}

.ip-lang .dropdown-menu {
    border-radius: var(--ip-radius) !important;
    border: 1px solid var(--ip-border) !important;
    box-shadow: var(--ip-shadow-md) !important;
    padding: 0.35rem !important;
    min-width: 9rem;
}

.ip-lang .dropdown-item {
    border-radius: var(--ip-radius-sm);
    padding: 0.55rem 0.85rem !important;
    font-weight: 600;
    color: var(--ip-text-muted) !important;
}

.ip-lang .dropdown-item:hover {
    background: var(--ip-surface-2) !important;
    color: var(--main) !important;
}

.ip-header__cta {
    display: none;
}

@media (min-width: 992px) {
    .ip-header__cta {
        display: inline-flex;
    }
}

.ip-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: var(--ip-radius-sm);
}

.ip-nav-toggle span {
    display: block;
    height: 2px;
    width: 22px;
    background: var(--ip-text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.ip-nav-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.ip-nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.ip-nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
@media (max-width: 991.98px) {
    .ip-nav-toggle {
        display: flex;
    }

    .ip-header__nav {
        position: fixed;
        inset-block-start: var(--ip-header-h);
        inset-block-end: 0;
        inset-inline-end: 0;
        width: min(100vw - 2rem, 300px);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 1.25rem;
        gap: 0.25rem;
        background: linear-gradient(
            165deg,
            color-mix(in srgb, var(--main) 95%, #000) 0%,
            #1e293b 100%
        );
        box-shadow: var(--ip-shadow-lg);
        transform: translate3d(100%, 0, 0);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, visibility 0.3s;
        z-index: 1002;
    }

    html[dir='rtl'] .ip-header__nav {
        inset-inline-end: auto;
        inset-inline-start: 0;
        transform: translate3d(-100%, 0, 0);
    }

    .ip-header__nav.is-open {
        transform: translate3d(0, 0, 0);
        opacity: 1;
        visibility: visible;
    }

    .ip-header__nav a {
        color: rgba(255, 255, 255, 0.92) !important;
        padding: 0.85rem 1rem;
        border-radius: var(--ip-radius);
    }

    .ip-header__nav a:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #fff !important;
    }

    .ip-header__nav a.is-active {
        background: #fff !important;
        color: var(--main) !important;
        box-shadow: none;
    }
}

/* -------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------- */
.ip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease,
        color 0.25s ease;
}

.ip-btn:focus-visible {
    outline: 2px solid var(--main);
    outline-offset: 3px;
}

.ip-btn--primary {
    color: var(--ip-services-ink) !important;
    background: var(--ip-services-bg);
    border: 1px solid var(--ip-services-border);
    box-shadow:
        0 1px 2px rgba(113, 63, 18, 0.08),
        0 8px 28px rgba(245, 158, 11, 0.28);
}

.ip-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 1px 2px rgba(113, 63, 18, 0.1),
        0 14px 36px rgba(217, 119, 6, 0.32);
    color: var(--ip-services-ink) !important;
    filter: brightness(1.03);
}

.ip-btn--ghost {
    color: var(--ip-text) !important;
    background: var(--ip-surface);
    border-color: var(--ip-border-strong);
    box-shadow: var(--ip-shadow-sm);
}

.ip-btn--ghost:hover {
    border-color: var(--main);
    color: var(--main) !important;
    transform: translateY(-2px);
}

.ip-btn--outline {
    color: var(--main) !important;
    background: transparent;
    border-color: color-mix(in srgb, var(--main) 45%, transparent);
}

.ip-btn--outline:hover {
    background: color-mix(in srgb, var(--main) 10%, transparent);
}

.ip-btn--block {
    width: 100%;
}

.ip-btn i {
    font-size: 0.85em;
    transition: transform 0.25s ease;
}

.ip-btn:hover i {
    transform: translateX(-4px);
}

html[dir='ltr'] .ip-btn:hover i {
    transform: translateX(4px);
}

/* -------------------------------------------------------------------------
   Section framing
   ------------------------------------------------------------------------- */
.ip-section {
    position: relative;
    padding-block: clamp(3.5rem, 8vw, 6rem);
}

.ip-section__head {
    max-width: 640px;
    margin-inline: auto;
    margin-bottom: clamp(2rem, 4vw, 3rem);
    text-align: center;
}

.ip-eyebrow {
    display: inline-block;
    margin: 0 0 0.65rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--main);
}

.ip-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--ip-text);
}

.ip-subtitle {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--ip-text-muted);
}

.ip-section--tint {
    background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 50%, #fff 100%);
}

.ip-section--dark {
    color: #fff;
    background: var(--main2);
}

.ip-section--dark .ip-title,
.ip-section--dark .ip-eyebrow {
    color: #fff;
}

.ip-section--dark .ip-subtitle {
    color: rgba(255, 255, 255, 0.88);
}

/* reveal */
.ip-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.ip-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.ip-hero {
    padding-block: 0;
    min-height: min(92vh, 900px);
    margin-top: 0;
}

.ip-hero .owl-carousel .owl-stage-outer {
    min-height: min(88vh, 860px);
}

.ip-hero__slide {
    position: relative;
    min-height: min(92vh, 900px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--ip-surface-2);
}

.ip-hero__mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 55% at 15% 20%, color-mix(in srgb, var(--main) 22%, transparent), transparent 55%),
        radial-gradient(ellipse 60% 45% at 85% 75%, color-mix(in srgb, var(--hover) 18%, transparent), transparent 50%),
        linear-gradient(165deg, #f8fafc 0%, #eef2ff 45%, #fff 100%);
    pointer-events: none;
}

.ip-hero__noise {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    mix-blend-mode: overlay;
}

.ip-hero__grid {
    position: relative;
    z-index: 1;
    padding-block: clamp(4rem, 12vh, 7rem);
}

.ip-hero__row {
    align-items: center;
}

.ip-display {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 5vw, 3.1rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--ip-text);
}

.ip-lead {
    margin: 0 0 1.75rem;
    font-size: 1.12rem;
    line-height: 1.85;
    color: var(--ip-text-muted);
    max-width: 34rem;
}

.ip-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ip-hero__media-wrap {
    position: relative;
}

.ip-hero__media {
    position: relative;
    border-radius: var(--ip-radius-xl);
    overflow: hidden;
    box-shadow: var(--ip-shadow-lg);
    aspect-ratio: 4/5;
    max-height: 520px;
    margin-inline: auto;
    max-width: 440px;
}

.ip-hero__media::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--main) 55%, transparent),
        color-mix(in srgb, var(--hover) 40%, transparent)
    );
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.ip-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
    transition: transform 8s ease-out;
}

.owl-item.active .ip-hero__media img {
    transform: scale(1.08);
}

.ip-hero__badge {
    position: absolute;
    bottom: 1.25rem;
    inset-inline-start: 1.25rem;
    padding: 0.65rem 1rem;
    background: var(--ip-glass);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--ip-text);
    box-shadow: var(--ip-shadow);
    z-index: 2;
}

/* Owl inside hero */
.ip-hero .owl-dots {
    bottom: 2rem !important;
}

.ip-hero .owl-carousel .owl-nav {
    bottom: 1.5rem !important;
    z-index: 5;
}

.ip-hero .owl-carousel .owl-nav > div {
    background: #fff !important;
    border: 1px solid var(--ip-border) !important;
    box-shadow: var(--ip-shadow-md) !important;
    color: var(--ip-text) !important;
}

.ip-hero .owl-carousel .owl-nav > div:hover {
    background: var(--main) !important;
    color: #fff !important;
    border-color: var(--main) !important;
}

.ip-hero .owl-carousel .owl-dot.active {
    transform: scale(1.08);
}

/* -------------------------------------------------------------------------
   About — single horizontal strip (main + gallery), click to preview
   ------------------------------------------------------------------------- */

.ip-about > .ip-container.ip-about__wrap {
    text-align: center;
}

.ip-about > .ip-container.ip-about__wrap .ip-about__figures {
    margin-inline: auto;
    width: 100%;
    max-width: 100%;
}

.ip-about > .ip-container.ip-about__wrap .ip-about__card img {
    object-position: center;
}

.ip-about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: center;
}

.ip-about__prose .ip-title {
    text-align: start;
}

.ip-about__prose p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--ip-text-muted);
}

.ip-about__figures {
    position: relative;
    width: 100%;
    max-width: 100%;
}

.ip-about__blob {
    position: absolute;
    width: min(95%, 640px);
    height: min(52%, 380px);
    inset-inline-start: 50%;
    transform: translateX(-50%);
    border-radius: 48% 52% 60% 40% / 38% 42% 58% 62%;
    background: radial-gradient(
        ellipse 85% 70% at 45% 40%,
        color-mix(in srgb, var(--main) 40%, transparent),
        color-mix(in srgb, var(--hover) 22%, transparent) 55%,
        transparent 72%
    );
    opacity: 0.5;
    top: clamp(2%, 1.5vw, 8%);
    z-index: 0;
    pointer-events: none;
}

.ip-about__strip {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: clamp(0.65rem, 1.5vw, 1.05rem);
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0.4rem 0 0.2rem;
    list-style: none;
}

.ip-about__strip-item {
    flex: 1 1 clamp(7.25rem, calc((100% - 5 * 0.75rem) / 6), 10.5rem);
    min-width: min(7.25rem, 26vw);
    max-width: 12.5rem;
}

.ip-about__strip-item--lead {
    flex: 1.1 1 clamp(8rem, calc((100% - 5 * 0.75rem) / 5.2), 13rem);
    max-width: 14rem;
}

@media (max-width: 575.98px) {
    .ip-about__strip {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: var(--ip-container-pad-x);
        gap: 0.85rem;
        padding: 0.4rem 0 0.9rem;
        margin-inline: calc(-1 * var(--ip-container-pad-x));
        padding-inline: var(--ip-container-pad-x);
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .ip-about__strip-item,
    .ip-about__strip-item--lead {
        flex: 0 0 min(68vw, 220px);
        min-width: min(68vw, 220px);
        max-width: min(68vw, 220px);
        scroll-snap-align: center;
    }
}

.ip-about__card {
    position: relative;
    margin: 0;
    height: 100%;
    border-radius: clamp(14px, 3vw, var(--ip-radius-lg));
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--ip-surface);
    border: 1px solid color-mix(in srgb, var(--main) 20%, var(--ip-border));
    box-shadow:
        0 2px 6px rgba(15, 23, 42, 0.06),
        0 16px 44px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
    transition:
        transform 0.42s cubic-bezier(0.34, 1.15, 0.64, 1),
        box-shadow 0.38s ease,
        border-color 0.38s ease;
}

.ip-about__strip-item--lead .ip-about__card {
    border-color: color-mix(in srgb, var(--main) 35%, var(--ip-border));
    box-shadow:
        0 4px 10px rgba(15, 23, 42, 0.08),
        0 20px 52px rgba(15, 23, 42, 0.12),
        0 0 0 1px color-mix(in srgb, var(--main) 26%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.ip-about__card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
    opacity: 1;
    pointer-events: none;
}

.ip-about__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(0.34, 1, 0.64, 1);
}

.ip-about__strip .ip-about__card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: color-mix(in srgb, var(--main) 45%, var(--ip-border));
    box-shadow:
        0 8px 24px rgba(15, 23, 42, 0.1),
        0 28px 56px rgba(15, 23, 42, 0.14),
        0 0 0 1px color-mix(in srgb, var(--main) 35%, transparent),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.ip-about__strip .ip-about__card:hover img {
    transform: scale(1.06);
}

@media (hover: none) {
    .ip-about__strip .ip-about__card:hover {
        transform: none;
        border-color: color-mix(in srgb, var(--main) 20%, var(--ip-border));
        box-shadow:
            0 2px 6px rgba(15, 23, 42, 0.06),
            0 16px 44px rgba(15, 23, 42, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.55);
    }

    .ip-about__strip .ip-about__card:hover img {
        transform: none;
    }
}

/* About: clickable cards open full-screen preview */
body.intro-app .ip-about__card--preview {
    cursor: zoom-in;
}

body.intro-app .ip-about__card--preview:focus {
    outline: none;
}

body.intro-app .ip-about__card--preview:focus-visible {
    outline: 2px solid var(--main);
    outline-offset: 3px;
}

body.intro-app .ip-about-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2400;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(0.65rem, 4vw, 1.75rem);
    background: rgba(15, 23, 42, 0.86);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

body.intro-app .ip-about-lightbox[hidden] {
    display: none !important;
}

body.intro-app .ip-about-lightbox__close {
    position: absolute;
    top: clamp(0.5rem, 3vw, 1.35rem);
    inset-inline-end: clamp(0.5rem, 3vw, 1.35rem);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.65rem;
    height: 2.65rem;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

body.intro-app .ip-about-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
}

body.intro-app .ip-about-lightbox__close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

body.intro-app .ip-about-lightbox__inner {
    position: relative;
    max-width: min(1180px, 96vw);
    max-height: min(88vh, 900px);
    border-radius: var(--ip-radius-lg);
    overflow: hidden;
    box-shadow: var(--ip-shadow-lg);
    background: #0f172a;
}

body.intro-app .ip-about-lightbox__img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(1180px, 96vw);
    max-height: min(88vh, 900px);
    margin: 0 auto;
    object-fit: contain;
}

body.intro-app.ip-about-lightbox-open {
    overflow: hidden;
}

.ip-statbar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--ip-border);
}

.ip-stat {
    text-align: center;
}

.ip-stat__num {
    display: block;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--main);
    line-height: 1.2;
}

.ip-stat__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--ip-text-soft);
    margin-top: 0.25rem;
}

@media (max-width: 575.98px) {
    .ip-statbar {
        grid-template-columns: 1fr;
        text-align: start;
    }

    .ip-stat {
        text-align: start;
        display: flex;
        align-items: baseline;
        gap: 0.75rem;
    }

    .ip-stat__num {
        min-width: 2.5rem;
    }
}

/* -------------------------------------------------------------------------
   Services (cards on gradient band)
   ------------------------------------------------------------------------- */
.ip-services {
    position: relative;
    overflow: hidden;
}

.ip-services__bg {
    position: absolute;
    inset: 0;
    /* Darken overlay so white copy stays readable even if --main2 / buttons_color is very light */
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.35) 50%, rgba(15, 23, 42, 0.45) 100%),
        var(--main2);
    opacity: 1;
}

.ip-services__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 15% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.ip-services .ip-container {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.96);
}

.ip-services .ip-section__head {
    margin-bottom: 2.5rem;
}

.ip-services .ip-title,
.ip-services .ip-eyebrow,
.ip-services .ip-subtitle {
    color: #fff !important;
}

.ip-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.ip-service-card {
    position: relative;
    padding: 1.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--ip-radius-lg);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: var(--ip-shadow);
    transition: transform var(--ip-transition), box-shadow var(--ip-transition), background var(--ip-transition);
}

.ip-service-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.ip-service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    border-radius: var(--ip-radius);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--ip-shadow-sm);
}

.ip-service-card__icon img {
    max-width: 32px;
    max-height: 32px;
    object-fit: contain;
}

.ip-service-card h3 {
    margin: 0 0 0.65rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
}

.ip-service-card p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
}

/* Intro services: yellow section backdrop + headings (matches yellow cards) */
.intro-services .ip-services__bg {
    background: var(--ip-services-bg);
}

.intro-services .ip-services__bg::after {
    background-image: var(--ip-services-overlay);
}

.intro-services .ip-container {
    color: rgba(66, 32, 6, 0.92);
}

.intro-services .ip-title,
.intro-services .ip-eyebrow,
.intro-services .ip-subtitle {
    color: #422006 !important;
}

/* Intro services: warm yellow cards (readable dark type) */
.intro-services .ip-service-card {
    background: linear-gradient(
        165deg,
        rgba(255, 251, 235, 0.97) 0%,
        rgba(254, 243, 199, 0.94) 38%,
        rgba(253, 224, 71, 0.72) 100%
    );
    border: 1px solid rgba(202, 138, 4, 0.42);
    box-shadow:
        0 1px 2px rgba(113, 63, 18, 0.06),
        0 12px 36px rgba(113, 63, 18, 0.12);
}

.intro-services .ip-service-card:hover {
    background: linear-gradient(
        165deg,
        #fffbeb 0%,
        #fef3c7 40%,
        rgba(250, 204, 21, 0.82) 100%
    );
    border-color: rgba(180, 83, 9, 0.5);
    box-shadow:
        0 8px 28px rgba(113, 63, 18, 0.14),
        0 20px 48px rgba(180, 83, 9, 0.12);
}

.intro-services .ip-service-card h3 {
    color: #422006;
}

.intro-services .ip-service-card p {
    color: rgba(66, 32, 6, 0.82);
}

.intro-services .ip-service-card__icon {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(202, 138, 4, 0.25);
    box-shadow: 0 2px 8px rgba(113, 63, 18, 0.08);
}

/* -------------------------------------------------------------------------
   How it works — stepper (single row; step title stays one line)
   ------------------------------------------------------------------------- */
.ip-steps {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: clamp(0.5rem, 1.5vw, 1.15rem);
    margin-top: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
}

.ip-step {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    padding: 1.1rem 0.75rem 1.25rem;
    background: var(--ip-surface);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius-lg);
    box-shadow: var(--ip-shadow);
    text-align: center;
    transition: transform var(--ip-transition), box-shadow var(--ip-transition);
}

.ip-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--ip-shadow-md);
}

.ip-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    background: var(--main);
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.ip-step__img {
    width: 104px;
    height: 104px;
    margin: 0 auto 1rem;
    border-radius: var(--ip-radius-lg);
    overflow: hidden;
    border: none;
    box-shadow: var(--ip-shadow-sm);
}

.ip-step__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.intro-app .ip-step__img--preview {
    cursor: zoom-in;
}

body.intro-app .ip-step__img--preview:focus {
    outline: none;
}

body.intro-app .ip-step__img--preview:focus-visible {
    outline: 2px solid var(--main);
    outline-offset: 3px;
}

.ip-step__text {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 700;
    line-height: 1.5;
    color: var(--ip-text);
}

.ip-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 3rem;
    inset-inline-end: -0.85rem;
    width: 1.7rem;
    height: 2px;
    background: linear-gradient(90deg, var(--main), transparent);
    opacity: 0.35;
    pointer-events: none;
}

html[dir='rtl'] .ip-step:not(:last-child)::after {
    background: linear-gradient(270deg, var(--main), transparent);
}

/* -------------------------------------------------------------------------
   FAQ
   ------------------------------------------------------------------------- */
.ip-faq .nav-pills {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.75rem !important;
}

.ip-faq .nav-link {
    border-radius: 999px !important;
    padding: 0.55rem 1.25rem !important;
    font-weight: 700 !important;
    font-size: 0.92rem !important;
    color: var(--ip-text-muted) !important;
    background: var(--ip-surface) !important;
    border: 1px solid var(--ip-border) !important;
    box-shadow: var(--ip-shadow-sm);
    min-width: auto !important;
    width: auto !important;
    height: auto !important;
    line-height: 1.4 !important;
}

.ip-faq .nav-link.active {
    color: #fff !important;
    background: var(--main) !important;
    border-color: var(--main) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

.ip-faq .accordion .card {
    border: none !important;
    border-radius: var(--ip-radius) !important;
    margin-bottom: 0.75rem !important;
    box-shadow: var(--ip-shadow) !important;
    overflow: hidden;
    background: var(--ip-surface);
}

.ip-faq .accordion .card-header {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.ip-faq .accordion .card-header button {
    position: relative;
    padding: 1.1rem 3rem 1.1rem 1.25rem !important;
    font-weight: 700 !important;
    font-size: 0.98rem !important;
    color: var(--ip-text) !important;
    text-align: start !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    transition: color 0.25s ease;
}

.ip-faq .accordion .card-header button:hover {
    color: var(--main) !important;
}

.ip-faq .accordion .card-header button::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    position: absolute;
    top: 50%;
    inset-inline-end: 1.15rem;
    transform: translateY(-50%) rotate(180deg);
    font-size: 0.75rem;
    color: var(--ip-text-soft);
    transition: transform 0.35s ease;
}

.ip-faq .accordion .card-header button.collapsed::after {
    transform: translateY(-50%) rotate(0deg);
}

.ip-faq .accordion .collapse .card-body {
    padding: 1.25rem 1.5rem 1.5rem !important;
    font-size: 0.98rem;
    line-height: 1.85;
    color: var(--ip-text-muted);
    background: var(--ip-surface-2);
    border-top: 1px solid var(--ip-border);
}

/* -------------------------------------------------------------------------
   Partners
   ------------------------------------------------------------------------- */
.ip-partners__track .item {
    padding: 1.1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(5.5rem, 14vw, 8.5rem);
}

.ip-partners__track img {
    max-height: clamp(4.25rem, 11vw, 7.5rem);
    width: auto !important;
    max-width: min(100%, 220px);
    object-fit: contain;
    filter: grayscale(1) opacity(0.65);
    transition: filter 0.4s ease, transform 0.4s ease, opacity 0.4s ease;
}

.ip-partners__track .item:hover img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.08);
}

/* -------------------------------------------------------------------------
   Contact
   ------------------------------------------------------------------------- */
.ip-contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start;
}

@media (min-width: 992px) {
    .ip-contact__grid {
        grid-template-columns: 1fr 1.15fr;
        gap: 3rem;
    }
}

.ip-contact-card {
    display: flex;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    margin-bottom: 0.75rem;
    background: var(--ip-surface);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius);
    box-shadow: var(--ip-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ip-contact-card:last-child {
    margin-bottom: 0;
}

.ip-contact-card:hover {
    transform: translateX(-4px);
    box-shadow: var(--ip-shadow);
}

html[dir='ltr'] .ip-contact-card:hover {
    transform: translateX(4px);
}

.ip-contact-card__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--ip-radius-sm);
    background: color-mix(in srgb, var(--main) 12%, transparent);
    color: var(--main);
    font-size: 1.1rem;
}

.ip-contact-card__body strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ip-text-soft);
    margin-bottom: 0.2rem;
}

.ip-contact-card__body a,
.ip-contact-card__body span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ip-text);
    word-break: break-word;
}

.ip-form-panel {
    padding: clamp(1.75rem, 4vw, 2.5rem);
    background: var(--ip-surface);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius-xl);
    box-shadow: var(--ip-shadow-md);
}

.ip-field {
    margin-bottom: 1.1rem;
}

.ip-field label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ip-text-muted);
}

.ip-form-panel .form-control {
    display: block;
    width: 100%;
    padding: 0.85rem 1rem !important;
    font-size: 0.95rem !important;
    font-family: inherit !important;
    border: 1px solid var(--ip-border-strong) !important;
    border-radius: var(--ip-radius) !important;
    background: var(--ip-surface-2) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ip-form-panel .form-control:focus {
    border-color: var(--main) !important;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--main) 18%, transparent) !important;
    outline: none !important;
    background: var(--ip-surface) !important;
}

.ip-form-panel textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.ip-form-panel .btn-main {
    width: 100%;
    max-width: none;
    margin: 1.5rem 0 0;
    height: 52px;
    line-height: 52px;
    border-radius: 999px !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em;
    color: var(--ip-services-ink) !important;
    background: var(--ip-services-bg) !important;
    border: 1px solid var(--ip-services-border) !important;
    box-shadow:
        0 1px 2px rgba(113, 63, 18, 0.08),
        0 10px 28px rgba(245, 158, 11, 0.28) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.ip-form-panel .btn-main:hover {
    transform: translateY(-2px);
    box-shadow:
        0 1px 2px rgba(113, 63, 18, 0.1),
        0 14px 36px rgba(217, 119, 6, 0.32) !important;
    filter: brightness(1.03);
}

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.ip-footer {
    position: relative;
    padding: clamp(3rem, 6vw, 4.5rem) 0 0;
    background: var(--ip-services-bg);
    color: rgba(66, 32, 6, 0.92);
    overflow: hidden;
}

.ip-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--ip-services-overlay);
    pointer-events: none;
}

.ip-footer .ip-container {
    position: relative;
    z-index: 1;
    color: rgba(66, 32, 6, 0.92);
}

.ip-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 768px) {
    .ip-footer__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.ip-footer__brand img {
    height: clamp(4.25rem, 7vw, 5.5rem);
    width: auto;
    max-width: min(100%, 320px);
    margin-bottom: 1.25rem;
    object-fit: contain;
}

.ip-footer__title {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ip-services-ink-muted);
}

.ip-footer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ip-footer__list li {
    margin-bottom: 0.65rem;
}

.ip-footer__list a .ip-footer__ico {
    font-size: 0.65rem;
    opacity: 0.85;
    margin-inline-end: 0.4rem;
    vertical-align: middle;
}

.ip-footer__list a {
    color: var(--ip-services-ink-soft) !important;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.ip-footer__list a:hover {
    color: var(--ip-services-ink) !important;
    transform: translateX(-3px);
}

html[dir='ltr'] .ip-footer__list a:hover {
    transform: translateX(3px);
}

.ip-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.25rem;
}

.ip-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(
        165deg,
        rgba(255, 251, 235, 0.95) 0%,
        rgba(254, 243, 199, 0.9) 45%,
        rgba(253, 224, 71, 0.55) 100%
    );
    border: 1px solid var(--ip-services-border);
    color: var(--ip-services-ink) !important;
    font-size: 1.05rem;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.ip-footer__social a:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 24px rgba(180, 83, 9, 0.18);
}

.ip-footer__bottom {
    margin-top: 2.5rem;
    padding: 1.15rem clamp(1rem, 4vw, 1.5rem);
    border-top: 1px solid var(--ip-services-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.88rem;
    background: rgba(180, 83, 9, 0.12);
    border-radius: var(--ip-radius) var(--ip-radius) 0 0;
    color: var(--ip-services-ink-soft);
}

.ip-footer__bottom a {
    color: var(--ip-services-ink) !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Legacy .under_footer (style.css) — keep layout from fighting the premium bar */
body.intro-app .ip-footer .ip-footer__bottom.under_footer {
    text-align: start;
    padding: 1.15rem clamp(1rem, 4vw, 1.5rem);
    background: rgba(180, 83, 9, 0.12);
}

/* -------------------------------------------------------------------------
   Legal / inner pages
   ------------------------------------------------------------------------- */
.intro-page {
    padding-top: clamp(1.5rem, 4vw, 2.5rem);
    padding-bottom: clamp(3rem, 8vw, 5rem);
    min-height: 60vh;
}

.ip-doc {
    max-width: 800px;
    margin-inline: auto;
    padding: clamp(1.75rem, 5vw, 3rem);
    background: var(--ip-surface);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius-xl);
    box-shadow: var(--ip-shadow-md);
}

.ip-doc__title {
    margin: 0 0 1.5rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ip-doc__body {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--ip-text-muted);
}

.ip-doc__body p {
    margin-bottom: 1rem;
}

.ip-doc__body ul,
.ip-doc__body ol {
    margin-bottom: 1rem;
    padding-inline-start: 1.35rem;
}

.ip-doc__body h2,
.ip-doc__body h3 {
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--ip-text);
    font-weight: 800;
}

.ip-doc__body h2 {
    font-size: 1.35rem;
}

.ip-doc__body h3 {
    font-size: 1.15rem;
}

.ip-doc__body a {
    color: var(--main);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ip-doc__body a:hover {
    filter: brightness(0.95);
}

.ip-doc__body img,
.ip-doc__body video {
    max-width: 100%;
    height: auto;
}

.ip-delete {
    text-align: center;
    max-width: 560px;
    margin-inline: auto;
    padding: clamp(2rem, 5vw, 3rem);
    background: var(--ip-surface);
    border: 1px solid var(--ip-border);
    border-radius: var(--ip-radius-xl);
    box-shadow: var(--ip-shadow-md);
}

.ip-delete h1 {
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.ip-delete__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.ip-delete__actions .btn {
    min-width: 130px;
    padding: 0.65rem 1.5rem;
    font-weight: 700;
    border-radius: 999px !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ip-delete__actions .btn:hover {
    transform: translateY(-2px);
}

/* -------------------------------------------------------------------------
   Loader
   ------------------------------------------------------------------------- */
body.intro-app .loader {
    background: linear-gradient(135deg, var(--ip-surface-2) 0%, #e2e8f0 100%) !important;
}

body.intro-app .loader::after {
    content: '';
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid color-mix(in srgb, var(--main) 25%, #e2e8f0);
    border-top-color: var(--main);
    animation: ip-spin 0.85s linear infinite;
}

@keyframes ip-spin {
    to {
        transform: rotate(360deg);
    }
}

body.intro-app .loader img {
    position: relative;
    z-index: 1;
    animation: none;
    width: 72px;
}

/* Legacy compatibility: hide old nav when using new header */
body.intro-app header.ip-header ~ * {
    /* no-op */
}

body.intro-app .body-content {
    margin-top: 0 !important;
    /* Match navbar + breathing room (same idea as --ip-anchor-offset) */
    padding-top: calc(var(--ip-anchor-offset) + 8px) !important;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .ip-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
