/* ==========================================================
   Business Partner Live – page sections
   ========================================================== */

/* ---------- Home hero ---------- */
.home-hero {
    position: relative;
    overflow: hidden;
    margin-top: -88px;
    padding: calc(88px + clamp(70px, 9vw, 110px)) 0 60px;
    text-align: center;
    isolation: isolate;
}

.home-hero .grid-bg {
    -webkit-mask-image: radial-gradient(ellipse at 50% 25%, #000 15%, transparent 65%);
    mask-image: radial-gradient(ellipse at 50% 25%, #000 15%, transparent 65%);
}

.hero-glow {
    top: 430px;
    height: 700px;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
}

.hero-title {
    max-width: 980px;
    margin: 0;
}

.hero-lead {
    margin: 0 auto;
    max-width: 680px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 6px;
}

.hero-trust {
    list-style: none;
    margin: 4px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
}

.hero-trust i {
    color: var(--accent);
    margin-right: 6px;
}

/* Hero dashboard visual */
.hero-visual {
    position: relative;
    width: 100%;
    max-width: 980px;
    margin-top: 44px;
    perspective: 1400px;
}

.board {
    position: relative;
    background: rgb(var(--surface-rgb) / .82);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border: 1px solid rgb(var(--surface-rgb) / .9);
    border-radius: 26px;
    box-shadow: 0 40px 80px -30px rgb(var(--g-deep) / .45), 0 0 0 1px rgb(var(--shade) / .04);
    overflow: hidden;
    text-align: left;
    transform: rotateX(8deg);
    transform-origin: top center;
    transition: transform 1.2s var(--ease);
}

.hero-visual.is-in .board {
    transform: rotateX(0);
}

.board-top {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line-2);
    background: rgb(var(--surface-rgb) / .8);
}

.board-dots {
    display: flex;
    gap: 6px;
}

.board-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e3ded7;
}

.board-dots i:first-child {
    background: #ff5f57;
}

.board-dots i:nth-child(2) {
    background: #febc2e;
}

.board-dots i:nth-child(3) {
    background: #28c840;
}

.board-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
}

.board-live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #13a05b;
    background: rgba(19, 160, 91, .1);
    padding: 4px 10px;
    border-radius: 999px;
}

.board-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #13a05b;
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(19, 160, 91, .5); }
    70% { box-shadow: 0 0 0 8px rgba(19, 160, 91, 0); }
    100% { box-shadow: 0 0 0 0 rgba(19, 160, 91, 0); }
}

.board-body {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 18px;
    padding: 20px;
}

.board-col {
    display: grid;
    gap: 10px;
}

.board-row {
    display: grid;
    grid-template-columns: auto 1fr 110px;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line-2);
}

.board-ic {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgb(var(--g) / .1), rgb(var(--g2) / .16));
    color: var(--accent);
    font-size: 14px;
}

.board-info b {
    display: block;
    font-size: 14px;
    color: var(--ink);
}

.board-info span {
    font-size: 12.5px;
    color: var(--muted);
}

.board-bar {
    height: 7px;
    border-radius: 999px;
    background: var(--line-2);
    overflow: hidden;
}

.board-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: var(--grad);
    transition: width 1.6s var(--ease) .6s;
}

.hero-visual.is-in .board-bar span {
    width: var(--w);
}

.board-side {
    display: grid;
    gap: 10px;
    align-content: start;
}

.board-stat {
    padding: 16px;
    border-radius: 16px;
    background: var(--dark);
    color: #fff;
}

.board-stat small {
    display: block;
    color: #9d9ea8;
    font-size: 12px;
}

.board-stat strong {
    display: block;
    font-family: var(--font-head);
    font-size: 34px;
    line-height: 1.1;
    margin: 4px 0 10px;
}

.spark {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 48px;
}

.spark span {
    flex: 1;
    height: 6%;
    border-radius: 4px 4px 2px 2px;
    background: var(--grad);
    opacity: .9;
    transition: height 1.2s var(--ease);
}

.spark span:nth-child(2) { transition-delay: .08s; }
.spark span:nth-child(3) { transition-delay: .16s; }
.spark span:nth-child(4) { transition-delay: .24s; }
.spark span:nth-child(5) { transition-delay: .32s; }
.spark span:nth-child(6) { transition-delay: .40s; }
.spark span:nth-child(7) { transition-delay: .48s; }

.hero-visual.is-in .spark span {
    height: var(--h);
}

.board-pm {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line-2);
}

.pm-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--grad);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    flex-shrink: 0;
}

.board-pm b {
    display: block;
    font-size: 13.5px;
    color: var(--ink);
}

.board-pm span {
    font-size: 12px;
    color: var(--muted);
}

.float-toast {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px 11px 11px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: left;
    z-index: 3;
    animation: floaty 6s ease-in-out infinite;
}

.float-toast i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--grad);
    color: #fff;
    font-size: 14px;
}

.float-toast b {
    display: block;
    font-size: 13.5px;
    color: var(--ink);
    line-height: 1.2;
}

.float-toast small {
    font-size: 12px;
    color: var(--muted);
}

.float-toast.t1 {
    left: -36px;
    top: 44%;
}

@media (max-width: 1240px) {
    .float-toast.t1 {
        left: auto;
        right: 30%;
        top: -26px;
    }
}

.float-toast.t2 {
    right: -30px;
    bottom: 12%;
    animation-delay: -3s;
}

.float-toast.t2 i {
    background: #4a154b;
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.tools-strip {
    position: relative;
    z-index: 2;
    margin-top: 64px;
    text-align: center;
}

.tools-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 16px;
}

@media (max-width: 860px) {
    .board-body {
        grid-template-columns: 1fr;
    }

    .board-row {
        grid-template-columns: auto 1fr 70px;
    }

    .float-toast.t1 {
        right: 8px;
        top: -24px;
    }

    .float-toast.t2 {
        right: 8px;
        bottom: -22px;
    }

    .board {
        transform: none;
    }
}

@media (max-width: 520px) {
    .board-row {
        grid-template-columns: auto 1fr;
    }

    .board-bar {
        grid-column: 1 / -1;
    }

    .board-side {
        display: none;
    }

    .float-toast.t1 {
        display: none;
    }

    .float-toast {
        padding: 8px 12px 8px 8px;
    }

    .float-toast i {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* ---------- Two ways ---------- */
.ways {
    gap: 24px;
}

.way-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 34px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    overflow: hidden;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.way-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.way-team {
    background: linear-gradient(160deg, var(--accent-soft) 0%, var(--surface) 55%);
    border-color: var(--accent-line);
}

.way-team::after {
    content: '';
    position: absolute;
    right: -120px;
    top: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgb(var(--g2) / .28), transparent);
    pointer-events: none;
}

.way-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.way-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--ink-bg);
    color: #fff;
}

.way-card h3 {
    font-size: 26px;
    margin: 4px 0 0;
}

.way-card p {
    margin: 0;
    color: var(--muted);
}

.way-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: var(--muted);
    font-size: 14px;
}

