:root {
    --bg: #f6f3ee;
    --paper: #fffdf9;
    --ink: #1d2725;
    --teal: #0d5551;
    --teal2: #16706a;
    --orange: #e98b16;
    --muted: #6f7773;
    --line: rgba(13, 85, 81, .14);
    --max: 1180px
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden
}

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

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

header {
    height: 76px;
    max-width: var(--max);
    padding: 0 24px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 20
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 11px
}

.brand b {
    color: var(--teal)
}

nav {
    display: flex;
    gap: 30px;
    margin-left: auto
}

nav a {
    font-size: 14px;
    color: #59645f
}

.nav-btn {
    border: 1px solid rgba(13, 85, 81, .35);
    color: var(--teal);
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 800;
    font-size: 14px
}

.hero {
    max-width: var(--max);
    min-height: 690px;
    margin: auto;
    padding: 68px 24px 90px;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 76px;
    align-items: center
}

.eyebrow {
    color: var(--orange);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .16em;
    margin: 0 0 14px
}

.hero h1 {
    font-size: clamp(46px, 6vw, 76px);
    line-height: 1.08;
    letter-spacing: -.055em;
    margin: 0 0 22px;
    color: var(--teal)
}

.lead {
    font-size: 18px;
    color: #59645f;
    margin: 0 0 32px
}

.actions {
    display: flex;
    gap: 14px
}

.primary {
    display: inline-flex;
    min-width: 210px;
    min-height: 58px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--teal2), var(--teal));
    color: #fff;
    box-shadow: 0 16px 40px rgba(13, 85, 81, .22);
    transition: .25s
}

.primary:hover {
    transform: translateY(-3px)
}

.primary b {
    line-height: 1.25
}

.primary span {
    font-size: 11px;
    opacity: .72
}

.secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(255, 255, 255, .48);
    font-weight: 800
}

.trust {
    display: flex;
    gap: 20px;
    margin-top: 26px;
    color: #7d8581;
    font-size: 13px
}

.trust span:before {
    content: "✓";
    color: var(--orange);
    margin-right: 6px
}

.hero-art {
    height: 500px;
    position: relative
}

.hero-art figure {
    margin: 0;
    position: absolute;
    overflow: hidden;
    border-radius: 26px;
    box-shadow: 0 28px 65px rgba(23, 40, 36, .18);
    border: 6px solid rgba(255, 255, 255, .65)
}

.hero-art img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.hero-main {
    width: 78%;
    height: 410px;
    right: 0;
    top: 0
}

.hero-side {
    width: 49%;
    height: 300px;
    left: 0;
    bottom: 0
}

.chat-bubble {
    position: absolute;
    right: 0;
    bottom: 22px;
    background: rgba(255, 253, 249, .9);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 13px 17px;
    display: flex;
    gap: 11px;
    align-items: center;
    box-shadow: 0 15px 40px rgba(23, 40, 36, .13)
}

.chat-bubble i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #52c58c;
    box-shadow: 0 0 0 5px rgba(82, 197, 140, .14)
}

.chat-bubble b,
.chat-bubble small {
    display: block
}

.chat-bubble small {
    font-size: 11px;
    color: var(--muted)
}

.value-grid,
.roles,
.feature,
.stories,
.custom,
.faq {
    max-width: var(--max);
    margin: auto;
    padding: 100px 24px
}

.value-grid {
    padding-top: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px
}

.value-grid article {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 25px;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px
}

.value-grid strong {
    grid-row: 1/3;
    color: var(--orange);
    font-size: 13px
}

.value-grid h2 {
    margin: 0;
    font-size: 19px
}

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

.section-head {
    max-width: 650px;
    margin-bottom: 40px
}

.section-head h2,
.feature-copy h2,
.custom-copy h2,
.download h2 {
    font-size: clamp(31px, 4vw, 48px);
    line-height: 1.2;
    letter-spacing: -.035em;
    margin: 0 0 14px
}

.section-head>p:last-child,
.feature-copy>p,
.custom-copy>p,
.download>div>p:last-child {
    margin: 0;
    color: var(--muted)
}

