:root {
    --green-950: #0d3b2e;
    --green-900: #123c31;
    --green-800: #1f6b50;
    --green-600: #2f7c62;
    --cream: #f8f5ef;
    --cream-2: #f2eee5;
    --surface: #fffefb;
    --text: #102e25;
    --muted: #5f6f68;
    --terracotta: #b84f39;
    --rosewood: #8d3b2c;
    --border: rgba(13, 59, 46, 0.1);
    --shadow-sm: 0 10px 28px rgba(13, 59, 46, 0.08);
    --shadow-lg: 0 24px 70px rgba(13, 59, 46, 0.14);
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background: var(--cream);
    color: var(--text);
    font-family: Arial, sans-serif !important;
    text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

a {
    color: inherit;
}

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

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    top: 0.6rem;
    left: 0.6rem;
    z-index: 100;
    padding: 0.75rem 1rem;
    border-radius: 0.7rem;
    background: #fff;
    color: var(--green-950);
    font-weight: 800;
    transform: translateY(-180%);
}

.skip-link:focus-visible {
    transform: translateY(0);
}

:where(a, button, summary, [tabindex]:not([tabindex="-1"])):focus-visible {
    outline: 3px solid #e0a52f;
    outline-offset: 3px;
}

.background-orb,
.message-stack[hidden],
.brand-copy {
    display: none;
}

.pf-icon {
    display: inline-block;
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 auto;
}

.pf-icon-sm {
    width: 0.95rem;
    height: 0.95rem;
}

.pf-icon-md {
    width: 1.3rem;
    height: 1.3rem;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    grid-template-areas: "brand nav user";
    align-items: center;
    gap: clamp(0.75rem, 1.4vw, 1.25rem);
    min-height: 72px;
    padding: 0.58rem clamp(1rem, 2.4vw, 2rem);
    border-bottom: 1px solid rgba(255, 249, 243, 0.12);
    background: linear-gradient(135deg, #123c31 0%, #0f342b 54%, #0a2a23 100%);
    box-shadow: 0 16px 32px rgba(7, 19, 15, 0.22);
}

.brand-block {
    grid-area: brand;
}

.brand-identity {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #fff9f3;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    place-items: center;
    padding: 0.12rem;
    border: 1px solid rgba(255, 249, 243, 0.16);
    border-radius: 50%;
    background: rgba(255, 248, 241, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 20px rgba(4, 15, 12, 0.24);
}

.brand-logo-image {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 8px 16px rgba(8, 18, 14, 0.18));
}

.brand-name {
    color: #fff9f3;
    font-size: 1.28rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.nav-shell {
    grid-area: nav;
    min-width: 0;
}

.nav-toggle {
    display: none;
    width: 100%;
    min-height: 2.75rem;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.72rem 0.9rem;
    border: 1px solid rgba(255, 249, 243, 0.16);
    border-radius: 0.9rem;
    background: rgba(255, 249, 243, 0.08);
    color: #fff9f3;
    font-weight: 800;
    cursor: pointer;
}

.nav-toggle .pf-icon {
    transition: transform 180ms ease;
}

.nav-shell.is-open .nav-toggle .pf-icon {
    transform: rotate(180deg);
}

.topnav {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
}

.nav-link {
    display: inline-flex;
    min-height: 2.35rem;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.52rem 0.62rem;
    border: 1px solid transparent;
    border-radius: 0.72rem;
    color: rgba(255, 249, 243, 0.86);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.nav-link:hover {
    border-color: rgba(255, 249, 243, 0.12);
    background: rgba(255, 249, 243, 0.08);
    color: #fff;
}

.landing-header-actions {
    grid-area: user;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
}

.button {
    display: inline-flex;
    min-height: 2.65rem;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.72rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 0.8rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--terracotta), var(--rosewood));
    color: #fff;
    box-shadow: 0 14px 26px rgba(141, 59, 44, 0.25);
}

.button-secondary {
    border-color: rgba(13, 59, 46, 0.28);
    background: rgba(255, 254, 251, 0.84);
    color: var(--green-950);
}

.button-ghost,
.landing-header-login {
    border-color: rgba(255, 249, 243, 0.16);
    background: rgba(255, 249, 243, 0.08);
    color: #fff9f3;
}

.landing-header-demo {
    min-height: 2.35rem;
    padding: 0.55rem 0.82rem;
}

.page-shell {
    width: 100%;
    margin: 0;
}

.landing-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: min(760px, calc(100svh - 72px));
    grid-template-columns: minmax(19rem, 0.38fr) minmax(0, 0.62fr);
    gap: clamp(2.25rem, 4.5vw, 4.75rem);
    align-items: center;
    padding: clamp(3.4rem, 5.8vw, 5.75rem) max(clamp(1.25rem, 4vw, 4rem), calc((100% - 94rem) / 2)) clamp(2.25rem, 4.6vw, 4.75rem);
    overflow: hidden;
}