.way-price strong {
    font-family: var(--font-head);
    font-size: 38px;
    color: var(--ink);
    letter-spacing: -.03em;
}

.way-card .btn {
    align-self: flex-start;
    margin-top: 6px;
}

/* ---------- Roles grid ---------- */
.role-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.role-card h3 {
    margin: 6px 0 0;
}

.role-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    flex-grow: 1;
}

.role-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.role-card.is-bonus {
    background: var(--dark);
    border-color: var(--dark);
}

.role-card.is-bonus h3 {
    color: #fff;
}

.role-card.is-bonus p {
    color: #a3a4ad;
}

.role-card.is-bonus .chip {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .1);
    color: #e2e2e6;
}

.role-card.is-bonus .icon-tile {
    background: var(--grad);
    color: #fff;
    border: 0;
}

.bonus-pill {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--grad);
    color: #fff;
}

/* ---------- Showcase ---------- */
.showcase {
    display: grid;
    gap: 28px;
}

.showcase-card {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .5s var(--ease);
}

.showcase-card:hover {
    box-shadow: var(--shadow);
}

.showcase-card.is-flip .showcase-text {
    order: 2;
}

.showcase-text {
    padding: clamp(28px, 4vw, 48px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
}

.showcase-title {
    font-size: clamp(26px, 3vw, 34px);
    margin: 4px 0 0;
}

.showcase-text p {
    margin: 0;
    color: var(--muted);
}

.showcase-text .check-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px 16px;
}

.showcase-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--line-2);
}

.price-tag span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
}

.price-tag strong {
    font-family: var(--font-head);
    font-size: 30px;
    color: var(--ink);
    letter-spacing: -.03em;
}

.showcase-visual {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    overflow: hidden;
    isolation: isolate;
}

.mock-web {
    background: linear-gradient(135deg, #06231a 0%, #0d4a2c 45%, #2fbf62 130%);
}

.mock-app {
    background: linear-gradient(135deg, #0c0c0f 0%, #1c3d22 60%, #7de37a 140%);
}

.mock-software {
    background: linear-gradient(135deg, #04140d 0%, #0b5a33 50%, #5fd68a 130%);
}

.showcase-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, .06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 36px 36px;
    z-index: -1;
}

/* browser mock */
.mock-browser {
    width: 100%;
    max-width: 480px;
    border-radius: 16px;
    background: var(--surface);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
    overflow: hidden;
    transform: rotate(-2deg);
    transition: transform .8s var(--ease);
}

.showcase-card:hover .mock-browser {
    transform: rotate(0) scale(1.02);
}

.mock-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    background: #f1efec;
}

.mock-bar i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--line);
}

.mock-bar span {
    flex: 1;
    height: 16px;
    margin-left: 10px;
    border-radius: 6px;
    background: var(--surface);
}

.mock-page {
    padding: 16px;
    display: grid;
    gap: 14px;
}

.mock-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mock-nav b {
    width: 44px;
    height: 12px;
    border-radius: 4px;
    background: var(--ink-bg);
}

.mock-nav span {
    width: 30px;
    height: 7px;
    border-radius: 4px;
    background: #e5e1db;
}

.mock-nav span:first-of-type {
    margin-left: auto;
}

.mock-nav em {
    width: 50px;
    height: 18px;
    border-radius: 999px;
    background: var(--grad);
}

.mock-hero {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 18px 0;
    border-radius: 12px;
    background: radial-gradient(ellipse at 50% 110%, rgb(var(--g2) / .35), transparent 60%), var(--surface-2);
}

.mock-hero strong {
    width: 70%;
    height: 14px;
    border-radius: 5px;
    background: var(--ink-bg);
}

.mock-hero strong.short {
    width: 45%;
    background: var(--grad);
}

.mock-hero p {
    width: 55%;
    height: 7px;
    margin: 4px 0 0;
    border-radius: 4px;
    background: #ddd8d1;
}

.mock-hero em {
    width: 70px;
    height: 20px;
    border-radius: 999px;
    background: var(--ink-bg);
}

.mock-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mock-cards div {
    height: 58px;
    border-radius: 10px;
    background: #f4f1ed;
    border: 1px solid #ebe6df;
}

/* phone mock */
.mock-phone {
    position: relative;
    z-index: 2;
    width: 200px;
    height: 360px;
    border-radius: 34px;
    background: var(--surface);
    border: 7px solid #121216;
    box-shadow: 0 30px 60px -18px rgba(0, 0, 0, .7);
    padding: 26px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: rotate(4deg);
    transition: transform .8s var(--ease);
}

.showcase-card:hover .mock-phone:not(.mock-phone-back) {
    transform: rotate(0) translateY(-6px);
}

.mock-phone-back {
    position: absolute;
    z-index: 1;
    transform: rotate(-12deg) translateX(-110px) scale(.86);
    opacity: .55;
    padding: 0;
}

.mock-notch {
    position: absolute;
    top: 6px;
    left: 50%;
    width: 70px;
    height: 14px;
    border-radius: 999px;
    background: #121216;
    transform: translateX(-50%);
}

.mock-app-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-app-head b {
    width: 70px;
    height: 12px;
    border-radius: 4px;
    background: var(--ink-bg);
}

.mock-app-head span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--grad);
}

.mock-app-card {
    height: 96px;
    border-radius: 16px;
    background: linear-gradient(135deg, #13a05b, #7de37a);
}

.mock-app-row {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px;
    border-radius: 12px;
    background: var(--surface-2);
}

.mock-app-row i {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    background: #e6e1da;
}

.mock-app-row b {
    display: block;
    width: 80px;
    height: 8px;
    border-radius: 4px;
    background: #c9c3bb;
    margin-bottom: 6px;
}

.mock-app-row span {
    display: block;
    width: 50px;
    height: 6px;
    border-radius: 4px;
    background: #e2ddd6;
}

.mock-app-tab {
    margin-top: auto;
    display: flex;
    justify-content: space-around;
    padding-top: 8px;
    border-top: 1px solid #efece8;
}

.mock-app-tab i {
    width: 16px;
    height: 16px;
    border-radius: 5px;
    background: var(--line);
}

.mock-app-tab i:first-child {
    background: var(--ink-bg);
}

/* dashboard mock */
.mock-dash {
    width: 100%;
    max-width: 500px;
    display: grid;
    grid-template-columns: 90px 1fr;
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
    transform: rotate(2deg);
    transition: transform .8s var(--ease);
}

.showcase-card:hover .mock-dash {
    transform: rotate(0) scale(1.02);
}

.mock-side {
    background: #121216;
    padding: 14px 10px;
    display: grid;
    align-content: start;
    gap: 10px;
}

.mock-side b {
    height: 12px;
    width: 50px;
    border-radius: 4px;
    background: var(--grad);
    margin-bottom: 8px;
}

.mock-side span {
    height: 8px;
    border-radius: 4px;
    background: #2e2e36;
}

.mock-side span.on {
    background: #5a5a66;
}

.mock-main {
    padding: 14px;
    display: grid;
    gap: 12px;
}

.mock-kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.mock-kpis div {
    padding: 10px;
    border-radius: 10px;
    background: var(--surface-2);
}

.mock-kpis small {
    display: block;
    width: 60%;
    height: 6px;
    border-radius: 4px;
    background: var(--line);
    margin-bottom: 8px;
}

.mock-kpis b {
    display: block;
    width: 80%;
    height: 12px;
    border-radius: 4px;
    background: var(--ink-bg);
}

.mock-chart {
    height: 150px;
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px;
    border-radius: 12px;
    background: var(--surface-2);
}

.mock-chart span {
    flex: 1;
    height: 8%;
    border-radius: 6px 6px 3px 3px;
    background: var(--grad);
    transition: height 1.2s var(--ease);
}

.showcase-card.is-in .mock-chart span {
    height: var(--h);
}

.mock-chart span:nth-child(2) { transition-delay: .06s; }
.mock-chart span:nth-child(3) { transition-delay: .12s; }
.mock-chart span:nth-child(4) { transition-delay: .18s; }
.mock-chart span:nth-child(5) { transition-delay: .24s; }
.mock-chart span:nth-child(6) { transition-delay: .30s; }
.mock-chart span:nth-child(7) { transition-delay: .36s; }
.mock-chart span:nth-child(8) { transition-delay: .42s; }

.mock-float {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
    font-size: 13px;
    color: var(--ink-2);
    animation: floaty 5s ease-in-out infinite;
}

.mock-float i {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--grad);
    color: #fff;
    font-size: 12px;
}

