/* ============ ROOT / THEME ============ */
:root {
    --bg: #0a0c10;
    --bg-1: #0e1116;
    --surface: #12161d;
    --surface-2: #171c25;
    --border: #242b36;
    --border-soft: #1a2029;
    --text: #eef1f5;
    --text-dim: #9aa4b2;
    --text-faint: #5b6472;
    --amber: #ffa826;
    --amber-dim: #8a5a1e;
    --teal: #2ee6c8;
    --teal-dim: #175f54;
    --red: #ff5c5c;
    --grain-opacity: 0.05;
    --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
    --radius-lg: 22px;
    --radius-md: 14px;
    --radius-sm: 8px;
    color-scheme: dark;
    --amber-h: #e6941c;
    --amber-glow: rgba(255, 168, 38, 0.28);
    --amber-light: rgba(255, 168, 38, 0.12);
    --amber-mid: rgba(255, 168, 38, 0.35);
    --teal-light: rgba(46, 230, 200, 0.12);
    --teal-mid: rgba(46, 230, 200, 0.3);
    --red-light: rgba(255, 92, 92, 0.12);
    --grid-line: rgba(255, 168, 38, 0.05);
    --glow-1: rgba(255, 168, 38, 0.08);
    --glow-2: rgba(46, 230, 200, 0.06);
    --shadow-sm: 0 4px 24px rgba(0, 0, 0, 0.4);
}

html[data-theme="light"] {
    --bg: #f6f4ee;
    --bg-1: #efece3;
    --surface: #ffffff;
    --surface-2: #fbfaf6;
    --border: #e4e0d4;
    --border-soft: #ebe7db;
    --text: #161a1f;
    --text-dim: #5c6470;
    --text-faint: #8b93a0;
    --amber: #c96f00;
    --amber-dim: #eecb9a;
    --teal: #0a8f7c;
    --teal-dim: #b7e9e0;
    --red: #c73030;
    --grain-opacity: 0.035;
    --shadow-lg: 0 30px 80px -25px rgba(20, 20, 10, 0.18);
    color-scheme: light;
    --amber-h: #a85c00;
    --amber-glow: rgba(201, 111, 0, 0.18);
    --amber-light: rgba(201, 111, 0, 0.08);
    --amber-mid: rgba(201, 111, 0, 0.3);
    --teal-light: rgba(10, 143, 124, 0.08);
    --teal-mid: rgba(10, 143, 124, 0.3);
    --red-light: rgba(199, 48, 48, 0.08);
    --grid-line: rgba(201, 111, 0, 0.05);
    --glow-1: rgba(201, 111, 0, 0.06);
    --glow-2: rgba(10, 143, 124, 0.05);
    --shadow-sm: 0 4px 24px rgba(20, 18, 15, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Instrument Sans", sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background 0.4s ease, color 0.4s ease;
    position: relative;
}

h1,
h2,
h3,
h4 {
    font-family: "Bricolage Grotesque", sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.mono {
    font-family: "IBM Plex Mono", monospace;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

::selection {
    background: var(--amber);
    color: #0a0c10;
}

/* grain overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: var(--grain-opacity);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

.eyebrow {
    font-family: "IBM Plex Mono", monospace;
    font-size: 12.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--amber);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .eyebrow::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--teal);
        box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 25%, transparent);
        animation: pulse-dot 2s ease-in-out infinite;
    }

@keyframes pulse-dot {

    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14.5px;
    letter-spacing: -0.01em;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--amber);
    color: #0a0c10;
    box-shadow: 0 10px 30px -8px rgba(255, 168, 38, 0.45);
}

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 40px -8px rgba(255, 168, 38, 0.6);
    }

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

    .btn-ghost:hover {
        border-color: var(--text-dim);
        transform: translateY(-2px);
    }

.btn-sm {
    padding: 10px 18px;
    font-size: 13px;
}

/* ============ NAV ============ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px 10px 20px;
    background: color-mix(in srgb, var(--surface) 72%, transparent);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    box-shadow: 0 10px 40px -20px rgba(0, 0, 0, 0.4);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Bricolage Grotesque";
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
}

.logo-mark {
    width: 30px;
    height: 30px;
    position: relative;
    flex-shrink: 0;
}

    .logo-mark svg {
        width: 100%;
        height: 100%;
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
}

    .nav-links a {
        transition: color 0.2s ease;
        position: relative;
    }

        .nav-links a:hover {
            color: var(--text);
        }

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-right: 5px;
}

.theme-toggle {
    width: 44px;
    height: 26px;
    border-radius: 20px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    position: relative;
    padding: 0;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

    .theme-toggle .knob {
        position: absolute;
        top: 2px;
        left: 2px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: var(--amber);
        transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2), background 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

html[data-theme="light"] .theme-toggle .knob {
    transform: translateX(18px);
    background: var(--amber);
}

.theme-toggle .knob svg {
    width: 12px;
    height: 12px;
}

.hamburger {
    display: none;
    width: 36px;
    height: 36px;
    position: relative;
    flex-shrink: 0;
}

    .hamburger span {
        position: absolute;
        left: 8px;
        right: 8px;
        height: 2px;
        background: var(--text);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

        .hamburger span:nth-child(1) {
            top: 12px;
        }

        .hamburger span:nth-child(2) {
            top: 18px;
        }

        .hamburger span:nth-child(3) {
            top: 24px;
        }

    .hamburger.open span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 16px;
    right: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    flex-direction: column;
    gap: 4px;
    z-index: 99;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

    .mobile-menu.open {
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .mobile-menu a {
        padding: 12px 8px;
        border-radius: 8px;
        font-weight: 500;
    }

        .mobile-menu a:hover {
            background: var(--surface-2);
            color: var(--text);
        }

    .mobile-menu .btn {
        margin-top: 10px;
    }

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-right .btn-ghost {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-menu {
        display: flex;
    }

    .nav-right .theme-toggle {
        display: none;
    }

    .nav-right .btn {
        display: none;
    }
}


/* ============ HERO ============ */
.hero {
    position: relative;
    padding: 170px 0 100px;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--border-soft) 1px, transparent 1px), linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 10%, transparent 75%);
    opacity: 0.6;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, color-mix(in srgb, var(--amber) 16%, transparent) 0%, transparent 65%);
    filter: blur(10px);
    z-index: 0;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 20px;
    align-items: center;
}

