/*
 * EqraPlus marketing site
 * Dark-hero / light-content layout with a purple brand accent.
 */

:root {
    --brand-50: #f5f0ff;
    --brand-100: #ede5ff;
    --brand-200: #dcceff;
    --brand-300: #c4a8ff;
    --brand-400: #a675ff;
    --brand-500: #8c52ff;
    --brand-600: #7a30f7;
    --brand-700: #6b21e3;
    --brand-800: #5a1abf;

    --night-950: #050a12;
    --night-900: #0a141e;
    --night-800: #11202d;
    --night-700: #1c2f3e;
    --night-600: #2b4152;

    --mist-200: #dbe2e4;
    --mist-300: #c1cdd0;
    --mist-400: #abbcc8;
    --mist-500: #8fa1ad;

    --cream-50: #f7f8f7;
    --cream-100: #edf0ef;
    --cream-200: #e3e7e6;
    --cream-300: #d3d9d8;

    --amber-100: #fef3d8;
    --amber-500: #f59e0b;
    --green-100: #e6f8ee;
    --green-500: #22c55e;
    --blue-100: #e5efff;
    --blue-500: #2f6fed;
    --rose-100: #ffe4e6;
    --rose-500: #e11d48;

    --font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-hand: "Caveat", cursive;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --container: 1240px;
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--night-900);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--brand-400); outline-offset: 3px; border-radius: 6px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    padding: 10px 16px; border-radius: var(--radius-sm);
    background: var(--brand-500); color: #fff; font-weight: 600;
    transition: top .2s;
}
.skip-link:focus { top: 16px; }

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

/* ---------- Typography helpers ---------- */

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand-600);
}
.eyebrow::before {
    content: "";
    width: 22px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}
.eyebrow--light { color: var(--brand-300); }

.h-display {
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.035em;
}
.h-section {
    font-size: clamp(1.9rem, 3.6vw, 2.75rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.03em;
}
.lead { font-size: 1.075rem; line-height: 1.7; color: var(--night-700); }
.text-accent { color: var(--brand-300); }
.handwritten { font-family: var(--font-hand); font-weight: 600; }

/* ---------- Buttons & chips ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: var(--brand-500);
    color: #fff;
    box-shadow: 0 10px 30px -10px rgba(140, 82, 255, .7);
}
.btn-primary:hover { background: var(--brand-600); }

.btn-ghost-light { border-color: rgba(255, 255, 255, .25); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ghost-light:hover { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); }

.btn-ghost-dark { border-color: var(--cream-300); color: var(--night-900); background: #fff; }
.btn-ghost-dark:hover { border-color: var(--night-900); }

.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
}
.chip svg { width: 12px; height: 12px; }
.chip-new { background: var(--brand-100); color: var(--brand-700); }
.chip-live { background: var(--green-100); color: #15803d; }
.chip-accent { background: #fde68a; color: #713f12; }

/* ---------- Reveal animation ---------- */

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .net-pulse, .net-path { animation: none !important; }
}

/* ---------- Header ---------- */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    height: var(--header-h);
    transition: background-color .3s, border-color .3s, backdrop-filter .3s;
    border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
.site-header.is-solid {
    background: rgba(10, 20, 30, .85);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom-color: rgba(255, 255, 255, .08);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 100%;
}
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }

.nav { display: none; }
.nav ul { display: flex; gap: 4px; }
.nav a {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: var(--mist-300);
    transition: color .2s, background-color .2s;
}
.nav a:hover,
.nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .06); }

.header-actions { display: none; align-items: center; gap: 8px; }
.header-actions .link { padding: 8px 12px; font-size: 15px; font-weight: 600; color: #fff; }
.header-actions .link:hover { color: var(--brand-300); }

.menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    background: transparent;
    color: #fff;
}
.menu-toggle svg { width: 22px; height: 22px; }

.mobile-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 49;
    padding: 24px;
    background: var(--night-900);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; transform: none; visibility: visible; }