.role-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px
}

.role-card {
    position: relative;
    height: 390px;
    border-radius: 22px;
    overflow: hidden
}

.role-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 48%, rgba(5, 31, 29, .88))
}

.role-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s
}

.role-card:hover img {
    transform: scale(1.04)
}

.role-card div {
    position: absolute;
    z-index: 2;
    left: 22px;
    bottom: 18px;
    color: white
}

.role-card h3 {
    margin: 0;
    font-size: 20px
}

.role-card p {
    margin: 2px 0 0;
    font-size: 13px;
    opacity: .8
}

.feature,
.custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center
}

.phones,
.custom-phones {
    height: 620px;
    position: relative
}

.phone {
    position: absolute;
    margin: 0;
    padding: 7px;
    border-radius: 27px;
    background: #1a211f;
    box-shadow: 0 30px 70px rgba(18, 45, 40, .24)
}

.phone img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 21px
}

.phone.front {
    width: 330px;
    height: 585px;
    right: 5%;
    top: 0;
    z-index: 2
}

.phone.back {
    width: 275px;
    height: 500px;
    left: 0;
    bottom: 0;
    transform: rotate(-6deg);
    opacity: .78
}

.feature-copy>p,
.custom-copy>p {
    margin: 0 0 17px
}

.feature-copy ul {
    list-style: none;
    padding: 0;
    margin: 28px 0 0
}

.feature-copy li {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding: 13px 0
}

.feature-copy li b {
    color: var(--teal)
}

.feature-copy li span {
    color: var(--muted);
    font-size: 14px
}

.stories {
    max-width: none;
    background: #123f3c;
    color: #fff
}

.stories>* {
    max-width: var(--max);
    margin-left: auto;
    margin-right: auto
}

.stories .section-head>p:last-child {
    color: #b7cfcc
}

.center {
    text-align: center
}

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

.story-grid article {
    background: rgba(255, 255, 255, .07);
    border-radius: 17px;
    padding: 9px 9px 16px;
    border: 1px solid rgba(255, 255, 255, .1)
}

.story-grid img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 12px
}

.story-grid h3 {
    margin: 13px 6px 0
}

.story-grid p {
    margin: 1px 6px;
    color: #bad0cd;
    font-size: 13px
}

.custom-phones .phone:first-child {
    width: 300px;
    height: 535px;
    left: 0;
    top: 20px
}

.custom-phones .login {
    width: 245px;
    height: 440px;
    right: 0;
    bottom: 28px;
    transform: rotate(5deg)
}

.custom-copy a {
    display: inline-block;
    color: var(--orange);
    font-weight: 900;
    margin-top: 10px
}