.mock-toast {
    right: 26px;
    bottom: 28px;
}

.mock-toast-2 {
    right: auto;
    left: 26px;
    top: 30px;
    bottom: auto;
}

@media (max-width: 900px) {
    .showcase-card {
        grid-template-columns: 1fr;
    }

    .showcase-card.is-flip .showcase-text {
        order: 0;
    }

    .showcase-visual {
        min-height: 320px;
    }
}

@media (max-width: 520px) {
    .showcase-text .check-list {
        grid-template-columns: 1fr;
    }

    .mock-phone-back {
        display: none;
    }
}

/* ---------- Process ---------- */
.process {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.process-line {
    position: absolute;
    top: 30px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px);
}

.process-line span {
    position: absolute;
    inset: 0;
    width: 0;
    background: var(--grad);
    transition: width 2.2s var(--ease) .3s;
}

.process.is-in .process-line span {
    width: 100%;
}

.process-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}

.process-dot {
    position: relative;
    z-index: 1;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    font-size: 22px;
    color: var(--accent);
    transition: background .5s, color .5s, transform .5s var(--ease);
}

.process.is-in .process-step .process-dot {
    background: var(--ink-bg);
    color: #fff;
    border-color: var(--ink);
}

.process-step:nth-child(2) .process-dot { transition-delay: .4s; }
.process-step:nth-child(3) .process-dot { transition-delay: .9s; }
.process-step:nth-child(4) .process-dot { transition-delay: 1.4s; }
.process-step:nth-child(5) .process-dot { transition-delay: 1.9s; }

.process-card {
    width: 100%;
    padding: 24px 20px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 20px;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.process-step:hover .process-card {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.process-num {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 6px;
}

.process-card h3 {
    margin: 0 0 6px;
}

.process-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

@media (max-width: 900px) {
    .process {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-left: 0;
    }

    .process-line {
        top: 30px;
        bottom: 30px;
        left: 30px;
        right: auto;
        width: 2px;
        height: auto;
        background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 16px);
    }

    .process-line span {
        width: 100%;
        height: 0;
        transition: height 2.2s var(--ease) .3s;
    }

    .process.is-in .process-line span {
        width: 100%;
        height: 100%;
    }

    .process-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
    }

    .process-dot {
        flex-shrink: 0;
    }
}

/* ---------- Pricing ---------- */
#pricing {
    overflow: hidden;
}

.pricing-glow {
    left: 50%;
    top: 40%;
    width: 900px;
    height: 600px;
    transform: translateX(-50%);
}

.plans {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 32px 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-sm);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.plan:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.plan.is-featured {
    background: var(--dark);
    border-color: var(--dark);
    color: #b9bac2;
    box-shadow: 0 30px 70px -25px rgb(var(--g) / .55);
}

.plan.is-featured::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--grad);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--grad);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    box-shadow: var(--shadow-glow);
    white-space: nowrap;
}

.plan-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--accent);
}

.plan.is-featured .plan-icon {
    background: var(--grad);
    color: #fff;
    border: 0;
}

.plan-name {
    font-size: 22px;
    margin: 0;
}

.plan.is-featured .plan-name {
    color: #fff;
}

.plan-desc {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.plan.is-featured .plan-desc {
    color: #a3a4ad;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.plan-price strong {
    font-family: var(--font-head);
    font-size: 52px;
    line-height: 1;
    letter-spacing: -.04em;
    color: var(--ink);
}

.plan.is-featured .plan-price strong {
    color: #fff;
}

.plan-price span {
    color: var(--muted);
    font-weight: 600;
}

.plan-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.plan-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--line-2);
    font-size: 13px;
    font-weight: 600;
}

.plan.is-featured .plan-meta span {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .1);
    color: #e2e2e6;
}

.plan-meta i {
    color: var(--accent);
}

.plan .check-list {
    flex-grow: 1;
    font-size: 14.5px;
}

.plan.is-featured .check-list li {
    color: #d6d6dc;
}

.plan.is-featured .btn:not(.btn-accent) {
    --btn-bg: #fff;
    --btn-fg: var(--ink);
}

.plans-note {
    margin-top: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 24px;
    border-radius: 20px;
    background: var(--surface);
    border: 1px dashed #d9d2c9;
}

.plans-note strong {
    display: block;
    color: var(--ink);
    font-family: var(--font-head);
}

.plans-note span {
    color: var(--muted);
    font-size: 15px;
}

@media (max-width: 960px) {
    .plans {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

/* ---------- Niches ---------- */
.niche {
    padding: 24px;
    border-radius: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}

.niche:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent-line);
}

.niche-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    background: var(--ink-bg);
    color: #fff;
    font-size: 18px;
    margin-bottom: 16px;
    transition: background .4s;
}

.niche:hover .niche-icon {
    background: var(--accent);
}

.niche h3 {
    font-size: 18px;
    margin: 0 0 6px;
}

.niche p {
    margin: 0;
    font-size: 14.5px;
    color: var(--muted);
}

/* ---------- Testimonial ---------- */
.testi {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;
}

.testi-text {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
}

.testi-points {
    display: grid;
    gap: 12px;
}

.testi-points div {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--ink);
}

.testi-points i {
    color: var(--accent);
    font-size: 18px;
}

.testi-video {
    display: flex;
    justify-content: center;
}

.testi-frame {
    position: relative;
    width: 100%;
    max-width: 360px;
    aspect-ratio: 9 / 16;
    border-radius: 28px;
    overflow: hidden;
    background: var(--dark);
    box-shadow: 0 40px 80px -30px rgb(var(--g) / .45);
    border: 6px solid var(--surface);
    outline: 1px solid var(--line);
}