.landing-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(248, 245, 239, 0.99) 0%, rgba(248, 245, 239, 0.97) 33%, rgba(248, 245, 239, 0.78) 56%, rgba(248, 245, 239, 0.38) 100%);
    content: "";
}

.landing-hero-backdrop {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
}

.landing-hero-backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.landing-hero-copy {
    max-width: 45rem;
}

.landing-hero-kicker,
.landing-eyebrow {
    margin: 0 0 0.8rem;
    color: var(--terracotta);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.landing-hero h1,
.landing-section h2,
.landing-band h2,
.landing-cta h2 {
    margin: 0;
    color: var(--green-950);
    font-weight: 800;
    letter-spacing: 0;
}

.landing-hero h1 {
    max-width: 14ch;
    font-size: clamp(2.85rem, 4.5vw, 4.85rem);
    line-height: 1;
}

.landing-hero-text {
    max-width: 34rem;
    margin: 1.25rem 0 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.landing-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.55rem;
}

.landing-device-note {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    margin-top: 1.4rem;
}

.landing-device-note-label {
    flex-basis: 100%;
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.landing-device-item {
    display: inline-flex;
    min-height: 2.3rem;
    align-items: center;
    gap: 0.42rem;
    padding: 0.45rem 0.65rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255, 254, 251, 0.78);
    color: var(--green-950);
    font-size: 0.8rem;
    font-weight: 750;
    box-shadow: var(--shadow-sm);
}

.landing-device-item svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.landing-hero-visual {
    display: grid;
    width: 100%;
    justify-items: end;
}

.landing-dashboard-shot {
    position: relative;
    width: min(62vw, 58rem);
    max-width: none;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(13, 59, 46, 0.14);
    border-radius: 22px;
    background: rgba(255, 254, 251, 0.96);
    box-shadow: 0 28px 70px rgba(13, 38, 30, 0.2), 0 12px 28px rgba(13, 59, 46, 0.1);
}

.landing-dashboard-shot img {
    width: 100%;
    height: auto;
    aspect-ratio: 1920 / 1016;
    object-fit: cover;
}

.landing-section,
.landing-band,
.landing-cta {
    padding: clamp(4rem, 7vw, 7rem) max(clamp(1.25rem, 5vw, 5rem), calc((100% - 88rem) / 2));
}

.landing-section-heading {
    max-width: 44rem;
}

.landing-section h2,
.landing-band h2,
.landing-cta h2 {
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    line-height: 1.05;
}

.landing-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.landing-benefit-grid article {
    min-height: 18rem;
    padding: clamp(1.35rem, 2.2vw, 2rem);
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.landing-benefit-icon {
    display: grid;
    width: 3rem;
    height: 3rem;
    place-items: center;
    margin-bottom: 2.4rem;
    border-radius: 0.9rem;
    background: rgba(47, 124, 98, 0.12);
    color: var(--green-800);
}

.landing-benefit-grid h3,
.landing-steps h3 {
    margin: 0;
    color: var(--green-950);
    font-size: 1.18rem;
}

.landing-benefit-grid p,
.landing-detail-copy > p {
    color: var(--muted);
    line-height: 1.7;
}

.landing-band {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.85fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
    background: linear-gradient(135deg, #103c31, #092b23);
    color: #fffefb;
}

.landing-band .landing-eyebrow,
.landing-band h2,
.landing-band h3 {
    color: #fffefb;
}

.landing-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
    margin-top: 2.2rem;
}

.landing-steps article {
    position: relative;
    padding-top: 1rem;
}

.landing-steps article:not(:last-child)::after {
    position: absolute;
    top: 1.8rem;
    right: -0.8rem;
    width: 1.2rem;
    height: 1px;
    background: rgba(255, 255, 255, 0.25);
    content: "";
}

.landing-steps span {
    display: grid;
    width: 2.7rem;
    height: 2.7rem;
    place-items: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    color: #fffefb;
    font-weight: 800;
}

.landing-steps p {
    color: rgba(255, 254, 251, 0.8);
    font-size: 0.92rem;
    line-height: 1.65;
}

.landing-flow-visual {
    position: relative;
    min-height: 24rem;
}

.landing-flow-photo {
    width: 100%;
    min-height: 22rem;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
}

.landing-flow-photo img {
    width: 100%;
    min-height: 22rem;
    object-fit: cover;
    object-position: 70% center;
}

.landing-delivery-card {
    position: absolute;
    right: clamp(1rem, 4vw, 3rem);
    bottom: -2.4rem;
    display: grid;
    width: min(18rem, calc(100% - 2rem));
    gap: 0.65rem;
    padding: 1.25rem;
    border-radius: 1.1rem;
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-lg);
}

.landing-delivery-card > span,
.landing-delivery-meta small {
    color: var(--muted);
}

.landing-delivery-card > strong {
    font-size: 2rem;
}

.landing-delivery-progress {
    height: 0.5rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(13, 59, 46, 0.12);
}

.landing-delivery-progress span {
    display: block;
    width: 75%;
    height: 100%;
    border-radius: inherit;
    background: var(--green-600);
}

.landing-delivery-meta {
    display: flex;
    justify-content: space-between;
}

.landing-detail-section {
    display: grid;
    grid-template-columns: minmax(18rem, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

.landing-detail-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.4rem;
}

.landing-detail-list p {
    position: relative;
    margin: 0;
    padding-left: 1.7rem;
    color: var(--green-950);
    font-weight: 700;
}

.landing-detail-list p::before {
    position: absolute;
    top: 0.2rem;
    left: 0;
    display: grid;
    width: 1.15rem;
    height: 1.15rem;
    place-items: center;
    border-radius: 50%;
    background: rgba(47, 124, 98, 0.15);
    color: var(--green-800);
    content: "✓";
    font-size: 0.72rem;
}

.landing-summary-preview {
    padding: clamp(1rem, 2vw, 1.6rem);
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #f0eee8;
    box-shadow: var(--shadow-lg);
}

.landing-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0.3rem 1rem;
}

.landing-summary-head span {
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 0.78rem;
}

.landing-summary-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}

