/* LifeCircle marketing site */
:root {
    --bg: #0b0b24;
    --bg-2: #12123a;
    --surface: rgba(255, 255, 255, 0.04);
    --surface-2: rgba(255, 255, 255, 0.07);
    --border: rgba(255, 255, 255, 0.1);
    --text: #f2f2ff;
    --muted: #a6a6cc;
    --indigo: #4b4acf;
    --indigo-2: #6d6cf0;
    --orange: #ff7a45;
    --yellow: #f9d648;
    --mint: #4de3b0;
    --radius: 20px;
    --radius-lg: 28px;
    --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
    --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: var(--indigo); color: #fff; }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }
.grad {
    background: linear-gradient(100deg, var(--yellow), var(--orange) 45%, var(--mint));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .9em 1.5em; border-radius: 999px; font-weight: 700; font-size: 1rem;
    border: 1px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--indigo-2), var(--indigo)); color: #fff; box-shadow: 0 10px 30px -8px rgba(109, 108, 240, .7); }
.btn--ghost { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn--ghost:hover { background: var(--surface-2); }
.btn--sm { padding: .55em 1.1em; font-size: .9rem; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
    display: inline-flex; align-items: center; gap: 10px; min-width: 170px;
    padding: 10px 18px; border-radius: 14px; background: #000; color: #fff;
    border: 1px solid rgba(255, 255, 255, .22); transition: transform .2s, border-color .2s;
}
.store:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .5); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; font-weight: 700; font-size: 1.05rem; line-height: 1.15; }
.store small { font-weight: 500; font-size: .7rem; opacity: .8; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled, .nav.is-open { background: rgba(11, 11, 36, .78); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; }
.brand img { border-radius: 10px; }
.nav__links { display: flex; align-items: center; gap: 28px; font-weight: 600; font-size: .95rem; }
.nav__links a:not(.btn) { color: var(--muted); transition: color .2s; }
.nav__links a:not(.btn):hover, .nav__links a[aria-current] { color: var(--text); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; }
.nav__toggle span:not(.sr-only) { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, top .3s; }
.nav__toggle span:nth-child(2) { top: 17px; }
.nav__toggle span:nth-child(3) { top: 25px; }
.nav.is-open .nav__toggle span:nth-child(2) { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 900px) {
    .nav__toggle { display: block; }
    .nav__links {
        position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; max-height: calc(100vh - 110px); overflow-y: auto; align-items: stretch; gap: 0;
        padding: 8px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--border);
        transform: translateY(-8px); opacity: 0; visibility: hidden; transition: all .25s;
    }
    .nav.is-open .nav__links { transform: none; opacity: 1; visibility: visible; }
    .nav__links a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
    .nav__cta { margin-top: 16px; }
}

