/* ============================================================
   ElvoApps — Public Website Design System
   Cool canvas · Chillax display + DM Sans body · Elvo blue
   Product-site motion: split hero, live mock, marquee, bento, stages
   ============================================================ */

:root {
    --bg: #F5F9FF;
    --card: #EAF2FF;
    --card-2: #D7E8FF;
    --surface: #FFFFFF;

    --ink: #071428;
    --ink-2: #13233F;
    --muted: #5B6B86;
    --faint: #8A97AD;
    --line: #D5E4F7;

    --primary: #0077FF;
    --primary-h: #0066E0;
    --primary-soft: #E5F1FF;
    --primary-deep: #0054C7;
    --primary-glow: rgba(0, 119, 255, .35);

    --highlight: #7EC8FF;
    --highlight-2: #3D9EFF;
    --sand: #D7E8FF;
    --green: #1F9A6B;
    --green-soft: #E4F7EE;

    --r-pill: 999px;
    --r-sm: 14px;
    --r-md: 20px;
    --r-lg: 28px;
    --r-xl: 36px;

    --sh-1: 0 1px 2px rgba(7, 20, 40, .05);
    --sh-2: 0 2px 8px rgba(7, 20, 40, .06), 0 18px 36px -22px rgba(0, 119, 255, .28);
    --sh-3: 0 8px 24px rgba(7, 20, 40, .08), 0 32px 64px -28px rgba(0, 119, 255, .32);

    --wrap: 1200px;
    --ease: cubic-bezier(.22, .72, .24, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);

    --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
    --font-d: "Chillax", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    letter-spacing: -.004em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
svg { stroke-width: 2; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--primary-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }

.skip {
    position: absolute; left: -9999px; top: 0;
    background: var(--ink); color: #fff; padding: 10px 16px;
    border-radius: 0 0 10px 0; z-index: 200;
}
.skip:focus { left: 0; }

h1, h2, h3, h4 {
    font-family: var(--font-d);
    font-weight: 500; margin: 0; color: var(--ink); text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -.034em; }
.h2 { font-size: clamp(2rem, 3.9vw, 3.2rem); line-height: 1.1; letter-spacing: -.028em; }
.h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.15; letter-spacing: -.022em; }
h3 { font-size: 1.4rem; letter-spacing: -.02em; line-height: 1.2; font-weight: 500; }
h4 { font-size: 1.1rem; letter-spacing: -.018em; }
p { margin: 0; }
.lede {
    font-weight: 400; font-size: clamp(1.02rem, 1.22vw, 1.18rem);
    line-height: 1.62; letter-spacing: -.003em; color: var(--muted);
}
.sub { color: var(--muted); font-size: .98rem; line-height: 1.6; }
.dim { color: var(--faint); }
.accent { color: var(--primary-deep); }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
section { position: relative; }
.pad { padding: 88px 0; }
.pad-lg { padding: 112px 0; }
.pad-sm { padding: 48px 0; }
.center { text-align: center; }
.center .lede { margin-inline: auto; max-width: 640px; }
.stack > * + * { margin-top: 16px; }
.mw-640 { max-width: 640px; }
.mw-760 { max-width: 760px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
    color: var(--primary-deep); background: var(--primary-soft);
    padding: 7px 14px; border-radius: var(--r-pill);
}
.eyebrow--plain { background: transparent; color: var(--faint); padding-inline: 0; }
.badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .78rem; font-weight: 600; color: var(--primary-deep);
    background: var(--primary-soft); padding: 5px 12px; border-radius: var(--r-pill);
}
.badge--green { color: var(--green); background: var(--green-soft); }

.btn {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; gap: 11px;
    font-family: var(--font); font-size: .94rem; font-weight: 500; letter-spacing: -.006em;
    padding: 6px 20px 6px 6px; border-radius: var(--r-pill); border: 0;
    cursor: pointer; min-height: 48px;
    transition: background .24s var(--ease), color .24s var(--ease), transform .24s var(--ease);
}
.btn > i {
    width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff;
    display: grid; place-items: center; flex: none;
    transition: transform .34s var(--ease-out);
}
.btn > i svg { width: 13px; height: 13px; }
.btn--dark { background: var(--ink); color: #fff; padding: 6px 24px 6px 48px; }
.btn--dark i {
    position: absolute; left: 6px; top: 50%; margin-top: -18px;
    background: #fff; color: var(--ink);
    transition: left .5s var(--ease), color .34s var(--ease);
}
.btn--dark::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
    background: var(--primary); transform: translateX(-101%);
    transition: transform .5s var(--ease);
}
.btn--dark:hover::before { transform: none; }
.btn--dark:hover i { left: calc(100% - 42px); color: var(--primary); }