.landing-summary-metrics article,
.landing-bar-list,
.landing-donut-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
}

.landing-summary-metrics article {
    display: grid;
    gap: 0.3rem;
    padding: 0.9rem;
}

.landing-summary-metrics span,
.landing-summary-metrics small {
    color: var(--muted);
    font-size: 0.72rem;
}

.landing-summary-metrics strong {
    font-size: 1.35rem;
}

.landing-summary-lower {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(12rem, 0.6fr);
    gap: 0.65rem;
    margin-top: 0.65rem;
}

.landing-bar-list,
.landing-donut-card {
    padding: 1rem;
}

.landing-bar-list p {
    display: grid;
    grid-template-columns: 7rem minmax(3rem, 1fr) 1.5rem;
    gap: 0.55rem;
    align-items: center;
    margin: 0.75rem 0 0;
    font-size: 0.74rem;
}

.landing-bar-list i {
    position: relative;
    height: 0.42rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(13, 59, 46, 0.1);
}

.landing-bar-list i::after {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--bar);
    border-radius: inherit;
    background: var(--green-600);
    content: "";
}

.landing-donut-card {
    text-align: center;
}

.landing-donut {
    width: 5.4rem;
    height: 5.4rem;
    margin: 0.9rem auto;
    border-radius: 50%;
    background: conic-gradient(var(--green-600) 0 50%, #dca64d 50% 75%, #d8ddd9 75%);
}

.landing-donut-card p {
    display: flex;
    justify-content: space-between;
    margin: 0.35rem 0;
    color: var(--muted);
    font-size: 0.72rem;
}

.landing-cta {
    position: relative;
    display: grid;
    width: min(88rem, calc(100% - 2.5rem));
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: center;
    margin: 0 auto 3rem;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, #174b3b, #0b3026);
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.landing-cta .landing-eyebrow,
.landing-cta h2 {
    color: #fff;
}

.landing-cta h2 {
    max-width: 23ch;
    font-size: clamp(2rem, 3.2vw, 3.15rem);
}

.landing-cta .landing-hero-actions {
    align-items: center;
    margin: 0;
}

.landing-cta-link,
.landing-cta-legal a {
    color: #fff;
    font-weight: 750;
}

.landing-cta-legal {
    grid-column: 1 / -1;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
}

.public-footer {
    padding: 2rem clamp(1.25rem, 5vw, 5rem);
    background: #0b2d24;
    color: rgba(255, 249, 243, 0.82);
}

.public-footer-inner {
    display: flex;
    width: min(88rem, 100%);
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin: 0 auto;
}

.public-footer-copy p {
    max-width: 31rem;
    margin: 0.4rem 0 0;
    font-size: 0.82rem;
    line-height: 1.6;
}

.public-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.7rem 1rem;
}

.public-footer-nav a {
    color: inherit;
    font-size: 0.78rem;
}

@media (max-width: 1180px) {
    .landing-hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: clamp(3rem, 7vw, 4.5rem);
    }

    .landing-hero::before {
        background: linear-gradient(180deg, rgba(248, 245, 239, 0.99) 0%, rgba(248, 245, 239, 0.93) 48%, rgba(248, 245, 239, 0.76) 100%);
    }

    .landing-hero-copy {
        max-width: 44rem;
    }

    .landing-hero h1 {
        max-width: 12.5ch;
    }

    .landing-hero-visual {
        justify-items: start;
    }

    .landing-dashboard-shot {
        width: min(100%, 56rem);
    }
}