.testi-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 860px) {
    .testi {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================================
   Inner pages
   ========================================================== */

/* Start a project: numbered cards */
.project-cards .card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ---------- About ---------- */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-photo {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
    background: var(--line-2);
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-copy p {
    color: var(--muted);
    font-size: 17px;
}

.stats-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    margin-top: 70px;
}

.stats-band div {
    background: var(--surface);
    padding: 30px 20px;
    text-align: center;
}

.stats-band strong {
    display: block;
    font-family: var(--font-head);
    font-size: clamp(34px, 4vw, 46px);
    letter-spacing: -.03em;
    line-height: 1.1;
}

.stats-band span {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.leader {
    text-align: center;
}

.leader-img {
    width: 110px;
    height: 110px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--surface-2);
    box-shadow: 0 0 0 1px var(--line);
    background: var(--line-2);
}

.leader-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.leader h3 {
    font-size: 19px;
    margin: 0 0 4px;
}

.leader .role {
    display: block;
    color: var(--accent);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
}

.leader p {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
}

@media (max-width: 860px) {
    .about-split {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .stats-band {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ---------- Contact ---------- */
.contact-grid .card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-grid h3 {
    margin: 10px 0 2px;
}

.contact-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.contact-grid a {
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}

.contact-grid a:hover {
    color: var(--accent);
}

.contact-grid small {
    margin-top: auto;
    padding-top: 12px;
    color: var(--muted);
    font-size: 13px;
}

/* ---------- Toolbar + search (careers/clients/projects/blog) ---------- */
.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 36px;
}

.toolbar.is-centered {
    justify-content: center;
}

.search-wrapper {
    position: relative;
    flex: 1;
    max-width: 380px;
    margin: 0;
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    pointer-events: none;
    transition: color .2s;
}

.search-wrapper:focus-within .search-icon {
    color: var(--accent);
}

.search-input {
    width: 100%;
    padding: 15px 18px 15px 46px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-family: inherit;
    font-size: 15px;
    color: var(--ink);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    appearance: none;
}

.search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgb(var(--g) / .1);
}

.bp-no-results {
    text-align: center;
    color: var(--muted);
    padding: 30px 0 60px;
}

.cat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cat-filter a {
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink-2);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all .2s;
}

.cat-filter a:hover {
    border-color: var(--ink);
}

.cat-filter a.is-active {
    background: var(--ink-bg);
    border-color: var(--ink);
    color: #fff;
}

/* ---------- Image cards (projects, clients, blog) ---------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 1024px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}

.item-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}

.item-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.item-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #06231a, #0b5a33 60%, #2fbf62 140%);
    margin: 8px 8px 0;
    border-radius: 18px;
}

.item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .8s var(--ease);
}

.item-card:hover .item-thumb img {
    transform: scale(1.06);
}

.thumb-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .6);
    font-size: 40px;
}

.item-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    z-index: 1;
}

.item-year {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(10, 23, 17, .7);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    z-index: 1;
}

.item-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.item-title {
    font-size: 19px;
    margin: 0;
}

.item-title a {
    text-decoration: none;
}

.item-title a:hover {
    color: var(--accent);
}

.item-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

.item-country {
    font-size: 13px;
    color: var(--muted);
    white-space: nowrap;
}

.item-country i {
    color: var(--accent);
    margin-right: 4px;
}

.item-desc {
    margin: 0;
    color: var(--muted);
    font-size: 14.5px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-card .chips {
    margin-top: auto;
    padding-top: 6px;
}

.item-link {
    margin-top: auto;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-top: 6px;
}

.item-link i {
    color: var(--accent);
    transition: transform .3s var(--ease);
}

.item-link:hover i {
    transform: translateX(4px);
}

/* Pagination */
.pagination {
    margin-top: 40px;
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.page-numbers {
    min-width: 46px;
    height: 46px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    text-decoration: none;
    font-weight: 700;
    color: var(--ink-2);
}

a.page-numbers:hover {
    border-color: var(--ink);
}

.page-numbers.current {
    background: var(--ink-bg);
    border-color: var(--ink);
    color: #fff;
}

.page-numbers.dots {
    border-color: transparent;
    background: transparent;
}

.empty-state {
    text-align: center;
    padding: 40px 20px 60px;
    color: var(--muted);
}

.empty-state i {
    font-size: 42px;
    color: var(--accent);
    margin-bottom: 14px;
}

/* ---------- Careers ---------- */
.jobs {
    display: grid;
    gap: 16px;
    max-width: 980px;
    margin: 0 auto;
}

.job {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 26px 28px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}

.job:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: #e5cfc4;
}

.job h3 {
    font-size: 21px;
    margin: 0 0 8px;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 10px;
}

.job-meta i {
    color: var(--accent);
    margin-right: 5px;
}

.job p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 15px;
}

.job .btn {
    flex-shrink: 0;
}

@media (max-width: 720px) {
    .job {
        flex-direction: column;
        align-items: flex-start;
    }

    .job .btn {
        width: 100%;
    }
}

/* ---------- Single post ---------- */
.post-hero .item-meta {
    justify-content: center;
    gap: 18px;
    font-size: 14px;
}

.post-cat {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--ink-bg);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
}

.post-thumb {
    max-width: 1000px;
    margin: -20px auto 50px;
    padding-inline: 24px;
}

.post-thumb img {
    width: 100%;
    display: block;
    border-radius: 26px;
    box-shadow: var(--shadow);
}

.post-body {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px 40px;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 30px;
}

.post-tags a {
    text-decoration: none;
}

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}

.post-nav a {
    display: block;
    height: 100%;
    padding: 18px 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    text-decoration: none;
    transition: border-color .2s;
}

.post-nav a:hover {
    border-color: var(--ink);
}

.post-nav .next {
    text-align: right;
}

.post-nav small {
    display: block;
    color: var(--accent);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 4px;
}

.post-nav span {
    font-weight: 700;
    color: var(--ink);
}

@media (max-width: 640px) {
    .post-nav {
        grid-template-columns: 1fr;
    }

    .post-nav .next {
        text-align: left;
    }
}

/* Comments */
.bp-comments {
    margin-top: 50px;
    padding-top: 36px;
    border-top: 1px solid var(--line);
}

.bp-comments .comment-list {
    list-style: none;
    padding: 0;
}

.bp-comments .children {
    list-style: none;
    padding-left: 24px;
}

.bp-comments .comment-body {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 14px;
}

.bp-comments .comment-author {
    display: flex;
    gap: 10px;
    align-items: center;
}

.bp-comments .comment-author img {
    border-radius: 50%;
}

.bp-comments .comment-metadata a {
    color: var(--muted);
    font-size: 13px;
    text-decoration: none;
}

.bp-comments label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
}

.bp-comments input[type="text"],
.bp-comments input[type="email"],
.bp-comments input[type="url"],
.bp-comments textarea {
    width: 100%;
    padding: 13px 16px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-family: inherit;
    font-size: 15px;
}