.btn--violet { background: var(--primary); color: #fff; padding: 6px 24px 6px 48px; }
.btn--violet i {
    position: absolute; left: 6px; top: 50%; margin-top: -18px; background: #fff; color: var(--primary-deep);
    transition: left .5s var(--ease);
}
.btn--violet::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
    background: var(--ink); transform: translateX(-101%); transition: transform .5s var(--ease);
}
.btn--violet:hover::before { transform: none; }
.btn--violet:hover i { left: calc(100% - 42px); }

.btn--soft {
    background: var(--surface); color: var(--ink); padding: 13px 24px;
    box-shadow: inset 0 0 0 1.5px var(--line);
    transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn--soft:hover { background: var(--primary-soft); box-shadow: inset 0 0 0 1.5px var(--primary); }
.btn--outline {
    background: transparent; color: var(--ink); padding: 12px 24px;
    box-shadow: inset 0 0 0 1.5px var(--line);
    transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.btn--outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); background: var(--surface); }
.btn--plain { background: transparent; color: var(--ink); padding-left: 6px; }
.btn--plain:hover i { transform: translateX(3px); }
.btn--block { width: 100%; justify-content: center; }
.btn--sm { min-height: 40px; font-size: .88rem; }
.btn__arrow { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn--soft:hover .btn__arrow, .btn--outline:hover .btn__arrow { transform: translateX(3px); }

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in srgb, var(--bg) 82%, transparent);
    backdrop-filter: saturate(160%) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled {
    border-bottom-color: var(--line);
    background: color-mix(in srgb, var(--bg) 92%, transparent);
}
.nav { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-d); font-weight: 600; font-size: 1.22rem; letter-spacing: -.02em; }
.brand__mark {
    width: 36px; height: 36px; border-radius: 10px; overflow: hidden;
    display: grid; place-items: center; background: var(--primary);
    box-shadow: 0 8px 18px -10px var(--primary-glow);
}
.brand__mark img { width: 36px; height: 36px; object-fit: cover; }
.brand__mark svg { width: 20px; height: 20px; }
.nav__spacer { flex: 1; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
    position: relative; display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 14px; border-radius: var(--r-pill); font-size: .95rem; font-weight: 500;
    color: var(--ink-2); transition: background .2s var(--ease), color .2s var(--ease);
}
.nav__link:hover { background: var(--card); }
.nav__link[aria-current="page"] { color: var(--primary-deep); }
.nav__link svg { width: 14px; height: 14px; color: var(--faint); transition: transform .25s var(--ease); }

.has-menu { position: relative; }
.nav__menu {
    position: absolute; top: calc(100% + 10px); left: 0;
    min-width: 300px; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-md); box-shadow: var(--sh-3); padding: 10px;
    opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.has-menu:hover .nav__menu, .has-menu:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.has-menu:hover .nav__link svg { transform: rotate(180deg); }
.menu__item { display: flex; gap: 12px; padding: 11px 12px; border-radius: var(--r-sm); transition: background .18s var(--ease); }
.menu__item:hover { background: var(--card); }
.menu__ico { width: 38px; height: 38px; border-radius: 11px; background: var(--primary-soft); color: var(--primary-deep); display: grid; place-items: center; flex: none; }
.menu__ico svg { width: 18px; height: 18px; }
.menu__t { font-weight: 600; font-size: .92rem; letter-spacing: -.01em; }
.menu__d { font-size: .82rem; color: var(--faint); line-height: 1.4; }

.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle {
    display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--card);
    border: 0; cursor: pointer; place-items: center;
}
.nav__toggle svg { width: 20px; height: 20px; }

