@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
    color-scheme: light;
    --ink: #1d2b40;
    --muted: #68768b;
    --paper: #f5f7fb;
    --line: #e8ebf1;
    --accent: #5368e8;
    --accent-dark: #4054d1;
    --accent-soft: #eef0ff;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(ellipse at 2% 25%, #e9edff 0, transparent 32%),
        var(--paper);
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.delta-pos-page {
    --accent: #5368e8;
    --accent-dark: #4054d1;
    --accent-soft: #eef0ff;
}

.billing-book-page {
    --accent: #27835a;
    --accent-dark: #1e704b;
    --accent-soft: #edf7f0;
}

.ultimate-inventory-page {
    --accent: #d77b3b;
    --accent-dark: #b86127;
    --accent-soft: #fff1e7;
}

a {
    color: inherit;
    text-decoration: none;
}

.site-header,
main,
.site-footer {
    width: min(1160px, calc(100% - 64px));
    margin-inline: auto;
}

.site-header {
    min-height: 88px;
    display: flex;
    align-items: center;
}

.navigation {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font: 800 24px/1 "Manrope", sans-serif;
    letter-spacing: -1.3px;
}

.brand-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 19px;
    letter-spacing: -1px;
}

.brand-period {
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    border: 1px solid #e8ebf1;
    border-radius: 999px;
    background: #ffffffc9;
}

.nav-product {
    padding: 10px 15px;
    border-radius: 999px;
    color: #66748a;
    font-size: 12px;
    font-weight: 600;
    transition: color 160ms ease, background 160ms ease;
}

.nav-product:hover {
    background: #f1f3f8;
    color: var(--ink);
}

.nav-product[aria-current="page"] {
    background: var(--accent-soft);
    color: var(--accent-dark);
}

.hero {
    position: relative;
    min-height: 570px;
    display: grid;
    grid-template-columns: 0.96fr 1.04fr;
    align-items: center;
    gap: 36px;
    overflow: hidden;
    padding: 52px 56px;
    border: 1px solid #e8ebf1;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 24px 70px #28364d0d;
}

.hero::before {
    position: absolute;
    top: -285px;
    right: 12%;
    width: 480px;
    height: 480px;
    border: 1px solid #edf0f5;
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.hero-copy,
.hero-visual {
    position: relative;
    z-index: 1;
}

.hero-copy {
    padding-block: 10px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 23px;
    padding: 8px 11px;
    border: 1px solid var(--accent-soft);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
}

h1 {
    max-width: 530px;
    margin: 0;
    color: var(--ink);
    font: 800 clamp(44px, 5vw, 66px)/1.07 "Manrope", sans-serif;
    letter-spacing: -3.8px;
}

h1 span {
    color: var(--accent);
}

.hero-description {
    max-width: 455px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 28px;
}

.button {
    min-height: 49px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 17px;
    border: 1px solid transparent;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.button-primary {
    background: var(--accent);
    box-shadow: 0 8px 18px color-mix(in srgb, var(--accent) 23%, transparent);
    color: #fff;
}

.button-primary:hover {
    background: var(--accent-dark);
    box-shadow: 0 11px 22px color-mix(in srgb, var(--accent) 30%, transparent);
}

.button-secondary {
    border-color: #e3e7ed;
    background: #fff;
    color: var(--ink);
}

.button-secondary:hover {
    border-color: #c9d0dc;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    color: #778398;
    font-size: 11px;
}

.note-icon {
    width: 18px;
    height: 18px;
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 10px;
    font-weight: 700;
}

.hero-visual {
    min-width: 0;
    min-height: 420px;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.hero-visual::before {
    position: absolute;
    z-index: -1;
    width: 82%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-soft) 0%, #fff 70%);
    content: "";
}

.hero-visual::after {
    position: absolute;
    z-index: -1;
    right: 5%;
    bottom: 8%;
    width: 68px;
    height: 68px;
    border: 1px solid #e9edf4;
    border-radius: 20px;
    content: "";
    transform: rotate(14deg);
}

.dashboard-window,
.inventory-window,
.billing-ui {
    position: relative;
    z-index: 1;
    width: min(100%, 440px);
    overflow: hidden;
    border: 1px solid #e7eaf0;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 24px 60px #2937501a;
}

.window-topbar {
    min-height: 53px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 16px;
    border-bottom: 1px solid #edf0f4;
    background: #fff;
}

.window-brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #27354a;
    font: 700 11px/1 "Manrope", sans-serif;
}

.window-brand-icon {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: var(--accent);
    color: #fff;
    font-size: 12px;
}

.window-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding: 6px 9px;
    border-radius: 99px;
    background: #f0f7f1;
    color: #45835b;
    font-size: 8px;
    font-weight: 700;
}

