:root {

    --paper:        #fbf6ec;
    --paper-2:      #f4ead6;
    --paper-3:      #efe2cb;
    --card:         #fffdf7;
    --card-ink:     #1b1e34;

    --ink:          #1b1e34;
    --ink-soft:     #545877;
    --ink-muted:    #8b8fa8;
    --line:         #e7dcc6;
    --line-soft:    #efe6d6;

    --sky:          #4b59d6;
    --sky-700:      #3a47bd;
    --sky-50:       #eceeff;
    --violet:       #7c3aed;
    --stamp:        #e1543a;
    --stamp-soft:   #f6e2db;
    --gold:         #e0a23b;
    --teal:         #2bb2a3;

    --grad-bird:    linear-gradient(135deg, #5b6cff 0%, #7c3aed 100%);
    --grad-sky:     linear-gradient(180deg, #cdd6ff 0%, #f4ead6 100%);

    --radius-sm: 10px;
    --radius:    16px;
    --radius-lg: 24px;
    --radius-xl: 34px;

    --shadow-sm: 0 2px 8px rgba(27, 30, 52, .05);
    --shadow:    0 14px 34px rgba(27, 30, 52, .09);
    --shadow-lg: 0 34px 80px rgba(27, 30, 52, .14);

    --container: 1180px;
    --space-section: clamp(72px, 11vw, 148px);

    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-hand:    'Caveat', 'Segoe Script', cursive;

    --ease:    cubic-bezier(.22, 1, .36, 1);
    --ease-io: cubic-bezier(.65, 0, .35, 1);

    --c-bg:            var(--paper);
    --c-surface:       var(--paper-2);
    --c-surface-2:     var(--paper-3);
    --c-text:          var(--ink);
    --c-text-soft:     var(--ink-soft);
    --c-text-muted:    var(--ink-muted);
    --c-border:        var(--line);
    --c-primary:       var(--sky);
    --c-primary-700:   var(--sky-700);
    --c-primary-50:    var(--sky-50);
    --c-accent:        var(--violet);
    --c-success:       var(--teal);
    --c-warning:       var(--gold);
    --c-danger:        var(--stamp);
    --c-gradient:      var(--grad-bird);
    --c-gradient-soft: linear-gradient(135deg, #eceeff 0%, #f3e8ff 100%);
    --font:            var(--font-sans);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 18% 12%, rgba(124,58,237,.05), transparent 38%),
        radial-gradient(circle at 88% 8%,  rgba(75,89,214,.06), transparent 40%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: transparent; color: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
[x-cloak] { display: none !important; }
[hidden] { display: none !important; }

.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--ink); color: #fff; padding: 12px 16px;
    border-radius: 0 0 var(--radius-sm) 0; z-index: 1000;
}
.skip-link:focus { left: 0; }
:focus-visible {
    outline: 2px solid var(--sky);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}
::selection { background: var(--stamp); color: #fff; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.section { padding: var(--space-section) 0; position: relative; }
.section__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}
.section__header--left { text-align: left; margin: 0 0 44px; }
.section__title {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-size: clamp(30px, 4.4vw, 52px);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.08;
    margin-bottom: 18px;
}
.section__desc {
    color: var(--ink-soft);
    font-size: clamp(16px, 1.5vw, 18px);
    max-width: 56ch;
    margin-inline: auto;
}
.section__header--left .section__desc { margin-inline: 0; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--stamp);
    background: var(--stamp-soft);
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.eyebrow::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--stamp);
}
.eyebrow--light {
    color: #fff;
    background: rgba(255,255,255,.14);
}
.eyebrow--light::before { background: var(--gold); }

.script {
    font-family: var(--font-hand);
    font-weight: 600;
    color: var(--stamp);
    font-size: 1.35em;
    line-height: 1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
    white-space: nowrap;
}
.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { background: #2a2e4d; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--line);
}
.btn--ghost:hover { background: var(--card); border-color: var(--ink); }

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--ink);
    color: #fff;
    padding: 11px 22px;
    border-radius: 14px;
    min-width: 182px;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.store-badge__logo { width: 26px; height: 26px; flex-shrink: 0; }
.store-badge__text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-badge__top { font-size: 11px; opacity: .8; }
.store-badge__bottom { font-size: 17px; font-weight: 600; }

.icon { width: 24px; height: 24px; }
.icon--xs { width: 14px; height: 14px; }
.icon--sm { width: 20px; height: 20px; }
.icon--lg { width: 32px; height: 32px; }