.mobile-nav {
    position: fixed; inset: 0; z-index: 120; background: var(--bg);
    padding: 20px; overflow-y: auto;
    transform: translateX(100%); transition: transform .34s var(--ease);
    display: flex; flex-direction: column;
}
.mobile-nav.is-open { transform: none; }
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mobile-nav__close { width: 46px; height: 46px; border-radius: 12px; background: var(--card); border: 0; display: grid; place-items: center; cursor: pointer; }
.mobile-nav a.m-link { display: block; padding: 15px 8px; font-family: var(--font-d); font-size: 1.3rem; font-weight: 500; letter-spacing: -.02em; border-bottom: 1px solid var(--line); }
.mobile-nav .m-sub { padding: 8px 8px 16px; }
.mobile-nav .m-sub a { display: block; padding: 9px 8px; color: var(--muted); font-size: 1rem; }
.mobile-nav__cta { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; }

/* ---------- hero ---------- */
.hero { padding: 56px 0 40px; }
.hero--home {
    padding: 28px 0 8px;
    overflow: clip;
    background:
        radial-gradient(980px 460px at 92% -12%, rgba(0,119,255,.24), transparent 62%),
        radial-gradient(640px 340px at -8% 108%, rgba(61,158,255,.16), transparent 58%),
        var(--bg);
}
.hero__inner { text-align: center; max-width: 880px; margin-inline: auto; }
.hero--home .hero__grid {
    display: grid; grid-template-columns: 1.02fr .98fr; gap: 52px;
    align-items: center; text-align: left; max-width: none;
}
.hero--page .hero__inner { text-align: left; max-width: 760px; margin-inline: 0; }
.hero--page .lede { margin-inline: 0; }
.hero h1 { margin: 20px 0 0; }
.hero .lede { margin: 22px auto 0; max-width: 620px; }
.hero--home .lede { margin-inline: 0; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hero--home .hero__cta, .hero--page .hero__cta { justify-content: flex-start; }
.hero__note { margin-top: 18px; font-size: .86rem; color: var(--faint); }
.word-grad {
    background: linear-gradient(118deg, #0047B8 0%, #0077FF 42%, #2B9AFF 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}

/* live product stage */
.live-board {
    position: relative;
    background: linear-gradient(180deg, #0B1C36 0%, #071428 100%);
    border-radius: 28px;
    padding: 14px 14px 18px;
    box-shadow: var(--sh-3), 0 0 0 1px rgba(255,255,255,.08);
    min-height: 460px;
}
.live-chrome {
    display: flex; align-items: center; gap: 8px;
    padding: 6px 10px 14px;
}
.live-chrome .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.22); }
.live-chrome .dot:nth-child(1) { background: #FF6B6B; }
.live-chrome .dot:nth-child(2) { background: #FFD166; }
.live-chrome .dot:nth-child(3) { background: #4ADE80; }
.live-chrome .url {
    margin-left: 8px; font-size: .72rem; color: rgba(255,255,255,.5);
    background: rgba(255,255,255,.06); padding: 4px 10px; border-radius: 999px;
}
.live-store {
    background: #F7FAFF; border-radius: 18px; overflow: hidden; min-height: 360px;
    color: var(--ink);
}
.live-nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 18px; border-bottom: 1px solid var(--line);
    font-size: .78rem; font-weight: 600; letter-spacing: .04em;
}
.live-nav b { font-family: var(--font-d); font-size: 1rem; letter-spacing: -.02em; }
.live-nav span { color: var(--faint); font-weight: 500; }
.live-hero-strip {
    margin: 16px 18px 0; height: 92px; border-radius: 14px;
    background:
        linear-gradient(120deg, rgba(0,119,255,.18), rgba(125,200,255,.28) 42%, rgba(0,84,199,.16)),
        linear-gradient(180deg, #EAF2FF, #F5F9FF);
    position: relative; overflow: hidden;
}
.live-hero-strip::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
    animation: sheen 3.6s var(--ease) infinite;
}
.live-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px 18px 18px; }
.live-sku {
    background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px;
}
.live-sku__img {
    height: 64px; border-radius: 8px; margin-bottom: 8px;
    background: linear-gradient(135deg, var(--card), var(--card-2));
}
.live-sku__bar { height: 7px; border-radius: 99px; background: var(--line); }
.live-sku__bar.w-70 { width: 70%; margin-top: 6px; }
.live-sku__bar.w-40 { width: 40%; margin-top: 6px; background: var(--primary-soft); }

.float-card {
    position: absolute; background: #fff; border: 1px solid var(--line);
    border-radius: 16px; padding: 12px 14px; box-shadow: var(--sh-2);
    min-width: 168px; z-index: 2;
}
.float-card b { display: block; font-size: .82rem; letter-spacing: -.01em; }
.float-card span { display: block; font-size: .72rem; color: var(--muted); margin-top: 2px; }
.float-card--1 { top: 72px; right: -18px; animation: float-y 5.2s ease-in-out infinite; }
.float-card--2 { bottom: 86px; left: -22px; animation: float-y 6s ease-in-out infinite .4s; }
.float-card--3 { bottom: 22px; right: 28px; animation: float-y 4.6s ease-in-out infinite .8s; }
.pulse {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    background: var(--primary); margin-right: 6px; vertical-align: middle;
    box-shadow: 0 0 0 0 var(--primary-glow); animation: pulse-ring 1.8s infinite;
}

/* marquee */
.marquee { padding: 28px 0 12px; overflow: hidden; }
.marquee__label {
    text-align: center; color: var(--faint); font-size: .8rem; font-weight: 600;
    letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px;
}
.marquee__viewport { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track {
    display: flex; gap: 52px; width: max-content; align-items: center;
    animation: marquee-x 32s linear infinite;
}
.marquee__track span {
    font-family: var(--font-d); font-weight: 600; font-size: 1.2rem;
    color: var(--faint); letter-spacing: -.02em; white-space: nowrap;
}

/* cards / grids */
.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }

.card {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-1);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card--hover:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: color-mix(in srgb, var(--primary) 28%, var(--line)); }
.card__ico { width: 50px; height: 50px; border-radius: 14px; background: var(--primary-soft); color: var(--primary-deep); display: grid; place-items: center; margin-bottom: 20px; }
.card__ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }
.card__cta { margin-top: 20px; }

.pillar { position: relative; overflow: hidden; }
.pillar__tag { font-family: var(--font-d); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.pillar h3 { margin: 10px 0 12px; font-size: 1.55rem; }

/* bento */
.bento {
    display: grid; gap: 18px; margin-top: 48px;
    grid-template-columns: 1.35fr 1fr 1fr;
    grid-template-areas:
        "build migrate grow"
        "build extend extend";
}
.bento__cell { min-height: 220px; display: flex; flex-direction: column; }
.bento__cell--build {
    grid-area: build;
    background:
        linear-gradient(180deg, rgba(255,255,255,.55), transparent 40%),
        linear-gradient(160deg, #E5F1FF, #fff 55%);
    padding: 32px;
}
.bento__cell--migrate { grid-area: migrate; }
.bento__cell--grow { grid-area: grow; }
.bento__cell--extend {
    grid-area: extend;
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px; align-items: center;
}
.bento-visual {
    margin-top: auto; display: grid; gap: 8px; padding-top: 28px;
}
.bento-bar {
    height: 10px; border-radius: 99px; background: var(--card-2);
    overflow: hidden; position: relative;
}
.bento-bar > i {
    display: block; height: 100%; width: 62%; border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), #4DA6FF);
}
.bento-bar:nth-child(2) > i { width: 44%; }
.bento-bar:nth-child(3) > i { width: 78%; }
.app-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.app-pills span {
    background: var(--primary-soft); color: var(--primary-deep);
    font-size: .8rem; font-weight: 600; padding: 8px 12px; border-radius: 999px;
}

.sec-head { max-width: 680px; }
.sec-head.center { margin-inline: auto; }
.sec-head .h2 { margin-top: 14px; }
.sec-head .lede { margin-top: 16px; }

/* process + cycling stage */
.stage-split {
    display: grid; grid-template-columns: .92fr 1.08fr; gap: 36px; align-items: stretch;
    margin-top: 48px;
}
.stage-list { display: grid; gap: 8px; }
.stage-item {
    text-align: left; width: 100%; background: transparent; border: 1px solid transparent;
    border-radius: 18px; padding: 16px 18px; cursor: pointer;
    transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.stage-item:hover { background: var(--surface); }
.stage-item.is-active {
    background: var(--surface); border-color: var(--line); box-shadow: var(--sh-1);
}
.stage-item .step__n { display: block; margin-bottom: 4px; }
.stage-item h4 { margin: 0 0 4px; }
.stage-item p { color: var(--muted); font-size: .9rem; }
.stage-panel {
    background: var(--ink); color: #fff; border-radius: 28px; padding: 28px;
    position: relative; overflow: hidden; min-height: 420px;
}
.stage-panel::after {
    content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,119,255,.5), transparent 68%);
    right: -80px; top: -90px;
}
.stage-view { position: relative; z-index: 1; display: none; }
.stage-view.is-active { display: block; animation: fade-up .45s var(--ease-out); }
.stage-view h3 { color: #fff; font-size: 1.7rem; margin: 10px 0 12px; }
.stage-view p { color: rgba(255,255,255,.72); }
.stage-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.stage-chips span {
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
    padding: 8px 12px; border-radius: 999px; font-size: .82rem;
}
.stage-meter { margin-top: 28px; display: grid; gap: 12px; }
.stage-meter label { font-size: .78rem; color: rgba(255,255,255,.55); }
.stage-meter .bar {
    height: 8px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden;
}
.stage-meter .bar > i {
    display: block; height: 100%; width: 0; background: var(--primary);
    border-radius: inherit; transition: width .8s var(--ease-out);
}
.stage-view.is-active .bar > i { width: var(--w, 70%); }

.process { display: grid; gap: 18px; grid-template-columns: repeat(5, 1fr); counter-reset: step; }
.step { position: relative; padding-top: 28px; }
.step::before { content: ""; position: absolute; top: 7px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px var(--primary-soft); }
.step::after { content: ""; position: absolute; top: 13px; left: 24px; right: -18px; height: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step__n { font-family: var(--font-d); font-size: .82rem; font-weight: 600; letter-spacing: .1em; color: var(--primary-deep); }
.step h4 { margin: 8px 0 6px; }
.step p { color: var(--muted); font-size: .9rem; }

.app-card { display: flex; flex-direction: column; }
.app-card__head { display: flex; align-items: center; gap: 14px; }
.app-logo { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-deep); flex: none; }
.app-logo svg { width: 26px; height: 26px; }
.app-card__name { font-family: var(--font-d); font-weight: 600; font-size: 1.18rem; letter-spacing: -.02em; }
.app-card__rating { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; color: var(--muted); }
.app-card__rating svg { width: 14px; height: 14px; color: var(--highlight-2); }
.app-card p { color: var(--muted); font-size: .94rem; margin-top: 16px; flex: 1; }
.app-card__feat { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .78rem; font-weight: 500; color: var(--ink-2); background: var(--card); padding: 6px 12px; border-radius: var(--r-pill); }
.app-card__foot { margin-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-card__price b { font-family: var(--font-d); font-size: 1.1rem; }
.app-card__price span { color: var(--faint); font-size: .82rem; }

.case-card { padding: 0; overflow: hidden; }
.case-card__media {
    aspect-ratio: 16 / 10;
    background:
        radial-gradient(circle at 80% 20%, rgba(0,119,255,.28), transparent 50%),
        linear-gradient(135deg, #0B1C36, #12305A);
    display: grid; place-items: center; color: rgba(255,255,255,.7);
}
.case-card__body { padding: 26px; }
.case-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.case-stat { display: flex; gap: 22px; margin-top: 18px; }
.case-stat b { display: block; font-family: var(--font-d); font-size: 1.6rem; font-weight: 600; letter-spacing: -.03em; }
.case-stat span { font-size: .8rem; color: var(--faint); }

.res-card { display: flex; flex-direction: column; }
.res-card__cat { font-size: .76rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--primary-deep); }
.res-card h3 { margin: 10px 0; font-size: 1.2rem; }
.res-card p { color: var(--muted); font-size: .92rem; flex: 1; }
.res-card__meta { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; font-size: .82rem; color: var(--faint); }

.trust { padding: 8px 0 28px; }
.trust__label { text-align: center; color: var(--faint); font-size: .82rem; font-weight: 500; letter-spacing: .04em; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 54px; margin-top: 24px; align-items: center; }
.logos span { font-family: var(--font-d); font-weight: 600; font-size: 1.15rem; color: var(--faint); letter-spacing: -.02em; }

.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat b { display: block; font-family: var(--font-d); font-size: 2.4rem; font-weight: 600; letter-spacing: -.03em; color: var(--ink); }
.stat span { color: var(--muted); font-size: .9rem; }

.cta-band { background: var(--ink); color: #fff; border-radius: var(--r-xl); padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(0,119,255,.55), transparent 70%); top: -180px; right: -140px; }
.cta-band h2 { color: #fff; position: relative; }
.cta-band .lede { color: rgba(255,255,255,.72); position: relative; }
.cta-band__cta { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.cta-band .btn--outline { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.cta-band .btn--outline:hover { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1.5px #fff; }

.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; background: 0; border: 0; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; align-items: center; font-family: var(--font-d); font-size: 1.1rem; font-weight: 500; letter-spacing: -.015em; }
.faq__q svg { width: 20px; height: 20px; flex: none; color: var(--faint); transition: transform .3s var(--ease); }
.faq__item.is-open .faq__q svg { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .34s var(--ease); }
.faq__a-inner { padding-bottom: 24px; color: var(--muted); }

.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .88rem; font-weight: 600; letter-spacing: -.01em; }
.field .req { color: var(--primary-deep); }
.field .hint { font-size: .8rem; color: var(--faint); }
.input, .select, .textarea {
    width: 100%; background: var(--surface); border: 1.5px solid var(--line);
    border-radius: var(--r-sm); padding: 13px 15px; font: inherit; color: var(--ink);
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.textarea { min-height: 130px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.error-text { color: #c0392b; font-size: .82rem; }
.input.has-error, .select.has-error, .textarea.has-error { border-color: #c0392b; }
.form-note { font-size: .82rem; color: var(--faint); }
.alert { padding: 16px 18px; border-radius: var(--r-sm); font-size: .92rem; }
.alert--success { background: var(--green-soft); color: #2f6b47; border: 1px solid #cfe6d6; }
.alert--error { background: #fdeceb; color: #a4332a; border: 1px solid #f5cfca; }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: block; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font-size: .92rem; font-weight: 500; transition: all .2s var(--ease); }
.choice input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary-deep); }

.feature-list { display: grid; gap: 14px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list .fi-ico { width: 26px; height: 26px; border-radius: 8px; background: var(--primary-soft); color: var(--primary-deep); display: grid; place-items: center; flex: none; margin-top: 1px; }
.feature-list .fi-ico svg { width: 15px; height: 15px; }
.feature-list b { font-weight: 600; letter-spacing: -.01em; }
.feature-list p { color: var(--muted); font-size: .92rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.panel { background: var(--card); border-radius: var(--r-lg); padding: 32px; }

.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .84rem; color: var(--faint); padding: 20px 0 0; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb svg { width: 13px; height: 13px; }

.prose { max-width: 760px; }
.prose h2 { font-size: 1.7rem; margin: 44px 0 16px; }
.prose h3 { margin: 32px 0 12px; }
.prose p { color: var(--ink-2); margin-bottom: 18px; line-height: 1.75; }
.prose ul { margin: 0 0 18px; padding-left: 4px; display: grid; gap: 10px; }
.prose ul li { display: flex; gap: 10px; color: var(--ink-2); }
.prose ul li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); margin-top: 9px; flex: none; }
.prose a { color: var(--primary-deep); text-decoration: underline; text-underline-offset: 3px; }

.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 72px 0 32px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.site-footer .brand { color: #fff; }
.site-footer .brand__mark { background: transparent; box-shadow: none; }
.foot-about { max-width: 280px; margin-top: 18px; font-size: .92rem; line-height: 1.6; }
.foot h5 { margin: 0 0 18px; font-size: .72rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: rgba(255,255,255,.5); font-family: var(--font); }
.foot a { display: block; padding: 7px 0; font-size: .92rem; color: rgba(255,255,255,.72); transition: color .2s; }
.foot a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; padding: 0; }
.foot-social svg { width: 17px; height: 17px; }

.sticky-cta { display: none; }

.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.error-page .code { font-family: var(--font-d); font-size: clamp(5rem, 18vw, 11rem); font-weight: 600; letter-spacing: -.04em; color: var(--primary); line-height: 1; }

@keyframes marquee-x {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(0,119,255,.45); }
    70% { box-shadow: 0 0 0 10px rgba(0,119,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,119,255,0); }
}
@keyframes sheen {
    0% { transform: translateX(-120%); }
    100% { transform: translateX(120%); }
}
@keyframes fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
    [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
    [data-reveal].is-in { opacity: 1; transform: none; }
    [data-reveal="stagger"] > * { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
    [data-reveal="stagger"].is-in > *:nth-child(1) { transition-delay: .04s; }
    [data-reveal="stagger"].is-in > *:nth-child(2) { transition-delay: .12s; }
    [data-reveal="stagger"].is-in > *:nth-child(3) { transition-delay: .2s; }
    [data-reveal="stagger"].is-in > *:nth-child(4) { transition-delay: .28s; }
    [data-reveal="stagger"].is-in > * { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .marquee__track, .float-card, .live-hero-strip::after, .pulse { animation: none; }
}

@media (max-width: 1024px) {
    .g-4 { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .step::after { display: none; }
    .foot-grid { grid-template-columns: 1fr 1fr 1fr; }
    .foot-brand { grid-column: 1 / -1; }
    .hero--home .hero__grid, .stage-split, .bento, .bento__cell--extend { grid-template-columns: 1fr; }
    .bento { grid-template-areas: "build" "migrate" "grow" "extend"; }
    .float-card--1, .float-card--2 { left: 16px; right: auto; }
    .float-card--1 { top: auto; bottom: 18px; }
}
@media (max-width: 860px) {
    .nav__links, .nav__cta .btn--dark { display: none; }
    .nav__toggle { display: grid; }
    .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; gap: 32px; }
    .split--rev .split__media { order: -1; }
    .stat-row { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
    .field-row { grid-template-columns: 1fr; }
    .choice-grid { grid-template-columns: 1fr; }
    .pad { padding: 56px 0; }
    .pad-lg { padding: 68px 0; }
    .cta-band { padding: 48px 24px; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .live-products { grid-template-columns: 1fr 1fr; }
    .live-products .live-sku:last-child { display: none; }
    .sticky-cta {
        display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    }
    .sticky-cta .btn { width: 100%; justify-content: center; box-shadow: var(--sh-3); }
    body { padding-bottom: 76px; }
}
@media (min-width: 1100px) {
    .process.process--6 { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 520px) {
    .process { grid-template-columns: 1fr; }
    .stat-row { grid-template-columns: 1fr 1fr; }
    .cta-band { padding: 40px 20px; }
    .float-card { display: none; }
}

/* ============================================================
   Airo-faithful sections + MigrateGo offer/start selling flow
   ============================================================ */
.dots {
    background-image: radial-gradient(rgba(0,119,255,.11) 1px, transparent 1px);
    background-size: 22px 22px;
}
.hero--airo {
    text-align: center;
    padding: 36px 0 0;
    background:
        radial-gradient(900px 380px at 50% -10%, rgba(0,119,255,.18), transparent 60%),
        var(--bg);
}
.hero--airo .hero__inner { max-width: 820px; }
.hero--airo h1 { margin-top: 14px; font-weight: 600; color: var(--ink); }
.hero--airo .breadcrumb { justify-content: center; margin-bottom: 18px; }
.pick { position: relative; }
.start-step.has-miss .pick { animation: shake .35s var(--ease); }
.start-step.has-miss .pick-grid { outline: 2px solid rgba(220, 38, 38, .25); outline-offset: 6px; border-radius: 20px; }
body:has(.start-page) .sticky-cta { display: none; }

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}
.hero--airo .lede { margin: 18px auto 0; max-width: 560px; }
.trust-line {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .82rem; font-weight: 600; color: var(--muted);
}
.trust-line svg { width: 14px; height: 14px; color: var(--primary); }
.hero-tabs {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
    margin: 28px 0 22px;
}
.hero-tab {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px; border-radius: var(--r-pill); border: 0;
    background: var(--surface); color: var(--ink-2); font-weight: 500; font-size: .9rem;
    box-shadow: inset 0 0 0 1px var(--line); cursor: pointer;
    transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.hero-tab svg { width: 15px; height: 15px; }
.hero-tab.is-on, .hero-tab[aria-selected="true"] {
    background: var(--ink); color: #fff; box-shadow: none;
}
.hero-frame {
    width: min(100% - 24px, 1080px); margin: 0 auto;
    border-radius: 28px; padding: 10px;
    background: linear-gradient(180deg, rgba(0,119,255,.28), rgba(0,119,255,.04));
    box-shadow: var(--sh-3);
}
.hero-frame__inner {
    background: #fff; border-radius: 20px; overflow: hidden; min-height: 380px;
    position: relative;
}
.tab-panel { display: none; min-height: 380px; }
.tab-panel.is-on { display: block; animation: fade-up .4s var(--ease-out); }

.bento-2 {
    display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 44px;
}
.bento-2 .card { min-height: 280px; padding: 28px 28px 22px; }
.bento-live {
    margin-top: 22px; background: #F7FAFF; border: 1px solid var(--line);
    border-radius: 16px; padding: 14px; min-height: 120px;
}

.worry-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 20px; }
.worry-split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.worry-copy h3 { font-size: 1.8rem; margin-bottom: 12px; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.plan-card { padding: 28px; display: flex; flex-direction: column; }
.plan-card.is-hot { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.plan-card .price { font-family: var(--font-d); font-size: 1.5rem; margin: 10px 0 14px; }
.plan-card ul { display: grid; gap: 8px; color: var(--muted); font-size: .92rem; flex: 1; }
.plan-card li { display: flex; gap: 8px; }
.plan-card li svg { width: 16px; height: 16px; color: var(--primary); flex: none; margin-top: 2px; }

.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }

.flow-map {
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; align-items: center;
    padding: 28px;
}
.flow-node {
    background: #F7FAFF; border: 1px solid var(--line); border-radius: 18px; padding: 18px;
    text-align: left;
}
.flow-node b { display: block; font-family: var(--font-d); font-size: 1.1rem; }
.flow-node span { color: var(--muted); font-size: .82rem; }
.flow-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.flow-arrow { color: var(--primary); font-size: 1.4rem; }

.calc {
    display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; margin-top: 36px;
}
.calc label { display: flex; justify-content: space-between; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.calc input[type="range"] { width: 100%; accent-color: var(--primary); margin-bottom: 18px; }
.calc-out {
    background: var(--ink); color: #fff; border-radius: 24px; padding: 28px;
}
.calc-out .num { font-family: var(--font-d); font-size: 2.6rem; letter-spacing: -.04em; }
.calc-out p { color: rgba(255,255,255,.65); margin-top: 8px; font-size: .9rem; }

/* Start wizard (MigrateGo /start) */
.start-page { padding: 28px 0 64px; }
.start-shell { display: grid; grid-template-columns: 1.35fr .75fr; gap: 22px; align-items: start; }
.start-card, .brief {
    background: var(--surface); border: 1px solid var(--line);
    border-radius: 28px; padding: 28px; box-shadow: var(--sh-1);
}
.brief { position: sticky; top: 96px; }
.start-progress {
    display: flex; align-items: center; gap: 10px; margin-bottom: 22px;
    font-size: .78rem; font-weight: 600; color: var(--faint); letter-spacing: .04em;
}
.start-progress span.is-on { color: var(--ink); }
.start-progress .bar { flex: 1; height: 4px; background: var(--line); border-radius: 99px; overflow: hidden; }
.start-progress .bar > i { display: block; height: 100%; width: 16%; background: var(--primary); transition: width .4s var(--ease); }
.js .start-step { display: none; }
.js .start-step.is-on { display: block; animation: fade-up .35s var(--ease-out); }
.pick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.pick {
    text-align: left; background: #fff; border: 1.5px solid var(--line);
    border-radius: 18px; padding: 16px; cursor: pointer; width: 100%;
    transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.pick.is-on, .pick:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.pick input { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.pick b { display: block; font-size: .98rem; }
.pick small { display: block; color: var(--muted); margin-top: 4px; font-size: .82rem; }
.start-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.brief h3 { font-size: 1.05rem; }
.brief__row { margin-top: 14px; padding: 12px; background: #F7FAFF; border-radius: 14px; }
.brief__row span { display: block; font-size: .72rem; color: var(--faint); text-transform: uppercase; letter-spacing: .08em; }
.brief__row b { font-size: .92rem; }
.letter {
    max-width: 640px; margin: 28px auto 0; color: var(--muted); font-size: 1.05rem; line-height: 1.7;
}

@media (max-width: 1024px) {
    .bento-2, .worry-split, .plan-grid, .calc, .start-shell, .format-grid, .flow-map { grid-template-columns: 1fr; }
    .brief { position: static; }
}
@media (max-width: 860px) {
    .pick-grid { grid-template-columns: 1fr; }
    .hero-frame__inner, .tab-panel { min-height: 280px; }
}