.mobile-nav ul { display: grid; gap: 4px; }
.mobile-nav ul a {
    display: block;
    padding: 14px 4px;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.mobile-nav__actions { display: grid; gap: 12px; margin-top: 28px; }
body.nav-open { overflow: hidden; }

@media (min-width: 1024px) {
    .nav, .header-actions { display: flex; }
    .menu-toggle, .mobile-nav { display: none; }
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(60rem 40rem at 80% 20%, rgba(140, 82, 255, .28), transparent 60%),
        radial-gradient(40rem 30rem at 0% 100%, rgba(47, 111, 237, .14), transparent 60%),
        var(--night-900);
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, #000 30%, transparent 90%);
    -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 90%);
    pointer-events: none;
}
.hero__net {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: none;
    opacity: .9;
    pointer-events: none;
}
@media (min-width: 1024px) { .hero__net { display: block; } }
.hero__inner {
    position: relative;
    display: grid;
    gap: 56px;
    align-items: center;
    padding-top: calc(var(--header-h) + 56px);
    padding-bottom: 72px;
}
.hero__copy { max-width: 640px; }
.hero__copy .h-display { margin-top: 20px; }
.hero__tagline { margin-top: 24px; font-size: 1.2rem; font-weight: 600; }
.hero__text { margin-top: 12px; max-width: 560px; font-size: 1.075rem; line-height: 1.7; color: var(--mist-300); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin-top: 36px;
    font-size: 14px;
    color: var(--mist-400);
}
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 16px; height: 16px; color: var(--green-500); }

.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__glow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 28rem;
    height: 28rem;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(140, 82, 255, .25);
    filter: blur(70px);
}
.hero__note {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    display: none;
    width: 220px;
    color: #fff;
}
.hero__note p { font-size: 28px; line-height: 1.05; }
.hero__note .chip { margin-top: 10px; }
.hero__note svg.arrow { width: 90px; height: 60px; margin-top: 6px; color: var(--brand-300); }

@media (min-width: 1024px) {
    .hero__inner { grid-template-columns: 1.05fr 1fr; padding-top: calc(var(--header-h) + 72px); padding-bottom: 0; }
    .hero__copy { padding-bottom: 110px; }
    .hero__visual { justify-content: flex-start; padding-left: 24px; }
    .hero__note { display: block; }
    .phone { margin-bottom: -150px; }
}

/* ---------- Phone mockup ---------- */

.phone {
    position: relative;
    z-index: 2;
    width: 300px;
    padding: 11px;
    border-radius: 46px;
    background: linear-gradient(145deg, #1b2733, #05090e);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, .08) inset,
        0 50px 100px -30px rgba(0, 0, 0, .8),
        0 30px 60px -30px rgba(140, 82, 255, .5);
}
.phone__island {
    position: absolute;
    top: 20px;
    left: 50%;
    z-index: 3;
    width: 88px;
    height: 24px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #000;
}
.phone__screen {
    overflow: hidden;
    height: 600px;
    border-radius: 36px;
    background: #f6f4fb;
    color: var(--night-900);
    font-size: 12px;
}
.app-top {
    padding: 50px 16px 30px;
    border-radius: 0 0 22px 22px;
    background: linear-gradient(180deg, #7a3cf6, #5a1abf);
    color: #fff;
}
.app-top__row { display: flex; align-items: flex-start; justify-content: space-between; }
.app-top small { display: block; font-size: 10px; opacity: .85; }
.app-top strong { font-size: 15px; }
.app-avatar {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    font-size: 11px;
    font-weight: 700;
}
.app-balance { margin-top: 18px; }
.app-balance small { font-size: 10px; }
.app-balance strong { display: block; margin-top: 2px; font-size: 22px; letter-spacing: -.02em; }
.app-balance span { font-size: 10px; opacity: .8; }

.app-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: -18px 12px 0;
    padding: 12px 8px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 24px -14px rgba(10, 20, 30, .35);
    text-align: center;
}
.app-actions i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin: 0 auto 4px;
    border-radius: 11px;
    background: var(--brand-50);
    color: var(--brand-600);
    font-style: normal;
}
.app-actions i svg { width: 16px; height: 16px; }
.app-actions span { font-size: 9.5px; font-weight: 600; color: var(--night-700); }

.app-section { margin: 14px 12px 0; }
.app-section__head { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; }
.app-section__head span { color: var(--brand-600); font-weight: 600; }

.app-card {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 10px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 16px -12px rgba(10, 20, 30, .4);
}
.app-card__icon {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-weight: 800;
}
.app-card__icon svg { width: 16px; height: 16px; }
.app-card__body { flex: 1; min-width: 0; }
.app-card__body strong { display: block; font-size: 11.5px; }
.app-card__body small { font-size: 10px; color: var(--night-600); }
.app-card__meta { font-size: 11px; font-weight: 800; }

.app-progress { height: 5px; margin-top: 5px; border-radius: 99px; background: var(--brand-100); overflow: hidden; }
.app-progress span { display: block; height: 100%; border-radius: inherit; background: var(--brand-500); }

.app-float {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 10px;
    border-radius: 16px;
    background: #fff;
    color: var(--night-900);
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .55);
    font-size: 12px;
}
.app-float strong { display: block; font-size: 12.5px; }
.app-float small { color: var(--night-600); }
.app-float--sms { display: none; }
@media (min-width: 1024px) { .app-float--sms { display: flex; left: 270px; top: 322px; } }