.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 246, 236, 0);
    transition: background .25s var(--ease), box-shadow .25s var(--ease), backdrop-filter .25s var(--ease);
}
.navbar--scrolled {
    background: rgba(251, 246, 236, .82);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    box-shadow: 0 1px 0 rgba(27,30,52,.06);
}
.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 76px;
}
.navbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 21px;
    letter-spacing: -.02em;
}
.navbar__logo svg { width: 34px; height: 34px; }
.navbar__links { display: flex; gap: 2px; margin-left: auto; }
.navbar__link {
    padding: 9px 16px;
    border-radius: 999px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color .2s var(--ease), background .2s var(--ease);
}
.navbar__link:hover { color: var(--ink); background: rgba(27,30,52,.05); }
.navbar__cta { display: inline-flex; gap: 10px; align-items: center; }

.lang-switch {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    background: rgba(27,30,52,.05);
    border: 1px solid var(--line);
    border-radius: 999px;
    gap: 2px;
}
.lang-switch__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--ink-soft);
    transition: color .2s var(--ease), background .2s var(--ease);
}
.lang-switch__btn:hover { color: var(--ink); }
.lang-switch__btn--active {
    background: var(--paper);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}
.lang-switch--mobile { display: inline-flex; margin-top: 16px; width: max-content; }
.navbar__toggle { display: none; padding: 8px; border-radius: var(--radius-sm); }
.navbar__mobile { display: none; }

