:root {
    color-scheme: light;
    --green: #2f6b45;
    --green-dark: #183d29;
    --green-soft: #e7f1e9;
    --cream: #fbf8f0;
    --ink: #1d2921;
    --muted: #627066;
    --white: #fff;
    --line: #dce5dd;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); }
a { color: inherit; }

.site-header, main, footer { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header { height: 88px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--green-dark); font-size: 1.18rem; font-weight: 800; text-decoration: none; }
.brand-logo { width: 48px; height: 48px; background: var(--green); border-radius: 14px; }
.status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; }
.status span { width: 9px; height: 9px; background: #35a45d; border-radius: 50%; box-shadow: 0 0 0 5px #dff1e5; }

.hero { min-height: 610px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 80px; padding: 72px 0 96px; }
.eyebrow { margin: 0 0 16px; color: var(--green); font-size: .79rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 760px; margin: 0; color: var(--green-dark); font-family: Georgia, "Times New Roman", serif; font-size: clamp(3rem, 6vw, 5.7rem); line-height: .98; letter-spacing: -.045em; }
.lead { max-width: 660px; margin: 28px 0 0; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.25rem); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid var(--green); border-radius: 12px; font-weight: 760; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(24, 61, 41, .13); }
.button.primary { background: var(--green); color: var(--white); }
.button.secondary { background: transparent; color: var(--green); }
.download-note { margin-top: 14px; color: var(--muted); font-size: .83rem; }

.app-card { position: relative; padding: 28px; overflow: hidden; background: var(--green-dark); color: var(--white); border-radius: 28px; box-shadow: 0 30px 70px rgba(24, 61, 41, .23); transform: rotate(2deg); }
.app-card::after { content: ""; position: absolute; width: 210px; height: 210px; right: -90px; top: -90px; background: #4caf50; border-radius: 50%; opacity: .2; }
.app-card-top { display: flex; align-items: center; gap: 13px; margin-bottom: 34px; }
.app-card-top div { display: grid; gap: 2px; }
.app-card-top small { color: #bad0c1; }
.mini-logo { width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0; }
.metric { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.13); }
.metric span { color: #bad0c1; font-size: .88rem; }
.metric strong { text-align: right; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0 0 100px; }
.features article { padding: 30px; background: rgba(255,255,255,.58); border: 1px solid var(--line); border-radius: 20px; }
.feature-icon { display: grid; width: 38px; height: 38px; place-items: center; margin-bottom: 28px; background: var(--green-soft); color: var(--green); border-radius: 50%; font-size: .76rem; font-weight: 850; }
h2 { margin: 0 0 12px; color: var(--green-dark); font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; }
.features p, .install p { margin: 0; color: var(--muted); line-height: 1.65; }

.install { display: flex; align-items: center; justify-content: space-between; gap: 48px; margin-bottom: 90px; padding: 42px 46px; background: var(--green-soft); border-radius: 24px; }
.install div { max-width: 680px; }
.install .eyebrow { margin-bottom: 10px; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px 0 42px; color: var(--muted); border-top: 1px solid var(--line); font-size: .85rem; }
footer > span:first-child { color: var(--green-dark); font-weight: 850; }

@media (max-width: 820px) {
    .hero { grid-template-columns: 1fr; gap: 42px; padding-top: 42px; }
    .app-card { max-width: 520px; transform: none; }
    .features { grid-template-columns: 1fr; }
    .install { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
    .site-header, main, footer { width: min(100% - 28px, 1120px); }
    .status { display: none; }
    .hero { padding-bottom: 70px; }
    h1 { font-size: 3.25rem; }
    .actions { align-items: stretch; flex-direction: column; }
    .button { width: 100%; }
    .app-card, .features article, .install { border-radius: 18px; }
    .install { padding: 30px 24px; }
    footer { flex-direction: column; }
}