/* Announcement bar */
.announce { position: relative; display: flex; align-items: center; justify-content: center; min-height: 36px; padding: 6px 44px; background: linear-gradient(90deg, var(--indigo), #2b2a8f 50%, var(--indigo)); font-size: .85rem; font-weight: 600; text-align: center; }
.announce a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.announce button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 1.2rem; cursor: pointer; opacity: .7; }
.announce button:hover { opacity: 1; background: rgba(255, 255, 255, .12); }
.announce.is-hidden, .nav.is-scrolled .announce { display: none; }
[id] { scroll-margin-top: 120px; }

/* Features dropdown */
.menu { position: relative; }
.menu__btn { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; }
.menu__btn:hover, .menu__btn[aria-current], .menu.is-open .menu__btn { color: var(--text); }
.menu__btn svg { width: 12px; height: 12px; transition: transform .2s; }
.menu.is-open .menu__btn svg { transform: rotate(180deg); }
.menu__panel {
    position: absolute; top: calc(100% + 18px); left: 50%; width: 560px; transform: translate(-50%, 8px);
    display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 14px; border-radius: 22px;
    background: rgba(18, 18, 58, .97); border: 1px solid var(--border); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s;
}
.menu__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.menu.is-open .menu__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (min-width: 901px) { .menu:hover .menu__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); } }
.menu__item { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 14px; }
.menu__item:hover { background: var(--surface-2); }
.menu__item strong { display: block; color: var(--text); font-size: .95rem; }
.menu__item small { display: block; color: var(--muted); font-weight: 500; font-size: .82rem; line-height: 1.4; }
.menu__icon { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--mint); }
.menu__icon svg { width: 20px; height: 20px; }
.menu__all { grid-column: 1 / -1; padding: 12px; border-top: 1px solid var(--border); margin-top: 4px; color: var(--mint) !important; font-weight: 700; }
@media (max-width: 900px) {
    .menu__btn { width: 100%; justify-content: space-between; padding: 14px 4px; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
    .menu__panel { position: static; width: auto; transform: none; display: none; grid-template-columns: 1fr; padding: 6px 0; border: 0; box-shadow: none; background: none; opacity: 1; visibility: visible; }
    .menu.is-open .menu__panel { display: grid; transform: none; }
    .menu__item { padding: 10px 4px; border-bottom: 0 !important; }
}

/* Use-case carousel */
.carousel__track {
    display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 4px max(16px, calc((100vw - var(--container)) / 2)) 24px; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline-offset: -2px; }
.uc { flex: 0 0 min(82vw, 360px); scroll-snap-align: center; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; }
.uc__stage { position: relative; height: 280px; display: flex; align-items: center; justify-content: center; padding: 24px; overflow: hidden;
    background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--c) 45%, transparent), transparent 70%), linear-gradient(160deg, #1b1b4f, #10102e); }
.uc__stage::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 2px solid color-mix(in srgb, var(--c) 40%, transparent); bottom: -120px; right: -60px; }
.uc__stack { width: 100%; display: grid; gap: 10px; position: relative; z-index: 1; }
.note {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .94); color: #17172f;
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .6); font-size: .85rem; line-height: 1.25;
    transform: translateX(calc(var(--i) * 8px)); opacity: 0; animation: note-in .6s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i) * .15s);
}
.carousel:not(.is-in) .note { animation-play-state: paused; }
.note__avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #17172f; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .08); }
.note__body { flex: 1; min-width: 0; }
.note__body strong { display: block; }
.note__body span { color: #55557a; }
.note__time { font-size: .72rem; color: #8a8aa8; align-self: flex-start; }
.note--sos { background: #fff1f1; padding: 18px 14px; }
.note--sos .note__body span { color: #b42323; font-weight: 700; }
@keyframes note-in { from { opacity: 0; transform: translate(calc(var(--i) * 8px), 16px); } to { opacity: 1; transform: translateX(calc(var(--i) * 8px)); } }
.uc__copy { padding: 22px 24px 26px; }
.uc__copy h3 { margin-bottom: 6px; }
.uc__copy p { color: var(--muted); margin: 0; }
.carousel__nav { display: flex; gap: 10px; justify-content: center; }
.carousel__btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 1.1rem; cursor: pointer; transition: background .2s, opacity .2s; }
.carousel__btn:hover { background: var(--surface-2); }
.carousel__btn:disabled { opacity: .35; cursor: default; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-width: 1040px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.plan--featured { background: linear-gradient(180deg, rgba(109, 108, 240, .22), rgba(109, 108, 240, .05)); border-color: rgba(109, 108, 240, .6); box-shadow: 0 30px 70px -30px rgba(109, 108, 240, .6); }
.plan__badge { position: absolute; top: -13px; right: 24px; padding: 5px 12px; border-radius: 999px; background: var(--yellow); color: #1a1a1a; font-size: .78rem; font-weight: 800; }
.plan h3 { font-size: 1.5rem; margin-bottom: 4px; }
.plan__price { font-weight: 800; font-size: 1.15rem; color: var(--mint); margin-bottom: 6px; }
.plan__tagline { color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; }
.plan li { display: flex; gap: 10px; color: #d6d6f0; }
.plan li::before { content: "✓"; flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 800; background: rgba(77, 227, 176, .15); color: var(--mint); }
.plans__note { text-align: center; margin-top: 28px; }
.plan__addons { margin: -12px 0 24px; padding: 12px 14px; border-radius: 14px; background: var(--surface); border: 1px dashed var(--border); color: var(--muted); font-size: .88rem; }
.plan__addons strong { display: block; color: var(--text); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }

/* Plan comparison */
.compare { max-width: 1040px; margin: 40px auto 0; }
.compare summary { list-style: none; display: flex; justify-content: center; cursor: pointer; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary span { display: inline-flex; align-items: center; gap: 10px; padding: .8em 1.5em; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); font-weight: 700; transition: background .2s; }
.compare summary span::after { content: "+"; color: var(--mint); font-size: 1.3rem; line-height: 1; transition: transform .25s; }
.compare summary:hover span { background: var(--surface-2); }
.compare[open] summary span::after { transform: rotate(45deg); }
.compare[open] .compare__wrap { animation: compare-in .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes compare-in { from { opacity: 0; transform: translateY(-10px); } }
.compare__wrap { margin-top: 24px; overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.compare__table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .95rem; }
.compare__table th, .compare__table td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: center; }
.compare__table tbody tr:last-child th, .compare__table tbody tr:last-child td { border-bottom: 0; }
.compare__table thead th { font-size: 1.05rem; font-weight: 800; background: var(--bg-2); position: sticky; top: 0; }
.compare__table th[scope="row"], .compare__table thead th:first-child { text-align: left; font-weight: 600; color: #d6d6f0; position: sticky; left: 0; background: var(--bg-2); z-index: 1; }
.compare__table tbody tr:hover td, .compare__table tbody tr:hover th { background: var(--surface-2); }
.compare__table .is-featured { background: rgba(109, 108, 240, .12); }
.compare__table thead .is-featured { color: var(--yellow); }
.compare__table .yes { color: var(--mint); font-weight: 800; font-size: 1.1rem; }
.compare__table .no { color: var(--muted); opacity: .6; }
.compare__note { text-align: center; margin-top: 14px; font-size: .9rem; }
.compare__note a { color: var(--mint); }
@media (max-width: 600px) {
    .compare__table { min-width: 0; table-layout: fixed; }
    .compare__table th, .compare__table td { padding: 11px 6px; font-size: .8rem; line-height: 1.3; }
    .compare__table th[scope="row"], .compare__table thead th:first-child { width: 36%; padding-left: 12px; position: static; }
    .compare__table thead th { font-size: .85rem; }
}
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; } }

/* Loved by + newsletter */
.loved { position: relative; overflow: hidden; text-align: center; padding: clamp(40px, 7vw, 72px) clamp(20px, 5vw, 64px); border-radius: 36px; border: 1px solid var(--border);
    background: radial-gradient(70% 90% at 50% 0%, rgba(77, 227, 176, .16), transparent 70%), var(--bg-2); }
.loved h2 { max-width: 720px; margin-inline: auto; }
.loved > p { color: var(--muted); max-width: 520px; margin: 0 auto 28px; font-size: 1.1rem; }
.loved__avatars { display: flex; justify-content: center; margin-bottom: 24px; }
.loved__avatars span { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #17172f; border: 3px solid var(--bg-2); margin-left: -10px; }
.loved__avatars span:first-child { margin-left: 0; }
.loved__form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; padding: 6px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border); }
.loved__form input[type=email] { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); padding: 10px 16px; font: inherit; }
.loved__form input[type=email]:focus { outline: none; }
.loved__form .btn { padding: .75em 1.4em; }
.loved__legal { max-width: 520px; margin: 14px auto 0; font-size: .78rem; color: var(--muted); }
.loved__legal a { text-decoration: underline; }
.loved__ok { display: inline-block; padding: 14px 22px; border-radius: 999px; background: rgba(77, 227, 176, .15); color: var(--mint); font-weight: 700; }
.loved__err { color: #ff8a8a; font-weight: 600; margin: 12px 0 0; }
.loved__stores { margin-top: 36px; display: flex; justify-content: center; }
@media (max-width: 480px) {
    .loved__form { flex-direction: column; border-radius: 22px; }
    .loved__form .btn { width: 100%; }
}

/* Help center */
.help { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.help__topics { position: sticky; top: 130px; display: grid; gap: 4px; }
.help__topics a { display: flex; justify-content: space-between; padding: 10px 14px; border-radius: 12px; color: var(--muted); font-weight: 600; }
.help__topics a:hover { background: var(--surface-2); color: var(--text); }
.help__topics span { opacity: .6; }
.help__group { margin-bottom: 48px; }
.help__group h2 { font-size: 1.5rem; }
.help .faq { max-width: none; margin: 0; }
@media (max-width: 900px) {
    .help { grid-template-columns: 1fr; gap: 24px; }
    .help__topics { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
    .help__topics a { border: 1px solid var(--border); border-radius: 999px; padding: 8px 14px; gap: 8px; }
}

/* Sections */
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(56px, 8vw, 90px) 0; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
    background: var(--surface-2); border: 1px solid var(--border); color: var(--mint);
    font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.section-head { max-width: 720px; margin: 0 auto 64px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.15rem; }

/* Hero */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; z-index: -1; }
.hero__canvas canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; opacity: 0; transition: opacity 1.2s ease; }
.hero__canvas.is-ready canvas { opacity: 1; }
.hero__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1.2s ease; }
.hero__canvas.is-ready .hero__poster img { opacity: 0; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background:
        radial-gradient(60% 60% at 75% 45%, rgba(75, 74, 207, .45), transparent 70%),
        radial-gradient(40% 40% at 10% 90%, rgba(77, 227, 176, .14), transparent 70%),
        var(--bg);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(transparent, var(--bg)); z-index: -1; pointer-events: none; }
.hero__content { max-width: 620px; position: relative; }
.hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, var(--bg) 0%, rgba(11, 11, 36, .9) 30%, rgba(11, 11, 36, 0) 58%), linear-gradient(transparent 70%, var(--bg)); }
.hero__toasts { position: absolute; right: max(24px, calc((100vw - var(--container)) / 2)); bottom: 96px; width: 300px; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.hero-toast {
    display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7);
    font-size: .85rem; line-height: 1.3; animation: toast-in .5s cubic-bezier(.2, .8, .2, 1);
    transition: opacity .5s, transform .5s;
}
.hero-toast img { width: 36px; height: 36px; border-radius: 10px; flex: none; }
.hero-toast div { flex: 1; min-width: 0; }
.hero-toast strong { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }
.hero-toast span { display: block; font-weight: 700; color: var(--text); }
.hero-toast span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; background: var(--c); box-shadow: 0 0 8px var(--c); vertical-align: 1px; }
.hero-toast em { font-style: normal; font-size: .75rem; color: var(--muted); align-self: flex-start; }
.hero-toast.is-out { opacity: 0; transform: translateX(20px); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
.hero__content p.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 40px; }
.hero__stats { display: flex; gap: 36px; flex-wrap: wrap; }
.hero__stats strong { display: block; font-size: 1.6rem; font-weight: 800; }
.hero__stats span { color: var(--muted); font-size: .9rem; }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 14px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: scroll 1.8s infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
    .hero { align-items: flex-start; padding-top: max(52svh, 360px); padding-bottom: 96px; }
    .hero__canvas { inset: 0 0 auto; height: max(56svh, 380px); -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
    .hero__shade { display: none; }
    .hero__toasts { right: 16px; left: 16px; width: auto; top: calc(max(56svh, 380px) - 170px); bottom: auto; align-items: center; }
    .hero-toast { width: min(100%, 320px); }
    .hero__content { max-width: none; }
    .hero__stats { gap: 24px; }
}

