:root {
    color-scheme: light;
    --text: #17211b;
    --heading: #0d1712;
    --muted: #617067;
    --subtle: #f3f7f4;
    --subtle-strong: #e8f1eb;
    --line: #dce6df;
    --accent: #158047;
    --accent-strong: #0f6437;
    --accent-soft: #e3f4e9;
    --blue: #315fba;
    --blue-soft: #e8eefb;
    --surface: #ffffff;
    --surface-raised: #fbfdfb;
    --shadow-sm: 0 8px 24px rgba(20, 33, 26, 0.08);
    --shadow-md: 0 18px 54px rgba(20, 33, 26, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", sans-serif;
    color: var(--text);
    background: #f7faf8;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: rgba(21, 128, 71, 0.14);
}

.skip-link {
    position: absolute;
    left: 16px;
    top: 12px;
    z-index: 100;
    transform: translateY(-140%);
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    padding: 10px 14px;
    font-weight: 700;
}

.skip-link:focus-visible {
    transform: translateY(0);
    outline: 3px solid rgba(21, 128, 71, 0.24);
    outline-offset: 3px;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    touch-action: manipulation;
}

a:hover {
    text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(21, 128, 71, 0.24);
    outline-offset: 3px;
    border-radius: 8px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(247, 250, 248, 0.94);
    border-bottom: 1px solid rgba(220, 230, 223, 0.9);
    backdrop-filter: blur(18px);
}

.nav {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-width: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--heading);
    font-weight: 800;
    letter-spacing: 0;
}

.brand:hover {
    text-decoration: none;
}

.brand-logo {
    width: 36px;
    height: 38px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(13, 23, 18, 0.08);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    min-width: 0;
    font-size: 0.94rem;
}

.nav-links a {
    color: var(--text);
    font-weight: 650;
    white-space: nowrap;
}

.nav-secondary {
    opacity: 0.82;
}

.nav-secondary:hover {
    opacity: 1;
}

.language-switch {
    min-height: 36px;
    min-width: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(13, 23, 18, 0.04);
}

.language-switch:hover {
    border-color: rgba(21, 128, 71, 0.36);
    text-decoration: none;
    background: var(--accent-soft);
}

.language-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 800;
}

.nav-cta {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border-radius: 999px;
    color: #fff !important;
    background: var(--accent);
    box-shadow: 0 9px 20px rgba(21, 128, 71, 0.18);
}

.nav-cta:hover {
    background: var(--accent-strong);
    text-decoration: none;
}

main {
    width: 100%;
}

.hero {
    width: 100%;
    padding: 64px 24px 52px;
    background: linear-gradient(180deg, #f7faf8 0%, #ffffff 100%);
}

.hero-grid {
    width: min(1160px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.82fr);
    gap: 54px;
    align-items: center;
}

.hero-grid > *,
.split > *,
.grid > *,
.faq > * {
    min-width: 0;
}

.eyebrow {
    width: fit-content;
    margin: 0 0 16px;
    padding: 6px 10px;
    border: 1px solid rgba(21, 128, 71, 0.18);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-size: 0.9rem;
    font-weight: 800;
}

h1,
h2,
h3 {
    margin: 0;
    color: var(--heading);
    line-height: 1.12;
    letter-spacing: 0;
    text-wrap: balance;
    scroll-margin-top: 92px;
    overflow-wrap: break-word;
}

h1 {
    max-width: 820px;
    font-size: clamp(2.35rem, 5.1vw, 4.95rem);
}

h2 {
    margin-bottom: 16px;
    font-size: clamp(1.85rem, 3vw, 3rem);
}

h3 {
    margin-bottom: 9px;
    font-size: 1.12rem;
}

.lead {
    max-width: 710px;
    margin: 22px 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 1.45vw, 1.24rem);
    overflow-wrap: break-word;
}

.cta-row {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    color: var(--heading);
    font-weight: 800;
    box-shadow: 0 1px 0 rgba(13, 23, 18, 0.04);
}

.button:hover {
    border-color: rgba(21, 128, 71, 0.36);
    text-decoration: none;
    transform: translateY(-1px);
}

.button.primary {
    border-color: var(--accent);
    color: #fff;
    background: var(--accent);
    box-shadow: 0 12px 28px rgba(21, 128, 71, 0.22);
}

.button.primary:hover {
    background: var(--accent-strong);
}

.note {
    max-width: 650px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 0.94rem;
}

.device-stack {
    position: relative;
    width: min(100%, 430px);
    min-height: 570px;
    justify-self: end;
}

.phone-shot {
    position: absolute;
    width: min(72%, 324px);
    border: 8px solid #111a15;
    border-radius: 34px;
    background: #111a15;
    box-shadow: var(--shadow-md);
}

.phone-shot.primary-shot {
    top: 0;
    right: 6%;
    z-index: 2;
}

.phone-shot.secondary-shot {
    left: 0;
    bottom: 8px;
    z-index: 1;
    transform: rotate(-4deg);
    opacity: 0.96;
}

.single-device {
    display: flex;
    align-items: center;
    justify-content: center;
}

.single-device .phone-shot {
    position: static;
    width: min(78%, 330px);
}

.section {
    width: 100%;
    padding: 78px 24px;
    background: #fff;
}

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

.wrap {
    width: min(1160px, 100%);
    margin: 0 auto;
}

.section-copy {
    max-width: 790px;
    margin: 0;
    color: var(--muted);
    font-size: 1.06rem;
    overflow-wrap: break-word;
}

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