/* ---------- Stats strip ---------- */

.stats {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, .08);
    background: var(--night-900);
    color: #fff;
}
.stats dl {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
    padding: 28px 0;
}
.stats div { padding: 14px 12px; text-align: center; }
.stats dt { order: 2; margin-top: 6px; font-size: 14px; color: var(--mist-400); }
.stats dd { margin: 0; font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 700; letter-spacing: -.03em; }
.stats div { display: flex; flex-direction: column; }
@media (min-width: 768px) {
    .stats dl { grid-template-columns: repeat(4, 1fr); padding: 36px 0; }
    .stats div + div { border-left: 1px solid rgba(255, 255, 255, .1); }
}
@media (max-width: 767px) {
    .stats div:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .1); }
    .stats div:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .1); }
}

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section--cream { background: var(--cream-50); }
.section--dark { position: relative; overflow: hidden; background: var(--night-900); color: #fff; }
.section--dark .lead { color: var(--mist-300); }
@media (min-width: 1024px) { .section { padding: 112px 0; } }

.section-head {
    display: grid;
    gap: 20px;
    align-items: end;
}
.section-head .h-section { margin-top: 14px; }
@media (min-width: 1024px) {
    .section-head { grid-template-columns: 5fr 5fr 2fr; gap: 48px; }
    .section-head__cta { justify-self: end; }
}
.section-head.section-head--center { display: block; max-width: 720px; margin: 0 auto; text-align: center; }
.section-head--center .lead { margin-top: 18px; }

/* ---------- Feature grid ---------- */

.features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
    margin-top: 56px;
}
@media (min-width: 768px) { .features { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .features { grid-template-columns: repeat(4, 1fr); gap: 48px 32px; margin-top: 72px; } }

.feature__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
}
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { margin-top: 18px; font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.feature p { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--night-600); }

.tone-brand { background: var(--brand-100); color: var(--brand-600); }
.tone-amber { background: var(--amber-100); color: var(--amber-500); }
.tone-green { background: var(--green-100); color: #16a34a; }
.tone-blue  { background: var(--blue-100); color: var(--blue-500); }
.tone-rose  { background: var(--rose-100); color: var(--rose-500); }

/* ---------- Module cards ---------- */

.modules {
    display: grid;
    gap: 16px;
    margin-top: 56px;
}
@media (min-width: 640px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .modules { grid-template-columns: repeat(4, 1fr); margin-top: 64px; } }

.module {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px;
    border: 1px solid var(--cream-200);
    border-radius: var(--radius);
    background: #fff;
    transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.module:hover {
    border-color: var(--brand-200);
    box-shadow: 0 24px 48px -28px rgba(90, 26, 191, .35);
    transform: translateY(-3px);
}
.module__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.module h3 { font-size: 17px; font-weight: 700; }
.module p { font-size: 14px; line-height: 1.6; color: var(--night-600); }
.module__meta { margin-top: auto; font-size: 12.5px; font-weight: 600; color: var(--mist-500); }
.modules__foot { margin-top: 28px; font-size: 14px; color: var(--night-600); text-align: center; }

/* ---------- Audience ("Built for") ---------- */

.audience-grid {
    display: grid;
    gap: 48px;
}
@media (min-width: 1024px) { .audience-grid { grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; } }
.audience-grid .h-section { margin-top: 14px; }
.audience-grid .lead { margin-top: 18px; max-width: 420px; }
.audience-grid .btn { margin-top: 30px; }

.audiences { display: grid; gap: 16px; }
@media (min-width: 640px) { .audiences { grid-template-columns: repeat(2, 1fr); } }

.audience {
    display: flex;
    flex-direction: column;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    backdrop-filter: blur(6px);
    transition: border-color .25s, background-color .25s;
}
.audience:hover { border-color: rgba(196, 168, 255, .45); }
.audience__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 14px;
    background: rgba(255, 255, 255, .05);
    color: var(--brand-300);
}
.audience__icon svg { width: 22px; height: 22px; }
.audience h3 { margin-top: 20px; font-size: 19px; font-weight: 700; }
.audience p { margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: var(--mist-300); }
.audience ul { display: grid; gap: 8px; margin-top: 18px; font-size: 14px; color: #fff; }
.audience li { display: flex; gap: 10px; }
.audience li svg { flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; color: var(--brand-300); }

.section--dark .orb {
    position: absolute;
    width: 36rem;
    height: 36rem;
    border-radius: 50%;
    background: rgba(140, 82, 255, .18);
    filter: blur(90px);
    pointer-events: none;
}

/* ---------- Steps ---------- */

.steps {
    display: grid;
    gap: 16px;
    margin-top: 56px;
    counter-reset: step;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step {
    position: relative;
    padding: 30px 26px;
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-lg);
    background: #fff;
}
.step__num {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--night-900);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}
.step h3 { margin-top: 22px; font-size: 19px; font-weight: 700; }
.step p { margin-top: 10px; font-size: 14.5px; line-height: 1.7; color: var(--night-600); }

/* ---------- Pricing ---------- */

.billing-toggle {
    display: inline-flex;
    gap: 4px;
    margin-top: 28px;
    padding: 4px;
    border: 1px solid var(--cream-300);
    border-radius: 999px;
    background: #fff;
}
.billing-toggle button {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--night-600);
    transition: background-color .2s, color .2s;
}
.billing-toggle button[aria-pressed="true"] { background: var(--night-900); color: #fff; }
.billing-toggle .chip { margin-left: 6px; }

.plans {
    display: grid;
    gap: 20px;
    margin-top: 48px;
}
@media (min-width: 960px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }

.plan {
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-lg);
    background: #fff;
}
.plan--featured {
    position: relative;
    border-color: transparent;
    background: var(--night-900);
    color: #fff;
    box-shadow: 0 40px 80px -40px rgba(90, 26, 191, .6);
}
.plan--featured::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(160deg, var(--brand-400), transparent 55%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan__name { font-size: 18px; font-weight: 700; }
.plan__tagline { margin-top: 6px; font-size: 14px; color: var(--night-600); }
.plan--featured .plan__tagline, .plan--featured .plan__price small, .plan--featured .plan__desc { color: var(--mist-300); }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 26px; }
.plan__price strong { font-size: 40px; font-weight: 800; letter-spacing: -.035em; }
.plan__price small { font-size: 14px; color: var(--night-600); }
.plan__desc { margin-top: 10px; font-size: 14px; line-height: 1.65; color: var(--night-600); }
.plan ul { display: grid; gap: 12px; margin: 26px 0 30px; font-size: 14.5px; }
.plan li { display: flex; gap: 10px; }
.plan li svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; color: var(--brand-500); }
.plan--featured li svg { color: var(--brand-300); }
.plan .btn { margin-top: auto; }
[data-cycle-panel][hidden] { display: none; }