.bp-comments input:focus,
.bp-comments textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.bp-comments .form-submit input {
    background: var(--ink-bg);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 700;
    cursor: pointer;
}

.bp-comments .comment-form-cookies-consent label {
    display: inline;
    font-weight: 400;
}

/* ==========================================================
   Home v2.1 – bento, pricing tabs, compact niches
   ========================================================== */
.home-hero {
    padding-bottom: 20px;
}

/* Bento */
.bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.bento-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 26px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 26px;
    overflow: hidden;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}

.bento-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: #e2d6cc;
}

.bento-tile.span-2 {
    grid-column: span 2;
}

.bento-tile.span-2.has-visual {
    flex-direction: row;
    align-items: stretch;
}

.bento-tile.span-2.has-visual .bento-copy {
    flex: 1 1 52%;
}

.bento-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bento-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.bento-tile h3 {
    font-size: 20px;
    margin: 0;
}

.bento-tile p {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 15px;
}

.bento-tile .chips {
    margin-top: auto;
}

.bento-tile.is-dark {
    background: var(--dark);
    border-color: var(--dark);
}

.bento-tile.is-dark h3 {
    color: #fff;
}

.bento-tile.is-dark p {
    color: #a3a4ad;
}

.bento-tile.is-dark .chip {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .1);
    color: #e2e2e6;
}

.bento-tile.is-dark .icon-tile {
    background: var(--grad);
    border: 0;
    color: #fff;
}

.bento-visual {
    position: relative;
    flex: 1 1 48%;
    border-radius: 18px;
    background: var(--surface-2);
    border: 1px solid var(--line-2);
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 200px;
}

/* flow visual */
.viz-flow {
    gap: 0;
    background: radial-gradient(ellipse at 80% 0%, rgb(var(--g2) / .12), transparent 60%), var(--surface-2);
}

.flow-node {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink);
    box-shadow: var(--shadow-sm);
    opacity: .45;
    transform: translateX(-6px);
    transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .6s;
}

.flow-node i {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--ink-bg);
    color: #fff;
    font-size: 12px;
}

.flow-node.is-hot i {
    background: var(--grad);
}

.flow-line {
    position: relative;
    width: 2px;
    height: 14px;
    margin-left: 24px;
    background: var(--line);
}

.flow-line em {
    position: absolute;
    inset: 0;
    height: 0;
    background: var(--grad);
    transition: height .4s linear;
}

.bento-tile.is-in .flow-node {
    opacity: 1;
    transform: none;
}

.bento-tile.is-in .flow-node:nth-child(3) { transition-delay: .5s; }
.bento-tile.is-in .flow-node:nth-child(5) { transition-delay: 1s; }
.bento-tile.is-in .flow-node:nth-child(7) { transition-delay: 1.5s; }
.bento-tile.is-in .flow-line em { height: 100%; }
.bento-tile.is-in .flow-line:nth-child(2) em { transition-delay: .3s; }
.bento-tile.is-in .flow-line:nth-child(4) em { transition-delay: .8s; }
.bento-tile.is-in .flow-line:nth-child(6) em { transition-delay: 1.3s; }

/* chat visual */
.viz-chat {
    gap: 10px;
}

.bubble {
    max-width: 88%;
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 13.5px;
    line-height: 1.45;
    opacity: 0;
    transform: translateY(10px) scale(.97);
    transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.bubble.out {
    align-self: flex-start;
    background: var(--surface);
    border: 1px solid var(--line);
    border-bottom-left-radius: 4px;
    color: var(--ink-2);
}

.bubble.in {
    align-self: flex-end;
    background: var(--ink-bg);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.bubble.ok {
    font-weight: 700;
    color: #0f8a4f;
    background: rgba(19, 160, 91, .08);
    border-color: rgba(19, 160, 91, .25);
}

.bento-tile.is-in .bubble {
    opacity: 1;
    transform: none;
}

.bento-tile.is-in .bubble:nth-child(2) { transition-delay: .7s; }
.bento-tile.is-in .bubble:nth-child(3) { transition-delay: 1.4s; }

/* bars visual */
.viz-bars {
    min-height: 0;
    margin-top: auto;
    padding: 14px;
    background: var(--dark);
    border-color: var(--dark);
}

.viz-bars-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.viz-bars-head small {
    color: #9d9ea8;
    font-weight: 700;
    letter-spacing: .06em;
}

.viz-bars-head b {
    color: #fff;
    font-family: var(--font-head);
    font-size: 22px;
}

.viz-bars-row {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 64px;
}

.viz-bars-row span {
    flex: 1;
    height: 8%;
    border-radius: 5px 5px 2px 2px;
    background: var(--grad);
    transition: height 1.1s var(--ease);
}

.bento-tile.is-in .viz-bars-row span {
    height: var(--h);
}

.viz-bars-row span:nth-child(2) { transition-delay: .08s; }
.viz-bars-row span:nth-child(3) { transition-delay: .16s; }
.viz-bars-row span:nth-child(4) { transition-delay: .24s; }
.viz-bars-row span:nth-child(5) { transition-delay: .32s; }
.viz-bars-row span:nth-child(6) { transition-delay: .40s; }

/* report visual */
.viz-report {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .08);
}

.report-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
    transform: rotate(-2deg);
    transition: transform .6s var(--ease);
}

.bento-tile:hover .report-card {
    transform: rotate(0) translateY(-4px);
}

.report-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--line-2);
}

.report-top b {
    display: block;
    color: var(--ink);
    font-size: 14px;
}

.report-top small {
    color: var(--muted);
    font-size: 12px;
}

.report-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.report-card li {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
    color: var(--muted);
}

.report-card li b {
    color: #0f8a4f;
    font-family: var(--font-head);
}

@media (max-width: 1100px) {
    .bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .bento {
        grid-template-columns: 1fr;
    }

    .bento-tile.span-2 {
        grid-column: auto;
    }

    .bento-tile.span-2.has-visual {
        flex-direction: column;
    }
}

/* Pricing tabs */
.price-tabs {
    position: relative;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
}

.price-tabs-wrap {
    text-align: center;
    margin: -16px 0 44px;
}

.price-tabs button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border: 0;
    background: none;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 15px;
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
    transition: color .35s;
}

.price-tabs button.is-active {
    color: #fff;
}

.price-tabs-pill {
    position: absolute;
    top: 6px;
    bottom: 6px;
    left: 6px;
    width: calc(50% - 6px);
    border-radius: 999px;
    background: var(--ink-bg);
    transition: transform .5s var(--ease);
}

.price-tabs.is-second .price-tabs-pill {
    transform: translateX(100%);
}

.price-panel {
    animation: panelIn .6s var(--ease);
}

