/* Tasklio — public landing + legal pages */

.landing { overflow-x: hidden; }
.landing section, .lp-footer { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.ico { width: 20px; height: 20px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.btn .ico { width: 16px; height: 16px; }

/* ---- Sticky glass nav ---- */
.lp-nav { position: sticky; top: 0; z-index: 50; width: 100%;
    background: var(--bg-page);
    background: color-mix(in srgb, var(--bg-page) 92%, transparent);
    border-bottom: 1px solid var(--stroke-soft-200); }
.lp-nav-inner { max-width: 1120px; margin-inline: auto; padding: 0 24px; height: 64px;
    display: flex; align-items: center; gap: 24px; }
.lp-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; }
.lp-logo { height: 30px; width: auto; display: block; }
.lp-logo--light { display: none; }
[data-theme="light"] .lp-logo--dark { display: none; }
[data-theme="light"] .lp-logo--light { display: block; }
.lp-nav-links { display: flex; align-items: center; gap: 24px; margin-right: auto; }
.lp-nav-links > a { position: relative; color: var(--text-sub-600); font-weight: 500; font-size: 14px; }
.lp-nav-links > a:hover { color: var(--text-strong-950); }
.lp-nav-links > a::after { content: ''; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
    background: var(--accent); border-radius: 2px; transition: width .2s ease; }
.lp-nav-links > a:hover::after { width: 100%; }

.nav-controls { display: flex; align-items: center; gap: 10px; }
.nav-ctl { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 11px;
    border: 1px solid var(--stroke-soft-200); border-radius: 9px; background: var(--bg-white-0);
    color: var(--text-sub-600); font-size: 13px; font-weight: 600;
    transition: border-color .15s, color .15s, background .15s; }
.nav-ctl:hover { border-color: var(--stroke-sub-300); color: var(--text-strong-950); }
.nav-ctl .ico { width: 16px; height: 16px; }
.nav-ctl-icon { width: 36px; padding: 0; justify-content: center; }
.nav-ctl-icon .theme-ico { font-size: 15px; }
.lang-trigger .ico:last-child { transition: transform .2s; opacity: .7; }
.lang-select.is-open .lang-trigger .ico:last-child { transform: rotate(180deg); }
.nav-login { color: var(--text-sub-600); font-weight: 500; font-size: 14px; padding: 0 4px; }
.nav-login:hover { color: var(--text-strong-950); }

/* Language dropdown */
.lang-select { position: relative; }
.lang-menu { position: absolute; top: calc(100% + 8px); right: 0; z-index: 60; min-width: 190px; padding: 6px;
    border-radius: 12px; background: var(--bg-white-0); border: 1px solid var(--stroke-soft-200); box-shadow: var(--shadow-pop);
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.lang-select.is-open .lang-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px; border-radius: 8px;
    color: var(--text-sub-600); font-size: 14px; font-weight: 500; }
.lang-item:hover { background: var(--bg-sub-300); color: var(--text-strong-950); }
.lang-item.is-active { color: var(--accent); }
.lang-abbr { font-size: 11px; font-weight: 700; color: var(--text-soft-400); }
.lang-item.is-active .lang-abbr { color: var(--accent); }

/* ---- Hero (scroll-pinned) ---- */
.hero-pin-wrap { position: relative; height: 185vh; }          /* extra height = pinned scrub distance */
.hero-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; --sy: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 24px 0; }
.lp-hero-glow { position: absolute; top: 8%; left: 50%; transform: translateX(-50%);
    width: 760px; height: 420px; background: radial-gradient(closest-side, #6c47ff26, transparent 70%);
    filter: blur(30px); z-index: 0; }
.hero-copy { position: relative; z-index: 4; text-align: center; max-width: 820px;
    opacity: calc(1 - var(--sy) * 0.5); transform: translateY(calc(var(--sy) * -26px)); }
.lp-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px; border-radius: var(--r-full);
    background: var(--bg-sub-300); border: 1px solid var(--stroke-soft-200);
    font-size: 13px; color: var(--text-sub-600); margin-bottom: 22px; }
.lp-pill .ico { width: 15px; height: 15px; color: var(--accent); }
.hero-copy h1 { font-size: 52px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.06; max-width: 760px; margin: 0 auto; }
.lp-sub { max-width: 600px; margin: 20px auto 0; font-size: 18px; color: var(--text-sub-600); line-height: 1.6; }
.lp-cta { display: flex; gap: 12px; justify-content: center; margin-top: 28px; }
.lp-cta .btn { height: 48px; padding: 0 24px; }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
    color: var(--text-soft-400); font-size: 12px; opacity: calc(1 - var(--sy) * 2); }