@media (max-width: 900px) {
    .navbar__links, .navbar__cta { display: none; }
    .navbar__toggle { display: inline-flex; }
    .navbar__mobile {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 16px 24px 24px;
        background: rgba(251,246,236,.98);
        backdrop-filter: saturate(160%) blur(16px);
        -webkit-backdrop-filter: saturate(160%) blur(16px);
        border-top: 1px solid var(--line);
        box-shadow: 0 24px 40px rgba(27,30,52,.12);
        max-height: calc(100vh - 76px);
        overflow-y: auto;
    }
    .navbar__mobile-link {
        display: block;
        padding: 14px 8px;
        font-weight: 500;
        border-bottom: 1px solid var(--line);
        color: var(--ink);
    }
    .navbar__mobile-cta { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
    .navbar__mobile-cta .btn { flex: 1 1 auto; }
}

.hero {
    position: relative;
    overflow: hidden;
    padding: clamp(36px, 6vw, 72px) 0 var(--space-section);
    background:
        radial-gradient(120% 90% at 80% -10%, rgba(124,58,237,.10), transparent 55%),
        radial-gradient(90% 70% at 10% 0%, rgba(75,89,214,.07), transparent 50%);
}
.hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}
.hero__title {
    font-family: var(--font-display);
    font-optical-sizing: auto;
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 500;
    letter-spacing: -0.025em;
    line-height: 1.02;
    margin-bottom: 24px;
    color: var(--ink);
}
.hero__title em { font-style: italic; font-weight: 500; color: var(--sky); }
.hero__subtitle {
    font-size: clamp(17px, 1.7vw, 20px);
    color: var(--ink-soft);
    max-width: 520px;
    margin-bottom: 36px;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.hero__note {
    font-size: 13px;
    color: var(--ink-muted);
    margin-bottom: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero__note::before { content: '✦'; color: var(--gold); }

.hero__stats {
    display: flex;
    gap: clamp(24px, 4vw, 44px);
    flex-wrap: wrap;
    border-top: 1px dashed var(--line);
    padding-top: 26px;
    margin: 0;
}
.hero__stat dt {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
}
.hero__stat dd { margin: 6px 0 0; color: var(--ink-soft); font-size: 13px; }

.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 540px;
}
.hero__phone { position: relative; transition: transform .6s var(--ease); }
.hero__phone--front {
    transform: rotate(-3deg);
    z-index: 2;
    max-width: 304px;
    filter: drop-shadow(0 30px 50px rgba(27,30,52,.18));
}
.hero__phone--back {
    position: absolute;
    top: 8%;
    right: 2%;
    transform: rotate(9deg) scale(.78);
    z-index: 1;
    opacity: .92;
    max-width: 250px;
    filter: drop-shadow(0 20px 40px rgba(27,30,52,.16));
}

.branch {
    position: absolute;
    pointer-events: none;
    z-index: 3;
    color: #5a4632;
}
.branch--hero {
    top: clamp(-10px, 2vw, 16px);
    right: clamp(-20px, 2vw, 24px);
    width: clamp(180px, 24vw, 290px);
}
.branch svg { width: 100%; height: auto; overflow: visible; }

@media (max-width: 900px) {
    .hero__inner { grid-template-columns: 1fr; gap: 48px; }
    .hero__visual { min-height: 440px; }
    .hero__phone--front { max-width: 264px; }
    .hero__phone--back { max-width: 210px; }
    .branch--hero { width: 180px; right: 0; top: -6px; }
}

.phone-mockup { width: 100%; height: auto; }
.phone-mockup--sm { max-width: 240px; }
.phone-mockup--md { max-width: 300px; }

.flight {
    position: fixed;
    inset: 0;
    z-index: 45;
    pointer-events: none;
    overflow: visible;
}
.flight__trail { position: absolute; inset: 0; width: 100%; height: 100%; }
.flight__trail path {
    fill: none;
    stroke: var(--sky);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 2 12;
    opacity: .26;
}
.bird {
    position: absolute;
    top: 0; left: 0;
    width: clamp(54px, 6vw, 78px);
    will-change: transform;
}
.bird svg {
    width: 100%;
    height: auto;
    overflow: visible;
    transform-origin: 50% 50%;
    transition: transform .3s var(--ease);
}
.bird__wing { transform-box: fill-box; transform-origin: 70% 80%; }
.bird.is-flying .bird__wing { animation: flap .26s var(--ease-io) infinite alternate; }
.bird.is-flying .bird__wing--far { animation-delay: .04s; }
@keyframes flap {
    0%   { transform: rotate(-26deg) translateY(0); }
    100% { transform: rotate(22deg) translateY(-1px); }
}
.bird:not(.is-flying) .bird__wing { transform: rotate(-4deg); }

.features { background: var(--paper-2); }
.feature-pin {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
    margin-top: clamp(8px, 2vw, 24px);
}

.feature-pin__text { display: block; }
.feature-step {
    min-height: 66vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 460px;
    opacity: .32;
    transition: opacity .45s var(--ease);
}
.feature-step.is-active { opacity: 1; }
.feature-step__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: var(--sky-50);
    color: var(--sky);
    border: 2px dashed var(--sky);
    margin-bottom: 18px;
}
.feature-step:nth-child(3n+2) .feature-step__icon { background: var(--stamp-soft); color: var(--stamp); border-color: var(--stamp); }
.feature-step:nth-child(3n+3) .feature-step__icon { background: #fbf0d8; color: var(--gold); border-color: var(--gold); }
.feature-step__index {
    display: block;
    font-family: var(--font-hand);
    font-size: 22px;
    line-height: 1;
    color: var(--ink-muted);
    margin-bottom: 6px;
}
.feature-step__title {
    font-family: var(--font-display);
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.1;
    margin-bottom: 14px;
}
.feature-step__desc { color: var(--ink-soft); font-size: clamp(16px, 1.5vw, 18px); }

.feature-pin__stage {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-frame {
    position: relative;
    width: clamp(260px, 26vw, 318px);
    aspect-ratio: 320 / 680;
    background: #14162b;
    border-radius: 46px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
}
.phone-frame::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 42px;
    border: 1px solid rgba(255,255,255,.08);
    pointer-events: none;
}
.phone-frame::before {
    content: '';
    position: absolute;
    top: 13px;
    left: 50%;
    transform: translateX(-50%);
    width: 36%;
    height: 22px;
    background: #14162b;
    border-radius: 0 0 16px 16px;
    z-index: 3;
}
.phone-frame__screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 34px;
    overflow: hidden;
    background: var(--paper-3);
}
.feature-screen {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .55s var(--ease);
}
.feature-screen.is-active { opacity: 1; }
.feature-screen--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-muted);
    font-weight: 600;
    letter-spacing: .04em;
}

.phone-frame--inline { display: none; }

@media (max-width: 900px) {
    .feature-pin { display: block; margin-top: 8px; }
    .feature-pin__stage { display: none; }
    .feature-step {
        min-height: 0;
        max-width: none;
        opacity: 1;
        margin-bottom: clamp(56px, 10vw, 80px);
    }
    .feature-step:last-child { margin-bottom: 0; }
    .phone-frame--inline {
        display: block;
        margin: 28px auto 0;
        width: min(280px, 78vw);
    }
}