@keyframes panelIn {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

.plan-price span:first-child:not(:last-child) {
    align-self: center;
    margin-right: 2px;
}

@media (max-width: 480px) {
    .price-tabs button {
        padding: 11px 14px;
        font-size: 14px;
    }
}

/* Compact niches */
.niche-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.niche-grid .niche {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    background: var(--surface-2);
}

.niche-grid .niche-icon {
    width: 42px;
    height: 42px;
    font-size: 16px;
    margin: 0;
    flex-shrink: 0;
}

.niche-grid .niche h3 {
    font-size: 16px;
    margin: 2px 0 4px;
}

.niche-grid .niche p {
    font-size: 13.5px;
}

@media (max-width: 1024px) {
    .niche-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .niche-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================
   Industry pages (Coaches, Healthcare, Education) – v2.2
   ========================================================== */
.ind-chips {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.ind-chips li {
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .75);
    border: 1px solid var(--line);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-2);
    backdrop-filter: blur(6px);
}

/* Pains */
.ind-pains {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ind-pain {
    position: relative;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
}

.ind-pain-icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    background: var(--ink-bg);
    color: #fff;
    font-size: 18px;
    margin-bottom: 18px;
}

.ind-pain h3 {
    font-size: 19px;
    line-height: 1.3;
    margin: 0 0 8px;
    text-wrap: balance;
}

.ind-pain p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.ind-fix {
    margin: 34px 0 0;
    text-align: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(18px, 2vw, 22px);
    color: var(--ink);
}

.ind-fix i {
    color: var(--accent);
    margin-right: 6px;
    animation: floaty 2.4s ease-in-out infinite;
    display: inline-block;
}

/* Roles */
.ind-roles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.ind-role {
    padding: 24px;
    border-radius: 20px;
    background: var(--surface-2);
    border: 1px solid var(--line-2);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}

.ind-role:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent-line);
}

.ind-role-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ind-role-head h3 {
    font-size: 17px;
    line-height: 1.25;
    margin: 0;
}

.ind-role .check-list {
    gap: 8px;
}

.ind-role .check-list li {
    font-size: 14px;
    line-height: 1.5;
}

.ind-role .check-list li::before {
    width: 17px;
    height: 17px;
}

.ind-role-pm {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 22px;
    background: var(--dark);
    border-color: var(--dark);
    color: #b9bac2;
}

.ind-role-pm .ind-role-head {
    margin: 0;
    flex-shrink: 0;
}

.ind-role-pm h3 {
    color: #fff;
}

.ind-role-pm p {
    margin: 0;
    font-size: 15px;
}

/* Week */
.ind-week {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    position: relative;
}

.ind-week::before {
    content: '';
    position: absolute;
    left: 6%;
    right: 6%;
    top: 22px;
    height: 2px;
    background: linear-gradient(90deg, rgb(var(--g) / .5), rgb(var(--g2) / .5));
    z-index: 0;
}

.ind-day {
    position: relative;
    z-index: 1;
    padding: 0 20px 22px;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    text-align: center;
}

.ind-day-name {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    height: 44px;
    padding: 0 14px;
    margin-top: 0;
    border-radius: 999px;
    background: var(--grad);
    color: #fff;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 10px 22px -10px rgb(var(--g) / .6);
    transform: translateY(0);
}

.ind-day h3 {
    font-size: 16px;
    line-height: 1.3;
    margin: 16px 0 6px;
    text-wrap: balance;
}

.ind-day p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.ind-note {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin: 34px auto 0;
    max-width: 860px;
    padding: 22px 26px;
    border-radius: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 0;
    box-shadow: var(--shadow-sm);
}

.ind-note-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 19px;
}

.ind-note h3 {
    margin: 2px 0 6px;
    font-size: 17px;
}

.ind-note p {
    margin: 0;
    font-size: 15px;
    color: var(--muted);
}

/* Plan tip above plans */
.plan-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: -18px auto 34px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    color: var(--ink-2);
    font-size: 14.5px;
    font-weight: 600;
    text-align: center;
}

.plan-tip i {
    color: var(--accent-2);
}

/* One-time builds */
.ind-builds {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ind-build {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    color: inherit;
    text-decoration: none;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}

.ind-build:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--accent-line);
}

.ind-build h3 {
    margin: 8px 0 0;
    font-size: 19px;
}

.ind-build p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    flex: 1;
}

.ind-build-price {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--line-2);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 24px;
    color: var(--ink);
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.ind-build-price small {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.ind-build-price i {
    margin-left: auto;
    font-size: 14px;
    color: var(--accent);
    transition: transform .3s var(--ease);
}

.ind-build:hover .ind-build-price i {
    transform: translateX(4px);
}

/* Other industries strip */
.ind-others {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-bottom: clamp(48px, 6vw, 72px);
}

.ind-others span {
    font-weight: 600;
    color: var(--muted);
    margin-right: 4px;
}

.ind-others a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--ink);
    font-weight: 600;
    font-size: 14.5px;
    text-decoration: none;
    transition: border-color .3s, transform .3s var(--ease);
}

.ind-others a i {
    color: var(--accent);
}

.ind-others a:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Niche cards that link to an industry page */
a.niche {
    color: inherit;
    text-decoration: none;
}

.niche.is-link {
    border-color: var(--accent-line);
    background: linear-gradient(180deg, var(--surface), var(--accent-soft));
}

.niche-go {
    font-size: 11px;
    color: var(--accent);
    margin-left: 4px;
    transition: transform .3s var(--ease);
}

.niche.is-link:hover .niche-go {
    transform: translateX(4px);
}

@media (max-width: 1100px) {
    .ind-roles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ind-week {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 14px;
    }

    .ind-week::before {
        display: none;
    }
}