/* ---- Hero stage: WIDE flat app mockup + flanking feature cards ---- */
.hero-stage { position: relative; z-index: 3; width: 100%; max-width: 1320px; height: 500px; margin-top: 34px; }
.hero-feats { position: absolute; top: 50%; width: 224px; display: flex; flex-direction: column; gap: 14px; z-index: 3; will-change: transform, opacity; }
.hero-feats-l { left: 0;  transform: translateY(-50%) translateX(calc((1 - var(--sy)) * 300px)) rotate(calc((1 - var(--sy)) * -4deg)); opacity: calc(var(--sy) * 1.6); }
.hero-feats-r { right: 0; transform: translateY(-50%) translateX(calc((1 - var(--sy)) * -300px)) rotate(calc((1 - var(--sy)) * 4deg)); opacity: calc(var(--sy) * 1.6); }
.hf-item { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 14px;
    background: color-mix(in srgb, var(--bg-white-0) 92%, transparent);
    border: 1px solid var(--stroke-soft-200); border-radius: 14px;
    box-shadow: 0 18px 44px #00000042, inset 0 1px 0 #ffffff0f;
    will-change: transform; animation: hf-float 6s ease-in-out infinite; animation-delay: calc(var(--i) * -2s); }
.hf-item:hover { transform: translateY(-4px) scale(1.02) !important; animation-play-state: paused;
    border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
@keyframes hf-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.hf-item b { font-size: 14px; } .hf-item p { margin-top: 3px; line-height: 1.4; }
.hf-ico { display: inline-grid; place-content: center; width: 34px; height: 34px; border-radius: 9px; background: #6c47ff1a; color: var(--accent); flex-shrink: 0; }
.hf-ico .ico { width: 18px; height: 18px; }

.hero-app { position: absolute; left: 50%; top: 0; z-index: 2;
    width: min(880px, 90vw); height: 490px; display: flex; overflow: hidden;
    background: var(--bg-white-0); border: 1px solid var(--stroke-soft-200); border-radius: 16px;
    box-shadow: 0 50px 130px #00000075; will-change: transform;
    transform: translateX(-50%) translateY(calc(var(--sy) * 84px)) scale(calc(1 + var(--sy) * 0.04)); }
.hero-app::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 5;
    background: linear-gradient(180deg, #ffffff0f, transparent 14%); border-radius: 16px; }
.ha-rail { width: 52px; background: var(--bg-black); display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 14px 0; }
.ha-logo { display: grid; place-content: center; width: 30px; height: 30px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); }
.ha-logo svg { width: 16px; height: 16px; }
.ha-rico { color: var(--icon-soft-400); } .ha-rico .ico { width: 18px; height: 18px; }
.ha-panel { width: 168px; border-right: 1px solid var(--stroke-soft-200); padding: 14px 12px; display: flex; flex-direction: column; gap: 8px; }
.ha-panel-h { display: flex; justify-content: space-between; font-weight: 600; font-size: 13px; }
.ha-plus { color: var(--text-soft-400); }
.ha-search { height: 28px; border-radius: 7px; background: var(--bg-page); border: 1px solid var(--stroke-soft-200); }
.ha-gt { font-size: 11px; color: var(--text-soft-400); margin-top: 4px; }
.ha-proj { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-sub-600); padding: 6px; border-radius: 7px; }
.ha-proj.on { background: var(--bg-sub-300); color: var(--text-strong-950); }
.ha-dot { width: 7px; height: 7px; border-radius: 50%; }
.ha-star { margin-left: auto; color: var(--accent); font-size: 11px; }
.ha-main { flex: 1; display: flex; flex-direction: column; min-width: 0; background: var(--bg-page); }
.ha-top { height: 44px; border-bottom: 1px solid var(--stroke-soft-200); display: flex; align-items: center; justify-content: space-between; padding: 0 14px; background: var(--bg-white-0); }
.ha-crumb { font-size: 13px; font-weight: 600; }
.ha-me { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); }
.ha-board { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 14px; overflow: hidden; }
.ha-col { display: flex; flex-direction: column; gap: 10px; }
.ha-col-h { font-size: 12px; font-weight: 600; color: var(--text-sub-600); display: flex; gap: 6px; align-items: center; }
.ha-col-h span { background: var(--bg-sub-300); border-radius: var(--r-full); padding: 0 6px; font-size: 11px; }
.ha-card { background: var(--bg-white-0); border: 1px solid var(--stroke-soft-200); border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.ha-card-top { display: flex; }
.ha-tag { font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: var(--r-full); }
.t-red { background: var(--red-a10); color: var(--red-300); }
.t-sky { background: var(--sky-a10); color: var(--sky-500); }
.t-yellow { background: var(--yellow-a10); color: var(--yellow-400); }
.t-purple { background: #cac0ff1a; color: var(--purple-200); }
.ha-card-title { font-size: 12.5px; font-weight: 600; }
.ha-l { height: 6px; border-radius: 3px; background: var(--bg-sub-300); }
.ha-prog { height: 5px; border-radius: 3px; background: var(--bg-sub-300); overflow: hidden; }
.ha-prog span { display: block; height: 100%; background: var(--accent); }
.ha-card-foot { display: flex; }
.ha-av { width: 18px; height: 18px; border-radius: 50%; background: var(--bg-sub-300); border: 2px solid var(--bg-white-0); margin-left: -6px; }
.ha-av:first-child { margin-left: 0; }

/* ---- Sections ---- */
.lp-section { padding-top: 92px; text-align: center; }
.lp-h2 { font-size: 38px; font-weight: 700; letter-spacing: -0.03em; }
.lp-lead { color: var(--text-sub-600); font-size: 17px; margin-top: 10px; }

.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; text-align: left; }
.lp-feature { background: var(--bg-white-0); border: 1px solid var(--stroke-soft-200); border-radius: var(--r-lg); padding: 24px; }
.lp-feature-icon { display: inline-grid; place-content: center; width: 48px; height: 48px; border-radius: 12px; background: #6c47ff1a; color: var(--accent); margin-bottom: 16px; }
.lp-feature-icon .ico { width: 24px; height: 24px; }
.lp-feature h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }

/* ---- Comparison card ---- */
.cmp-card { max-width: 920px; margin: 48px auto 0; background: var(--bg-white-0); border: 1px solid var(--stroke-soft-200);
    border-radius: 20px; padding: 6px 12px; overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; text-align: center; }
.cmp-table th, .cmp-table td { padding: 15px 18px; border-bottom: 1px solid var(--stroke-soft-200); font-size: 14px; }
.cmp-table tbody tr:last-child td { border-bottom: none; }
.cmp-table th { color: var(--text-sub-600); font-weight: 600; }
.cmp-feat { text-align: left; font-weight: 500; }
.cmp-uscol { background: #6c47ff0f; }
.cmp-table thead .cmp-uscol { border-radius: 12px 12px 0 0; }
.cmp-table tbody tr:last-child .cmp-uscol { border-radius: 0 0 12px 12px; }
.cmp-usbadge { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; }
.cmp-usbadge .brand-mark { width: 22px; height: 22px; border-radius: 6px; }
.cmp-usbadge .brand-mark svg { width: 13px; height: 13px; }
.cmp-yes { display: inline-grid; place-content: center; width: 26px; height: 26px; border-radius: 50%; background: #c2f5da1a; color: var(--green-200); }
.cmp-yes .ico { width: 15px; height: 15px; }
.cmp-lim { color: var(--yellow-400); } .cmp-no { color: var(--text-soft-400); }
.cmp-lim .ico, .cmp-no .ico { width: 18px; height: 18px; }
.cmp-txt { color: var(--text-strong-950); font-weight: 500; }
.cmp-price .cmp-uscol b { font-size: 18px; }
.lp-matrix-title { margin-top: 64px; font-size: 20px; font-weight: 600; }
.li-ico { width: 15px; height: 15px; color: var(--accent); }
.lp-plan-features li { display: flex; align-items: center; gap: 8px; }

/* ---- Pricing spacing ---- */
.lp-pricing { margin-top: 48px; padding: 24px 12px; overflow: hidden; text-align: left; }

/* ---- Testimonials marquee (two opposite rows) ---- */
.marquee { margin: 52px 0 32px; display: flex; flex-direction: column; gap: 22px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.mq-row { overflow: hidden; }
.mq-track { display: flex; gap: 18px; width: max-content; animation: mq-left 60s linear infinite; }
.mq-row.rev .mq-track { animation: mq-right 60s linear infinite; }
.mq-row:hover .mq-track { animation-play-state: paused; }
@keyframes mq-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mq-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.mq-card { flex: 0 0 auto; width: 344px; height: 148px; display: flex; flex-direction: column; justify-content: center;
    text-align: left; padding: 20px 22px; background: var(--bg-white-0); border: 1px solid var(--stroke-soft-200); border-radius: 14px; }
.mq-card blockquote { font-size: 14.5px; line-height: 1.5; margin-bottom: 10px; letter-spacing: -0.01em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---- Final CTA ---- */
.lp-final { padding: 100px 24px; }
.cta-card { position: relative; max-width: 860px; margin: 0 auto; text-align: center; overflow: hidden;
    background:
        radial-gradient(130% 130% at 50% -30%, #6c47ff1a, transparent 55%),
        linear-gradient(180deg, var(--bg-white-0), var(--bg-page));
    border: 1px solid var(--stroke-soft-200); border-radius: 28px; padding: 66px 32px;
    box-shadow: var(--shadow-pop), inset 0 1px 0 #ffffff0f; }
.cta-glow { position: absolute; top: -160px; left: 50%; transform: translateX(-50%); width: 680px; height: 380px;
    background: radial-gradient(closest-side, #6c47ff33, transparent 85%); filter: blur(54px); opacity: .85; pointer-events: none; }
.cta-card h2 { position: relative; font-size: 44px; font-weight: 700; letter-spacing: -0.035em; }
.cta-card .lp-lead { position: relative; max-width: 560px; margin: 14px auto 0; }

/* ---- Premium polish ---- */
body.landing { position: relative; background: radial-gradient(1100px 500px at 50% -160px, #6c47ff0d, transparent 72%), var(--bg-page); }
.hero-copy h1, .lp-h2, .lp-final h2, .cta-card h2 {
    background: var(--title-grad); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.lp-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.lp-plan.is-popular { transform: translateY(-8px) scale(1.02);
    box-shadow: 0 0 0 1px var(--accent), 0 30px 70px #6c47ff24; }
.mq-stars { color: var(--accent); font-size: 13px; letter-spacing: 3px; margin-bottom: 12px; }
.lp-feature { transition: border-color .2s, transform .2s; }
.lp-feature:hover { border-color: var(--stroke-sub-300); transform: translateY(-3px); }

/* ---- "Wow" layer ---- */
/* Dotted grid — absolute (scrolls with page, no fixed-line artifact), soft-faded */
.landing::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1500px; z-index: 0; pointer-events: none;
    background-image: radial-gradient(circle, var(--grid-dot) 1px, transparent 1px); background-size: 30px 30px;
    -webkit-mask-image: radial-gradient(120% 70% at 50% -5%, #000 0%, transparent 60%);
    mask-image: radial-gradient(120% 70% at 50% -5%, #000 0%, transparent 60%); }
.landing > *:not([data-nav]) { position: relative; z-index: 1; }

.hero-aurora { position: absolute; z-index: 0; top: -8%; left: 50%; width: 960px; height: 600px;
    transform: translateX(-50%); pointer-events: none; filter: blur(80px); opacity: .3; will-change: transform;
    background:
        radial-gradient(closest-side, #6c47ff2e, transparent 72%) 30% 42% / 62% 62% no-repeat,
        radial-gradient(closest-side, #47c2ff1c, transparent 72%) 72% 32% / 55% 55% no-repeat,
        radial-gradient(closest-side, #cac0ff1c, transparent 72%) 52% 70% / 58% 58% no-repeat;
    animation: aurora 22s ease-in-out infinite alternate; }
@keyframes aurora { from { transform: translateX(-50%) scale(1) rotate(0deg); }
    to { transform: translateX(-50%) scale(1.12) rotate(7deg); } }

.ha-card-foot .ha-av:nth-child(1) { background: linear-gradient(135deg, #6c47ff, #ff97a0); }
.ha-card-foot .ha-av:nth-child(2) { background: linear-gradient(135deg, #47c2ff, #cac0ff); }
.ha-card-foot .ha-av:nth-child(3) { background: linear-gradient(135deg, #c2f5da, #dff589); }

.lp-features .lp-feature:nth-child(1) .lp-feature-icon { background: linear-gradient(135deg, #6c47ff26, #ff97a026); color: var(--accent); }
.lp-features .lp-feature:nth-child(2) .lp-feature-icon { background: linear-gradient(135deg, #47c2ff26, #cac0ff26); color: var(--sky-500); }
.lp-features .lp-feature:nth-child(3) .lp-feature-icon { background: linear-gradient(135deg, #cac0ff26, #ff97a026); color: var(--purple-200); }
.lp-features .lp-feature:nth-child(4) .lp-feature-icon { background: linear-gradient(135deg, #c2f5da26, #dff58926); color: var(--green-200); }
.lp-features .lp-feature:nth-child(5) .lp-feature-icon { background: linear-gradient(135deg, #ff97a026, #6c47ff26); color: var(--red-300); }
.lp-features .lp-feature:nth-child(6) .lp-feature-icon { background: linear-gradient(135deg, #ffe09726, #6c47ff26); color: var(--yellow-400); }

.lp-trusted { max-width: 1120px; margin: 26px auto 0; padding: 0 24px; text-align: center; }
.lp-trusted-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft-400); margin-bottom: 18px; }
.lp-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; }
.lp-logos span { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; color: var(--text-sub-600); opacity: .65; transition: opacity .2s, color .2s; }
.lp-logos span:hover { opacity: 1; color: var(--text-strong-950); }

.lp-nav-links > a:not(.btn):not(.lp-lang) { position: relative; }
.lp-nav-links > a:not(.btn):not(.lp-lang)::after { content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
    background: var(--accent); border-radius: 2px; transition: width .2s ease; }
.lp-nav-links > a:not(.btn):not(.lp-lang):hover::after { width: 100%; }

/* ---- Footer ---- */
.lp-footer { position: relative; overflow: hidden; margin-top: 60px; border-top: 1px solid var(--stroke-soft-200);
    background: linear-gradient(180deg, transparent, #6c47ff07); }
.lp-foot-top { display: grid; grid-template-columns: 1.5fr 2fr; gap: 40px; padding: 56px 0 44px; }
.lp-foot-brand .lp-brand { margin-bottom: 14px; }
.lp-foot-brand p { max-width: 300px; line-height: 1.6; font-size: 14px; }
.lp-socials { display: flex; gap: 10px; margin-top: 20px; }
.lp-socials a { display: inline-grid; place-content: center; width: 38px; height: 38px; border-radius: 10px;
    border: 1px solid var(--stroke-soft-200); color: var(--text-sub-600); transition: color .2s, background .2s, border-color .2s, transform .2s; }
.lp-socials a:hover { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.lp-socials .ico { width: 18px; height: 18px; }
.lp-foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.lp-foot-col h4 { font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.lp-foot-col a { display: block; color: var(--text-sub-600); font-size: 14px; padding: 6px 0; transition: color .15s; }
.lp-foot-col a:hover { color: var(--accent); }
.lp-foot-bar { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between;
    padding: 22px 0; border-top: 1px solid var(--stroke-soft-200); }
.lp-foot-meta { display: flex; align-items: center; gap: 16px; }
.lp-by { display: inline-flex; align-items: center; gap: 5px; color: var(--text-sub-600); font-size: 13px; font-weight: 600; transition: color .2s; }
.lp-by:hover { color: var(--accent); }
.lp-by .ico { width: 14px; height: 14px; }
.lp-foot-word { position: absolute; left: 0; right: 0; bottom: -36px; text-align: center; pointer-events: none; z-index: 0;
    font-size: 190px; font-weight: 700; letter-spacing: -0.05em; line-height: 1; opacity: .45;
    background: linear-gradient(180deg, var(--stroke-sub-300), transparent 78%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-foot-ed { position: absolute; right: 6%; bottom: 40px; z-index: 0; pointer-events: none;
    font-size: 18px; font-weight: 500; letter-spacing: 0.06em; color: var(--stroke-sub-300); opacity: .22; }

/* ---- Scroll reveal ---- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].reveal-in { opacity: 1; transform: none; }

/* Pricing reveal — Free slides from left, Business from right, Pro pops in the middle */
.lp-plan[data-reveal] { transition: opacity .6s cubic-bezier(.2,.75,.25,1), transform .72s cubic-bezier(.2,.75,.25,1); }
.lp-plan[data-reveal="left"]  { transform: translateX(-64px) scale(.94); }
.lp-plan[data-reveal="right"] { transform: translateX(64px) scale(.94); }
.lp-plan[data-reveal="pop"]   { transform: translateY(30px) scale(.9); }
.lp-plan[data-reveal="left"].reveal-in,
.lp-plan[data-reveal="right"].reveal-in { transform: none; }
/* the popular (Pro) card keeps its raised resting transform after it settles */
.lp-plan.is-popular[data-reveal="pop"] { transform: translateY(30px) scale(.9); }
.lp-plan.is-popular[data-reveal="pop"].reveal-in { transform: translateY(-8px) scale(1.02); }
.lp-plan[data-reveal="pop"] { transition-delay: 0s; }
.lp-plan[data-reveal="left"], .lp-plan[data-reveal="right"] { transition-delay: .16s; }

/* Comparison table — subtle scroll-scrubbed 3D tilt as it passes through the viewport */
.cmp-tilt { transform: perspective(1200px) rotateX(var(--tilt, 0deg)) translateY(var(--drift, 0px)); transform-origin: center; will-change: transform; }
/* Compare — rows stagger up when the section scrolls into view */
#compare .cmp-table tbody tr { opacity: 0; transform: translateY(14px); }
#compare.reveal-in .cmp-table tbody tr { animation: cmpRowIn .55s cubic-bezier(.2,.7,.2,1) forwards; }
#compare.reveal-in .cmp-table tbody tr:nth-child(1) { animation-delay: .06s; }
#compare.reveal-in .cmp-table tbody tr:nth-child(2) { animation-delay: .12s; }
#compare.reveal-in .cmp-table tbody tr:nth-child(3) { animation-delay: .18s; }
#compare.reveal-in .cmp-table tbody tr:nth-child(4) { animation-delay: .24s; }
#compare.reveal-in .cmp-table tbody tr:nth-child(5) { animation-delay: .30s; }
#compare.reveal-in .cmp-table tbody tr:nth-child(6) { animation-delay: .36s; }
#compare.reveal-in .cmp-table tbody tr:nth-child(7) { animation-delay: .42s; }
#compare.reveal-in .cmp-table tbody tr:nth-child(8) { animation-delay: .48s; }
#compare.reveal-in .cmp-table tbody tr:nth-child(n+9) { animation-delay: .54s; }
@keyframes cmpRowIn { to { opacity: 1; transform: none; } }

/* Contact — premium split card */
.contact-wrap { max-width: 1120px; margin: 32px auto 8px; padding: 0 24px; }
.contact-card { display: grid; grid-template-columns: 0.92fr 1.08fr; background: var(--bg-white-0);
    border: 1px solid var(--stroke-soft-200); border-radius: 24px; overflow: hidden; box-shadow: 0 40px 90px rgba(8,8,20,.45); }
.contact-aside { position: relative; overflow: hidden; padding: 40px 38px; color: #fff;
    background: linear-gradient(160deg, #7c5cff 0%, #6c47ff 44%, #4a2fd0 100%); display: flex; flex-direction: column; }
.contact-aside-glow { position: absolute; width: 340px; height: 340px; right: -130px; top: -130px; pointer-events: none;
    background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%); }
.ca-intro { position: relative; font-size: 18px; line-height: 1.55; font-weight: 500; letter-spacing: -0.01em;
    margin-bottom: 28px; color: rgba(255,255,255,.96); }
.ca-methods { position: relative; display: flex; flex-direction: column; gap: 10px; }
.ca-method { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 14px;
    background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.14); transition: background .2s, transform .2s; }
.ca-method:hover { background: rgba(255,255,255,.18); transform: translateX(3px); }
.ca-method-ico { display: inline-grid; place-content: center; width: 40px; height: 40px; flex-shrink: 0;
    border-radius: 11px; background: rgba(255,255,255,.16); color: #fff; }
.ca-method-ico svg { width: 20px; height: 20px; }
.ca-method-body { display: flex; flex-direction: column; line-height: 1.35; }
.ca-method-t { font-weight: 600; font-size: 14px; }
.ca-method-m { font-size: 13px; color: rgba(255,255,255,.82); }
.ca-foot { position: relative; margin-top: auto; padding-top: 24px; }
.ca-reply { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 16px; border-radius: 12px;
    background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); color: #fff; font-size: 13px; }
.ca-reply svg { width: 17px; height: 17px; flex-shrink: 0; }
.ca-reply { display: flex; align-items: center; gap: 9px; font-size: 13px; color: rgba(255,255,255,.9); margin-bottom: 18px; }
.ca-reply svg { width: 17px; height: 17px; flex-shrink: 0; }
.ca-social { display: flex; align-items: center; justify-content: space-between; }
.ca-social-label { font-size: 13px; color: rgba(255,255,255,.82); }
.lp-socials--light a { border-color: rgba(255,255,255,.24); color: #fff; }
.lp-socials--light a:hover { background: #fff; color: var(--accent); border-color: #fff; transform: translateY(-2px); }
.contact-main { padding: 44px; display: flex; flex-direction: column; justify-content: flex-start;
    background:
        radial-gradient(90% 55% at 118% -8%, #6c47ff22, transparent 60%),
        radial-gradient(70% 45% at -12% 112%, #6c47ff12, transparent 60%),
        var(--bg-white-0); }
.contact-main-head { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.contact-main-ico { display: inline-grid; place-content: center; width: 46px; height: 46px; flex-shrink: 0;
    border-radius: 13px; background: linear-gradient(160deg, #8b6dff, #6c47ff); color: #fff; box-shadow: 0 10px 24px #6c47ff40; }
.contact-main-ico svg { width: 22px; height: 22px; }
.contact-main-title { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; }
.contact-main-sub { font-size: 13px; color: var(--text-sub-600); margin-top: 3px; }
.contact-form .field { margin-bottom: 15px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 15px; }
.cf-row .field { margin-bottom: 0; }
@media (max-width: 520px) { .cf-row { grid-template-columns: 1fr; gap: 0; } .cf-row .field { margin-bottom: 15px; } }
.contact-form label { display: block; font-size: 13px; font-weight: 500; color: var(--text-sub-600); margin-bottom: 8px; }
.cf-input { position: relative; }
.cf-ico { position: absolute; left: 15px; top: 15px; color: var(--text-soft-400); pointer-events: none; line-height: 0; }
.cf-ico svg { width: 18px; height: 18px; }
.contact-form .input { width: 100%; height: 50px; border-radius: 12px; background: var(--bg-page);
    border: 1px solid var(--stroke-sub-300); box-shadow: inset 0 1px 2px rgba(0,0,0,.18);
    transition: border-color .15s, box-shadow .15s, background .15s; }
.contact-form .cf-input .input { padding-left: 44px; }
.contact-form .input:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--stroke-sub-300)); }
.contact-form .input:focus { border-color: var(--accent); background: var(--bg-white-0); box-shadow: 0 0 0 3px #6c47ff2e; outline: none; }
.contact-form .cf-input:focus-within .cf-ico { color: var(--accent); }
.contact-form textarea.input { height: auto; padding: 13px 14px 13px 44px; resize: vertical; min-height: 168px; }
.contact-form .btn { margin-top: 12px; height: 50px; font-size: 15px; }
.contact-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 12.5px; color: var(--text-soft-400); }
.contact-note-ico { display: inline-grid; place-content: center; color: var(--accent); line-height: 0; }
.contact-note-ico svg { width: 15px; height: 15px; }
.hp-field { position: absolute !important; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
@media (max-width: 820px) {
    .contact-card { grid-template-columns: 1fr; }
    .contact-aside { padding: 32px 26px; }
    .contact-main { padding: 30px 26px; }
}

/* Careers — closed / no open roles state */
.career-closed { position: relative; overflow: hidden; max-width: 640px; margin: 36px auto 0; text-align: center; padding: 54px 36px;
    background: radial-gradient(120% 130% at 50% -10%, #6c47ff14, transparent 60%), var(--bg-white-0);
    border: 1px solid var(--stroke-soft-200); border-radius: 24px; box-shadow: 0 24px 60px rgba(8,8,20,.28); }
.career-closed-ring { position: relative; display: grid; place-content: center; width: 68px; height: 68px; margin: 10px auto 18px; }
.career-closed-ring::before, .career-closed-ring::after { content: ""; position: absolute; inset: 0;
    border-radius: 20px; border: 1px solid #6c47ff55; animation: ccPulse 3s ease-out infinite; }
.career-closed-ring::after { animation-delay: 1.5s; }
@keyframes ccPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.career-closed-ico { position: relative; display: inline-grid; place-content: center; width: 68px; height: 68px;
    border-radius: 20px; background: linear-gradient(160deg, #8b6dff, #6c47ff); color: #fff; box-shadow: 0 12px 28px #6c47ff4d; }
.career-closed-ico svg { width: 30px; height: 30px; }
.career-closed-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
    color: var(--accent); background: #6c47ff14; border: 1px solid #6c47ff2b; padding: 6px 14px; border-radius: var(--r-full); margin-bottom: 16px; }
.career-closed-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px #6c47ff26; }
.career-closed-text { max-width: 440px; margin: 0 auto 26px; color: var(--text-sub-600); font-size: 15px; line-height: 1.6; }

/* Smooth-scroll anchor offset */
#features, #compare, #pricing { scroll-margin-top: 90px; }

/* ---- Legal pages ---- */
.legal-hero { position: relative; text-align: center; padding: 48px 24px 20px; overflow: hidden; }
.legal-hero-glow { position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 640px; height: 340px;
    background: radial-gradient(closest-side, #6c47ff14, transparent 80%); filter: blur(40px); pointer-events: none; }
.legal-hero h1 { position: relative; font-size: 42px; font-weight: 700; letter-spacing: -0.035em;
    background: var(--title-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.legal-date { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; padding: 6px 14px; border-radius: var(--r-full);
    background: var(--bg-white-0); border: 1px solid var(--stroke-soft-200); color: var(--text-sub-600); font-size: 13px; }
.legal-date .ico { width: 15px; height: 15px; }

.legal-layout { max-width: 1080px; margin: 24px auto 0; padding: 0 24px; display: grid; grid-template-columns: 250px 1fr; gap: 44px; align-items: start; }
.legal-side { position: sticky; top: 28px; display: flex; flex-direction: column; gap: 26px; }
.legal-side-block h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-soft-400); margin-bottom: 12px; }
.legal-doc-link { display: block; padding: 9px 12px; border-radius: var(--r-md); color: var(--text-sub-600); font-size: 14px; font-weight: 500;
    border-left: 2px solid transparent; transition: background .15s, color .15s; }
.legal-doc-link:hover { background: var(--bg-white-0); color: var(--text-strong-950); }
.legal-doc-link.is-active { background: #6c47ff0f; color: var(--accent); border-left-color: var(--accent); }
.legal-toc-link { display: block; padding: 6px 12px; color: var(--text-sub-600); font-size: 13px; line-height: 1.4; transition: color .15s; }
.legal-toc-link:hover { color: var(--accent); }
.legal-help { padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--stroke-soft-200); background: var(--bg-white-0); }
.legal-help p { font-size: 13px; color: var(--text-sub-600); line-height: 1.5; margin-bottom: 12px; }

.legal-content { background: var(--bg-white-0); border: 1px solid var(--stroke-soft-200); border-radius: var(--r-xl); padding: 40px 44px; }
.legal-intro { font-size: 17px; line-height: 1.65; color: var(--text-sub-600); padding-bottom: 24px; border-bottom: 1px solid var(--stroke-soft-200); }
.legal-section { scroll-margin-top: 28px; padding-top: 28px; }
.legal-sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.legal-num { display: inline-grid; place-content: center; min-width: 34px; height: 34px; border-radius: 9px;
    background: #6c47ff1a; color: var(--accent); font-weight: 700; font-size: 14px; }
.legal-sec-head h2 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.legal-section p { color: var(--text-sub-600); line-height: 1.75; margin-bottom: 12px; }
.legal-note { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--stroke-soft-200); color: var(--text-soft-400); font-size: 13px; line-height: 1.6; }

@media (max-width: 860px) {
    .legal-layout { grid-template-columns: 1fr; gap: 24px; }
    .legal-side { position: static; flex-direction: row; flex-wrap: wrap; gap: 16px; }
    .legal-side-block { flex: 1; min-width: 160px; }
    .legal-content { padding: 28px 22px; }
}

/* ---- Careers / Contact pages ---- */
.page-hero { position: relative; text-align: center; padding: 56px 24px 8px; overflow: hidden; }
.page-hero-title { position: relative; font-size: 44px; font-weight: 700; letter-spacing: -0.035em;
    background: var(--title-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.role-list { max-width: 780px; margin: 36px auto 0; display: flex; flex-direction: column; gap: 12px; }
.role-card { display: flex; align-items: center; gap: 16px; padding: 18px 24px; background: var(--bg-white-0);
    border: 1px solid var(--stroke-soft-200); border-radius: var(--r-lg); transition: border-color .2s, transform .2s, box-shadow .2s; }
.role-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); transform: translateY(-2px); box-shadow: 0 12px 30px #6c47ff14; }
.role-title { font-size: 16px; font-weight: 600; }
.role-card .btn .ico { width: 15px; height: 15px; }
.role-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.role-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 500;
    color: var(--text-sub-600); background: var(--bg-sub-300); padding: 4px 11px; border-radius: var(--r-full); }
.role-tag svg { width: 12px; height: 12px; color: var(--accent); }
.role-card { text-align: left; }
.role-card .grow { flex: 1; }
.career-open-note { text-align: left; }
.career-open-note { max-width: 780px; margin: 26px auto 0; display: flex; align-items: center; justify-content: space-between;
    gap: 16px; padding: 20px 24px; border: 1px dashed var(--stroke-sub-300); border-radius: var(--r-lg);
    background: #6c47ff0a; flex-wrap: wrap; }
.career-open-note p { font-size: 14px; }

/* Careers — stat strip */
.career-stats { max-width: 860px; margin: 10px auto 0; padding: 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.career-stat { text-align: center; padding: 24px 18px; background: var(--bg-white-0);
    border: 1px solid var(--stroke-soft-200); border-radius: var(--r-lg); }
.career-stat-ico { display: inline-grid; place-content: center; width: 44px; height: 44px; margin: 0 auto 12px;
    border-radius: 12px; background: #6c47ff1a; color: var(--accent); }
.career-stat-ico svg { width: 22px; height: 22px; }
.career-stat-n { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.career-stat-d { margin-top: 2px; }

/* Contact */
.contact-layout { max-width: 1000px; margin: 44px auto 0; padding: 0 24px; display: grid;
    grid-template-columns: 0.9fr 1.05fr; gap: 24px; align-items: start; }
.contact-side { display: flex; flex-direction: column; gap: 12px; }
.contact-form-card { background: var(--bg-white-0); border: 1px solid var(--stroke-soft-200); border-radius: var(--r-xl); padding: 32px; }
.contact-form-title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 20px; }
.contact-sent { text-align: center; padding: 30px 10px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.contact-sent-ico { color: var(--green-200); line-height: 0; }
.contact-sent-ico svg { width: 42px; height: 42px; }
.contact-info-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: var(--bg-white-0);
    border: 1px solid var(--stroke-soft-200); border-radius: var(--r-lg); transition: border-color .2s, transform .2s; }
.contact-info-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); transform: translateY(-2px); }
.contact-info-card:hover .contact-info-arrow { opacity: 1; transform: translateX(0); }
.contact-info-ico { display: inline-grid; place-content: center; width: 42px; height: 42px; border-radius: 11px;
    background: #6c47ff1a; color: var(--accent); flex-shrink: 0; }
.contact-info-ico svg { width: 20px; height: 20px; }
.contact-info-t { font-size: 15px; font-weight: 600; }
.contact-info-mail { font-size: 13px; color: var(--accent); margin-top: 3px; }
.contact-info-arrow { color: var(--text-soft-400); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.contact-info-arrow svg { width: 16px; height: 16px; }
.contact-reply { display: flex; align-items: center; gap: 11px; padding: 14px 16px; border-radius: var(--r-lg);
    border: 1px dashed var(--stroke-sub-300); background: #6c47ff0a; color: var(--text-sub-600); font-size: 13px; }
.contact-reply-ico { display: inline-grid; place-content: center; color: var(--accent); flex-shrink: 0; }
.contact-reply-ico svg { width: 18px; height: 18px; }
.contact-follow { display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 0; }
@media (max-width: 860px) {
    .contact-layout { grid-template-columns: 1fr; }
    .career-stats { grid-template-columns: 1fr; }
    .page-hero-title { font-size: 34px; }
    .career-open-note { flex-direction: column; align-items: flex-start; }
}

/* ---- Responsive ---- */
@media (max-width: 1040px) {
    /* Disable the scroll-pin on small screens — static layout instead */
    .hero-pin-wrap { height: auto; }
    .hero-pin { position: static; height: auto; padding-bottom: 48px; }
    .hero-copy { opacity: 1 !important; transform: none !important; }
    .hero-feats { display: none; }
    .hero-stage { height: auto; }
    .hero-app { position: static; transform: none !important; width: 100%; max-width: 720px; margin: 34px auto 0; }
    .scroll-hint { display: none; }
}
@media (max-width: 900px) {
    .hero-copy h1 { font-size: 38px; }
    .lp-features { grid-template-columns: 1fr; }
    .lp-foot-top { grid-template-columns: 1fr; gap: 28px; }
    .lp-foot-cols { grid-template-columns: 1fr 1fr; }
    .lp-foot-word { font-size: 84px; bottom: -14px; }
    .lp-nav-links, .nav-login { display: none; }
    .mq-card { width: 300px; }
    .hero-app { height: auto; flex-direction: column; }
    .ha-rail { flex-direction: row; width: auto; }
    .ha-panel { width: auto; }
}