.card {
    min-height: 100%;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

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

.alt .card {
    background: var(--surface-raised);
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    gap: 46px;
    align-items: center;
}

.steps {
    margin-top: 28px;
    display: grid;
    gap: 14px;
}

.step {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 14px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
}

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

.step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    color: var(--accent-strong);
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}

.screenshot-panel {
    max-width: 610px;
    justify-self: end;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.screenshot-panel img {
    border: 7px solid #111a15;
    border-radius: 28px;
    background: #111a15;
    box-shadow: var(--shadow-md);
}

.faq {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.table-wrap {
    width: 100%;
    margin-top: 30px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    overflow-x: auto;
    box-shadow: var(--shadow-sm);
}

.comparison-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-size: 0.98rem;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.comparison-table thead th {
    background: var(--subtle-strong);
    color: var(--heading);
}

.comparison-table tbody th {
    width: 24%;
    color: var(--heading);
}

.comparison-table td {
    color: var(--muted);
}

.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td {
    border-bottom: 0;
}

.container,
.legal-copy {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 54px 0 82px;
}

.container h1,
.legal-copy h1 {
    margin-bottom: 10px;
    font-size: clamp(2rem, 4vw, 3.35rem);
}

.container h2,
.legal-copy h2 {
    margin-top: 42px;
    margin-bottom: 14px;
    font-size: 1.58rem;
}

.container h3,
.legal-copy h3 {
    margin-top: 26px;
}

.container h4,
.legal-copy h4 {
    margin: 20px 0 8px;
    font-size: 1.05rem;
}

.container p,
.container li,
.legal-copy p,
.legal-copy li {
    color: var(--muted);
}

.container ul,
.container ol,
.legal-copy ul,
.legal-copy ol {
    padding-left: 24px;
}

.update-date {
    margin: 0 0 34px;
    color: var(--muted);
    font-size: 0.95rem;
}

.notice,
.summary-box,
.contact-box,
.highlight-box {
    margin: 28px 0;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface-raised);
    box-shadow: var(--shadow-sm);
}

.highlight-box {
    border-left: 4px solid var(--accent);
}

.divider {
    margin: 38px 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.site-footer {
    border-top: 1px solid var(--line);
    background: #fff;
    padding: 30px 24px;
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-inner {
    width: min(1160px, 100%);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-inner p {
    margin: 4px 0;
}

.footer-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links a {
    color: var(--muted);
}

.footer-language {
    min-width: 34px;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--subtle);
    font-weight: 800;
}

.footer {
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    text-align: center;
    color: var(--muted);
    font-size: 0.92rem;
}

.footer p {
    margin: 6px 0;
}

@media (prefers-reduced-motion: no-preference) {
    .button,
    .language-switch,
    .nav-cta {
        transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
    }
}

@media (max-width: 920px) {
    .nav {
        width: min(100% - 28px, 1160px);
        min-height: 62px;
    }

    .nav-links {
        gap: 9px;
    }

    .nav-secondary {
        display: none;
    }

    .hero {
        padding: 48px 18px 44px;
    }

    .hero-grid,
    .split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .device-stack {
        justify-self: center;
        min-height: 0;
        max-width: 520px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .phone-shot,
    .phone-shot.primary-shot,
    .phone-shot.secondary-shot {
        position: static;
        width: 100%;
        max-height: 430px;
        object-fit: cover;
        object-position: top;
        transform: none;
    }

    .grid,
    .faq {
        grid-template-columns: 1fr;
    }

    .screenshot-panel {
        justify-self: center;
        max-width: 540px;
    }
}

@media (max-width: 620px) {
    .nav {
        width: calc(100% - 24px);
        gap: 10px;
    }

    .brand {
        gap: 8px;
        font-size: 0.96rem;
    }

    .brand-logo {
        width: 32px;
        height: 34px;
        border-radius: 9px;
    }

    .nav-links {
        gap: 7px;
        font-size: 0.86rem;
    }

    .language-switch {
        min-width: 50px;
        min-height: 34px;
        padding: 6px 8px;
    }

    .language-icon {
        display: none;
    }

    .nav-cta {
        min-height: 34px;
        padding: 7px 10px;
    }

    .hero {
        padding: 36px 16px 42px;
    }

    h1 {
        font-size: clamp(2rem, 8.5vw, 2.55rem);
    }

    h2 {
        font-size: clamp(1.62rem, 7vw, 2rem);
    }

    .lead {
        font-size: 1.02rem;
    }

    .cta-row {
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .button {
        width: 100%;
        text-align: center;
    }

    .section {
        padding: 56px 16px;
    }

    .device-stack {
        grid-template-columns: minmax(0, 1fr);
        max-width: 270px;
    }

    .device-stack .secondary-shot {
        display: none;
    }

    .phone-shot {
        border-width: 5px;
        border-radius: 24px;
        max-height: 360px;
    }

    .screenshot-panel {
        gap: 10px;
    }

    .screenshot-panel img {
        border-width: 5px;
        border-radius: 20px;
    }

    .card,
    .notice,
    .summary-box,
    .contact-box,
    .highlight-box {
        border-radius: 12px;
        padding: 18px;
    }

    .container,
    .legal-copy {
        width: calc(100% - 32px);
        padding-top: 44px;
        padding-bottom: 68px;
    }

    .footer-inner {
        flex-direction: column;
    }
}

@media (max-width: 390px) {
    .nav {
        width: calc(100% - 18px);
    }

    .brand span {
        max-width: 86px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .nav-cta {
        padding-left: 8px;
        padding-right: 8px;
    }
}
