:root {
    color-scheme: light;
    --ink: #16221b;
    --muted: #66746b;
    --line: rgba(22, 34, 27, 0.12);
    --paper: #fffdf8;
    --soft: #f4f0e7;
    --sage: #d9edb4;
    --mint: #aee7d6;
    --blue: #1878ff;
    --rose: #ff6b86;
    --shadow: 0 26px 80px rgba(32, 45, 38, 0.15);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 0%, rgba(174, 231, 214, 0.45), transparent 32rem),
        radial-gradient(circle at 88% 10%, rgba(217, 237, 180, 0.55), transparent 30rem),
        linear-gradient(180deg, #fffdf8 0%, #f7f4ec 48%, #eef6f1 100%);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 32px));
    margin: 14px auto 0;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.82);
    box-shadow: 0 12px 38px rgba(32, 45, 38, 0.1);
    backdrop-filter: blur(20px);
}

.brand,
.site-header nav {
    display: flex;
    align-items: center;
}

.brand {
    gap: 10px;
    padding-left: 4px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand img {
    border-radius: 12px;
    box-shadow: 0 8px 18px rgba(24, 120, 255, 0.18);
}

.site-header nav {
    gap: 6px;
}

.site-header nav a {
    min-height: 40px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.site-header nav a:hover {
    color: var(--ink);
    background: rgba(22, 34, 27, 0.06);
}

.site-header .nav-download {
    color: white;
    background: var(--ink);
}

.site-header .nav-download:hover {
    color: white;
    background: #0f1713;
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
    align-items: center;
    gap: 54px;
    width: min(1180px, calc(100% - 32px));
    min-height: calc(100svh - 88px);
    margin: 0 auto;
    padding: 52px 0 72px;
}

.hero-copy {
    padding: 24px 0;
}

.eyebrow {
    margin: 0 0 14px;
    color: #33614b;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1 {
    max-width: 10em;
    margin: 0;
    font-size: clamp(46px, 8vw, 88px);
    line-height: 1.02;
    letter-spacing: 0;
}

.hero-text {
    max-width: 660px;
    margin: 26px 0 0;
    color: #425048;
    font-size: clamp(18px, 2.1vw, 22px);
}

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

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 22px;
    border-radius: 16px;
    font-weight: 800;
    box-shadow: 0 14px 34px rgba(32, 45, 38, 0.12);
}

.button.primary {
    color: white;
    background: var(--ink);
}

.button.secondary {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
}

.facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 620px;
    margin: 38px 0 0;
}

.facts div {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.55);
}

.facts dt {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.facts dd {
    margin: 4px 0 0;
    font-size: 18px;
    font-weight: 900;
}

.hero-visual {
    position: relative;
    min-height: 650px;
}

.hero-visual::before {
    position: absolute;
    inset: 8% 0 7% 7%;
    content: "";
    border-radius: 44px;
    background:
        linear-gradient(135deg, rgba(174, 231, 214, 0.75), rgba(217, 237, 180, 0.82)),
        var(--sage);
    box-shadow: var(--shadow);
    transform: rotate(-4deg);
}

.phone-stack {
    position: relative;
    height: 680px;
}

.phone {
    position: absolute;
    width: min(52vw, 318px);
    border-radius: 34px;
    box-shadow: 0 30px 70px rgba(24, 34, 29, 0.24);
}

.phone-back {
    top: 52px;
    right: 10px;
    opacity: 0.82;
    transform: rotate(7deg) scale(0.92);
}

.phone-front {
    top: 0;
    left: 8%;
    transform: rotate(-2deg);
}

.section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 86px 0;
}

.intro {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 44px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.intro h2,
.section-heading h2,
.trust h2 {
    margin: 0;
    font-size: clamp(30px, 4.5vw, 52px);
    line-height: 1.12;
    letter-spacing: 0;
}

.intro > p {
    align-self: end;
    margin: 0;
    color: #48564e;
    font-size: 20px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 34px;
}

.section-heading h2 {
    max-width: 760px;
}

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

.feature-card {
    min-height: 248px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 20px 50px rgba(32, 45, 38, 0.08);
}

.feature-icon {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 30px;
    border-radius: 14px;
    color: white;
    background: linear-gradient(135deg, var(--blue), #36b88f);
    font-weight: 900;
}

.feature-card:nth-child(2n) .feature-icon {
    background: linear-gradient(135deg, var(--rose), #ffad54);
}

.feature-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

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

.screens {
    overflow: hidden;
}

.screen-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 18px;
}

.screen-gallery figure {
    margin: 0;
    padding: 12px 12px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 20px 60px rgba(32, 45, 38, 0.1);
}

.screen-gallery img {
    width: 100%;
    aspect-ratio: 416 / 900;
    object-fit: cover;
    border-radius: 8px;
}

.screen-gallery figcaption {
    min-height: 48px;
    padding: 14px 4px 0;
    color: #314039;
    font-size: 17px;
    font-weight: 800;
    text-align: center;
}

.trust {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    align-items: stretch;
    margin-bottom: 58px;
    padding: 44px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(217, 237, 180, 0.78), rgba(174, 231, 214, 0.74)),
        var(--sage);
    box-shadow: var(--shadow);
}

.trust-copy p:last-child {
    max-width: 690px;
    margin: 20px 0 0;
    color: #405149;
    font-size: 18px;
}

.trust-links {
    display: grid;
    gap: 12px;
    align-content: center;
}

.trust-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 16px 18px;
    border: 1px solid rgba(22, 34, 27, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    font-weight: 900;
}

.trust-links a::after {
    content: "→";
}

.app-catalog {
    margin-bottom: 58px;
}

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

.app-card {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    min-height: 220px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.64);
    box-shadow: 0 20px 54px rgba(32, 45, 38, 0.08);
}