/* Render below-the-fold home sections lazily (big win for initial style/layout time) */
.page-home main > section:not(.hero), .page-home main > .marquee, .page-home .footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }

/* Cards / features */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card {
    position: relative; padding: 32px; border-radius: var(--radius-lg); background: var(--surface);
    border: 1px solid var(--border); overflow: hidden; transition: border-color .3s, background .3s;
    transform-style: preserve-3d;
}
.card:hover { border-color: rgba(255, 255, 255, .22); background: var(--surface-2); }
.card p { color: var(--muted); margin: 0; }
.card__icon {
    width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px;
    background: color-mix(in srgb, var(--c, var(--indigo-2)) 18%, transparent); color: var(--c, var(--indigo-2));
    border: 1px solid color-mix(in srgb, var(--c, var(--indigo-2)) 35%, transparent);
}
.card__icon svg { width: 28px; height: 28px; }
.card::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .08), transparent 40%);
}
.card:hover::after { opacity: 1; }

[data-tilt] { transition: transform .4s cubic-bezier(.2, .8, .2, 1); will-change: transform; }

/* Showcase (3D phones) */
.showcase { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.showcase--rev .showcase__media { order: -1; }
.showcase__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.showcase__list li { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.showcase__list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%230b0b24'/%3E%3C/svg%3E") center/16px no-repeat; }
.showcase__list strong { color: var(--text); }
.phones { position: relative; height: 620px; perspective: 1600px; }
.phone {
    position: absolute; width: 260px; aspect-ratio: 720 / 1559; transition: transform .8s cubic-bezier(.2, .8, .2, 1);
    translate: 0 calc(var(--p, 0) * var(--depth, 0px));
}
.phone img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 30px;
    box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .1);
    animation: float 7s ease-in-out infinite; animation-delay: var(--float-delay, 0s);
}
.phones .phone:nth-child(2) { --depth: 40px; --float-delay: -2.3s; }
.phones .phone:nth-child(3) { --depth: -30px; }
.phones .phone:nth-child(4) { --depth: 70px; --float-delay: -4.6s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.phones .phone:nth-child(2) { left: 0; top: 70px; transform: rotateY(28deg) rotateZ(-4deg) translateZ(-60px); }
.phones .phone:nth-child(3) { left: 50%; top: 0; margin-left: -130px; z-index: 2; transform: translateZ(40px); }
.phones .phone:nth-child(4) { right: 0; top: 70px; transform: rotateY(-28deg) rotateZ(4deg) translateZ(-60px); }
.phones:hover .phone:nth-child(2) { transform: rotateY(18deg) rotateZ(-2deg) translate3d(-20px, 0, -40px); }
.phones:hover .phone:nth-child(4) { transform: rotateY(-18deg) rotateZ(2deg) translate3d(20px, 0, -40px); }
.glow { position: absolute; inset: 15% 10%; border-radius: 50%; filter: blur(80px); background: linear-gradient(135deg, var(--indigo), var(--mint)); opacity: .35; z-index: -1; }

@media (max-width: 900px) {
    .showcase { grid-template-columns: 1fr; gap: 40px; }
    .showcase--rev .showcase__media { order: 0; }
    .phones { height: 460px; }
    .phone { width: 190px; border-radius: 30px; }
    .phones .phone:nth-child(3) { margin-left: -95px; }
}
@media (max-width: 480px) {
    .phones { height: 390px; }
    .phone { width: 160px; }
    .phones .phone:nth-child(3) { margin-left: -80px; }
}

/* App tour (store screenshots) */
.tour { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.tour__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tour__step {
    position: relative; width: 100%; display: flex; gap: 16px; align-items: flex-start; text-align: left; padding: 16px 18px 18px;
    border-radius: 18px; border: 1px solid transparent; background: none; color: var(--muted); font: inherit; cursor: pointer; overflow: hidden;
    transition: background .3s, border-color .3s, color .3s;
}
.tour__step:hover { background: var(--surface); }
.tour__step[aria-selected="true"] { background: var(--surface-2); border-color: var(--border); color: var(--text); }
.tour__num { font-weight: 800; font-size: .85rem; color: var(--mint); padding-top: 2px; }
.tour__text strong { display: block; font-size: 1.08rem; }
.tour__text small { display: block; font-size: .92rem; color: var(--muted); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s, opacity .4s, margin .4s; }
.tour__step[aria-selected="true"] .tour__text small { max-height: 80px; opacity: 1; margin-top: 4px; }
.tour__bar { position: absolute; left: 18px; right: 18px; bottom: 8px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .08); opacity: 0; }
.tour__bar span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--yellow), var(--orange), var(--mint)); }
.tour__step[aria-selected="true"] .tour__bar { opacity: 1; }
.tour.is-playing .tour__step[aria-selected="true"] .tour__bar span { animation: tour-progress var(--tour-ms, 4500ms) linear forwards; }
.tour.is-paused .tour__step[aria-selected="true"] .tour__bar span { animation-play-state: paused; }
@keyframes tour-progress { to { width: 100%; } }
.tour__stage { position: relative; height: 640px; display: grid; place-items: center; perspective: 1400px; }
.tour__glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(109, 108, 240, .55), transparent 65%); filter: blur(30px); }
.tour__orbit { position: absolute; width: 520px; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(255, 122, 69, .35); animation: spin 40s linear infinite; }
.tour__orbit::before, .tour__orbit::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); top: -7px; left: calc(50% - 7px); box-shadow: 0 0 16px var(--yellow); }
.tour__orbit::after { background: var(--mint); box-shadow: 0 0 16px var(--mint); top: auto; bottom: -7px; }
@keyframes spin { to { transform: rotate(360deg); } }
.tour__deck {
    position: relative; width: 280px; aspect-ratio: 720 / 1559; transform-style: preserve-3d;
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.tour__screen {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 32px;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1);
    opacity: 0; transform: translate3d(140px, 0, -220px) rotateY(-28deg) scale(.86); pointer-events: none;
    transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .9s, filter .9s; filter: brightness(.6);
}
.tour__screen.is-next { opacity: .45; }
.tour__screen.is-prev { opacity: .45; transform: translate3d(-140px, 0, -220px) rotateY(28deg) scale(.86); }
.tour__screen.is-active { opacity: 1; transform: none; filter: none; z-index: 2; }
@media (max-width: 900px) {
    .tour { grid-template-columns: 1fr; gap: 24px; }
    .tour__stage { order: -1; height: 540px; }
    .tour__deck { width: 230px; }
    .tour__orbit { width: 380px; }
    .tour__steps { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; scrollbar-width: none; }
    .tour__steps::-webkit-scrollbar { display: none; }
    .tour__steps li { flex: 0 0 78%; scroll-snap-align: center; }
    .tour__step { height: 100%; background: var(--surface); }
}
@media (max-width: 480px) { .tour__stage { height: 470px; } .tour__deck { width: 200px; } .tour__orbit { width: 320px; } }