.download {
    max-width: var(--max);
    margin: 70px auto 0;
    padding: 52px 60px;
    border-radius: 28px;
    background: linear-gradient(125deg, #0d5551, #123f3c);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 35px
}

.download .eyebrow {
    color: #f6ad4f
}

.download>div>p:last-child {
    color: #c7d9d7
}

.download .primary {
    background: linear-gradient(135deg, #f2a22d, #df7d0d);
    color: #241505;
    box-shadow: none
}

.faq-list {
    border-top: 1px solid var(--line)
}

details {
    border-bottom: 1px solid var(--line)
}

summary {
    list-style: none;
    cursor: pointer;
    padding: 23px 4px;
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: 800
}

summary::-webkit-details-marker {
    display: none
}

summary span {
    color: var(--orange);
    font-size: 27px;
    font-weight: 300;
    transition: .25s
}

details[open] summary span {
    transform: rotate(45deg)
}

details p {
    color: var(--muted);
    max-width: 760px;
    margin: -3px 0 25px
}

footer {
    max-width: var(--max);
    margin: auto;
    border-top: 1px solid var(--line);
    padding: 50px 24px 95px;
    text-align: center;
    color: var(--muted)
}

footer img {
    width: 58px;
    margin: auto;
    border-radius: 13px
}

footer b {
    display: block;
    color: var(--teal);
    font-size: 21px;
    margin-top: 9px
}

footer p {
    margin: 2px 0
}

footer small {
    font-size: 12px
}

.mobile-download {
    display: none
}

.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: .7s
}

.reveal.in-view {
    opacity: 1;
    transform: none
}

@media(max-width:920px) {
    header nav {
        display: none
    }

    .nav-btn {
        margin-left: auto
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 42px
    }

    .hero-copy {
        text-align: center;
        max-width: 700px;
        margin: auto
    }

    .actions,
    .trust {
        justify-content: center
    }

    .hero-art {
        max-width: 650px;
        width: 100%;
        margin: auto
    }

    .value-grid {
        grid-template-columns: 1fr
    }

    .feature,
    .custom {
        grid-template-columns: 1fr;
        gap: 50px
    }

    .feature-copy {
        order: -1
    }

    .story-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .phones,
    .custom-phones {
        max-width: 560px;
        width: 100%;
        margin: auto
    }

    .download {
        margin-left: 24px;
        margin-right: 24px
    }
}

@media(max-width:600px) {
    body {
        padding-bottom: 75px
    }

    header {
        height: 68px;
        padding: 0 16px;
        position: sticky;
        top: 0;
        background: rgba(246, 243, 238, .9);
        backdrop-filter: blur(15px);
        border-bottom: 1px solid var(--line)
    }

    .brand img {
        width: 40px;
        height: 40px
    }

    .nav-btn {
        display: none
    }

    .hero {
        padding: 38px 17px 68px;
        gap: 45px
    }

    .hero h1 {
        font-size: 44px
    }

    .lead {
        font-size: 16px
    }

    .actions {
        flex-direction: column
    }

    .primary,
    .secondary {
        width: 100%
    }

    .trust {
        flex-wrap: wrap;
        gap: 12px
    }

    .hero-art {
        height: 390px
    }

    .hero-main {
        width: 82%;
        height: 310px
    }

    .hero-side {
        width: 48%;
        height: 210px
    }

    .chat-bubble {
        bottom: 2px;
        padding: 11px 13px
    }

    .value-grid,
    .roles,
    .feature,
    .stories,
    .custom,
    .faq {
        padding: 76px 17px
    }

    .role-grid {
        grid-template-columns: 1fr
    }

    .role-card {
        height: 360px
    }

    .phones,
    .custom-phones {
        height: 500px
    }

    .phone.front {
        width: 255px;
        height: 455px
    }

    .phone.back {
        width: 220px;
        height: 400px
    }

    .custom-phones .phone:first-child {
        width: 250px;
        height: 445px
    }

    .custom-phones .login {
        width: 190px;
        height: 340px
    }

    .story-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px
    }

    .story-grid h3 {
        font-size: 16px
    }

    .download {
        margin: 25px 17px 0;
        padding: 35px 23px;
        flex-direction: column;
        align-items: stretch;
        text-align: center
    }

    .faq {
        padding-bottom: 65px
    }

    summary {
        font-size: 16px
    }

    .mobile-download {
        display: flex;
        position: fixed;
        z-index: 50;
        left: 11px;
        right: 11px;
        bottom: 9px;
        min-height: 59px;
        border-radius: 14px;
        background: linear-gradient(135deg, var(--teal2), var(--teal));
        color: white;
        box-shadow: 0 14px 36px rgba(13, 85, 81, .35);
        align-items: center;
        justify-content: center;
        flex-direction: column
    }

    .mobile-download b {
        line-height: 1.2
    }

    .mobile-download span {
        font-size: 10px;
        opacity: .72
    }

    .reveal {
        transform: translateY(14px)
    }
}

@media(max-width:420px) {
    .hero h1 {
        font-size: 39px
    }

    .hero-art {
        height: 350px
    }

    .hero-main {
        height: 285px
    }

    .hero-side {
        height: 190px
    }

    .story-grid {
        grid-template-columns: 1fr
    }

    .feature-copy li {
        gap: 15px
    }

    .feature-copy li span {
        text-align: right
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none
    }
}