.app-mark {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    color: white;
    background: linear-gradient(135deg, #16221b, #36b88f);
    font-size: 24px;
    font-weight: 900;
}

.app-kicker {
    margin: 0 0 2px;
    color: #33614b;
    font-size: 13px;
    font-weight: 900;
}

.app-card h3 {
    margin: 0 0 10px;
    font-size: 24px;
}

.app-card p:not(.app-kicker) {
    margin: 0;
    color: var(--muted);
}

.app-card a {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    margin-top: 10px;
    padding: 14px 16px;
    border-radius: 8px;
    color: white;
    background: var(--ink);
    font-weight: 900;
}

.app-card a::after {
    content: "→";
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 0 42px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
}

.site-footer p {
    margin: 0;
}

.page-hero {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto;
    padding: 82px 0 34px;
}

.page-hero h1 {
    max-width: 12em;
}

.page-hero p:last-child {
    max-width: 720px;
    margin: 22px 0 0;
    color: #425048;
    font-size: clamp(18px, 2vw, 22px);
}

.policy-content {
    width: min(960px, calc(100% - 32px));
    margin: 0 auto 68px;
    padding: 42px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 24px 70px rgba(32, 45, 38, 0.1);
}

.policy-content h2 {
    margin: 34px 0 12px;
    font-size: 26px;
    line-height: 1.25;
}

.policy-content h2:first-of-type {
    margin-top: 10px;
}

.policy-content h3 {
    margin: 20px 0 8px;
    font-size: 19px;
}

.policy-content p,
.policy-content li {
    color: #435249;
    font-size: 17px;
}

.policy-content a {
    color: var(--blue);
    font-weight: 800;
}

.policy-content ul {
    padding-left: 1.25em;
}

.support-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
    align-items: stretch;
    width: min(1060px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(217, 237, 180, 0.86), rgba(174, 231, 214, 0.76)),
        var(--sage);
    box-shadow: var(--shadow);
}

.support-panel h2 {
    margin: 0;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.12;
}

.support-panel p {
    max-width: 660px;
    color: #405149;
    font-size: 18px;
}

.support-actions {
    margin-top: 26px;
}

.support-actions button {
    border: 0;
    cursor: pointer;
    font: inherit;
}

.copy-status {
    min-height: 28px;
    margin: 14px 0 0;
    font-weight: 800;
}

.support-card {
    padding: 26px;
    border: 1px solid rgba(22, 34, 27, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
}

.support-card h3 {
    margin: 0 0 14px;
    font-size: 22px;
}

.support-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 1.15em;
    color: #435249;
}

.faq {
    padding-top: 72px;
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        min-height: 0;
        padding-top: 42px;
    }

    h1 {
        max-width: 11em;
    }

    .hero-visual {
        min-height: 560px;
    }

    .phone-stack {
        height: 580px;
    }

    .phone {
        width: min(56vw, 292px);
    }

    .phone-front {
        left: 16%;
    }

    .phone-back {
        right: 14%;
    }

    .intro,
    .trust,
    .support-panel {
        grid-template-columns: 1fr;
    }

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

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

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

@media (max-width: 680px) {
    .site-header {
        align-items: stretch;
        border-radius: 22px;
    }

    .brand span {
        display: none;
    }

    .site-header nav {
        width: 100%;
        justify-content: flex-end;
        gap: 2px;
    }

    .site-header nav a {
        padding: 8px 9px;
        font-size: 13px;
    }

    .hero {
        gap: 20px;
        padding-bottom: 46px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .facts,
    .feature-grid,
    .screen-gallery {
        grid-template-columns: 1fr;
    }

    .facts div {
        padding: 13px 14px;
    }

    .hero-visual {
        min-height: 464px;
    }

    .hero-visual::before {
        inset: 7% 2% 5%;
    }

    .phone-stack {
        height: 480px;
    }

    .phone {
        width: 230px;
        border-radius: 25px;
    }

    .phone-front {
        left: 4%;
    }

    .phone-back {
        top: 40px;
        right: 2%;
    }

    .section {
        padding: 58px 0;
    }

    .section-heading {
        display: block;
    }

    .trust {
        padding: 28px 18px;
    }

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

    .page-hero {
        padding-top: 54px;
    }

    .policy-content,
    .support-panel {
        padding: 28px 18px;
    }

    .site-footer {
        display: block;
    }

    .site-footer p + p {
        margin-top: 8px;
    }
}