/* Screenshot gallery strip + lightbox */
.gallery { overflow: hidden; padding: 30px 0 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.gallery__track { display: flex; gap: 28px; width: max-content; animation: marquee 70s linear infinite; }
.gallery:hover .gallery__track, .gallery:focus-within .gallery__track { animation-play-state: paused; }
.gallery__item { flex: none; width: 210px; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-weight: 600; font-size: .9rem; cursor: zoom-in; transform: rotate(var(--r)); transition: transform .4s cubic-bezier(.2, .8, .2, 1), color .3s; }
.gallery__item img { width: 100%; border-radius: 24px; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); margin-bottom: 12px; }
.gallery__item:hover, .gallery__item:focus-visible { transform: rotate(0) translateY(-12px) scale(1.04); color: var(--text); }
@media (max-width: 600px) { .gallery__item { width: 160px; } .gallery__track { gap: 18px; } }
.lightbox { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: var(--text); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; gap: 16px; }
.lightbox::backdrop { background: rgba(6, 6, 20, .86); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: min(92vw, 440px); }
.lightbox img { max-height: 76vh; max-width: 100%; border-radius: 28px; box-shadow: var(--shadow); animation: lightbox-in .4s cubic-bezier(.2, .8, .2, 1); }
.lightbox figcaption { text-align: center; }
.lightbox figcaption strong { display: block; font-size: 1.1rem; }
.lightbox figcaption span { display: block; color: var(--muted); font-size: .92rem; }
.lightbox figcaption em { display: block; font-style: normal; color: var(--muted); font-size: .8rem; margin-top: 4px; }
.lightbox__close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font-size: 1.5rem; cursor: pointer; }
.lightbox__nav { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface-2); color: var(--text); font-size: 1.2rem; cursor: pointer; }
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255, 255, 255, .16); }
@media (max-width: 600px) { .lightbox__nav { position: fixed; bottom: 20px; } .lightbox__nav--prev { left: calc(50% - 60px); } .lightbox__nav--next { right: calc(50% - 60px); } .lightbox img { max-height: 66vh; } }
@keyframes lightbox-in { from { opacity: 0; transform: scale(.92) translateY(10px); } }