@media (max-width: 980px) {
    .landing-benefit-grid,
    .landing-summary-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .landing-band,
    .landing-detail-section,
    .landing-cta {
        grid-template-columns: 1fr;
    }

    .landing-cta .landing-hero-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .topbar {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "brand user"
            "nav nav";
    }

    .nav-toggle {
        display: inline-flex;
    }

    .topnav {
        display: none;
        grid-template-columns: 1fr;
        gap: 0.35rem;
        margin-top: 0.4rem;
        padding: 0.45rem;
        border: 1px solid rgba(255, 249, 243, 0.12);
        border-radius: 1rem;
        background: rgba(3, 18, 14, 0.22);
    }

    .nav-shell.is-open .topnav {
        display: grid;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 0.8rem 0.9rem;
    }
}

@media (max-width: 760px) {
    .topbar {
        padding: max(0.56rem, env(safe-area-inset-top)) 0.85rem 0.64rem;
    }

    .brand-name {
        font-size: 1.12rem;
    }

    .landing-header-demo {
        display: none;
    }

    .landing-hero {
        gap: 2rem;
        padding: 2.6rem clamp(1.25rem, 6vw, 1.5rem) 2.5rem;
    }

    .landing-hero h1 {
        max-width: 100%;
        font-size: clamp(2.55rem, 12vw, 3.25rem);
        line-height: 1.04;
    }

    .landing-hero-actions,
    .landing-benefit-grid,
    .landing-steps,
    .landing-summary-metrics,
    .landing-summary-lower {
        grid-template-columns: 1fr;
    }

    .landing-hero-actions {
        display: grid;
    }

    .landing-dashboard-shot {
        width: 100%;
        border-radius: 16px;
        box-shadow: 0 18px 42px rgba(13, 38, 30, 0.16);
    }

    .landing-section,
    .landing-band {
        padding-inline: clamp(1.25rem, 6vw, 1.5rem);
    }

    .landing-benefit-grid article {
        min-height: auto;
    }

    .landing-benefit-icon {
        margin-bottom: 1.4rem;
    }

    .landing-steps {
        display: grid;
        grid-template-columns: 1fr;
    }

    .landing-steps article:not(:last-child)::after {
        display: none;
    }

    .landing-flow-photo,
    .landing-flow-photo img {
        min-height: 18rem;
    }

    .landing-delivery-card {
        position: relative;
        right: auto;
        bottom: auto;
        margin: -3rem auto 0;
    }

    .landing-bar-list p {
        grid-template-columns: 6.2rem minmax(2.5rem, 1fr) 1.2rem;
    }

    .landing-cta {
        width: calc(100% - 2rem);
        padding: 2rem;
        margin-bottom: 2rem;
    }

    .public-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-footer-nav {
        justify-content: flex-start;
    }
}

@media (max-width: 430px) {
    .brand-mark {
        width: 2.35rem;
        height: 2.35rem;
    }

    .brand-logo-image {
        width: 2.05rem;
        height: 2.05rem;
    }

    .landing-header-login {
        padding-inline: 0.65rem;
        font-size: 0.78rem;
    }

    .landing-device-item {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