/* ---------- Partners ---------- */

.partners {
    display: grid;
    gap: 20px;
    margin-top: 48px;
}
@media (min-width: 900px) { .partners { grid-template-columns: repeat(2, 1fr); } }
.partner {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 30px;
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-lg);
    background: #fff;
    transition: border-color .2s, box-shadow .25s var(--ease);
}
a.partner:hover { border-color: var(--brand-300); box-shadow: 0 24px 48px -30px rgba(90, 26, 191, .35); }
.partner__role { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand-600); }
.partner h3 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.partner p { font-size: 15px; line-height: 1.7; color: var(--night-600); }
.partner__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-600);
}
.partner__link svg { width: 14px; height: 14px; }

/* ---------- Download CTA ---------- */

.cta {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(40rem 24rem at 90% 0%, rgba(140, 82, 255, .45), transparent 60%),
        radial-gradient(30rem 20rem at 0% 100%, rgba(47, 111, 237, .25), transparent 60%),
        var(--night-950);
}
.cta__inner {
    display: grid;
    gap: 36px;
    align-items: center;
    padding: 72px 0;
}
@media (min-width: 1024px) { .cta__inner { grid-template-columns: 6fr 5fr; gap: 48px; padding: 80px 0; } }
.cta__sub { margin-top: 10px; font-size: 1.1rem; color: var(--mist-300); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.cta__list { display: grid; gap: 16px; }
@media (min-width: 560px) { .cta__list { grid-template-columns: repeat(2, 1fr); } }
.cta__list li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.cta__list span {
    display: grid;
    flex-shrink: 0;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
}
.cta__list svg { width: 17px; height: 17px; }

/* ---------- Store badges ---------- */

.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 8px 18px 8px 14px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 14px;
    background: #000;
    color: #fff;
    transition: border-color .2s, transform .2s var(--ease);
}
.store-badge:hover { border-color: rgba(255, 255, 255, .55); transform: translateY(-1px); }
.store-badge svg { width: 24px; height: 24px; flex-shrink: 0; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.1; }
.store-badge small { font-size: 10.5px; opacity: .85; }
.store-badge strong { margin-top: 2px; font-size: 16px; font-weight: 600; }
.site-footer__apps .store-badges { margin-top: 20px; }
.site-footer__apps .store-badge { min-height: 46px; border-color: var(--night-900); }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--header-h) + 64px) 0 72px;
    color: #fff;
    background:
        radial-gradient(50rem 30rem at 85% 0%, rgba(140, 82, 255, .3), transparent 60%),
        var(--night-900);
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(to bottom, #000, transparent);
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
}
.page-hero .container { position: relative; }
.page-hero .h-display { margin-top: 18px; font-size: clamp(2.3rem, 5vw, 3.75rem); }
.page-hero .lead { margin-top: 18px; max-width: 640px; color: var(--mist-300); }
.crumbs { display: flex; gap: 8px; font-size: 14px; color: var(--mist-400); }
.crumbs a:hover { color: #fff; }

/* ---------- Split content (about) ---------- */

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } }
.split .h-section { margin-top: 14px; }
.split .lead { margin-top: 18px; }
.checklist { display: grid; gap: 12px; margin-top: 26px; }
@media (min-width: 560px) { .checklist { grid-template-columns: repeat(2, 1fr); } }
.checklist li { display: flex; gap: 10px; font-size: 15px; font-weight: 500; }
.checklist svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--brand-500); }
.media-frame {
    overflow: hidden;
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-lg);
    background: var(--brand-50);
}
.media-frame img { width: 100%; height: auto; }

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.contact-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 26px;
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-lg);
    background: #fff;
}
.contact-card .feature__icon { margin-bottom: 12px; }
.contact-card small { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mist-500); }
.contact-card a, .contact-card span { font-size: 16px; font-weight: 600; word-break: break-word; }
.contact-card a:hover { color: var(--brand-600); }
.map-frame {
    overflow: hidden;
    margin-top: 24px;
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-lg);
}
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Forms ---------- */

