:root {
    color-scheme: light;
    --paper: #f7f8f2;
    --ink: #15231d;
    --muted: #4d5c51;
    --green: #19332a;
    --night: #101c18;
    --mint: #ddf59a;
    --line: #d4ded2;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-synthesis: none;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.65; }
a { color: inherit; text-underline-offset: .22em; }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
h1, h2 { letter-spacing: -.05em; }
:lang(zh-Hans) :is(h1, h2), :lang(ja) :is(h1, h2), :lang(ko) :is(h1, h2) { letter-spacing: -.025em; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.wrap { width: min(72rem, calc(100% - clamp(2rem, 8vw, 6rem))); margin-inline: auto; }

.skip-link {
    position: absolute;
    z-index: 3;
    inset: .5rem auto auto .5rem;
    padding: .65rem 1rem;
    background: var(--mint);
    color: var(--night);
    transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: relative;
    z-index: 1;
    background: var(--night);
    color: var(--paper);
    border-bottom: 1px solid #34453a;
}
.header-row, .header-actions, .brand {
    display: flex;
    align-items: center;
}
.header-row { justify-content: space-between; min-height: 4.75rem; gap: .65rem; }
.brand {
    gap: .65rem;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -.02em;
    text-decoration: none;
}
.brand img { border-radius: 24%; }
.header-actions { gap: clamp(.45rem, 2vw, 1.5rem); font-size: .875rem; }
.header-actions > a { padding-block: .65rem; text-decoration: none; }
.header-actions > a:hover, .header-actions > a[aria-current] { text-decoration: underline; }

.language-menu { position: relative; }
.language-menu summary {
    cursor: pointer;
    padding: .55rem clamp(.45rem, 1.2vw, .8rem);
    border: 1px solid #65786c;
    border-radius: .6rem;
    white-space: nowrap;
}
.language-list {
    position: absolute;
    right: 0;
    top: calc(100% + .5rem);
    display: grid;
    min-width: max(100%, 9rem);
    padding: .3rem;
    background: var(--night);
    border: 1px solid #65786c;
    border-radius: .65rem;
    box-shadow: 0 .8rem 2rem #0003;
}
.language-list a { padding: .5rem .65rem; border-radius: .35rem; text-decoration: none; white-space: nowrap; }
.language-list a:hover, .language-list a[aria-current] { color: var(--night); background: var(--mint); }

.hero {
    background: radial-gradient(ellipse at 80% 55%, #355b46 0%, var(--green) 29%, var(--night) 67%);
    color: var(--paper);
}
.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 6vw, 5rem);
    padding-block: clamp(2.75rem, 6vw, 5rem);
}
.hero h1 {
    font-size: clamp(3.1rem, 6.8vw, 6.1rem);
    line-height: .99;
    overflow-wrap: break-word;
}
.hero-intro { margin-top: 1.45rem; max-width: 35ch; font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: #deeadf; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: .65rem 1.2rem;
    border-radius: 100vw;
    background: var(--mint);
    color: var(--night);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.button:hover { background: #ecffbf; }
.hero .button { margin-top: 1.6rem; }
.compatibility { margin-top: .95rem; font-size: .875rem; color: #c1d2c6; }
.hero-art { display: grid; place-items: center; }
.phone {
    border: .35rem solid #2e4239;
    border-radius: 12% / 5.6%;
    box-shadow: 0 1.1rem 2.1rem #11221e40;
    background: var(--night);
}
.hero-art .phone {
    width: min(100%, 18.5rem);
    border-color: #7c957e;
    box-shadow: 0 2rem 4rem #050c09a6;
}

.gallery, .workflow, .local { padding-block: clamp(3rem, 7vw, 6rem); }
.section-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
    align-items: end;
    gap: 1rem 3rem;
    margin-bottom: clamp(1.5rem, 3.5vw, 2.75rem);
}
:is(.gallery, .workflow, .local) h2 { font-size: clamp(2.25rem, 4.45vw, 4.1rem); }
.section-intro p, .step p { color: var(--muted); }
.section-intro p { max-width: 41ch; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.8rem, 2vw, 1.5rem); }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: .85rem; }
.gallery-grid figcaption { padding: .6rem 0 0; font-weight: 650; }

.workflow { border-block: 1px solid var(--line); background: #edf1e8; }
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.4vw, 2rem);
    margin-top: clamp(1.5rem, 3.5vw, 2.75rem);
}
.step-image {
    display: grid;
    place-items: center;
    padding: clamp(.85rem, 2.5vw, 2rem);
    border-radius: 1rem;
    background: #dae9e0;
}
.step:nth-child(2) .step-image { background: #e4e1f3; }
.step:nth-child(3) .step-image { background: #e9e2d6; }
.step-image .phone { width: min(100%, 12.25rem); border-width: .25rem; }
.step h3 { margin-top: 1.15rem; font-size: clamp(1.2rem, 2vw, 1.5rem); }
.step p { margin-top: .6rem; }

.local { background: var(--green); color: var(--paper); }
.local-layout { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem 2rem; }
.local p { max-width: 55ch; margin-top: .8rem; color: #deeadf; }

.document { max-width: 47rem; padding-block: clamp(2.75rem, 7vw, 5.75rem); }
.document > header { padding-bottom: 1.85rem; border-bottom: 1px solid var(--line); }
.document h1 { font-size: clamp(2.4rem, 5.6vw, 4.7rem); overflow-wrap: break-word; }
.document :is(time, header p) { display: block; color: var(--muted); margin-top: .8rem; }
.document time { font-size: .875rem; }
.document-body section { margin-top: 1.85rem; }
.document h2 { font-size: clamp(1.28rem, 2.6vw, 1.55rem); letter-spacing: -.02em; }
.document h2 + p { margin-top: .55rem; }
.document-links { margin: 1.85rem 0 0; padding: 0; list-style: none; }
.document-links a { display: inline-block; padding-block: .35rem; color: #225d3c; font-weight: 650; }

.site-footer { background: var(--night); color: #d1ded5; }
.footer-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: .75rem 1.5rem;
    padding-block: 1.55rem;
    font-size: .875rem;
}
.footer-brand { display: flex; align-items: baseline; gap: .55rem; }
.footer-brand a { font-weight: 700; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.footer-row a { text-decoration: none; }
.footer-row a:hover, .footer-row a[aria-current] { text-decoration: underline; }

@media (max-width: 48rem) {
    .hero { background: radial-gradient(ellipse at 50% 75%, #355b46, var(--night) 66%); }
    .hero-layout, .section-intro { grid-template-columns: minmax(0, 1fr); }
    .hero-art .phone { width: clamp(11.5rem, 52vw, 15rem); }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .workflow-grid { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
    .step-image { padding-block: 1.5rem; }
}

@media (max-width: 23rem) {
    .header-row { min-height: 4.25rem; }
    .brand { gap: .4rem; font-size: 1rem; }
    .brand img { width: 1.75rem; height: 1.75rem; }
    .hero h1 { font-size: 2.65rem; }
}
