:root {
    color-scheme: light;
    --green-900: #082817;
    --green-800: #0d3f24;
    --green-700: #166534;
    --green-600: #15803d;
    --green-100: #dcfce7;
    --blue-600: #0a84ff;
    --ink: #15201a;
    --muted: #5d6a62;
    --line: #dce5df;
    --surface: #ffffff;
    --surface-soft: #f4f7f5;
    --shadow: 0 24px 80px rgba(8, 40, 23, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.5;
}

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

a {
    color: inherit;
}

.page-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid rgba(220, 229, 223, 0.8);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
}

.nav {
    width: min(100% - 32px, 1120px);
    min-height: 64px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 750;
    text-decoration: none;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(8, 40, 23, 0.16);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.nav-links a {
    text-decoration: none;
}

.hero {
    overflow: hidden;
    background: linear-gradient(180deg, #f8fbf9 0%, #ffffff 76%);
}

.hero-inner {
    width: min(100% - 32px, 1120px);
    margin-inline: auto;
    padding: 68px 0 60px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.92fr);
    gap: clamp(36px, 7vw, 82px);
    align-items: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--green-700);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    color: var(--green-900);
    font-size: clamp(3rem, 8vw, 5.8rem);
    line-height: 0.98;
    letter-spacing: 0;
}

.hero-copy {
    margin: 22px 0 0;
    max-width: 640px;
    color: #34423a;
    font-size: clamp(1.2rem, 2vw, 1.48rem);
}

.hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.button {
    min-height: 48px;
    padding: 13px 18px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 750;
    text-decoration: none;
}

.button.primary {
    background: var(--blue-600);
    color: #fff;
}

.button.secondary {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--green-800);
}

.hero-points {
    margin: 30px 0 0;
    padding: 0;
    display: grid;
    gap: 11px;
    color: var(--muted);
    list-style: none;
    font-size: 1rem;
}

.hero-points li {
    display: flex;
    gap: 10px;
}

.hero-points li::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
    background: var(--green-600);
}

.phone-showcase {
    position: relative;
    min-height: 560px;
}

.phone {
    overflow: hidden;
    aspect-ratio: 390 / 844;
    border: 8px solid #101413;
    border-radius: 36px;
    background: #101413;
    box-shadow: var(--shadow);
}

.phone img,
.screen-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.phone.primary-shot {
    position: relative;
    z-index: 2;
    width: min(100%, 300px);
    margin-left: auto;
}

.phone.secondary-shot {
    position: absolute;
    z-index: 1;
    width: 218px;
    left: 0;
    bottom: 34px;
    opacity: 0.96;
}

.section {
    padding: 76px 0;
}

.section.alt {
    background: var(--surface-soft);
}

.section-inner {
    width: min(100% - 32px, 1120px);
    margin-inline: auto;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

h2 {
    margin: 0;
    color: var(--green-900);
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: 0;
}

.section-heading p {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 1.12rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature {
    min-height: 210px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.feature h3 {
    margin: 0 0 10px;
    color: var(--green-900);
    font-size: 1.25rem;
}

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

.screen-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.screen-card {
    min-width: 0;
}

.screen-frame {
    overflow: hidden;
    aspect-ratio: 390 / 844;
    border: 5px solid #151918;
    border-radius: 24px;
    background: #151918;
    box-shadow: 0 14px 40px rgba(8, 40, 23, 0.14);
}

.screen-card h3 {
    margin: 14px 2px 4px;
    font-size: 1rem;
    color: var(--green-900);
}

.screen-card p {
    margin: 0 2px;
    color: var(--muted);
    font-size: 0.92rem;
}

.workflow {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: clamp(28px, 6vw, 64px);
    align-items: center;
}

.workflow-list {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
    list-style: none;
}

.workflow-list li {
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.workflow-list strong {
    display: block;
    color: var(--green-900);
    font-size: 1.04rem;
}

.workflow-list span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
}

.wide-shot {
    max-width: 320px;
    margin-inline: auto;
}

.cta {
    padding: 70px 0;
    background: var(--green-900);
    color: #fff;
}

.cta-inner {
    width: min(100% - 32px, 980px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
}

.cta h2 {
    color: #fff;
}

.cta p {
    margin: 14px 0 0;
    color: #c9ded0;
    font-size: 1.1rem;
}

.site-footer {
    padding: 26px 0;
    background: #071b10;
    color: #b8c9bf;
}

.footer-inner {
    width: min(100% - 32px, 1120px);
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.95rem;
}

.footer-inner a {
    color: #e4f2e8;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 900px) {
    .hero-inner,
    .workflow,
    .cta-inner {
        grid-template-columns: 1fr;
    }

    .phone-showcase {
        min-height: 500px;
    }

    .phone.primary-shot {
        margin-inline: auto 0;
        width: min(70vw, 280px);
    }

    .phone.secondary-shot {
        width: min(48vw, 200px);
    }

    .features {
        grid-template-columns: 1fr;
    }

    .screen-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
        font-size: 0.9rem;
    }

    .hero-inner {
        padding-top: 46px;
    }

    .phone-showcase {
        min-height: 400px;
    }

    .phone.primary-shot {
        width: min(72vw, 250px);
    }

    .phone.secondary-shot {
        width: min(46vw, 170px);
        bottom: 8px;
    }

    .screen-grid {
        display: flex;
        overflow-x: auto;
        gap: 16px;
        padding-bottom: 12px;
        scroll-snap-type: x mandatory;
    }

    .screen-card {
        flex: 0 0 72%;
        scroll-snap-align: start;
    }

    .section {
        padding: 58px 0;
    }
}