@media (max-width: 860px) {
    .ind-pains,
    .ind-builds {
        grid-template-columns: 1fr;
    }

    .ind-role-pm {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
}

@media (max-width: 560px) {
    .ind-roles,
    .ind-week {
        grid-template-columns: 1fr;
    }

    .ind-note {
        flex-direction: column;
    }

    .plan-tip {
        border-radius: 18px;
    }
}

/* v2.3 dark-mode details for page parts */
:root[data-theme="dark"] .board {
    border-color: var(--line);
}

:root[data-theme="dark"] .float-toast,
:root[data-theme="dark"] .ind-chips li {
    background: var(--surface-2);
    border-color: var(--line);
}

:root[data-theme="dark"] .plan-tip {
    color: var(--ink-2);
}

:root[data-theme="dark"] .ind-role-pm,
:root[data-theme="dark"] .bento-tile.is-dark,
:root[data-theme="dark"] .plan.is-featured {
    border-color: var(--accent-line);
}

/* ==========================================================
   Hero heading animation (v2.4.1)
   Words rise from a mask one by one, green words get a light sweep,
   the eyebrow dot pulses.
   ========================================================== */
.hero-title .hw {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding: .06em .02em .14em;
    margin: -.06em -.02em -.14em;
}

.hero-title .hw-in {
    display: inline-block;
}

.bp-js .hero-title .hw-in {
    transform: translateY(115%) rotate(4deg);
    opacity: 0;
    animation: bpWordUp 1s var(--ease) forwards;
    animation-delay: calc(.15s + var(--i) * .09s);
}

.bp-entering .hero-title .hw-in {
    animation-play-state: paused;
}

@keyframes bpWordUp {
    to {
        transform: none;
        opacity: 1;
    }
}

.hero-title .hw-shine {
    background-image: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 35%, #c9f7da 50%, var(--accent-2) 65%, var(--accent) 100%);
    background-size: 280% 100%;
    background-position: 100% 0;
}

.bp-js .hero-title .hw-shine {
    animation: bpWordUp 1s var(--ease) forwards, bpShine 5.5s ease-in-out infinite;
    animation-delay: calc(.15s + var(--i) * .09s), calc(1.4s + var(--i) * .12s);
}

@keyframes bpShine {
    0%, 55% { background-position: 100% 0; }
    85%, 100% { background-position: 0% 0; }
}

:root[data-theme="dark"] .hero-title .hw-shine {
    background-image: linear-gradient(100deg, var(--accent) 0%, var(--accent-3) 35%, #ffffff 50%, var(--accent-3) 65%, var(--accent) 100%);
}

/* Eyebrow dot pulse */
.home-hero .eyebrow::before {
    position: relative;
    animation: bpPulse 2.4s ease-out infinite;
}

@keyframes bpPulse {
    0% { box-shadow: 0 0 0 0 rgb(var(--g) / .45); }
    70% { box-shadow: 0 0 0 9px rgb(var(--g) / 0); }
    100% { box-shadow: 0 0 0 0 rgb(var(--g) / 0); }
}

@media (prefers-reduced-motion: reduce) {
    .bp-js .hero-title .hw-in,
    .bp-js .hero-title .hw-shine,
    .home-hero .eyebrow::before {
        animation: none;
        transform: none;
        opacity: 1;
    }
}

/* ==========================================================
   v2.5 – Managed employees: wide bento tile + "Most hired" roles
   ========================================================== */
.bento-tile.span-4 {
    grid-column: 1 / -1;
}

.bento-tile.span-4.has-visual {
    flex-direction: row;
    align-items: center;
}

.bento-tile.span-4 .bento-copy {
    flex: 1 1 55%;
}

.bento-tile.span-4 .bento-visual {
    flex: 0 1 380px;
}

@media (max-width: 760px) {
    .bento-tile.span-4.has-visual {
        flex-direction: column;
        align-items: stretch;
    }

    .bento-tile.span-4 .bento-visual {
        flex-basis: auto;
    }
}

/* Most hired */
.hot-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

.hot-grid::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgb(var(--g) / .45) 0 10px, transparent 10px 18px);
    z-index: 0;
}

.hot-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 26px 26px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}

.hot-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: var(--accent-line);
}

.hot-card.is-hot {
    border-color: var(--accent-line);
    box-shadow: 0 30px 60px -30px rgb(var(--g) / .45);
}

.hot-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: -1px auto 4px;
    padding: 8px 16px 8px 8px;
    width: fit-content;
    border-radius: 0 0 18px 18px;
    background: var(--ink-bg);
    color: #fff;
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.hot-card.is-hot .hot-step {
    background: var(--grad);
}

.hot-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
}

.hot-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hot-head small {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
}

.hot-head h3 {
    margin: 0;
    font-size: clamp(21px, 2vw, 25px);
    line-height: 1.15;
}

.hot-need {
    margin: 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--surface-2);
    border: 1px dashed var(--line);
    font-size: 14.5px;
    color: var(--ink-2);
}

.hot-need i {
    color: #d97706;
    margin-right: 4px;
}

.hot-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.hot-card .check-list {
    gap: 9px;
}

.hot-card .check-list li {
    font-size: 15px;
}

.hot-result {
    margin: 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    color: var(--ink);
    font-weight: 600;
    font-size: 14.5px;
}

.hot-result i {
    color: var(--accent);
    margin-right: 4px;
}

.hot-foot {
    margin-top: auto;
    display: grid;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--line-2);
}

.hot-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 6px;
}

.hot-price small {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.hot-price strong {
    font-family: var(--font-head);
    font-size: 30px;
    color: var(--ink);
    line-height: 1;
}

.hot-price span {
    color: var(--muted);
    font-weight: 600;
}

.hot-price em {
    flex-basis: 100%;
    font-style: normal;
    font-size: 13.5px;
    color: var(--muted);
}

.hot-other {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 36px;
}

.hot-other > span {
    font-weight: 700;
    color: var(--ink-2);
    margin-right: 4px;
}

.hot-other .chip {
    text-decoration: none;
    padding: 9px 14px;
    background: var(--surface);
    border-color: var(--line);
    transition: border-color .3s, transform .3s var(--ease);
}

.hot-other .chip i {
    color: var(--accent);
}

.hot-other .chip:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

@media (max-width: 960px) {
    .hot-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

    .hot-grid::before {
        display: none;
    }
}

/* Plan cards: hours per month line */
.plan-month {
    margin: -6px 0 0;
    font-size: 14px;
    color: var(--muted);
}

.plan-month b {
    color: var(--ink);
}

.plan.is-featured .plan-month,
.plan.is-featured .plan-month b {
    color: #d7e7dd;
}

/* What the Starter plan buys */
.price-math {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    width: fit-content;
    max-width: 100%;
    margin: -10px auto 38px;
    padding: 14px 22px;
    border-radius: 22px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

.price-math > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.15;
}

.price-math strong {
    font-family: var(--font-head);
    font-size: 22px;
    color: var(--ink);
}

.price-math span {
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 600;
}

.price-math > i {
    color: var(--accent);
    font-size: 13px;
}

@media (max-width: 560px) {
    .price-math {
        padding: 14px;
        gap: 8px 10px;
    }

    .price-math strong {
        font-size: 18px;
    }
}

/* Niche pages: problem -> who fixes it */
.ind-pain {
    display: flex;
    flex-direction: column;
}

.ind-fixed {
    margin-top: auto;
    padding-top: 18px;
    display: grid;
    gap: 8px;
}

.ind-fixed-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    border-top: 1px dashed var(--line);
    padding-top: 16px;
}

.ind-fixed-label i {
    color: var(--accent);
    animation: floaty 2.4s ease-in-out infinite;
}

.ind-fixed-role {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    border: 1px solid var(--accent-line);
    color: var(--ink);
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15px;
}

.ind-fixed-role i {
    color: var(--accent);
}

.ind-fixed p {
    margin: 0;
    color: var(--ink-2);
    font-size: 14.5px;
}

.ind-pain p:not(.ind-fixed p) {
    margin-bottom: 0;
}

/* ==========================================================
   Process v2.5.1 – equal boxes + premium motion
   - all four cards the same height
   - dots pop in one after another, a soft ring spins around the active one
   - a light runs along the line, and the steps take turns lighting up
   ========================================================== */
.process-step {
    align-self: stretch;
}

.process-card {
    position: relative;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s, background .4s;
}

.process-card::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .6s var(--ease);
}

.process-step:hover .process-card::before {
    transform: scaleX(1);
}

.process-bg-num {
    position: absolute;
    right: 10px;
    bottom: -18px;
    z-index: -1;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 86px;
    line-height: 1;
    color: rgb(var(--g) / .07);
    transition: transform .6s var(--ease), color .4s;
}

