:root {
    color-scheme: light;
    --ink: #14231b;
    --muted: #52645a;
    --paper: #ffffff;
    --surface: #f4f8f5;
    --line: #cfdcd3;
    --green: #1f6f4a;
    --green-strong: #103c2b;
    --coral: #c7503a;
    --yellow: #f0b84b;
    --shadow: 0 18px 44px rgba(20, 35, 27, 0.13);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
}

a {
    color: var(--green);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

a:hover {
    color: var(--coral);
}

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

.skip-link {
    position: absolute;
    top: -48px;
    left: 16px;
    padding: 10px 12px;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 6px;
    z-index: 20;
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.nav {
    max-width: 1120px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
}

.brand img {
    border-radius: 8px;
    box-shadow: 0 5px 16px rgba(20, 35, 27, 0.18);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.95rem;
}

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

.language-switch a {
    min-width: 34px;
    padding: 4px 8px;
    border-radius: 6px;
    color: var(--muted);
    text-align: center;
    font-size: 0.84rem;
    font-weight: 800;
}

.nav-links a:hover,
.nav-links a[aria-current="page"],
.language-switch a:hover,
.language-switch a[aria-current="page"] {
    color: var(--green);
}

.language-switch a[aria-current="page"] {
    background: #ffffff;
}

.hero {
    min-height: 680px;
    background: var(--green-strong);
    color: #ffffff;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
    align-items: center;
    gap: 54px;
    padding: 72px max(24px, calc((100vw - 1120px) / 2)) 60px;
    overflow: hidden;
}

.hero-copy {
    max-width: 670px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--coral);
    font-weight: 800;
    font-size: 0.92rem;
}

.hero .eyebrow {
    color: var(--yellow);
}

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

h1 {
    margin: 0;
    max-width: 760px;
    font-size: 4rem;
    line-height: 1.04;
    letter-spacing: 0;
}

h2 {
    margin: 0;
    font-size: 2.3rem;
    line-height: 1.12;
    letter-spacing: 0;
}

h3 {
    margin: 0 0 8px;
    font-size: 1.14rem;
    line-height: 1.25;
    letter-spacing: 0;
}

.lead {
    max-width: 680px;
    margin: 22px 0 0;
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.86);
}

.actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}

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

.button.primary {
    background: #ffffff;
    color: var(--green-strong);
}

.button.secondary {
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: #ffffff;
}

.hero-visual {
    position: relative;
    min-height: 480px;
    display: grid;
    place-items: center;
}

.app-icon-large {
    position: absolute;
    top: 0;
    right: 0;
    width: 154px;
    height: 154px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.phone-frame {
    width: min(100%, 330px);
    min-height: 520px;
    padding: 22px;
    border: 10px solid #111c16;
    border-radius: 34px;
    background: var(--surface);
    color: var(--ink);
    box-shadow: var(--shadow);
}

.phone-bar {
    width: 74px;
    height: 6px;
    margin: 0 auto 24px;
    border-radius: 999px;
    background: #111c16;
}

.phone-section {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.phone-section span,
.habit-row span {
    display: block;
    color: var(--muted);
    font-size: 0.9rem;
}

.phone-section strong {
    display: block;
    margin-top: 2px;
    font-size: 1.45rem;
}

.habit-row {
    min-height: 52px;
    margin-top: 12px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.habit-row.done {
    border-color: #8fc6a8;
    background: #ecf7f0;
}

.habit-row b {
    color: var(--green);
    white-space: nowrap;
}

.mini-chart {
    height: 120px;
    margin-top: 18px;
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

.mini-chart span {
    min-height: 24px;
    border-radius: 6px 6px 0 0;
    background: var(--coral);
}

.section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 82px 24px;
}

.section-header {
    max-width: 760px;
    margin-bottom: 32px;
}

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

.feature-card,
.price-card,
.support-panel,
.notice {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.feature-card,
.price-card {
    padding: 22px;
}

.feature-card p,
.price-card p,
.support p,
.legal-content p,
.legal-content li,
.faq-list p {
    color: var(--muted);
}

.split {
    max-width: none;
    background: var(--surface);
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 640px);
    justify-content: center;
    gap: 56px;
}

.pricing-list {
    display: grid;
    gap: 14px;
}

.price-card {
    background: #ffffff;
}

.price-card.highlighted {
    border-color: var(--green);
    box-shadow: 0 12px 30px rgba(31, 111, 74, 0.14);
}

.price {
    margin: 4px 0 8px;
    color: var(--green-strong);
    font-size: 2rem;
    font-weight: 900;
}

.faq-list {
    display: grid;
    gap: 12px;
}

details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
}

summary {
    min-height: 56px;
    padding: 16px 18px;
    cursor: pointer;
    font-weight: 800;
}

details p {
    margin: 0;
    padding: 0 18px 18px;
}

.support {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 40px;
    align-items: start;
}

.support-panel {
    padding: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
}

.legal-page {
    background: var(--surface);
    padding: 58px 24px 82px;
}

.legal-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 44px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.legal-content h1 {
    color: var(--ink);
    font-size: 3rem;
}

.legal-content h2 {
    margin-top: 34px;
    font-size: 1.45rem;
}

.legal-content ul {
    padding-left: 22px;
}

.last-updated {
    margin-top: 8px;
}

.notice {
    margin: 28px 0;
    padding: 18px 20px;
    background: #ecf7f0;
    border-color: #8fc6a8;
}

.notice p {
    margin: 0;
    color: var(--ink);
}

.footer {
    padding: 28px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    background: #ffffff;
    color: var(--muted);
}

.footer p {
    margin: 0;
}

.footer nav {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

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

    .hero {
        padding-top: 54px;
    }

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

    h1 {
        font-size: 3rem;
    }
}

@media (max-width: 640px) {
    .nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .nav-links {
        justify-content: flex-start;
        gap: 12px;
    }

    .hero {
        min-height: auto;
        padding-bottom: 46px;
    }

    h1 {
        font-size: 2.35rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .lead {
        font-size: 1rem;
    }

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

    .section,
    .legal-page {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .legal-content {
        padding: 24px 18px;
    }

    .legal-content h1 {
        font-size: 2.2rem;
    }

    .app-icon-large {
        width: 112px;
        height: 112px;
    }

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