.card-form {
    padding: 32px;
    border: 1px solid var(--cream-200);
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: 0 30px 60px -40px rgba(10, 20, 30, .25);
}
.form-grid { display: grid; gap: 18px; margin-top: 24px; }
@media (min-width: 640px) { .form-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.field input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--cream-300);
    border-radius: 12px;
    background: #fff;
    font: inherit;
    color: inherit;
    transition: border-color .2s, box-shadow .2s;
}
.field input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px var(--brand-100); }
.check { display: flex; gap: 12px; font-size: 14px; line-height: 1.6; color: var(--night-700); }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand-500); flex-shrink: 0; }
.req { color: var(--rose-500); }
.alert { margin-top: 20px; padding: 16px 18px; border-radius: 14px; font-size: 14.5px; }
.alert strong { display: block; margin-bottom: 4px; }
.alert--success { background: var(--green-100); color: #14532d; }
.alert--error { background: var(--rose-100); color: #881337; }
.alert[hidden] { display: none; }

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--cream-300); background: #fff; color: var(--night-700); }
.site-footer__top {
    display: grid;
    gap: 40px;
    padding: 56px 0 40px;
}
@media (min-width: 900px) { .site-footer__top { grid-template-columns: 5fr 2fr 2fr 3fr; gap: 32px; } }
.site-footer .brand img { height: 32px; }
.site-footer__about { margin-top: 18px; max-width: 360px; font-size: 14.5px; line-height: 1.7; }
.site-footer h4 { margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--night-900); }
.site-footer ul { display: grid; gap: 10px; font-size: 14.5px; }
.site-footer ul a:hover { color: var(--brand-600); }
.site-footer__social { display: flex; gap: 8px; margin-top: 22px; }
.site-footer__social a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--cream-300);
    border-radius: 50%;
    transition: border-color .2s, color .2s;
}
.site-footer__social a:hover { border-color: var(--brand-500); color: var(--brand-600); }
.site-footer__social svg { width: 16px; height: 16px; }
.site-footer__legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px 0 30px;
    border-top: 1px solid var(--cream-200);
    font-size: 13.5px;
    color: var(--night-600);
}
.site-footer__legal a { font-weight: 600; color: var(--night-900); }
.site-footer__legal a:hover { color: var(--brand-600); }
@media (min-width: 900px) { .site-footer__legal { flex-direction: row; justify-content: space-between; } }

/* ---------- Network lines (hero SVG) ---------- */

.net-path {
    stroke-dasharray: 6 8;
    animation: net-dash 22s linear infinite;
}
.net-pulse {
    transform-box: fill-box;
    transform-origin: center;
    animation: net-pulse 2.4s ease-out infinite;
}
@keyframes net-dash { to { stroke-dashoffset: -280; } }
@keyframes net-pulse {
    0% { transform: scale(1); opacity: .6; }
    100% { transform: scale(3.2); opacity: 0; }
}