.process-step:hover .process-bg-num {
    transform: translateY(-8px);
    color: rgb(var(--g) / .14);
}

.process-num {
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    font-size: 11.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.process-dot {
    font-size: 0;
}

.process-dot svg {
    position: relative;
    z-index: 1;
    transition: transform .6s var(--ease);
}

.process-step:hover .process-dot svg {
    transform: rotate(-10deg) scale(1.12);
}

/* Dots pop in one by one */
.bp-js .process .process-dot {
    transform: scale(.6);
    opacity: .4;
}

.bp-js .process.is-in .process-dot {
    transform: none;
    opacity: 1;
    transition: transform .7s cubic-bezier(.34, 1.56, .64, 1), opacity .4s, background .5s, color .5s;
    transition-delay: calc(.3s + var(--s, 0) * .45s);
}

/* Spinning gradient ring around each dot */
.process-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    padding: 2px;
    background: conic-gradient(from 0deg, transparent 0 55%, var(--accent-3), var(--accent) 85%, transparent);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity .4s;
    animation: bpSpin 2.6s linear infinite;
    pointer-events: none;
}

@keyframes bpSpin {
    to { transform: rotate(360deg); }
}

.process-step:hover .process-ring {
    opacity: 1;
}

/* Steps take turns lighting up (4 steps x 1.5s) */
.process.is-in .process-step .process-ring {
    animation: bpSpin 2.6s linear infinite, bpRingLit 6s ease-in-out infinite;
    animation-delay: 0s, calc(2.6s + var(--s, 0) * 1.5s);
}

@keyframes bpRingLit {
    0%, 30%, 100% { opacity: 0; }
    6%, 22% { opacity: 1; }
}

.process.is-in .process-step .process-card {
    animation: bpCardLit 6s ease-in-out infinite;
    animation-delay: calc(2.6s + var(--s, 0) * 1.5s);
}

@keyframes bpCardLit {
    0%, 30%, 100% {
        border-color: var(--line);
        box-shadow: none;
    }

    6%, 22% {
        border-color: var(--accent-line);
        box-shadow: 0 18px 40px -22px rgb(var(--g) / .55);
    }
}

/* Light running along the line */
.process-runner {
    position: absolute;
    top: 50%;
    left: 0;
    width: 70px;
    height: 6px;
    margin-top: -3px;
    border-radius: 6px;
    background: linear-gradient(90deg, transparent, rgb(var(--g2) / .9), #fff);
    filter: blur(1px);
    box-shadow: 0 0 14px rgb(var(--g2) / .8);
    opacity: 0;
}

.process.is-in .process-runner {
    animation: bpRun 6s ease-in-out 2.6s infinite;
}

@keyframes bpRun {
    0% { left: 0; opacity: 0; }
    8% { opacity: 1; }
    85% { opacity: 1; }
    100% { left: calc(100% - 70px); opacity: 0; }
}

@media (max-width: 900px) {
    .process-card {
        align-items: flex-start;
    }

    .process-runner {
        top: 0;
        left: 50%;
        width: 6px;
        height: 70px;
        margin: 0 0 0 -3px;
        background: linear-gradient(180deg, transparent, rgb(var(--g2) / .9), #fff);
    }

    .process.is-in .process-runner {
        animation-name: bpRunDown;
    }

    @keyframes bpRunDown {
        0% { top: 0; opacity: 0; }
        8% { opacity: 1; }
        85% { opacity: 1; }
        100% { top: calc(100% - 70px); opacity: 0; }
    }
}

@media (prefers-reduced-motion: reduce) {
    .process-runner,
    .process-ring {
        display: none;
    }

    .process.is-in .process-step .process-card {
        animation: none;
    }

    .bp-js .process .process-dot {
        transform: none;
        opacity: 1;
    }
}

:root[data-theme="dark"] .process.is-in .process-step .process-dot {
    border-color: var(--accent-line);
}

/* ==========================================================
   v2.6 – Industry hero pipeline: the client's journey, step by step,
   with the BP role that handles each step. Steps light up in turn.
   ========================================================== */
.ind-flow {
    width: 100%;
    max-width: 980px;
    margin-top: 34px;
    border-radius: 24px;
    background: rgb(var(--surface-rgb) / .86);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    box-shadow: 0 40px 80px -36px rgb(var(--g-deep) / .45);
    text-align: left;
    overflow: hidden;
}

.ind-flow-top {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-bottom: 1px solid var(--line-2);
}

.ind-flow-dots {
    display: flex;
    gap: 6px;
}

.ind-flow-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f57;
}

.ind-flow-dots i:nth-child(2) { background: #febc2e; }
.ind-flow-dots i:nth-child(3) { background: #28c840; }

.ind-flow-title {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
}

.ind-flow-live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
}

.ind-flow-live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    animation: bpPulse 2s ease-out infinite;
}

.ind-flow-steps {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 26px 22px 24px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ind-flow-track {
    position: absolute;
    left: calc(12.5% + 11px);
    right: calc(12.5% + 11px);
    top: 50px;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}

.ind-flow-track em {
    position: absolute;
    top: -2px;
    left: 0;
    width: 60px;
    height: 6px;
    border-radius: 6px;
    background: linear-gradient(90deg, transparent, rgb(var(--g2) / .9), #fff);
    box-shadow: 0 0 12px rgb(var(--g2) / .8);
    animation: bpFlowRun 4.8s ease-in-out infinite;
}

@keyframes bpFlowRun {
    0% { left: 0; opacity: 0; }
    6% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: calc(100% - 60px); opacity: 0; }
}

.ind-flow-steps li {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.ind-flow-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 6px;
    border-radius: 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--accent);
    font-size: 18px;
    box-shadow: var(--shadow-sm);
    animation: bpFlowLit 4.8s ease-in-out infinite;
    animation-delay: calc(var(--f, 0) * 1.1s);
}

@keyframes bpFlowLit {
    0%, 26%, 100% {
        background: var(--surface);
        color: var(--accent);
        transform: none;
        box-shadow: var(--shadow-sm);
    }

    6%, 20% {
        background: var(--accent);
        color: #fff;
        transform: translateY(-4px) scale(1.08);
        box-shadow: 0 14px 28px -12px rgb(var(--g) / .7);
    }
}

.ind-flow-steps b {
    font-family: var(--font-head);
    font-size: 15px;
    color: var(--ink);
    line-height: 1.25;
}

.ind-flow-steps small {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--line-2);
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 700px) {
    .ind-flow-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 12px;
    }

    .ind-flow-track {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ind-flow-track em,
    .ind-flow-ic,
    .ind-flow-live i {
        animation: none;
    }
}

/* Monthly hours as the headline under the price */
.plan-month {
    margin: -4px 0 0;
    font-size: 15px;
    font-weight: 600;
}

.plan-month b {
    font-family: var(--font-head);
    font-size: 19px;
    color: var(--accent);
}

.plan.is-featured .plan-month b {
    color: #7fe0a3;
}