@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

.hero-text h1 {
    font-size: clamp(2.4rem, 5.2vw, 4.4rem);
    font-weight: 700;
    margin: 20px 0 22px;
}

    .hero-text h1 .accent {
        color: var(--amber);
        font-style: italic;
        font-weight: 500;
    }

.hero-text p {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 520px;
    margin-bottom: 36px;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 46px;
}

.hero-meta {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid var(--border-soft);
}

    .hero-meta div {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .hero-meta .num {
        font-family: "IBM Plex Mono";
        font-size: 22px;
        font-weight: 600;
        color: var(--text);
    }

    .hero-meta .lbl {
        font-size: 12.5px;
        color: var(--text-faint);
    }

.hero-visual {
    position: relative;
    height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
}



#hero-canvas {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}


#hero-canvas.ready {
    opacity: 1;
}


.hero-visual-frame {
    position: absolute;
    padding: 8px 14px;
    background: color-mix(in srgb, var(--surface) 80%, transparent);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: "IBM Plex Mono";
    font-size: 11.5px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: float-chip 6s ease-in-out infinite;
}

    .hero-visual-frame .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--teal);
    }

.chip-1 {
    top: 8%;
    left: 2%;
    animation-delay: 0s;
}

.chip-2 {
    bottom: 14%;
    right: 0%;
    animation-delay: 1.5s;
}

.chip-3 {
    top: 44%;
    right: 6%;
    animation-delay: 3s;
}

@keyframes float-chip {

    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 980px) {
    .hero-visual {
        height: 380px;
        order: -1;
    }

    .hero-visual-frame {
        display: none;
    }
}

