:root {
    --ink: #10233a;
    --muted: #5b6f84;
    --line: #d5deea;
    --bg: #e8eef5;
    --navy: #10233a;
    --sky: #2f6fed;
    --sky-soft: #dbe7ff;
    --green: #15803d;
    --green-soft: #e8f7ee;
    --warn: #9a3412;
    --warn-bg: #fff1e8;
    --warn-line: #fdba8c;
    --board: #10233a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Outfit, sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
h1, h2, p, ul { margin: 0; }
h1 {
    font-size: clamp(2.35rem, 5vw, 4.1rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.02;
    max-width: 13ch;
}
h2 {
    font-size: clamp(1.55rem, 2.6vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.15;
}

.nav {
    position: absolute;
    inset: 0 0 auto;
    z-index: 4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 6vw;
}
.logo { font-weight: 800; letter-spacing: -.04em; font-size: 1.15rem; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .85rem 1.15rem;
    border: 0;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.btn-nav {
    padding: .55rem .9rem;
    font-size: .92rem;
    background: rgba(255, 255, 255, .7);
    color: var(--ink);
    border: 1px solid rgba(16, 35, 58, .12);
}
.btn-ghost {
    background: rgba(255, 255, 255, .7);
    color: var(--ink);
    border: 1px solid rgba(16, 35, 58, .14);
}

.hero {
    position: relative;
    min-height: 100vh;
    padding: 5.5rem 6vw 3.2rem;
    overflow: hidden;
    background:
        radial-gradient(ellipse 55% 45% at 82% 18%, rgba(47, 111, 237, .18), transparent 60%),
        radial-gradient(ellipse 40% 35% at 8% 70%, rgba(21, 128, 61, .1), transparent 55%),
        linear-gradient(165deg, #f5f8fc 0%, #e7eef7 48%, #dfe8f4 100%);
}
.hero-veil {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(16, 35, 58, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 35, 58, .05) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(180deg, #000 20%, transparent 92%);
    pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; max-width: 40rem; }
.brand {
    margin-bottom: .55rem;
    color: var(--sky);
    font-weight: 800;
    letter-spacing: -.04em;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
}
.lede {
    margin-top: 1rem;
    max-width: 34rem;
    color: var(--muted);
    font-size: 1.12rem;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.45rem;
}

.stage {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr .7fr;
    gap: 1.1rem;
    align-items: end;
    margin-top: 2.6rem;
    animation: rise .85s ease both;
}
@keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}

.board {
    background: var(--board);
    color: #eef3f8;
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 28px 70px rgba(16, 35, 58, .28);
}
.board-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: .85rem;
    color: rgba(238, 243, 248, .55);
    font-size: .9rem;
}
.board-head strong { color: #fff; }
.board-row {
    display: grid;
    grid-template-columns: 7.5rem repeat(5, 1fr);
    gap: .4rem;
    margin-bottom: .4rem;
}
.person b, .person small { display: block; }
.person b { font-size: .92rem; }
.person small { color: rgba(238, 243, 248, .55); font-size: .75rem; }
.cell {
    min-height: 3.35rem;
    padding: .4rem .45rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
    border: 1px dashed rgba(238, 243, 248, .12);
    color: rgba(238, 243, 248, .4);
    font-size: .72rem;
}
.cell.filled, .cell.done {
    border-style: solid;
    border-color: transparent;
    background: rgba(47, 111, 237, .28);
    color: #fff;
}
.cell.done { background: rgba(21, 128, 61, .28); }
.cell em, .cell span { display: block; font-style: normal; }
.cell em { font-weight: 700; font-size: .72rem; }
.cell.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(47, 111, 237, 0); }
    50% { box-shadow: 0 0 0 6px rgba(47, 111, 237, .22); }
}
.gap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem;
    margin-top: .75rem;
    padding: .75rem .85rem;
    border-radius: 12px;
    background: rgba(216, 106, 58, .18);
    border: 1px solid rgba(253, 186, 140, .45);
    animation: gap-in 1.1s .35s both;
}
@keyframes gap-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
.gap strong { color: #ffd7bf; }
.gap span { color: rgba(238, 243, 248, .78); font-size: .88rem; }

.phone {
    width: min(100%, 255px);
    justify-self: end;
    padding: 1rem .85rem 1.1rem;
    border-radius: 28px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(16, 35, 58, .18);
    color: var(--ink);
    animation: phone-in .95s .2s both;
}
@keyframes phone-in {
    from { opacity: 0; transform: translateY(24px) scale(.97); }
    to { opacity: 1; transform: none; }
}
.notch {
    width: 4.2rem;
    height: .35rem;
    margin: 0 auto .85rem;
    border-radius: 99px;
    background: #d7dee8;
}
.push {
    padding: .7rem .75rem;
    border-radius: 12px;
    background: var(--navy);
    color: #fff;
    margin-bottom: .8rem;
    animation: push-in .7s .75s both;
}
@keyframes push-in {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: none; }
}
.push b, .push span { display: block; }
.push span { color: rgba(255, 255, 255, .7); font-size: .82rem; }
.phone-kicker {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: .45rem;
}
.trip {
    padding: .8rem;
    border-radius: 14px;
    background: #f4f7fb;
    border: 1px solid var(--line);
}
.trip span { display: block; color: var(--muted); font-size: .84rem; margin-top: .2rem; }
.finish {
    display: inline-block !important;
    margin-top: .7rem !important;
    padding: .4rem .75rem;
    border-radius: 999px;
    background: var(--green);
    color: #fff !important;
    font-weight: 700;
    font-size: .8rem !important;
}
.phone-note {
    margin-top: .7rem;
    color: var(--sky);
    font-size: .8rem;
    font-weight: 700;
}

.swap, .loop, .fit, .faq, .contact, footer { padding: 4rem 6vw; }
.swap { background: #fff; border-block: 1px solid var(--line); }
.swap h2 { max-width: 16ch; }
.swap-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: stretch;
    margin-top: 1.5rem;
}
.swap article {
    padding: 1.2rem 1.3rem;
    border-radius: 18px;
    border: 1px solid var(--line);
}
.before { background: #f3f6fa; }
.after { background: var(--navy); color: #eef3f8; border-color: transparent; }
.label {
    margin-bottom: .7rem;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}
.after .label { color: #9cbcff; }
.swap ul { padding-left: 1.1rem; }
.swap li + li { margin-top: .45rem; }
.arrow {
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    color: var(--sky);
    font-weight: 700;
    animation: nudge 1.6s ease-in-out infinite;
}
@keyframes nudge {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

.loop { background: var(--bg); }
.section-lede {
    margin-top: .55rem;
    color: var(--muted);
    max-width: 28rem;
}
.loop-steps {
    list-style: none;
    margin: 1.7rem 0 0;
    padding: 0;
    display: grid;
    gap: .75rem;
}
.loop-steps li {
    display: grid;
    grid-template-columns: 2.4rem 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}
.n {
    display: grid;
    place-items: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background: var(--sky);
    color: #fff;
    font-weight: 800;
}
.loop-steps p {
    margin-top: .25rem;
    color: var(--muted);
    max-width: 36rem;
}
.mini-days, .mini-assign, .mini-phone, .mini-pay {
    margin: 0;
    display: flex;
    gap: .25rem;
    align-items: center;
}
.mini-days span {
    width: 1.55rem;
    height: 1.55rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: .7rem;
    font-weight: 700;
}
.mini-days .on {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}
.mini-assign span, .mini-phone span {
    padding: .4rem .65rem;
    border-radius: 999px;
    background: var(--sky-soft);
    color: var(--sky);
    font-size: .78rem;
    font-weight: 700;
}
.mini-phone span { background: var(--navy); color: #fff; }
.mini-pay span { font-size: .8rem; font-weight: 700; color: var(--muted); }
.mini-pay .earned { color: var(--green); }
.mini-pay .to { color: var(--sky); }

.fit {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: #fff;
    border-block: 1px solid var(--line);
}
.fit ul { margin-top: .9rem; padding-left: 1.1rem; }
.fit li + li { margin-top: .4rem; }

.faq {
    background: var(--bg);
    display: grid;
    gap: .55rem;
}
.faq h2 { margin-bottom: .6rem; }
.faq details {
    padding: .95rem 1.05rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin-top: .4rem; color: var(--muted); }

.contact {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 2rem;
    align-items: center;
    background: #fff;
    border-top: 1px solid var(--line);
}
.contact > div p {
    margin-top: .6rem;
    color: var(--muted);
    max-width: 28rem;
}
.phone-line {
    margin-top: 1rem !important;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.02em;
}
.phone-line a { color: var(--ink); }
.contact-actions {
    display: grid;
    gap: .7rem;
    padding: 1.2rem;
    border-radius: 18px;
    background: var(--bg);
    border: 1px solid var(--line);
}
.contact-actions .btn { width: 100%; }
.btn-wa { background: #128c7e; }
.btn-sms { background: var(--sky); }
.contact-note {
    margin: .15rem 0 0 !important;
    text-align: center;
    font-size: .88rem;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    background: var(--bg);
    padding-top: 1.2rem;
    padding-bottom: 2rem;
}

@media (max-width: 900px) {
    h1 { max-width: none; }
    .stage, .swap-grid, .fit, .contact { grid-template-columns: 1fr; }
    .arrow { transform: rotate(90deg); }
    .phone { justify-self: center; margin-top: .5rem; }
    .board-row { grid-template-columns: 5.5rem repeat(5, minmax(3.2rem, 1fr)); overflow-x: auto; }
    .loop-steps li { grid-template-columns: 2.2rem 1fr; }
    .loop-steps figure { grid-column: 2; }
    .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}