.window-live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #59ae71;
}

.dashboard-content,
.inventory-content {
    padding: 21px;
    background: linear-gradient(145deg, #fff, #fbfcfe);
}

.dashboard-heading,
.inventory-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 17px;
}

.dashboard-heading small,
.dashboard-heading strong,
.inventory-heading small,
.inventory-heading strong {
    display: block;
}

.dashboard-heading small,
.inventory-heading small {
    margin-bottom: 5px;
    color: #96a0ae;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
}

.dashboard-heading strong,
.inventory-heading strong {
    color: #25344a;
    font: 800 17px/1.2 "Manrope", sans-serif;
    letter-spacing: -0.5px;
}

.date-pill,
.inventory-filter {
    padding: 7px 9px;
    border: 1px solid #e9edf2;
    border-radius: 7px;
    color: #728096;
    font-size: 8px;
    font-weight: 600;
}

.dashboard-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.module-tile {
    min-height: 118px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 10px;
    border: 1px solid #edf0f4;
    border-radius: 10px;
    background: #fff;
}

.module-symbol {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    margin-bottom: auto;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 15px;
    font-weight: 700;
}

.module-tile small {
    margin: 10px 0 4px;
    color: #98a2b0;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.45px;
}

.module-tile strong {
    color: #354359;
    font-size: 10px;
}

.dashboard-quick-action {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    padding: 12px;
    border: 1px solid #e9edf2;
    border-radius: 10px;
    background: #fff;
}

.quick-action-icon {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 19px;
    font-weight: 500;
}

.dashboard-quick-action small,
.dashboard-quick-action strong {
    display: block;
}

.dashboard-quick-action small {
    margin-bottom: 3px;
    color: #98a2b0;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.7px;
}

.dashboard-quick-action strong {
    color: #344257;
    font-size: 10px;
}

.quick-action-arrow {
    margin-left: auto;
    color: #8d98a8;
    font-size: 15px;
}

.dashboard-float,
.inventory-float {
    position: absolute;
    z-index: 2;
    right: -3px;
    bottom: 28px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #e8ebf1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 30px #2937501a;
    color: #4a5b70;
    font-size: 9px;
    font-weight: 700;
}

.dashboard-float span {
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 10px;
}

.billing-book-page .hero-visual::before {
    width: min(94%, 410px);
    border-radius: 28px;
    transform: rotate(-7deg);
}

.billing-book-page .hero-visual::after {
    top: 26px;
    right: 3%;
    bottom: auto;
}

.billing-ui {
    width: min(100%, 370px);
    padding: 18px;
    transform: rotate(1deg);
}

.billing-ui-top,
.billing-ui-heading,
.billing-customer,
.billing-line,
.billing-total {
    display: flex;
    align-items: center;
}

.billing-ui-top {
    gap: 9px;
    padding-bottom: 15px;
    border-bottom: 1px solid #edf0ec;
}

.billing-ui-mark {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font: 700 14px/1 "Manrope", sans-serif;
}

.billing-ui-name {
    color: #283548;
    font: 700 11px/1 "Manrope", sans-serif;
}

.billing-ui-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding: 6px 9px;
    border-radius: 20px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 9px;
    font-weight: 700;
}

.billing-ui-status span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.billing-ui-heading {
    justify-content: space-between;
    padding: 18px 0 14px;
}

.billing-ui-kicker {
    color: #8e9a8f;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
}

.billing-ui-heading h2 {
    margin: 5px 0 0;
    color: #1c2b3d;
    font: 800 20px/1.2 "Manrope", sans-serif;
    letter-spacing: -0.5px;
}

.billing-ui-menu {
    color: #8c988d;
    font-size: 18px;
    letter-spacing: 2px;
}