/* Steps */
.steps { counter-reset: step; }
.steps .card { padding-top: 40px; }
.steps .card::before {
    counter-increment: step; content: "0" counter(step); display: block; font-size: 3.2rem; font-weight: 800; line-height: 1;
    margin-bottom: 18px; background: linear-gradient(135deg, var(--yellow), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* App cards */
.app-card { display: flex; flex-direction: column; gap: 18px; padding: 40px; }
.app-card__head { display: flex; align-items: center; gap: 16px; }
.app-card__head img { width: 64px; height: 64px; border-radius: 18px; }
.app-card__head small { display: block; color: var(--muted); font-weight: 500; }
.app-card ul { margin: 0; padding-left: 1.2em; color: var(--muted); }
.app-card .stores { margin-top: auto; padding-top: 8px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); }
.tag--kid { color: var(--yellow); }
.tag--fam { color: var(--mint); }

/* Ribbon */
.marquee { overflow: hidden; border-block: 1px solid var(--border); padding: 22px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; font-weight: 700; color: var(--muted); font-size: 1.05rem; }
.marquee__track span { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
.marquee__track span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 0 24px; transition: background .2s; }
.faq details[open] { background: var(--surface-2); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-weight: 700; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--mint); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; }

/* CTA */
.cta {
    position: relative; overflow: hidden; border-radius: 36px; padding: clamp(40px, 7vw, 80px); text-align: center;
    background: radial-gradient(80% 120% at 50% 0%, var(--indigo-2), var(--indigo) 50%, #2b2a8f);
    box-shadow: 0 40px 100px -30px rgba(75, 74, 207, .8);
}
.cta h2 { max-width: 760px; margin-inline: auto; }
.cta p { color: rgba(255, 255, 255, .8); max-width: 560px; margin: 0 auto 32px; font-size: 1.15rem; }
.cta .stores { justify-content: center; }
.cta__ring { position: absolute; border: 2px solid rgba(255, 255, 255, .14); border-radius: 50%; pointer-events: none; }

/* Page header */
.page-hero { padding: 160px 0 70px; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 50% 0%, rgba(75, 74, 207, .5), transparent 70%); }
.page-hero p { color: var(--muted); font-size: 1.2rem; max-width: 640px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }

