:root {
    --bg: #fcfeff;
    --c: rgba(255, 255, 255, .75);
    --tx: #0f1b2d;
    --mu: #5a6b80;
    --b: #5ec0f5;
    --p: #ff9db8;
    --secondary-color: #e15985;
    --bd: rgba(110, 150, 200, .2);
    --sh: 0 10px 30px rgba(80, 120, 180, .12);
    --r: 20px
}

[data-theme=dark] {
    --bg: #0c1320;
    --c: rgba(28, 40, 60, .75);
    --tx: #eaf1fb;
    --mu: #9fb0c7;
    --bd: rgba(255, 255, 255, .1);
    --sh: 0 10px 30px rgba(0, 0, 0, .45);
    --secondary-color: #ff9db8;
}

@font-face {
    font-family: 'Estedad';
    src: url('/public/fonts/estedad/Estedad-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Estedad';
    src: url('/public/fonts/estedad/Estedad-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Estedad';
    src: url('/public/fonts/estedad/Estedad-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Estedad';
    src: url('/public/fonts/estedad/Estedad-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Estedad';
    src: url('/public/fonts/estedad/Estedad-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Estedad';
    src: url('/public/fonts/estedad/Estedad-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Estedad';
    src: url('/public/fonts/estedad/Estedad-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Estedad';
    src: url('/public/fonts/estedad/Estedad-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Estedad';
    src: url('/public/fonts/estedad/Estedad-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/*=========== InterFnt*/

/* static fonts */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url("/public/fonts/inter/Inter-Thin.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 100;
    font-display: swap;
    src: url("/public/fonts/inter/Inter-ThinItalic.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url("/public/fonts/inter/Inter-ExtraLight.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 200;
    font-display: swap;
    src: url("/public/fonts/inter/Inter-ExtraLightItalic.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("/public/fonts/inter/Inter-Light.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url("/public/fonts/inter/Inter-LightItalic.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/public/fonts/inter/Inter-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("/public/fonts/inter/Inter-Italic.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/public/fonts/inter/Inter-Medium.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("/public/fonts/inter/Inter-MediumItalic.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/public/fonts/inter/Inter-SemiBold.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url("/public/fonts/inter/Inter-SemiBoldItalic.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/public/fonts/inter/Inter-Bold.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("/public/fonts/inter/Inter-BoldItalic.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/public/fonts/inter/Inter-ExtraBold.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 800;
    font-display: swap;
    src: url("/public/fonts/inter/Inter-ExtraBoldItalic.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("/public/fonts/inter/Inter-Black.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: italic;
    font-weight: 900;
    font-display: swap;
    src: url("/public/fonts/inter/Inter-BlackItalic.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url("/public/fonts/inter/InterDisplay-Thin.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: italic;
    font-weight: 100;
    font-display: swap;
    src: url("/public/fonts/inter/InterDisplay-ThinItalic.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url("/public/fonts/inter/InterDisplay-ExtraLight.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: italic;
    font-weight: 200;
    font-display: swap;
    src: url("/public/fonts/inter/InterDisplay-ExtraLightItalic.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("/public/fonts/inter/InterDisplay-Light.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url("/public/fonts/inter/InterDisplay-LightItalic.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/public/fonts/inter/InterDisplay-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("/public/fonts/inter/InterDisplay-Italic.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/public/fonts/inter/InterDisplay-Medium.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: italic;
    font-weight: 500;
    font-display: swap;
    src: url("/public/fonts/inter/InterDisplay-MediumItalic.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/public/fonts/inter/InterDisplay-SemiBold.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url("/public/fonts/inter/InterDisplay-SemiBoldItalic.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/public/fonts/inter/InterDisplay-Bold.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("/public/fonts/inter/InterDisplay-BoldItalic.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("/public/fonts/inter/InterDisplay-ExtraBold.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: italic;
    font-weight: 800;
    font-display: swap;
    src: url("/public/fonts/inter/InterDisplay-ExtraBoldItalic.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("/public/fonts/inter/InterDisplay-Black.woff2") format("woff2");
}

@font-face {
    font-family: "InterDisplay";
    font-style: italic;
    font-weight: 900;
    font-display: swap;
    src: url("/public/fonts/inter/InterDisplay-BlackItalic.woff2") format("woff2");
}

* {
    box-sizing: border-box;
    margin: 0
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', system-ui, sans-serif;
}

    html.lang-fa {
        font-family: Estedad;
    }

body {
    background: radial-gradient(60vw 40vw at 85% -5%, color-mix(in srgb, var(--b) 35%, transparent), transparent), radial-gradient(50vw 40vw at 0% 15%, color-mix(in srgb, var(--p) 30%, transparent), transparent), var(--bg);
    background-repeat: no-repeat;
    color: var(--tx);
    line-height: 1.7;
    min-height: 100vh;
    max-width: 100%
}

a {
    color: inherit;
    text-decoration: none
}

.mu {
    color: var(--mu)
}

main,
.hd,
footer {
    max-width: 1120px;
    margin-inline: auto;
    padding-inline: 20px
}


.hd {
    position: sticky;
    top: 12px;
    z-index: 9;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 10px 18px;
    background: var(--c);
    backdrop-filter: blur(14px);
    border: 1px solid var(--bd);
    border-radius: var(--r);
    box-shadow: var(--sh);
    width: calc(100% - 24px)
}

.logo {
    font-weight: 800
}

nav {
    display: flex;
    gap: 18px;
    font-size: .92rem;
    flex-wrap: wrap
}

    nav a {
        opacity: .8
    }

        nav a:hover,
        nav [aria-current=page] {
            opacity: 1;
            color: var(--b)
        }

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

.lg {
    display: flex;
    gap: 2px;
    font-size: .75rem
}

    .lg a {
        padding: 3px 6px;
        border-radius: 8px
    }

    .lg [aria-current] {
        background: var(--b);
        color: #06233a
    }

.th {
    border: 1px solid var(--bd);
    background: var(--c);
    color: inherit;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer
}

.btn {
    display: inline-block;
    border: 1px solid var(--bd);
    padding: 9px 22px;
    border-radius: 99px;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    font-family: inherit;
    transition: transform .2s
}

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

.p {
    background: var(--p);
    color: #4a1226
}

.b {
    background: var(--b);
    color: #06233a
}

.o {
    background: transparent;
    color: inherit;
    border-color: var(--p)
}

:focus-visible {
    outline: 2px solid var(--b);
    outline-offset: 2px
}

.hero {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 30px;
    padding: 120px 0 40px
}

h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 14px
}

h2 {
    font-size: 1.7rem;
    text-align: center;
    margin-bottom: 28px
}

.prose h2,
.ab h2 {
    text-align: start
}

.hero p {
    max-width: 46ch;
    margin-bottom: 22px
}

.pic {
    position: relative;
    aspect-ratio: 1;
    max-width: 400px;
    margin-inline: auto;
    width: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, var(--b), var(--p));
    display: grid;
    place-items: center;
    max-height: 450px;
    max-width: 450px;
}

.doc {
    font-size: 9rem;
    max-height: 480px;
    border-radius: 20px;
}

.fl {
    position: absolute;
    font-style: normal;
    font-size: 1.6rem;
    width: 75px;
    height: 75px;
    display: grid;
    place-items: center;
    background: var(--c);
    backdrop-filter: blur(8px);
    border: 1px solid var(--bd);
    border-radius: 16px;
    box-shadow: var(--sh);
    animation: fy 5s ease-in-out infinite
}

    .fl svg {
        opacity: 0.8;
        width: 70%;
    }

.f1 {
    top: 8%;
    inset-inline-start: 0;
    transform: rotate(-20deg);
}

.f2 {
    top: 30%;
    inset-inline-end: -4%;
    animation-delay: -2s;
    transform: rotate(10deg);
}

.f3 {
    bottom: 6%;
    inset-inline-start: 6%;
    animation-delay: -3s;
    transform: rotate(-20deg);
}

@keyframes fy {
    50% {
        transform: translateY(-10px)
    }
}

.sec {
    padding: 40px 0
}

.g3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px
}

.g4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px
}

.card {
    display: block;
    background: var(--c);
    border: 1px solid var(--bd);
    border-radius: var(--r);
    padding: 20px;
    box-shadow: var(--sh);
    transition: transform .25s
}

a.card:hover {
    transform: translateY(-4px)
}

div.card:hover {
    transform: translateY(-4px)
}

.card h3 {
    font-size: 1.05rem;
    margin: 10px 0 4px
}

.ic {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--b) 25%, transparent)
}

.card:nth-child(even) .ic {
    background: color-mix(in srgb, var(--p) 30%, transparent)
}

.ab {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: center
}

    .ab p + p,
    .prose p + p {
        margin-top: 12px
    }

    .ab h2 {
        margin-bottom: 12px
    }

.img {
    display: grid;
    place-items: center;
    font-size: 6rem;
    aspect-ratio: 4/3;
    border-radius: var(--r);
    background: linear-gradient(135deg, color-mix(in srgb, var(--b) 40%, transparent), color-mix(in srgb, var(--p) 40%, transparent));
    box-shadow: var(--sh)
}

.big {
    margin-bottom: 22px;
    aspect-ratio: 16/7
}

.tm {
    padding: 18px;
    border-radius: var(--r);
    box-shadow: var(--sh);
    color: #14213a;
    background: linear-gradient(135deg, #ffd3de, #ffe9ef)
}

    .tm.c1 {
        background: linear-gradient(135deg, #b9e6fc, #e0f4ff)
    }

[data-theme=dark] .tm {
    opacity: .95
}

.av {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    margin-inline-end: 6px
}

.st {
    color: #f5a623;
    font-size: .85rem
}

.tm p {
    font-size: .9rem;
    margin-top: 6px
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    text-align: center;
    background: var(--c);
    border: 1px solid var(--bd);
    border-radius: var(--r);
    padding: 24px;
    box-shadow: var(--sh)
}

    .stats b {
        display: block;
        font-size: 2.1rem
    }

.ph {
    padding: 56px 0 8px;
    text-align: center
}

    .ph h1 {
        font-size: clamp(1.5rem, 4vw, 2.6rem)
    }

    .ph a:hover {
        color: var(--b)
    }

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

.side p {
    margin: 8px 0
}

.side .btn {
    margin-top: 10px
}

.narrow {
    max-width: 720px;
    margin-inline: auto
}

.prose p {
    font-size: 1.02rem
}

.pull {
    margin: 24px 0;
    padding: 14px 20px;
    border-inline-start: 4px solid var(--p);
    font-size: 1.15rem;
    font-weight: 600
}

.th2 {
    display: grid;
    place-items: center;
    font-size: 2.6rem;
    aspect-ratio: 16/9;
    border-radius: 14px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, hsl(var(--h) 85% 85%), hsl(calc(var(--h) + 60) 85% 88%))
}

[data-theme=dark] .th2 {
    filter: brightness(.7)
}

.th2 img {
    max-width: 100%;
    border-radius: 14px;
}

.post .more {
    color: var(--b);
    font-weight: 600;
    font-size: .9rem
}

.gal {
    columns: 4 200px;
    column-gap: 16px
}

.tile {
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: var(--r);
    display: grid;
    place-items: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, hsl(var(--h) 85% 84%), hsl(calc(var(--h) + 70) 85% 88%));
    box-shadow: var(--sh)
}

[data-theme=dark] .tile {
    filter: brightness(.75)
}

.t0 {
    aspect-ratio: 1
}

.t1 {
    aspect-ratio: 3/4
}

.t2 {
    aspect-ratio: 4/3
}

.tile figcaption {
    position: absolute;
    inset: auto 0 0;
    padding: 8px 12px;
    font-size: .8rem;
    color: #14213a;
    background: rgba(255, 255, 255, .65);
    backdrop-filter: blur(6px)
}

footer {
    margin-top: 50px;
    padding-top: 30px;
    padding-bottom: 20px;
    border-top: 1px solid var(--bd)
}

.fg {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    font-size: .88rem
}

    .fg h4 {
        margin-bottom: 8px
    }

    .fg nav {
        flex-direction: column;
        gap: 4px
    }

    .fg p {
        margin: 6px 0
    }

.soc {
    display: flex;
    gap: 8px
}

    .soc a {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: var(--tx);
        color: var(--bg);
        display: grid;
        place-items: center;
        font-size: .75rem
    }

.nl {
    display: flex;
    gap: 6px
}

    .nl input {
        flex: 1;
        min-width: 0;
        padding: 8px 14px;
        border-radius: 99px;
        border: 1px solid var(--bd);
        background: var(--c);
        color: inherit;
        font-family: inherit
    }

.cp {
    text-align: center;
    margin-top: 26px;
    font-size: .8rem;
    color: var(--mu)
}

.pre-title {
    font-size: 22px;
    font-weight: 600;
}

.preline {
    white-space: pre-line;
}

.o-hidden {
    overflow: hidden;
}

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

.about-side-imgbox {
    border: 2px solid #dde3e9;
}

.btn-url {
    color: var(--secondary-color);
    padding: 10px 0;
    display: block;
}

@keyframes up {
    from {
        opacity: 0;
        transform: translateY(22px)
    }
}

.a {
    animation: up .7s cubic-bezier(.2, .7, .2, 1) both;
    animation-delay: calc(var(--i, 0)*90ms)
}

.r {
    animation: up .7s cubic-bezier(.2, .7, .2, 1) both
}

@supports(animation-timeline:view()) {
    .r {
        animation: up linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 55%
    }
}

@media(max-width:820px) {

    .hero,
    .ab,
    .two {
        grid-template-columns: 1fr
    }

        .ab p {
            text-align: justify;
            font-size: 0.9rem;
        }

    .hero {
        padding-top: 36px;
        text-align: center
    }

        .hero p {
            margin-inline: auto;
            font-size: 12px;
        }



    .pic {
        max-width: 300px
    }

    .doc {
        font-size: 6rem
    }

    nav {
        gap: 12px;
        order: 3;
        width: 100%;
        justify-content: center
    }
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important
    }
}

/* v2 */
:root {
    --d: 1
}

[dir=rtl] {
    --d: -1
}

body {
    /*    position: relative;*/
    isolation: isolate;
    overflow-x: hidden;
    background: var(--bg);
    max-width: 100vw;
}

    body::before,
    body::after {
        content: "";
        position: absolute;
        inset: 0 0 auto;
        height: 640px;
        z-index: -1;
        pointer-events: none
    }

    body::before {
        background-image: linear-gradient(var(--bd) 1px, transparent 1px), linear-gradient(90deg, var(--bd) 1px, transparent 1px);
        background-size: 52px 52px;
        -webkit-mask-image: radial-gradient(75% 90% at 50% 0, #000 20%, transparent);
        mask-image: radial-gradient(75% 90% at 50% 0, #000 20%, transparent)
    }

    body::after {
        background: radial-gradient(220px 220px at 14% 18%, rgba(94, 192, 245, .32), transparent 70%), radial-gradient(200px 200px at 86% 8%, rgba(255, 157, 184, .28), transparent 70%), radial-gradient(180px 180px at 60% 40%, rgba(167, 139, 250, .16), transparent 70%);
/*        animation: dr 18s ease-in-out infinite alternate*/
    }

@keyframes dr {
    to {
        transform: translate3d(0, 24px, 0) scale(1.06)
    }
}

[data-theme=dark] body::after {
    opacity: .55
}

.hd {
    background: none;
    border: 0;
    box-shadow: none;
    backdrop-filter: none
}

    .hd::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        border-radius: var(--r);
        background: var(--c);
        backdrop-filter: blur(14px);
        border: 1px solid var(--bd);
        box-shadow: var(--sh)
    }

    .hd nav a {
        padding: 6px 14px;
        border-radius: 99px;
        transition: background .2s, opacity .2s
    }

        .hd nav a:hover,
        .hd nav [aria-current=page] {
            background: color-mix(in srgb, var(--b) 18%, transparent)
        }

.dr,
.bg,
.ov {
    display: none
}

.mn {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.p {
    background: linear-gradient(110deg, var(--p), #ffc9d8, var(--p));
    background-size: 200% 100%;
    animation: sh 5s linear infinite
}

@keyframes sh {
    to {
        background-position: -200% 0
    }
}

.pic.a {
    border-radius: 46% 54% 50% 50%/52% 46% 54% 48%;
    animation: up .7s cubic-bezier(.2, .7, .2, 1) both, mo 10s ease-in-out .7s infinite alternate
}

@keyframes mo {
    to {
        border-radius: 55% 45% 44% 56%/44% 56% 46% 54%
    }
}

.pic::after {
    content: "";
    position: absolute;
    inset: -16px;
    border: 1.5px dashed color-mix(in srgb, var(--b) 70%, transparent);
    border-radius: 50%;
    animation: sp 40s linear infinite
}

@keyframes sp {
    to {
        transform: rotate(360deg)
    }
}

.mq {
    overflow: hidden;
    margin-top: 10px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent)
}

.mt {
    display: flex;
    width: max-content;
    animation: mq 30s linear infinite;
    overflow-x: hidden;
}

    .mt span {
        white-space: nowrap;
        font-weight: 600;
        color: var(--mu);
        padding-inline-end: 40px
    }

@keyframes mq {
    to {
        transform: translateX(-50%)
    }
}

@keyframes mqr {
    to {
        transform: translateX(50%)
    }
}

[dir=rtl] .mt {
    animation-name: mqr
}

a.card:hover .ic {
    animation: wg .5s
}

div.card:hover .ic {
    animation: wg .5s
}

@keyframes wg {
    25% {
        transform: rotate(-12deg) scale(1.12)
    }

    75% {
        transform: rotate(10deg) scale(1.12)
    }
}

@property --n {
    syntax: '<integer>';
    inherits: false;
    initial-value: 0
}

.cnt {
    --n: 0;
    counter-reset: n var(--n);
    animation: cn 2.2s ease-out both
}

    .cnt::after {
        content: counter(n) attr(data-s)
    }

@keyframes cn {
    to {
        --n: var(--t)
    }
}

@supports(animation-timeline:view()) {
    .cnt {
        animation: cn linear both;
        animation-timeline: view();
        animation-range: entry 20% cover 45%
    }
}

.tile span {
    transition: transform .5s
}

.tile:hover span {
    transform: scale(1.25) rotate(-6deg)
}

.tile figcaption {
    transform: translateY(101%);
    transition: transform .35s
}

.tile:hover figcaption {
    transform: none
}

@media(hover:none) {
    .tile figcaption {
        transform: none
    }
}

.ah {
    padding: 56px 0 6px;
    max-width: 820px
}

    .ah h1 {
        font-size: clamp(1.4rem, 4.4vw, 2.8rem);
        margin: 12px 0
    }

    .ah small a:hover {
        color: var(--b)
    }

.pill {
    display: inline-block;
    margin-inline-start: 10px;
    padding: 3px 14px;
    border-radius: 99px;
    font-size: .8rem;
    font-weight: 600;
    background: color-mix(in srgb, var(--p) 30%, transparent)
}

.meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    font-size: .9rem
}

    .meta .av {
        background: var(--b);
        color: #06233a
    }

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

.sm-text {
    font-size: 14px;
}

.main p {
    font-size: 1.05rem;
    line-height: 1.9;
    margin: 16px 0
}

.main .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--mu);
    font-size: 14px;
    line-height: 2.5;
}

.cover {
    position: relative;
    display: grid;
    place-items: center;
    /* aspect-ratio: 16/8; */
    border-radius: 24px;
    overflow: hidden;
    font-size: 5rem;
    background: radial-gradient(60% 80% at 20% 20%, color-mix(in srgb, var(--b) 55%, transparent), transparent), radial-gradient(60% 80% at 85% 85%, color-mix(in srgb, var(--p) 55%, transparent), transparent), color-mix(in srgb, var(--c) 90%, transparent);
    border: 1px solid var(--bd);
    box-shadow: var(--sh)
}

    .cover img {
        max-width: 100%;
        width: 100%;
    }

.kt {
    margin: 22px 0;
    padding: 18px 22px;
    border-radius: var(--r);
    background: color-mix(in srgb, var(--b) 12%, transparent);
    border-inline-start: 4px solid var(--b)
}

    .kt ul {
        list-style: none;
        padding: 0;
        margin-top: 8px
    }

    .kt li::before {
        content: "✓";
        color: var(--b);
        font-weight: 800;
        margin-inline-end: 10px
    }

.sb {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 16px
}

    .sb .card {
        padding: 18px
    }

.gl {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
    background: color-mix(in srgb, var(--bg) 55%, transparent);
    backdrop-filter: blur(16px)
}

    .gl::before {
        content: "";
        position: absolute;
        width: 150px;
        height: 150px;
        border-radius: 50%;
        background: var(--b);
        filter: blur(40px);
        opacity: .4;
        top: -50px;
        inset-inline-end: -40px;
        z-index: -1
    }

.big2 {
    width: 68px;
    height: 68px;
    font-size: 2rem;
    margin: 0 0 6px !important
}

.rel a {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 8px 0;
    font-size: .9rem
}

    .rel a + a {
        border-top: 1px solid var(--bd)
    }

.rel i {
    flex: none;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-style: normal;
    background: hsl(var(--h) 85% 88%)
}

[data-theme=dark] .rel i {
    filter: brightness(.75)
}

.rel small {
    display: block;
    line-height: 1.4
}

.cta {
    text-align: center;
    background: linear-gradient(135deg, color-mix(in srgb, var(--b) 28%, transparent), color-mix(in srgb, var(--p) 28%, transparent))
}

    .cta .btn {
        margin-top: 10px
    }

[dir=rtl] .arr {
    display: inline-block;
    transform: scaleX(-1)
}

.rp {
    display: none
}

@supports(animation-timeline:scroll()) {
    .rp {
        display: block;
        position: fixed;
        top: 0;
        inset-inline: 0;
        height: 3px;
        z-index: 30;
        background: linear-gradient(90deg, var(--b), var(--p));
        transform: scaleX(0);
        transform-origin: 0 50%;
        animation: rpg linear both;
        animation-timeline: scroll(root)
    }

    [dir=rtl] .rp {
        transform-origin: 100% 50%
    }
}

@keyframes rpg {
    to {
        transform: scaleX(1)
    }
}

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

    .sb {
        position: static
    }
}

@media(max-width:820px) {

    .hd{
        overflow-x:hidden;
    }

    .hd .tools .lg,
    .hd .tools .bk {
        display: none
    }

    .bg {
        display: grid;
        place-items: center;
        position: relative;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        border: 1px solid var(--bd);
        background: var(--c);
        cursor: pointer
    }

        .bg i,
        .bg i::before,
        .bg i::after {
            display: block;
            width: 16px;
            height: 2px;
            border-radius: 2px;
            background: currentColor;
            transition: .3s
        }

        .bg i {
            position: relative
        }

            .bg i::before,
            .bg i::after {
                content: "";
                position: absolute;
                left: 0
            }

            .bg i::before {
                top: -5px
            }

            .bg i::after {
                top: 5px
            }

    .mn:checked ~ .hd .bg i {
        background: transparent
    }

        .mn:checked ~ .hd .bg i::before {
            top: 0;
            transform: rotate(45deg)
        }

        .mn:checked ~ .hd .bg i::after {
            top: 0;
            transform: rotate(-45deg)
        }

    .mn:focus-visible ~ .hd .bg {
        outline: 2px solid var(--b)
    }

    .hd nav {
        position: fixed;
        top: 0;
        bottom: 0;
        inset-inline-end: 0;
        order: 0;
        width: min(320px, 84vw);
        height: 100dvh;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 6px;
        padding: 92px 22px 26px;
        background: color-mix(in srgb, var(--bg) 94%, transparent);
        backdrop-filter: blur(22px);
        border-radius: 28px 0 0 28px;
        box-shadow: -20px 0 60px rgba(8, 20, 40, .22);
        transform: translateX(105%);
        transition: transform .45s cubic-bezier(.2, .8, .2, 1);
        z-index: 20;
        overflow-y: auto
    }

    [dir=rtl] .hd nav {
        border-radius: 0 28px 28px 0;
        box-shadow: 20px 0 60px rgba(8, 20, 40, .22);
        transform: translateX(-105%)
    }

    .mn:checked ~ .hd nav {
        transform: none
    }

    .hd nav > a {
        font-size: 0.85rem;
        padding: 13px 18px;
        opacity: 0;
        transform: translateX(calc(24px*var(--d)));
        transition: opacity .4s, transform .4s, background .2s
    }

    .mn:checked ~ .hd nav > a {
        opacity: 1;
        transform: none;
        transition-delay: calc(var(--k)*60ms + .15s), calc(var(--k)*60ms + .15s), 0s
    }

    .dr {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid var(--bd)
    }

        .dr .lg {
            flex-wrap: wrap;
            gap: 8px;
            font-size: .85rem
        }

            .dr .lg a {
                padding: 6px 14px;
                border: 1px solid var(--bd);
                border-radius: 99px
            }

        .dr .btn {
            text-align: center
        }

    .ov {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 8;
        background: rgba(8, 20, 40, .4);
        backdrop-filter: blur(3px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .35s
    }

    .mn:checked ~ .ov {
        opacity: 1;
        pointer-events: auto
    }

    body:has(.mn:checked) {
        overflow: hidden
    }

    .card h3 {
        font-size: 0.9rem;
    }

    .card .mu {
        font-size: 0.8rem;
    }
}

/* v3 */
::view-transition-old(root),
::view-transition-new(root) {
    animation: none;
    mix-blend-mode: normal
}

.tt * {
    transition: background-color .5s, color .5s, border-color .5s !important
}

.ti::before {
    content: "🌙"
}

[data-theme=dark] .ti::before {
    content: "☀️"
}

.ti {
    display: inline-block;
    transition: transform .6s
}

[data-theme=dark] .ti {
    transform: rotate(360deg)
}

.th {
    display: grid;
    place-items: center;
    overflow: hidden
}

    .th:hover .ti {
        transform: scale(1.2) rotate(-15deg)
    }

#pt {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none
}

.ld {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 16px;
    background: var(--bg);
    transition: opacity .5s, visibility .5s;
    animation: ldo .5s 3.5s forwards
}

html.ok .ld {
    opacity: 0;
    visibility: hidden
}

@keyframes ldo {
    to {
        opacity: 0;
        visibility: hidden
    }
}

.ld svg {
    width: 130px;
    height: 44px;
    fill: none;
    stroke: var(--b);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 6px var(--b))
}

.ld path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: ec 1.5s ease-in-out infinite
}

@keyframes ec {
    60% {
        stroke-dashoffset: 0;
        opacity: 1
    }

    100% {
        stroke-dashoffset: 0;
        opacity: 0
    }
}

.ld b {
    font-weight: 600;
    letter-spacing: .03em;
    font-size: 0.8rem;
    animation: up .8s both
}

.dd {
    position: relative;
    display: flex
}

    .dd > a::after {
        content: "▾";
        font-size: .7em;
        margin-inline-start: 6px;
        opacity: .7;
        display: inline-block;
        transition: transform .25s
    }

    .dd:hover > a::after {
        transform: rotate(180deg)
    }

.sm {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    min-width: 200px;
    margin-top: 12px;
    padding: 8px;
    border-radius: 16px;
    background: var(--bg);
    border: 1px solid var(--bd);
    box-shadow: var(--sh);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .25s;
    display: grid
}

    .sm::before {
        content: "";
        position: absolute;
        inset: -14px 0 auto;
        height: 14px
    }

.dd:hover .sm,
.dd:focus-within .sm {
    opacity: 1;
    visibility: visible;
    transform: none
}

.sm a {
    white-space: nowrap;
    border-radius: 10px !important
}

.stories {
    display: flex;
    gap: 22px;
    justify-content: center;
    padding: 4px 0 14px;
    overflow-x: auto;
    scrollbar-width: none
}

.story {
    background: none;
    border: 0;
    cursor: pointer;
    color: inherit;
    font-family: inherit;
    display: grid;
    justify-items: center;
    gap: 8px;
    width: 88px;
    flex: none
}

    .story small {
        font-size: .75rem;
        line-height: 1.3;
        max-width: 88px
    }

.rg {
    position: relative;
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    transition: transform .25s
}

.story:hover .rg {
    transform: scale(1.08)
}

.rg::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(var(--b), var(--p), #a78bfa, var(--b));
    animation: sp 5s linear infinite
}

.rg i {
    position: relative;
    display: grid;
    place-items: center;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    border-radius: 50%;
    font-style: normal;
    font-size: 1.9rem;
    border: 3px solid var(--bg);
    background: linear-gradient(135deg, color-mix(in srgb, var(--b) 25%, var(--bg)), color-mix(in srgb, var(--p) 25%, var(--bg)))
}

.rg img {
    position: relative;
    display: grid;
    place-items: center;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    border-radius: 50%;
    border: 4px solid var(--bg);
}

.sd {
    border: 0;
    padding: 0;
    background: #0a1220;
    border-radius: 26px;
    width: min(380px, 92vw);
    aspect-ratio: 9/16;
    max-height: 92dvh;
    overflow: hidden;
    margin: auto;
    color: #fff
}

    .sd[open] {
        animation: zi .4s cubic-bezier(.2, .8, .2, 1)
    }

@keyframes zi {
    from {
        opacity: 0;
        transform: scale(.9) translateY(24px)
    }
}

.sd::backdrop {
    background: rgba(5, 10, 25, .7);
    backdrop-filter: blur(8px)
}

.sd video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.pb {
    position: absolute;
    top: 12px;
    inset-inline: 14px;
    height: 3px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .3);
    overflow: hidden
}

    .pb::after {
        content: "";
        position: absolute;
        inset: 0;
        background: #fff;
        transform: scaleX(0);
        transform-origin: 0 50%
    }

    .pb.go::after {
        animation: pb var(--du, 5s) linear forwards
    }

@keyframes pb {
    to {
        transform: scaleX(1)
    }
}

.sn {
    position: absolute;
    top: 24px;
    inset-inline-start: 14px;
    font-size: .9rem;
    text-shadow: 0 1px 6px #000
}

.x {
    position: absolute;
    top: 20px;
    inset-inline-end: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 0;
    background: rgba(0, 0, 0, .4);
    color: #fff;
    cursor: pointer
}

.mc {
    text-align: center;
    margin-top: 26px
}

@media(max-width:820px) {
    .stories {
        justify-content: flex-start
    }

    .dd {
        flex-direction: column
    }

    .hd nav > .dd {
        opacity: 0;
        transform: translateX(calc(24px*var(--d)));
        transition: opacity .4s, transform .4s
    }

    .mn:checked ~ .hd nav > .dd {
        opacity: 1;
        transform: none;
        transition-delay: calc(var(--k)*60ms + .15s)
    }

    .dd > a {
        font-size: 0.85rem;
        padding: 13px 18px !important
    }

        .dd > a::after {
            display: none
        }

    .sm {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: none;
        border: 0;
        box-shadow: none;
        margin: 0;
        padding: 0;
        padding-inline-start: 18px
    }

        .sm::before {
            display: none
        }

        .sm a {
            font-size: .85rem;
            opacity: .8;
            padding: 9px 16px !important
        }
}

/* v4 mobile */
html {
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%
}

.ddc {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.dt {
    display: none
}

@media(max-width:820px) {
    .dd {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center
    }

        .dd > a {
            flex: 1
        }

    .dt {
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        border-radius: 12px;
        cursor: pointer;
        background: color-mix(in srgb, var(--b) 14%, transparent)
    }

        .dt::before {
            content: "▾";
            transition: transform .3s
        }

    .ddc:checked ~ .dt::before {
        transform: rotate(180deg)
    }

    .ddc:focus-visible ~ .dt {
        outline: 2px solid var(--b)
    }

    .dd .sm {
        flex-basis: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height .35s ease
    }

    .ddc:checked ~ .sm {
        max-height: 220px
    }

    .hd {
        padding: 8px 12px;
        top: 8px;
        margin-top: 8px
    }

    .logo {
        font-size: .95rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 60vw
    }

    .th,
    .bg {
        width: 40px;
        height: 40px
    }

    .hd nav {
        padding-bottom: calc(26px + env(safe-area-inset-bottom))
    }

    main,
    footer {
        padding-inline: 16px
    }

    .hero {
        gap: 22px;
        padding: 28px 0 20px
    }

        .hero h1 {
            font-size: clamp(1.65rem, 7.5vw, 2.2rem)
        }

        .hero .btn {
            margin: 4px
        }

    .pic {
        max-width: 240px
    }

        .pic::after {
            animation: none;
        }

    .doc {
        font-size: 5rem;
        max-height: 250px;
    }

    .fl {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        border-radius: 12px
    }

    .sec {
        padding: 26px 0
    }

    h2 {
        font-size: 1.4rem;
        margin-bottom: 18px
    }

    .g3 {
        grid-template-columns: 1fr
    }

    .card {
        padding: 16px
    }

    .g4 {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 12px;
        margin-inline: -16px;
        padding: 4px 16px 14px;
        scrollbar-width: none
    }

        .g4 > * {
            flex: 0 0 78%;
            scroll-snap-align: center
        }

    .stories {
        gap: 16px;
        margin-inline: -16px;
        padding-inline: 16px
    }

    .stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 16px 8px;
        font-size: .78rem
    }

        .stats b {
            font-size: 1.5rem
        }

    .ab {
        gap: 18px
    }

    .img {
        font-size: 4rem
    }

    .ph,
    .ah {
        padding: 32px 0 4px
    }

        .ah .pill {
            font-size: 0.7rem;
        }

    .cover {
        aspect-ratio: 16/9;
        font-size: 3.5rem
    }

    .main p {
        font-size: 1rem;
        line-height: 1.85
    }

    .main .lead {
        font-size: 1.0rem
    }

    .kt {
        padding: 14px 16px
    }

    .gal {
        columns: 2 130px;
        column-gap: 12px
    }

    .tile {
        margin-bottom: 12px;
        font-size: 2.2rem
    }

    body::before {
        background-size: 36px 36px;
        height: 420px
    }

    body::after {
        height: 420px;
        animation: none;
    }

    .nl input {
        font-size: 16px
    }

    .fg {
        grid-template-columns: 1fr 1fr;
        gap: 20px
    }

        .fg > div:nth-child(2),
        .fg > div:nth-child(4) {
            grid-column: 1/-1
        }

        .fg > div:nth-child(3) {
            order: 2
        }

        .fg > div:nth-child(2) {
            order: 3
        }

        .fg > div:nth-child(4) {
            order: 4
        }
}

@media(max-width:380px) {
    .hero h1 {
        font-size: 1.6rem
    }

    .logo {
        max-width: 50vw
    }

    .g4 > * {
        flex-basis: 86%
    }
}

/* v5 fixes */
html {
    scroll-padding-top: 90px
}

.hd.a {
    animation-fill-mode: backwards
}

@media(max-width:820px) {
    .bg {
        z-index: 30
    }

    .hd nav {
        visibility: hidden;
        transition: transform .45s cubic-bezier(.2, .8, .2, 1), visibility 0s .45s;
        overflow-x: hidden
    }

    .mn:checked ~ .hd nav {
        visibility: visible;
        transition-delay: 0s
    }
}


/* =========== FAQ */

.faq-accordion {
    --faq-bg: #ffffff;
    --faq-item-bg: #ffffff;
    --faq-text: #202938;
    --faq-muted: #667085;
    --faq-border: #e7eaf0;
    --faq-accent: #6366f1;
    --faq-hover: #f8f9ff;
    width: 100%;
    max-width: 800px;
    margin-inline: auto;
    display: grid;
    gap: 12px;
    color: var(--faq-text);
    direction: inherit;
    font-family: inherit;
}

/* Dark mode */
[data-theme="dark"] .faq-accordion {
    --faq-bg: #111827;
    --faq-item-bg: #1b2433;
    --faq-text: #f1f5f9;
    --faq-muted: #a5b0c0;
    --faq-border: #303b4d;
    --faq-accent: #a5b4fc;
    --faq-hover: #222e40;
}

.faq-accordion .faq-item {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: var(--faq-item-bg);
    border: 1px solid var(--faq-border);
    border-radius: 14px;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

    .faq-accordion .faq-item[open] {
        border-color: var(--faq-accent);
        box-shadow: 0 4px 18px rgb(99 102 241 / 7%);
    }

.faq-accordion .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    cursor: pointer;
    list-style: none;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.8;
    color: var(--faq-text);
    transition: background-color 0.2s ease;
}

    .faq-accordion .faq-question::-webkit-details-marker {
        display: none;
    }

    .faq-accordion .faq-question::marker {
        content: "";
    }

    .faq-accordion .faq-question:hover {
        background: var(--faq-hover);
    }

.faq-accordion .faq-icon {
    position: relative;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--faq-hover);
    border: 1px solid var(--faq-border);
    transition: transform 0.25s ease, background-color 0.25s ease;
}

    .faq-accordion .faq-icon::before,
    .faq-accordion .faq-icon::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 10px;
        height: 2px;
        border-radius: 2px;
        background: var(--faq-accent);
        transform: translate(-50%, -50%);
    }

    .faq-accordion .faq-icon::after {
        transform: translate(-50%, -50%) rotate(90deg);
        transition: transform 0.25s ease;
    }

.faq-accordion .faq-item[open] .faq-icon {
    background: var(--faq-accent);
    border-color: var(--faq-accent);
}

    .faq-accordion .faq-item[open] .faq-icon::before,
    .faq-accordion .faq-item[open] .faq-icon::after {
        background: #ffffff;
    }

    .faq-accordion .faq-item[open] .faq-icon::after {
        transform: translate(-50%, -50%) rotate(0);
    }

/* Answer */
.faq-accordion .faq-answer {
    padding: 0 22px 20px;
    animation: faq-fade-in 0.25s ease;
}

    .faq-accordion .faq-answer p {
        margin: 0;
        padding-top: 5px;
        border-top: 1px solid var(--faq-border);
        color: var(--faq-muted);
        font-size: 14px;
        line-height: 2;
        overflow-wrap: anywhere;
    }

@keyframes faq-fade-in {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Keyboard accessibility */
.faq-accordion .faq-question:focus-visible {
    outline: 2px solid var(--faq-accent);
    outline-offset: -3px;
    border-radius: 12px;
}

/* Responsive */
@media (max-width: 600px) {
    .faq-accordion {
        gap: 10px;
    }

        .faq-accordion .faq-item {
            border-radius: 12px;
        }

        .faq-accordion .faq-question {
            padding: 16px;
            gap: 12px;
            font-size: 14px;
        }

        .faq-accordion .faq-icon {
            flex-basis: 26px;
            width: 26px;
            height: 26px;
        }

        .faq-accordion .faq-answer {
            padding: 0 16px 16px;
        }

            .faq-accordion .faq-answer p {
                font-size: 13px;
            }
}

@media (prefers-reduced-motion: reduce) {

    .faq-accordion .faq-item,
    .faq-accordion .faq-question,
    .faq-accordion .faq-icon,
    .faq-accordion .faq-icon::after {
        transition: none;
    }

    .faq-accordion .faq-answer {
        animation: none;
    }
}

.web-fav-logo {
    width: 15px;
}


/* ************************* stry */

.story-wrapbox {
    display: flex;
    justify-content: center;
}

/* ===== Wrapper ===== */
.stories-wrap {
    position: relative;
    width: 70%;
    padding: 0 4px;
    box-sizing: border-box;
    direction: ltr;
}

/* ===== Track ===== */
.stories-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 8px 2px;
    box-sizing: border-box;
}

    .stories-track::-webkit-scrollbar {
        display: none;
    }

    /* ===== Story ===== */
    .stories-track .story {
        border: 0;
        background: transparent;
        padding: 0;
        margin: 0;
        cursor: pointer;
        font: inherit;
        color: inherit;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        flex: 0 0 calc((100% - (4 * 12px)) / 5);
        scroll-snap-align: start;
        box-sizing: border-box;
        min-width: 0;
        text-align: center;
    }

        .stories-track .story .rg {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 64px;
            height: 64px;
            border-radius: 50%;
            background: #f1f3f5;
            font-size: 26px;
            line-height: 1;
            transition: transform .2s ease;
        }

        .stories-track .story:hover .rg {
            transform: scale(1.05);
        }

        .stories-track .story small {
            font-size: 12px;
            line-height: 1.3;
            color: var(--mu);
            max-width: 100%;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

/* ===== Nav buttons ===== */
.stories-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, opacity .2s;
}

    .stories-nav:hover {
        background: #f8f9fa;
    }

    .stories-nav:disabled {
        opacity: .4;
        cursor: default;
    }

    .stories-nav.prev {
        left: -10px;
    }

    .stories-nav.next {
        right: -10px;
    }

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .stories-track .story {
        flex: 0 0 calc((100% - (3 * 12px)) / 4);
    }
}

@media (max-width: 600px) {
    .stories-track {
        gap: 8px;
    }

        .stories-track .story {
            flex: 0 0 calc((100% - (3 * 8px)) / 4);
        }

            .stories-track .story .rg {
                width: 56px;
                height: 56px;
                font-size: 22px;
            }

            .stories-track .story small {
                font-size: 11px;
            }

    .stories-nav {
        display: none;
    }
}

@media (max-width: 380px) {
    .stories-track .story {
        flex: 0 0 calc((100% - (2 * 8px)) / 3);
    }
}

/* ===== Modal ===== */
.story-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    white-space: pre-line;
}

    .story-modal.is-open {
        opacity: 1;
        visibility: visible;
    }

.story-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 20, 30, .55);
    backdrop-filter: blur(4px);
}

.story-modal__box {
    position: relative;
    z-index: 1;
    width: min(92vw, 520px);
    max-height: 80vh;
    overflow-y: auto;
    background: var(--c);
    border-radius: 16px;
    padding: 28px 24px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    transform: translateY(16px) scale(.98);
    transition: transform .25s ease;
    box-sizing: border-box;
}

.story-modal.is-open .story-modal__box {
    transform: translateY(0) scale(1);
}

.story-modal__close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: none;
    background: transparent;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: #666;
    cursor: pointer;
    transition: background .2s, color .2s;
}

    .story-modal__close:hover {
        background: #f1f3f5;
        color: #111;
    }

.story-modal__title {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
    color: #111;
}

.story-modal__text {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
    white-space: pre-line;
}

body.story-modal-open {
    overflow: hidden;
}

.footer-logo-box {
    background: url("/media/public/images/Logo dr pezeshki.png");
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.8;
}

[data-theme=dark] .footer-logo-box {
    background: url("/media/public/images/Logo-dr pezeshki-dark.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* =================== Language switcher */

.lsw {
    --lsw-bg: var(--bg, #ffffff);
    --lsw-text: var(--text, #20212a);
    --lsw-muted: var(--muted, #737585);
    --lsw-border: var(--border, #e5e7eb);
    --lsw-hover: var(--surface, #f4f5f8);
    --lsw-accent: var(--primary, #7257e8);
    --lsw-shadow: 0 14px 40px rgb(0 0 0 / 12%);
    position: relative;
    display: inline-block;
    font-family: inherit;
    direction: ltr;
    color: var(--lsw-text);
}

    .lsw *,
    .lsw *::before,
    .lsw *::after {
        box-sizing: border-box;
    }

.lsw__trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 8px 12px;
    color: inherit;
    background: var(--lsw-bg);
    border: 1px solid var(--lsw-border);
    border-radius: 12px;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}

    .lsw__trigger:hover {
        border-color: var(--b);
    }

.lsw__globe {
    font-size: 19px;
    line-height: 1;
}

.lsw__chevron {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    transition: transform .2s;
}

.lsw.is-open .lsw__chevron {
    transform: rotate(180deg);
}

.lsw__menu {
    position: absolute;
    top: calc(100% + 9px);
    inset-inline-end: 0;
    width: 245px;
    padding: 7px;
    color: var(--lsw-text);
    background: var(--lsw-bg);
    border: 1px solid var(--lsw-border);
    border-radius: 16px;
    box-shadow: var(--lsw-shadow);
    z-index: 1001;
    animation: lsw-enter .16s ease-out;
}

    .lsw__menu[hidden] {
        display: none;
    }

.lsw__heading {
    padding: 10px 11px;
    color: var(--lsw-muted);
    font-size: 12px;
}

.lsw__option {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 53px;
    padding: 8px 10px;
    color: inherit;
    text-decoration: none;
    text-align: start;
    background: transparent;
    border: 0;
    border-radius: 10px;
    font: inherit;
    font-size: 14px;
    transition: background .18s, color .18s;
    direction: inherit;
}

a.lsw__option:hover,
a.lsw__option:focus-visible {
    background: var(--lsw-hover);
    outline: none;
}

a.lsw__option:focus-visible,
.lsw__trigger:focus-visible {
    outline: 2px solid var(--lsw-accent);
    outline-offset: 3px;
}

.lsw__option.is-active {
    background: color-mix(in srgb, var(--b) 18%, transparent);
    color: var(--b);
}

.lsw__badge {
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--lsw-border);
    border-radius: 10px;
    background: var(--lsw-hover);
    font-size: 11px;
    font-weight: 700;
}

.lsw__language-name {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 3px;
    font-weight: 600;
}

    .lsw__language-name small {
        color: var(--lsw-muted);
        font-size: 11px;
        font-weight: 400;
    }

.lsw__check {
    font-size: 17px;
    font-weight: 700;
}

.lsw__option.is-disabled {
    opacity: .52;
    cursor: not-allowed;
}

.lsw__soon {
    color: var(--lsw-muted);
    font-size: 10px;
    white-space: nowrap;
}

@keyframes lsw-enter {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

html[data-theme="dark"] .lsw,
html.dark .lsw,
body.dark .lsw {
    --lsw-bg: var(--bg, #191a23);
    --lsw-text: var(--text, #f2f2f7);
    --lsw-muted: var(--muted, #a4a6b5);
    --lsw-border: var(--border, #343542);
    --lsw-hover: var(--surface, #262733);
    --lsw-accent: var(--primary, #a99aff);
    --lsw-shadow: 0 14px 40px rgb(0 0 0 / 35%);
}

@media (prefers-reduced-motion: reduce) {

    .lsw *,
    .lsw *::before,
    .lsw *::after {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width:820px) {
    .hide-on-mobile {
        display: none;
    }
}


.lsw.is-open {
    z-index: 1100;
}

.lsw__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: rgb(12 13 22 / 48%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 0;
    cursor: default;
}

    .lsw__backdrop[hidden] {
        display: none;
    }

body.lsw-modal-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    .lsw__menu {
        position: fixed;
        top: 50%;
        left: 50%;
        right: auto;
        inset-inline-end: auto;
        width: min(360px, calc(100vw - 32px));
        max-height: min(80dvh, 520px);
        overflow-y: auto;
        padding: 12px;
        border-radius: 20px;
        transform: translate(-50%, -50%);
        z-index: 1;
        animation: lsw-modal-enter .2s ease-out;
    }

    .lsw__heading {
        padding: 12px 10px 15px;
        font-size: 13px;
    }

    .lsw__option {
        min-height: 58px;
        padding: 10px;
    }

    .lsw__badge {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .lsw__trigger, .lsw {
        width: 100%;
    }
}

@keyframes lsw-modal-enter {
    from {
        opacity: 0;
        transform: translate(-50%, calc(-50% + 10px));
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .lsw__menu {
        animation: none !important;
    }
}

body > .lsw__backdrop {
    position: fixed;
    inset: 0;
    z-index: 99998;
}

body > .lsw__menu {
    position: fixed;
    top: 50%;
    left: 50%;
    right: auto;
    inset-inline-end: auto;
    transform: translate(-50%, -50%);
    z-index: 99999;
    direction: ltr;
    background: var(--bg);
}

/*=============== VidSect*/

.vt-section {
    --vt-bg: #ffffff;
    --vt-surface: #f7f8fb;
    --vt-border: #e6e8ee;
    --vt-text: #0f172a;
    --vt-muted: #5b6478;
    --vt-accent: #6366f1;
    --vt-accent-2: #ec4899;
    --vt-shadow: 0 24px 60px -24px rgba(15, 23, 42, 0.25);
    --vt-radius: 22px;
    position: relative;
    isolation: isolate;
    padding: clamp(48px, 8vw, 50px) 20px;
    color: var(--vt-text);
}

html.dark .vt-section,
html[data-theme="dark"] .vt-section {
    --vt-bg: #0b1020;
    --vt-surface: #131a2e;
    --vt-border: #24304a;
    --vt-text: #eef2ff;
    --vt-muted: #a3adc4;
    --vt-accent: #818cf8;
    --vt-accent-2: #f472b6;
    --vt-shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.65);
}

.vt-wrap {
    max-width: 1040px;
    margin-inline: auto;
    display: grid;
    gap: clamp(24px, 4vw, 40px);
}

.vt-head {
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
    display: grid;
    gap: 12px;
}

.vt-badge {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--vt-accent);
    background: color-mix(in srgb, var(--vt-accent) 14%, transparent);
    border: 1px solid color-mix(in srgb, var(--vt-accent) 30%, transparent);
}

.vt-title {
    font-size: clamp(1.7rem, 4vw, 1.7rem);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 0;
}

.vt-sub {
    margin: 0;
    color: var(--vt-muted);
    font-size: clamp(0.92rem, 1.6vw, 1.02rem);
    line-height: 1.8;
}

/* ===== Player ===== */
.vt-player {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--vt-radius);
    overflow: hidden;
    background: #000;
    border: 1px solid var(--vt-border);
    box-shadow: var(--vt-shadow);
    transform: translateZ(0);
}

.vt-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #000;
}

.vt-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.45) 100%);
    opacity: 1;
    transition: opacity 0.4s ease;
}

.vt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: clamp(64px, 9vw, 88px);
    height: clamp(64px, 9vw, 88px);
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, var(--vt-accent), var(--vt-accent-2));
    box-shadow: 0 10px 30px -6px color-mix(in srgb, var(--vt-accent) 60%, transparent), 0 0 0 6px color-mix(in srgb, #fff 18%, transparent);
    display: grid;
    place-items: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.3s ease;
    animation: vt-pulse 2.4s ease-out infinite;
}

    .vt-play svg {
        width: 38%;
        height: 38%;
        transform: translateX(2px);
    }

    .vt-play:hover,
    .vt-play:focus-visible {
        transform: translate(-50%, -50%) scale(1.08);
        outline: none;
        box-shadow: 0 14px 40px -6px color-mix(in srgb, var(--vt-accent) 70%, transparent), 0 0 0 8px color-mix(in srgb, #fff 22%, transparent);
    }

.vt-player.is-playing .vt-play,
.vt-player.is-playing .vt-overlay {
    opacity: 0;
    pointer-events: none;
    animation: none;
}

article.main img{
    max-width: 100%;
    border-radius: var(--r);
}

@keyframes vt-pulse {
    0% {
        box-shadow: 0 10px 30px -6px color-mix(in srgb, var(--vt-accent) 60%, transparent), 0 0 0 0 color-mix(in srgb, var(--vt-accent) 45%, transparent);
    }

    70% {
        box-shadow: 0 10px 30px -6px color-mix(in srgb, var(--vt-accent) 60%, transparent), 0 0 0 22px color-mix(in srgb, var(--vt-accent) 0%, transparent);
    }

    100% {
        box-shadow: 0 10px 30px -6px color-mix(in srgb, var(--vt-accent) 60%, transparent), 0 0 0 0 color-mix(in srgb, var(--vt-accent) 0%, transparent);
    }
}

/* ===== Features ===== */
.vt-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.vt-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--vt-surface);
    border: 1px solid var(--vt-border);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .vt-feature:hover {
        transform: translateY(-3px);
        border-color: color-mix(in srgb, var(--vt-accent) 45%, var(--vt-border));
        box-shadow: 0 12px 30px -18px color-mix(in srgb, var(--vt-accent) 55%, transparent);
    }

    .vt-feature .vt-icon {
        flex: none;
        width: 38px;
        height: 38px;
        border-radius: 12px;
        display: grid;
        place-items: center;
        font-size: 1.1rem;
        background: color-mix(in srgb, var(--vt-accent) 16%, transparent);
    }

    .vt-feature strong {
        display: block;
        font-size: 0.95rem;
        margin-bottom: 2px;
    }

    .vt-feature span {
        display: block;
        font-size: 0.82rem;
        line-height: 1.7;
        color: var(--vt-muted);
    }

/* ===== Responsive ===== */
@media (max-width: 640px) {
    .vt-section {
        padding: 40px 14px;
    }

    .vt-player {
        border-radius: 18px;
    }

    .vt-features {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vt-play {
        animation: none;
    }

    .vt-feature,
    .vt-play,
    .vt-overlay {
        transition: none;
    }
}