.billing-customer {
    gap: 10px;
    padding: 10px;
    border: 1px solid #edf0ec;
    border-radius: 9px;
    background: #fafbf9;
}

.billing-customer-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 11px;
    font-weight: 700;
}

.billing-customer small,
.billing-customer strong {
    display: block;
}

.billing-customer small {
    margin-bottom: 3px;
    color: #8b968c;
    font-size: 8px;
}

.billing-customer strong {
    color: #324052;
    font-size: 10px;
}

.billing-customer-arrow {
    margin-left: auto;
    color: #859184;
    font-size: 19px;
}

.billing-table-head,
.billing-line {
    display: grid;
    grid-template-columns: 1fr 38px 62px;
    align-items: center;
    gap: 7px;
}

.billing-table-head {
    padding: 16px 0 8px;
    color: #96a095;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.6px;
}

.billing-table-head span:not(:first-child),
.billing-line > span:nth-child(2) {
    text-align: center;
}

.billing-table-head span:last-child,
.billing-line strong {
    text-align: right;
}

.billing-line {
    min-height: 36px;
    border-bottom: 1px solid #f0f2ef;
    color: #596658;
    font-size: 9px;
}

.billing-line > span:first-child {
    display: flex;
    align-items: center;
    gap: 7px;
}

.billing-line strong {
    color: #334138;
    font-size: 9px;
}

.item-swatch {
    width: 7px;
    height: 7px;
    border-radius: 2px;
}

.swatch-one {
    background: #72b585;
}

.swatch-two {
    background: #e8bb6b;
}

.billing-total {
    justify-content: space-between;
    padding: 14px 0 12px;
    color: #60705f;
    font-size: 10px;
    font-weight: 600;
}

.billing-total strong {
    color: #1e3c2b;
    font: 800 17px/1 "Manrope", sans-serif;
}