/* Delete account (form + OTP) */
.danger-card { max-width: 520px; margin: 0 auto; padding: clamp(24px, 5vw, 40px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.danger-card__steps { display: flex; gap: 8px; margin-bottom: 24px; }
.danger-card__steps span { flex: 1; padding: 8px 10px; border-radius: 999px; text-align: center; font-size: .82rem; font-weight: 700; color: var(--muted); background: var(--surface); border: 1px solid var(--border); }
.danger-card__steps .is-active { color: #fff; background: rgba(255, 107, 107, .16); border-color: rgba(255, 107, 107, .5); }
.danger-card__steps .is-done { color: var(--mint); border-color: rgba(77, 227, 176, .35); }
.danger-card__label { display: block; }
.danger-card__label span { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.danger-card .big-input {
    width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255, 255, 255, .05);
    color: var(--text); font: inherit; font-size: 1.05rem; transition: border-color .2s, box-shadow .2s;
}
.danger-card .big-input::placeholder { color: var(--muted); }
.danger-card .big-input:focus { outline: none; border-color: var(--indigo-2); box-shadow: 0 0 0 4px rgba(109, 108, 240, .25); }
.danger-card input[type=number]::-webkit-inner-spin-button, .danger-card input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.danger-card input[type=number] { -moz-appearance: textfield; letter-spacing: .3em; }
.danger-card__hint { color: var(--muted); font-size: .88rem; margin: 10px 0 22px; }
.danger-card .btn--danger { width: 100%; background: #e5484d; color: #fff; box-shadow: 0 12px 30px -10px rgba(229, 72, 77, .7); }
.danger-card .btn--danger:hover { background: #d63c41; }
.danger-card__foot { text-align: center; color: var(--muted); font-size: .88rem; margin: 22px 0 0; }
.danger-card__foot a { color: var(--mint); }
.danger-card .d-none { display: none; }
.notice { padding: 14px 16px; border-radius: 14px; margin-bottom: 20px; font-size: .92rem; }
.notice p { margin: 0; }
.notice ul { margin: 6px 0 0; padding-left: 1.2em; }
.notice--ok { background: rgba(77, 227, 176, .12); border: 1px solid rgba(77, 227, 176, .4); color: #b8f5df; }
.notice--err { background: rgba(255, 107, 107, .12); border: 1px solid rgba(255, 107, 107, .4); color: #ffc4c4; }

/* Legal pages (privacy policy) */
.policy { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; max-width: 1040px; }
.policy__toc { position: sticky; top: 120px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.policy__toc strong { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.policy__toc nav { display: grid; gap: 2px; max-height: calc(100vh - 220px); overflow-y: auto; }
.policy__toc a { padding: 6px 10px; border-radius: 8px; color: var(--muted); font-size: .9rem; line-height: 1.35; border-left: 2px solid transparent; transition: color .2s, background .2s, border-color .2s; }
.policy__toc a:hover { color: var(--text); background: var(--surface-2); }
.policy__toc a.is-active { color: var(--text); border-left-color: var(--mint); background: var(--surface-2); }
.policy__body { max-width: none; margin: 0; padding: clamp(24px, 4vw, 48px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); font-size: 1.02rem; }
.policy__body > p:first-child { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(77, 227, 176, .12); color: var(--mint); font-weight: 700; font-size: .88rem; margin-bottom: 24px; }
.policy__body h3 { font-size: 1.4rem; margin: 2.2em 0 .6em; padding-top: 1.4em; border-top: 1px solid var(--border); color: var(--text); scroll-margin-top: 120px; }
.policy__body h4 { font-size: 1.1rem; margin: 1.6em 0 .4em; color: var(--yellow); }
.policy__body ul { padding-left: 1.3em; }
.policy__body > p:last-child { margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--border); color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) {
    .policy { grid-template-columns: 1fr; gap: 20px; }
    .policy__toc { position: static; }
    .policy__toc nav { display: flex; flex-wrap: wrap; gap: 6px; max-height: none; }
    .policy__toc a { border: 1px solid var(--border); border-radius: 999px; font-size: .82rem; }
    .policy__toc a.is-active { border-color: var(--mint); }
}

/* Legal: terms + child app */
.policy__body--terms h2 { font-size: 1.1rem; color: var(--mint); margin: 0 0 4px; }
.policy__body--terms h2 + h3 { margin-top: 0; padding-top: 0; border-top: 0; font-size: 1.8rem; }
.kid-download { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.kid-download__logo { border-radius: 18px; box-shadow: var(--shadow); }
.kid-download p { color: var(--muted); margin: 0; }
.kid-download__stores { justify-content: center; }

/* Download QR (desktop only) */
.qr { display: inline-flex; align-items: center; gap: 16px; padding: 14px 18px 14px 14px; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); text-align: left; }
.qr__code { width: 104px; height: 104px; flex: none; padding: 6px; border-radius: 14px; background: #fff; }
.qr__code img { width: 100%; height: 100%; }
.qr__text strong { display: block; font-size: 1rem; }
.qr__text span { display: block; color: var(--muted); font-size: .85rem; max-width: 220px; }
.qr--center { margin-top: 28px; }
.qr--footer { margin-top: 18px; padding: 10px 14px 10px 10px; }
.qr--footer .qr__code { width: 84px; height: 84px; }
@media (max-width: 900px), (hover: none) { .qr { display: none; } }

/* Cookie consent */
.consent { position: fixed; left: 16px; right: 88px; bottom: 16px; z-index: 80; max-width: 520px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
    padding: 16px 18px; border-radius: 18px; background: rgba(18, 18, 58, .96); border: 1px solid var(--border); box-shadow: var(--shadow); backdrop-filter: blur(12px); animation: lightbox-in .4s cubic-bezier(.2, .8, .2, 1); }
.consent[hidden] { display: none; }
.consent p { flex: 1 1 260px; margin: 0; font-size: .88rem; color: #d6d6f0; }
.consent a { color: var(--mint); text-decoration: underline; }
.consent__actions { display: flex; gap: 8px; }

/* Chat assistant */
.chatbot { position: fixed; right: 18px; bottom: 18px; z-index: 85; }
.chatbot__launcher {
    width: 58px; height: 58px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; color: #fff;
    background: linear-gradient(135deg, var(--indigo-2), var(--indigo)); box-shadow: 0 14px 34px -10px rgba(109, 108, 240, .9), 0 0 0 1px rgba(255, 255, 255, .12) inset;
    transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.chatbot__launcher:hover { transform: scale(1.06); }
.chatbot__launcher svg { width: 26px; height: 26px; grid-area: 1 / 1; transition: opacity .2s, transform .25s; }
.chatbot__icon-close { opacity: 0; transform: rotate(-90deg); }
.chatbot.is-open .chatbot__icon-open { opacity: 0; transform: rotate(90deg); }
.chatbot.is-open .chatbot__icon-close { opacity: 1; transform: none; }
.chatbot.is-loading .chatbot__launcher { animation: chat-pulse 1s ease-in-out infinite; }
@keyframes chat-pulse { 50% { transform: scale(.92); } }
.chatbot__nudge { position: absolute; right: 70px; bottom: 12px; white-space: nowrap; padding: 9px 14px; border-radius: 14px 14px 4px 14px; background: #fff; color: #17172f; font-weight: 700; font-size: .88rem; box-shadow: var(--shadow); cursor: pointer; animation: lightbox-in .4s cubic-bezier(.2, .8, .2, 1); }
.chatbot__nudge[hidden] { display: none; }
.chatbot__panel {
    position: absolute; right: 0; bottom: 74px; width: min(380px, calc(100vw - 36px)); height: min(560px, calc(100vh - 120px)); height: min(560px, calc(100dvh - 120px));
    display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #12123a; border: 1px solid var(--border); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
    opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transform-origin: bottom right; transition: opacity .25s, transform .25s cubic-bezier(.2, .8, .2, 1), visibility .25s;
}
.chatbot.is-open .chatbot__panel { opacity: 1; visibility: visible; transform: none; }
.chatbot__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: linear-gradient(135deg, var(--indigo), #2b2a8f); }
.chatbot__head img { border-radius: 10px; }
.chatbot__head div { flex: 1; min-width: 0; }
.chatbot__head strong { display: block; font-size: 1rem; }
.chatbot__head span { display: flex; align-items: center; gap: 6px; font-size: .78rem; color: rgba(255, 255, 255, .8); }
.chatbot__head span i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.chatbot__head button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.2rem; cursor: pointer; }
.chatbot__head button:hover { background: rgba(255, 255, 255, .22); }
.chatbot__list { flex: 1; overflow-y: auto; padding: 16px 14px 8px; display: flex; flex-direction: column; gap: 10px; overscroll-behavior: contain; }
.chatbot__msg { display: flex; flex-direction: column; gap: 8px; max-width: 86%; animation: lightbox-in .3s cubic-bezier(.2, .8, .2, 1); }
.chatbot__msg--user { align-self: flex-end; align-items: flex-end; }
.chatbot__bubble { padding: 10px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.5; overflow-wrap: anywhere; }
.chatbot__msg--bot .chatbot__bubble { background: var(--surface-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; color: #e6e6fa; }
.chatbot__msg--user .chatbot__bubble { background: var(--indigo); color: #fff; border-bottom-right-radius: 4px; }
.chatbot__bubble a { color: var(--mint); text-decoration: underline; }
.chatbot__links { display: flex; flex-wrap: wrap; gap: 6px; }
.chatbot__link { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(77, 227, 176, .5); color: var(--mint); font-size: .82rem; font-weight: 700; }
.chatbot__link:hover { background: rgba(77, 227, 176, .12); }
.chatbot__typing .chatbot__bubble { display: flex; gap: 4px; padding: 14px; }
.chatbot__typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: chat-dot 1s infinite; }
.chatbot__typing i:nth-child(2) { animation-delay: .15s; }
.chatbot__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes chat-dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chatbot__chips { display: flex; gap: 6px; padding: 4px 14px 10px; overflow-x: auto; scrollbar-width: none; }
.chatbot__chips::-webkit-scrollbar { display: none; }
.chatbot__chip { flex: none; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; }
.chatbot__chip:hover { background: var(--surface-2); border-color: var(--indigo-2); }
.chatbot__form { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--border); }
.chatbot__form input { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 999px; border: 1px solid var(--border); background: rgba(255, 255, 255, .06); color: var(--text); font: inherit; font-size: 1rem; }
.chatbot__form input:focus { outline: none; border-color: var(--indigo-2); }
.chatbot__form button { width: 42px; height: 42px; flex: none; border-radius: 50%; border: 0; background: var(--indigo); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chatbot__form button svg { width: 18px; height: 18px; }
@media (max-width: 600px) {
    .chatbot { right: 14px; bottom: 14px; }
    .chatbot__panel { position: fixed; inset: auto 8px 84px 8px; width: auto; height: calc(100dvh - 110px); max-height: 640px; }
}

/* Error pages */
.error-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px 16px; position: relative; overflow: hidden;
    background: radial-gradient(50% 50% at 50% 40%, rgba(75, 74, 207, .35), transparent 70%), var(--bg); }
.error-page__brand { position: absolute; top: 24px; left: 50%; transform: translateX(-50%); }
.error-page__orbit { position: absolute; top: 50%; left: 50%; width: min(560px, 120vw); aspect-ratio: 1; transform: translate(-50%, -50%); border: 2px dashed rgba(255, 122, 69, .25); border-radius: 50%; animation: spin 60s linear infinite; pointer-events: none; }
.error-page__orbit span { position: absolute; width: 16px; height: 16px; border-radius: 50%; }
.error-page__orbit span:nth-child(1) { top: -8px; left: calc(50% - 8px); background: var(--yellow); box-shadow: 0 0 18px var(--yellow); }
.error-page__orbit span:nth-child(2) { bottom: 14%; left: 4%; background: var(--mint); box-shadow: 0 0 18px var(--mint); }
.error-page__orbit span:nth-child(3) { bottom: 14%; right: 4%; background: #fff; box-shadow: 0 0 18px #fff; }
.error-page__code { font-size: clamp(5rem, 18vw, 9rem); font-weight: 800; line-height: 1; margin: 0 0 8px; letter-spacing: -0.04em; }
.error-page h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); position: relative; }
.error-page__text { color: var(--muted); max-width: 460px; margin: 0 auto 28px; position: relative; }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; }

/* Contact form */
.contact-form { max-width: 760px; margin: 0 auto; padding: clamp(24px, 5vw, 44px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.contact-form__intro { text-align: center; margin-bottom: 28px; }
.contact-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--wide { grid-column: 1 / -1; }
.form-field span { font-weight: 700; font-size: .9rem; }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; padding: 13px 15px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255, 255, 255, .05);
    color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s;
}
.form-field select option { background: var(--bg-2); }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--indigo-2); box-shadow: 0 0 0 4px rgba(109, 108, 240, .25); }
.form-field em { font-style: normal; color: #ff9b9b; font-size: .85rem; font-weight: 600; }
.contact-form .btn { width: 100%; }
.contact-form__legal { text-align: center; color: var(--muted); font-size: .82rem; margin: 14px 0 0; }
.contact-form__legal a { color: var(--mint); }
@media (max-width: 600px) { .contact-form__grid { grid-template-columns: 1fr; } }

/* Contact */
.contact-card { text-align: center; }
.contact-card .card__icon { margin-inline: auto; }
.contact-card a { color: var(--text); font-weight: 600; word-break: break-word; }

/* Blog */
.post-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); transition: transform .3s, border-color .3s; }
.post-card:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .22); }
.post-card__cover { aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, var(--indigo), #1a1a55); }
.post-card__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.post-card:hover .post-card__cover img { transform: scale(1.05); }
.post-card__body { padding: 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__body h3 { margin: 0; font-size: 1.3rem; }
.post-card__body p { color: var(--muted); margin: 0; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; color: var(--muted); font-size: .88rem; }
.post-meta .tag { text-transform: capitalize; }
.post-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
.post-card--featured .post-card__cover { aspect-ratio: auto; min-height: 320px; }
.post-card--featured .post-card__body { padding: 44px; justify-content: center; }
.post-card--featured h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
@media (max-width: 800px) { .post-card--featured { grid-template-columns: 1fr; } .post-card--featured .post-card__cover { min-height: 0; aspect-ratio: 16 / 9; } .post-card--featured .post-card__body { padding: 26px; } }
.tag-bar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.tag-bar a { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); color: var(--muted); font-weight: 600; font-size: .9rem; text-transform: capitalize; }
.tag-bar a[aria-current], .tag-bar a:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.search { display: flex; max-width: 460px; margin: 0 auto 28px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); overflow: hidden; }
.search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); padding: 14px 22px; font: inherit; }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; }
.search button { border: 0; background: var(--indigo); color: #fff; padding: 0 22px; font: inherit; font-weight: 700; cursor: pointer; }
.pagination { display: flex; justify-content: center; gap: 12px; margin-top: 56px; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

.article { padding: 150px 0 40px; }
.article__head { max-width: 780px; margin: 0 auto 40px; text-align: center; }
.article__head h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.article__head .post-meta { justify-content: center; }
.article__cover { max-width: 1040px; margin: 0 auto 56px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.article__cover img { width: 100%; }
.prose { max-width: 720px; margin: 0 auto; font-size: 1.12rem; line-height: 1.8; color: #d6d6f0; }
.prose h2 { font-size: 1.8rem; margin: 2em 0 .6em; color: var(--text); }
.prose h3 { font-size: 1.35rem; margin: 1.8em 0 .5em; color: var(--text); }
.prose a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .4em 0; }
.prose blockquote { margin: 1.6em 0; padding: 4px 24px; border-left: 3px solid var(--orange); color: var(--text); font-style: italic; }
.prose img { border-radius: var(--radius); margin: 1.6em auto; }
.prose code { background: var(--surface-2); padding: .15em .4em; border-radius: 6px; font-size: .9em; }
.prose pre { background: #070718; padding: 20px; border-radius: var(--radius); overflow-x: auto; border: 1px solid var(--border); }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: .95em; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 3em 0; }
.share { max-width: 720px; margin: 56px auto 0; padding-top: 28px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.share__links { display: flex; gap: 10px; flex-wrap: wrap; }
.preview-bar { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); z-index: 70; padding: 10px 18px; border-radius: 999px; background: var(--yellow); color: #1a1a1a; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow); white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; }
.preview-bar a { text-decoration: underline; margin-left: 8px; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--yellow), var(--orange), var(--mint)); z-index: 60; }

/* Footer */
.footer__download { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; padding-bottom: 48px; margin-bottom: 56px; border-bottom: 1px solid var(--border); }
.footer__download h3 { font-size: 1.6rem; margin-bottom: 4px; }
.footer__download p { margin: 0; }
.footer__stores { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__stores small { display: block; color: var(--muted); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.footer { border-top: 1px solid var(--border); padding: 56px 0 32px; margin-top: 40px; background: #08081c; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer__grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 18px; }
.footer__grid a:not(.brand) { display: block; padding: 4px 0; color: #cfcfe8; font-size: .95rem; }
.footer__grid a:not(.brand):hover { color: #fff; }
.footer__brand p { color: var(--muted); margin-top: 16px; max-width: 300px; }
.social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: #cfcfe8; transition: background .2s, color .2s, transform .2s; }
.social a:hover { background: var(--indigo); color: #fff; transform: translateY(-2px); }
.social svg { width: 18px; height: 18px; }
.footer__grid p.muted { font-size: .9rem; margin-top: 10px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--border); margin-top: 56px; padding-top: 24px; color: var(--muted); font-size: .9rem; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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