/* ============ SECTION HEADERS ============ */
section {
    position: relative;
    padding: 120px 0;
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }
}

.section-head {
    max-width: 640px;
    margin-bottom: 64px;
}

    .section-head h2 {
        font-size: clamp(1.9rem, 3.6vw, 3rem);
        margin: 16px 0 18px;
        font-weight: 600;
    }

    .section-head p {
        color: var(--text-dim);
        font-size: 17px;
    }

    .section-head.center {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

/* ============ LOGO STRIP ============ */
.logo-strip {
    padding: 56px 0;
    border-top: 1px solid var(--border-soft);
    border-bottom: 1px solid var(--border-soft);
}

    .logo-strip .lbl {
        text-align: center;
        font-family: "IBM Plex Mono";
        font-size: 12px;
        letter-spacing: 0.12em;
        color: var(--text-faint);
        text-transform: uppercase;
        margin-bottom: 32px;
    }

.logo-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 48px;
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "IBM Plex Mono";
    font-weight: 500;
    font-size: 15px;
    color: var(--text-dim);
    opacity: 0.85;
    transition: opacity 0.25s ease, color 0.25s ease;
}

    .platform-badge:hover {
        opacity: 1;
        color: var(--text);
    }

    .platform-badge span.sw {
        width: 9px;
        height: 9px;
        border-radius: 2px;
        background: var(--amber);
    }

/* ============ FEATURES ============ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-soft);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

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

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

.feature-card {
    background: var(--surface);
    padding: 34px 28px;
    transition: background 0.3s ease;
    position: relative;
}

    .feature-card:hover {
        background: var(--surface-2);
    }

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface-2);
    border: 1px solid var(--border);
    margin-bottom: 22px;
    color: var(--amber);
}

html[data-theme="light"] .feature-icon {
    background: var(--bg-1);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 14.5px;
    color: var(--text-dim);
    line-height: 1.6;
}

.feature-tag {
    position: absolute;
    top: 28px;
    right: 24px;
    font-family: "IBM Plex Mono";
    font-size: 10.5px;
    color: var(--text-faint);
}

/* ============ HOW IT WORKS ============ */
.flow-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    position: relative;
}

@media (max-width: 980px) {
    .flow-wrap {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .flow-wrap {
        grid-template-columns: 1fr;
    }
}

.flow-step {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 26px 22px;
    position: relative;
}

    .flow-step .step-num {
        font-family: "IBM Plex Mono";
        font-size: 12px;
        color: var(--amber);
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 18px;
    }

        .flow-step .step-num::after {
            content: "";
            flex: 1;
            height: 1px;
            background: var(--border);
        }

    .flow-step h4 {
        font-size: 16px;
        font-weight: 600;
        margin-bottom: 8px;
    }

    .flow-step p {
        font-size: 13.5px;
        color: var(--text-dim);
    }

    .flow-step .step-icon {
        margin-bottom: 14px;
        color: var(--teal);
    }

/* ============ PRODUCT SHOWCASE (fake dashboard) ============ */
.showcase {
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.showcase-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: var(--surface-2);
}

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

        .showcase-bar .dots span {
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: var(--border);
        }

    .showcase-bar .label {
        margin-left: 10px;
        font-family: "IBM Plex Mono";
        font-size: 12px;
        color: var(--text-faint);
    }

.showcase-body {
    padding: 28px;
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 24px;
}

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

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .side-nav .side-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px 12px;
        border-radius: 8px;
        font-size: 13.5px;
        color: var(--text-dim);
    }

        .side-nav .side-item.active {
            background: var(--surface-2);
            color: var(--text);
            font-weight: 600;
        }

        .side-nav .side-item .dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--border);
        }

        .side-nav .side-item.active .dot {
            background: var(--teal);
        }

@media (max-width: 860px) {
    .side-nav {
        display: none;
    }
}