.billing-complete {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.billing-complete span {
    width: 15px;
    height: 15px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #ffffff2b;
    font-size: 9px;
}

.billing-stock-tag {
    position: absolute;
    right: -4px;
    bottom: 30px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid #e8ede7;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 30px #2937501a;
}

.stock-tag-check {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
}

.billing-stock-tag strong,
.billing-stock-tag small {
    display: block;
}

.billing-stock-tag strong {
    color: #263648;
    font-size: 9px;
}

.billing-stock-tag small {
    margin-top: 3px;
    color: #8490a2;
    font-size: 8px;
}

.inventory-content {
    padding: 20px 16px 16px;
}

.inventory-heading {
    margin: 0 2px 17px;
}

.inventory-filter {
    white-space: nowrap;
}

.inventory-filter b {
    margin-left: 6px;
    color: #8a94a2;
}

.inventory-table {
    overflow: hidden;
    border: 1px solid #ebedf1;
    border-radius: 9px;
}

.inventory-row {
    min-height: 47px;
    display: grid;
    grid-template-columns: minmax(112px, 1.5fr) 55px 43px 70px;
    align-items: center;
    gap: 5px;
    padding: 0 10px;
    border-bottom: 1px solid #eff1f4;
    color: #748095;
    font-size: 8px;
}

.inventory-row:last-child {
    border-bottom: 0;
}

.inventory-labels {
    min-height: 32px;
    background: #f8f9fb;
    color: #99a2ae;
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.inventory-product {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.inventory-product b {
    overflow: hidden;
    color: #39475a;
    font-size: 8px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 3px;
}

.dot-green {
    background: #6db988;
}

.dot-blue {
    background: #7794df;
}

.dot-gold {
    background: #e5b763;
}

.stock-status {
    width: fit-content;
    padding: 5px 6px;
    border-radius: 99px;
    font-size: 7px;
    font-weight: 700;
    white-space: nowrap;
}

.status-in {
    background: #edf7f0;
    color: #4b9861;
}

.status-low {
    background: #fff4e8;
    color: #c27b32;
}

.inventory-footer {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 13px 2px 0;
    color: #8994a3;
    font-size: 8px;
}

.inventory-link {
    color: var(--accent-dark);
    font-weight: 700;
}

.inventory-link b {
    margin-left: 4px;
}

.inventory-float {
    right: -2px;
    bottom: 28px;
    gap: 9px;
}

.inventory-float-icon {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 14px;
}

.inventory-float strong,
.inventory-float small {
    display: block;
}

.inventory-float strong {
    color: #354257;
    font-size: 9px;
}

.inventory-float small {
    margin-top: 3px;
    color: #8994a3;
    font-size: 8px;
    font-weight: 500;
}

.benefits {
    margin-top: 22px;
    padding: 23px 26px 25px;
    border: 1px solid #e8ebf1;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px #28364d08;
}

.benefits > p {
    margin: 0 0 18px;
    color: #8b96a6;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-align: center;
}

.benefit-list {
    display: flex;
    justify-content: center;
    gap: clamp(24px, 6vw, 80px);
}

.benefit-list span {
    color: #48566c;
    font-size: 12px;
    font-weight: 600;
}

.benefit-list i {
    margin-right: 7px;
    color: var(--accent);
    font-size: 9px;
    font-style: normal;
    font-weight: 700;
}

.site-footer {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #8994a3;
    font-size: 10px;
}

.site-footer a {
    color: #55647a;
    font-weight: 700;
    transition: color 160ms ease;
}

.site-footer a:hover {
    color: var(--accent-dark);
}

.site-footer a span {
    margin-left: 5px;
}

@media (max-width: 900px) {
    .site-header,
    main,
    .site-footer {
        width: min(100% - 48px, 700px);
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 42px 42px 28px;
    }

    .hero-copy {
        max-width: 610px;
    }

    h1 {
        max-width: 600px;
        font-size: clamp(46px, 8vw, 64px);
    }

    .hero-visual {
        width: min(100%, 510px);
        justify-self: center;
    }
}

@media (max-width: 520px) {
    .site-header,
    main,
    .site-footer {
        width: calc(100% - 32px);
    }

    .site-header {
        min-height: 0;
        padding-block: 13px;
    }

    .navigation {
        flex-wrap: wrap;
        row-gap: 12px;
    }

    .brand {
        font-size: 22px;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 1px;
        padding: 4px;
    }

    .nav-product {
        padding: 9px 9px;
        font-size: 10px;
        white-space: nowrap;
    }

    .hero {
        gap: 5px;
        padding: 31px 20px 22px;
        border-radius: 19px;
    }

    .eyebrow {
        margin-bottom: 17px;
        font-size: 9px;
        letter-spacing: 0.6px;
    }

    h1 {
        font-size: clamp(40px, 11vw, 54px);
        letter-spacing: -2.7px;
    }

    .hero-description {
        margin-top: 15px;
        font-size: 13px;
        line-height: 1.75;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        margin-top: 21px;
    }

    .button {
        width: 100%;
        min-height: 47px;
    }

    .hero-note {
        align-items: flex-start;
        font-size: 10px;
        line-height: 1.5;
    }

    .hero-visual {
        min-height: 330px;
        margin-top: 10px;
    }

    .dashboard-content {
        padding: 16px;
    }

    .dashboard-window {
        width: 100%;
    }

    .module-tile {
        min-height: 108px;
        padding: 10px 8px;
    }

    .module-tile small {
        font-size: 6px;
    }

    .dashboard-float {
        right: -5px;
        bottom: 16px;
    }

    .billing-book-page .hero-visual {
        min-height: 365px;
        margin-top: 14px;
    }

    .billing-ui {
        width: 100%;
        padding: 14px;
    }

    .billing-stock-tag {
        right: -5px;
        bottom: 14px;
    }

    .inventory-content {
        padding: 15px 10px 13px;
    }

    .inventory-row {
        grid-template-columns: minmax(96px, 1.5fr) 43px 34px 62px;
        gap: 3px;
        padding-inline: 7px;
        font-size: 7px;
    }

    .inventory-row.inventory-labels {
        font-size: 6px;
    }

    .inventory-product {
        gap: 5px;
    }

    .inventory-product b {
        font-size: 7px;
    }

    .stock-status {
        padding: 4px 5px;
        font-size: 6px;
    }

    .inventory-float {
        right: -5px;
        bottom: 12px;
    }

    .benefits {
        margin-top: 15px;
        padding: 20px 16px;
    }

    .benefit-list {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
        width: fit-content;
        margin-inline: auto;
    }

    .site-footer {
        min-height: 70px;
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