.how__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    counter-reset: step;
}
.how__step {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.how__step::after {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1.5px dashed var(--line);
    border-radius: var(--radius);
    pointer-events: none;
    opacity: .5;
}
.how__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    color: var(--stamp);
    border: 2px solid var(--stamp);
    border-radius: 50%;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    background: var(--card);
}
.how__title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -.01em;
    position: relative; z-index: 1;
}
.how__desc { color: var(--ink-soft); font-size: 15.5px; position: relative; z-index: 1; }

.showcase { background: var(--paper-2); }
.showcase__scroller {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 0 -24px;
    padding: 16px 24px 32px;
    scrollbar-width: thin;
}
.showcase__scroller::-webkit-scrollbar { height: 8px; }
.showcase__scroller::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
.showcase__track { display: flex; gap: 22px; }
.showcase__item { flex: 0 0 auto; width: 264px; scroll-snap-align: start; text-align: center; }
.showcase__phone {
    background: var(--card);
    border-radius: var(--radius-xl);
    padding: 14px;
    margin-bottom: 18px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}
.showcase__phone .phone-mockup { max-width: 220px; margin: 0 auto; }
.showcase__caption h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.showcase__caption p { color: var(--ink-soft); font-size: 14px; }

@media (min-width: 901px) {
    .showcase__scroller { overflow: visible; padding: 0; margin: 0; }
    .showcase__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
    .showcase__item { width: auto; }
    .showcase__phone .phone-mockup { max-width: 100%; }
}

.reviews {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}
.review-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.review-card::before {
    content: '';
    position: absolute;
    top: 22px; right: 24px;
    width: 38px; height: 38px;
    border: 1.5px solid var(--stamp);
    border-radius: 50%;
    opacity: .22;
}
.review-card__rating { display: inline-flex; gap: 2px; color: var(--gold); }
.review-card__star { fill: currentColor; }
.review-card__comment {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
    flex: 1;
}
.review-card__author { display: flex; flex-direction: column; gap: 2px; }
.review-card__name { font-weight: 600; font-size: 15px; }
.review-card__role { color: var(--ink-muted); font-size: 13px; }

.faq { background: var(--paper-2); }
.faq__inner { max-width: 840px; }
.faq__list { display: grid; gap: 12px; }
.faq__item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq__item--open { border-color: var(--sky); box-shadow: var(--shadow-sm); }
.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px;
    text-align: left;
    font-weight: 600;
    font-size: 16.5px;
    color: var(--ink);
}
.faq__chevron { flex-shrink: 0; color: var(--ink-muted); transition: transform .25s var(--ease), color .25s var(--ease); }
.faq__item--open .faq__chevron { transform: rotate(180deg); color: var(--sky); }
.faq__answer { padding: 0 26px 22px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; }

.download-cta { padding-bottom: var(--space-section); }
.download-cta__card {
    background: var(--card-ink);
    border-radius: var(--radius-xl);
    padding: clamp(44px, 6vw, 84px);
    color: #fff;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.download-cta__card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 6px;
    background: repeating-linear-gradient(
        45deg,
        var(--stamp) 0 14px,
        transparent 14px 28px,
        var(--sky) 28px 42px,
        transparent 42px 56px
    );
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: .5;
    pointer-events: none;
}
.download-cta__card::after {
    content: '';
    position: absolute;
    inset: -40% -10% auto auto;
    width: 480px; height: 480px;
    background: radial-gradient(closest-side, rgba(124,58,237,.32), transparent 70%);
    pointer-events: none;
}
.download-cta__content { position: relative; z-index: 1; }
.download-cta__title {
    font-family: var(--font-display);
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin-bottom: 18px;
}
.download-cta__desc { color: rgba(255,255,255,.78); font-size: 17px; margin-bottom: 30px; max-width: 46ch; }
.download-cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.download-cta__buttons .store-badge {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.16);
}
.download-cta__buttons .store-badge:hover { background: rgba(255,255,255,.13); }
.download-cta__visual { display: flex; justify-content: center; position: relative; z-index: 1; }

@media (max-width: 900px) {
    .download-cta__card { grid-template-columns: 1fr; text-align: center; }
    .download-cta__buttons { justify-content: center; }
    .download-cta__visual { display: none; }
}

.branch--footer {
    top: -22px;
    right: clamp(24px, 12vw, 180px);
    width: clamp(180px, 22vw, 260px);
    color: #6b5640;
    z-index: 1;
}
@media (max-width: 900px) {

    .branch--footer { top: auto; bottom: 28px; right: 4px; width: 150px; }
}