.kanban {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

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

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

.kanban-col-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "IBM Plex Mono";
    font-size: 11.5px;
    color: var(--text-faint);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
    padding: 0 2px;
}

    .kanban-col-head .count {
        background: var(--surface-2);
        border: 1px solid var(--border);
        border-radius: 20px;
        padding: 1px 8px;
        color: var(--text-dim);
    }

.order-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 13px 14px;
    margin-bottom: 10px;
    font-size: 12.5px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

    .order-card:hover {
        transform: translateY(-3px);
        border-color: var(--text-faint);
    }

    .order-card .top-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
    }

    .order-card .oid {
        font-family: "IBM Plex Mono";
        color: var(--text-dim);
    }

.priority {
    font-family: "IBM Plex Mono";
    font-size: 9.5px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 5px;
    letter-spacing: 0.03em;
}

    .priority.high {
        background: color-mix(in srgb, var(--red) 18%, transparent);
        color: var(--red);
    }

    .priority.med {
        background: color-mix(in srgb, var(--amber) 18%, transparent);
        color: var(--amber);
    }

    .priority.low {
        background: color-mix(in srgb, var(--teal) 18%, transparent);
        color: var(--teal);
    }

.order-card .store {
    color: var(--text-faint);
    margin-bottom: 10px;
}

.order-card .bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--amber);
    color: #0a0c10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9.5px;
    font-weight: 700;
    font-family: "IBM Plex Mono";
}

.order-card .items {
    color: var(--text-faint);
}

/* ============ ANALYTICS ============ */
.analytics-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
}

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

.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 26px;
}

.panel-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 22px;
}

    .panel-head h4 {
        font-size: 15px;
        font-weight: 600;
    }

    .panel-head .sub {
        font-family: "IBM Plex Mono";
        font-size: 11.5px;
        color: var(--text-faint);
    }

.bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 180px;
    padding-top: 10px;
}

    .bar-chart .bar {
        flex: 1;
        background: linear-gradient(180deg, var(--amber), color-mix(in srgb, var(--amber) 40%, transparent));
        border-radius: 5px 5px 2px 2px;
        transform: scaleY(0);
        transform-origin: bottom;
        transition: transform 1.1s cubic-bezier(0.16, 0.9, 0.25, 1);
        position: relative;
    }

        .bar-chart .bar:nth-child(4n + 2) {
            background: linear-gradient(180deg, var(--teal), color-mix(in srgb, var(--teal) 40%, transparent));
        }

    .bar-chart.in-view .bar {
        transform: scaleY(1);
    }

.bar-labels {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

    .bar-labels span {
        flex: 1;
        text-align: center;
        font-family: "IBM Plex Mono";
        font-size: 10px;
        color: var(--text-faint);
    }

.donut-wrap {
    display: flex;
    align-items: center;
    gap: 22px;
}

.donut {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
    background: conic-gradient(var(--amber) 0% 42%, var(--teal) 42% 70%, var(--border) 70% 100%);
    transition: background 1s ease;
}

    .donut::after {
        content: "";
        position: absolute;
        inset: 18px;
        border-radius: 50%;
        background: var(--surface);
    }

.donut-legend {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
}

    .donut-legend div {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--text-dim);
    }

    .donut-legend .sw {
        width: 9px;
        height: 9px;
        border-radius: 2px;
    }

.workload-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 6px;
}

.workload-row .top {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
}

.workload-row .name {
    font-weight: 500;
}

.workload-row .val {
    font-family: "IBM Plex Mono";
    color: var(--text-faint);
    font-size: 12px;
}

.workload-track {
    height: 6px;
    border-radius: 4px;
    background: var(--surface-2);
    overflow: hidden;
}

.workload-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--teal);
    width: 0%;
    transition: width 1.2s cubic-bezier(0.16, 0.9, 0.25, 1);
}

.sparkline-wrap {
    margin-top: 8px;
}

.sparkline path.line {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    transition: stroke-dashoffset 1.6s cubic-bezier(0.16, 0.9, 0.25, 1);
}

.in-view .sparkline path.line {
    stroke-dashoffset: 0;
}