.footer {
    background: var(--card-ink);
    color: #c4c8de;
    padding: 76px 0 28px;
    position: relative;
}
.footer .navbar__name { color: #fff; }
.footer__inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px dashed rgba(255,255,255,.12);
}
.footer__tagline {
    margin-top: 16px;
    font-family: var(--font-hand);
    font-size: 20px;
    color: #9aa0c0;
    max-width: 280px;
}
.footer__social { display: flex; gap: 12px; margin-top: 24px; }
.footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,.07);
    color: #fff;
    transition: background .2s var(--ease), transform .2s var(--ease);
}
.footer__social a:hover { background: var(--sky); transform: translateY(-2px); }

.footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.footer__col h4 {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 20px;
}
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { color: #c4c8de; font-size: 14.5px; transition: color .2s var(--ease); }
.footer__col a:hover { color: #fff; }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    flex-wrap: wrap;
    gap: 12px;
    color: #8b90ad;
    font-size: 13px;
}
.footer__email a:hover { color: #fff; }

@media (max-width: 760px) {
    .footer__inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 32px; }
    .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {

    .flight__trail { display: none; }

    .bird { width: 50px; }

    .branch--hero { top: -14px; }
}
@media (max-width: 560px) {
    .hero__title { font-size: 38px; line-height: 1.05; }
    .hero__stats { gap: 22px 28px; }
    .section__header { margin-bottom: 44px; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
    .footer__cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
    .bird { display: none; }
    .flight__trail { display: none; }
}

.legal__head {
    position: relative;
    overflow: hidden;
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
}
.legal__glow {
    position: absolute;
    top: -120px;
    left: 50%;
    width: 680px;
    max-width: 120%;
    height: 360px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(91, 108, 255, .18), transparent 70%);
    pointer-events: none;
    z-index: 0;
}
.legal__head-inner { position: relative; z-index: 1; max-width: 820px; }
.legal__title {
    font-family: var(--font-display);
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.12;
    margin-bottom: 16px;
}
.legal__subtitle {
    color: var(--ink-soft);
    font-size: clamp(16px, 2vw, 18px);
    max-width: 640px;
}
.legal__updated { margin-top: 20px; font-size: 14px; color: var(--ink-muted); }
.legal__updated strong { color: var(--ink-soft); font-weight: 600; }

.legal__inner {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: clamp(32px, 6vw, 80px);
    align-items: start;
    padding-top: clamp(48px, 7vw, 80px);
    padding-bottom: clamp(64px, 10vw, 120px);
}
.legal__inner:not(:has(.legal__toc)) { grid-template-columns: minmax(0, 1fr); }

.legal__toc {
    position: sticky;
    top: 96px;
    align-self: start;
    padding: 20px 22px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
}
.legal__toc-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink-muted);
    margin-bottom: 14px;
}
.legal__toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: toc;
    display: grid;
    gap: 10px;
}
.legal__toc li { counter-increment: toc; }
.legal__toc a {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.4;
    transition: color .2s var(--ease);
}
.legal__toc a::before {
    content: counter(toc, decimal-leading-zero);
    color: var(--sky);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}
.legal__toc a:hover { color: var(--ink); }

.legal__body { max-width: 760px; }

.prose { color: var(--ink-soft); }
.prose__section { scroll-margin-top: 96px; }
.prose__section + .prose__section { margin-top: 44px; }
.prose h2 {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin-bottom: 16px;
}
.prose h3 { color: var(--ink); font-size: 17px; font-weight: 600; margin: 28px 0 12px; }
.prose p { font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose ul { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; font-size: 16px; line-height: 1.6; }
.prose ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 11px;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--sky);
}
.prose a { color: var(--sky); font-weight: 500; }
.prose a:hover { color: var(--sky-700); text-decoration: underline; }

.prose__contact {
    margin-top: 48px;
    padding: 28px 28px 24px;
    background: var(--c-gradient-soft);
    border-radius: var(--radius-lg);
}
.prose__contact h2 { margin-bottom: 10px; }
.legal__mail { font-weight: 600; font-size: 17px; }

@media (max-width: 900px) {
    .legal__inner { grid-template-columns: minmax(0, 1fr); }
    .legal__toc { position: static; top: auto; order: -1; }
}