/* ============ TESTIMONIALS ============ */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

.testi-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

    .testi-card .quote-mark {
        color: var(--amber);
        font-size: 32px;
        font-family: "Bricolage Grotesque";
        font-weight: 700;
    }

    .testi-card p.q {
        font-size: 15px;
        color: var(--text);
        line-height: 1.6;
    }

.testi-person {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

    .testi-person .av {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: var(--surface-2);
        border: 1px solid var(--border);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: "IBM Plex Mono";
        font-size: 12px;
        font-weight: 600;
        color: var(--amber);
    }

    .testi-person .name {
        font-size: 13.5px;
        font-weight: 600;
    }

    .testi-person .role {
        font-size: 12px;
        color: var(--text-faint);
    }

/* ============ PRICING ============ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

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

.price-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}

    .price-card.featured {
        border-color: var(--amber);
        background: linear-gradient(180deg, color-mix(in srgb, var(--amber) 6%, var(--surface)), var(--surface));
        box-shadow: 0 20px 60px -25px color-mix(in srgb, var(--amber) 40%, transparent);
        position: relative;
    }

        .price-card.featured::before {
            content: "MOST POPULAR";
            position: absolute;
            top: -12px;
            left: 28px;
            background: var(--amber);
            color: #0a0c10;
            font-family: "IBM Plex Mono";
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.06em;
            padding: 4px 10px;
            border-radius: 20px;
        }

    .price-card h3 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 6px;
    }

    .price-card .desc {
        font-size: 13px;
        color: var(--text-faint);
        margin-bottom: 22px;
    }

    .price-card .amount {
        display: flex;
        align-items: baseline;
        gap: 6px;
        margin-bottom: 24px;
    }

        .price-card .amount .num {
            font-family: "Bricolage Grotesque";
            font-size: 40px;
            font-weight: 700;
        }

        .price-card .amount .per {
            color: var(--text-faint);
            font-size: 13px;
        }

    .price-card ul {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: 28px;
        flex: 1;
    }

    .price-card li {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        font-size: 13.5px;
        color: var(--text-dim);
    }

        .price-card li svg {
            flex-shrink: 0;
            margin-top: 2px;
            color: var(--teal);
        }

/* ============ CTA BANNER ============ */
.cta-banner {
    border-radius: 28px;
    padding: 70px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
}

    .cta-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(ellipse 60% 100% at 50% 0%, color-mix(in srgb, var(--amber) 18%, transparent), transparent 70%);
    }

    .cta-banner h2 {
        font-size: clamp(1.8rem, 4vw, 2.8rem);
        margin-bottom: 16px;
        position: relative;
    }

    .cta-banner p {
        color: var(--text-dim);
        max-width: 480px;
        margin: 0 auto 32px;
        position: relative;
    }

    .cta-banner .btn {
        position: relative;
    }

.cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

/* ============ FOOTER ============ */
footer {
    padding: 70px 0 40px;
    border-top: 1px solid var(--border-soft);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 50px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 13.5px;
    max-width: 260px;
    margin-top: 14px;
}

.footer-col h5 {
    font-family: "IBM Plex Mono";
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-col a {
    font-size: 13.5px;
    color: var(--text-dim);
    transition: color 0.2s ease;
}

    .footer-col a:hover {
        color: var(--text);
    }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 28px;
    border-top: 1px solid var(--border-soft);
    font-size: 12.5px;
    color: var(--text-faint);
    font-family: "IBM Plex Mono";
}

/* ============ SCROLL REVEAL ============ */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.8s cubic-bezier(0.16, 0.9, 0.25, 1), transform 0.8s cubic-bezier(0.16, 0.9, 0.25, 1);
}

    .reveal.in-view {
        opacity: 1;
        transform: translateY(0);
    }

.stagger > * {
    transition-delay: calc(var(--i, 0) * 90ms);
}

/* count up */
.count-target {
    font-variant-numeric: tabular-nums;
}



h1:focus {
    outline: none;
}



h1:focus-visible {
    outline: none;
}