:root {
    color-scheme: light;
    --white: #ffffff;
    --ink: #171c24;
    --slate: #657188;
    --muted: #8993a5;
    --line: #dce2e8;
    --surface: #f5f7f8;
    --teal: #00a6a6;
    --teal-dark: #007f82;
    --teal-soft: #e8f8f8;
    --gold: #a86e08;
    --gold-soft: #fff8e8;
    --radius: 14px;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: var(--white);
    color: var(--ink);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-width: 320px;
    background: var(--white);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-header {
    width: min(1240px, calc(100% - 48px));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 760;
    letter-spacing: -.02em;
    text-decoration: none;
}

.brand-mark {
    width: 34px;
    height: 34px;
    fill: var(--teal);
    transform: rotate(-4deg);
}

.brand-mark-cut { fill: var(--white); }

.private-label {
    min-height: 40px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ddb765;
    border-radius: 10px;
    background: var(--gold-soft);
    color: var(--gold);
    font-size: 14px;
    font-weight: 700;
}

.private-label svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
}

main {
    width: min(1240px, calc(100% - 48px));
    margin: 0 auto;
}

.hero {
    min-height: 610px;
    padding: 70px 28px 58px;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
    align-items: center;
    gap: clamp(42px, 7vw, 92px);
}

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

h1, h2, p { margin-top: 0; }

h1 {
    margin-bottom: 12px;
    font-size: clamp(44px, 5.1vw, 72px);
    line-height: 1.06;
    letter-spacing: -.055em;
    font-weight: 820;
}

.lead {
    margin-bottom: 10px;
    color: var(--slate);
    font-size: clamp(22px, 2.2vw, 31px);
    line-height: 1.35;
    letter-spacing: -.025em;
}

.version-line {
    margin-bottom: 28px;
    color: var(--teal-dark);
    font-size: 16px;
    font-weight: 750;
}

.download-button {
    width: min(100%, 520px);
    min-height: 58px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 10px;
    background: var(--teal);
    color: var(--white);
    font-size: 18px;
    font-weight: 760;
    text-decoration: none;
    box-shadow: 0 7px 20px rgba(0, 127, 130, .15);
    transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.download-button:hover {
    background: var(--teal-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 127, 130, .2);
}

.download-button:active { transform: translateY(0); }

.download-button:focus-visible,
.copy-button:focus-visible,
.brand:focus-visible {
    outline: 3px solid rgba(0, 166, 166, .28);
    outline-offset: 3px;
}

.download-button svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-note {
    width: min(100%, 520px);
    margin-top: 14px;
    padding: 15px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
}

.auth-note > svg {
    width: 22px;
    height: 22px;
    flex: none;
    fill: none;
    stroke: var(--slate);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-note strong {
    display: block;
    margin: 1px 0 4px;
    font-size: 14px;
}

.auth-note p {
    margin-bottom: 0;
    color: var(--slate);
    font-size: 13px;
    line-height: 1.6;
}

code {
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
}

.release-meta {
    width: min(100%, 520px);
    margin: 22px 0 0;
}

.release-meta > div {
    min-height: 38px;
    display: grid;
    grid-template-columns: 86px 1fr auto;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--line);
}

.release-meta dt {
    color: var(--slate);
    font-size: 13px;
}

.release-meta dd {
    min-width: 0;
    margin: 0;
    font-size: 13px;
    font-weight: 650;
}

.hash-row code {
    display: block;
    max-width: 360px;
    overflow: hidden;
    color: var(--slate);
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 500;
}

.copy-button {
    width: 34px;
    height: 34px;
    padding: 7px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: var(--slate);
    cursor: pointer;
}

.copy-button:hover { background: var(--teal-soft); color: var(--teal-dark); }

.copy-button svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.copy-status {
    min-height: 18px;
    margin: 6px 0 0;
    color: var(--teal-dark);
    font-size: 12px;
}

.product-visual {
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone-frame {
    position: relative;
    width: min(370px, 100%);
    aspect-ratio: 9 / 19.4;
    padding: 13px;
    overflow: hidden;
    border: 7px solid #17191c;
    border-radius: 42px;
    background: #17191c;
    box-shadow: 0 26px 60px rgba(23, 28, 36, .2);
}

.phone-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
    border-radius: 28px;
    background: var(--white);
}

.phone-speaker {
    position: absolute;
    z-index: 1;
    top: 18px;
    left: 50%;
    width: 54px;
    height: 7px;
    border-radius: 99px;
    background: #17191c;
    transform: translateX(-50%);
}

.feature-rail {
    padding: 28px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.feature-rail article {
    padding: 10px 30px;
    display: flex;
    align-items: flex-start;
    gap: 17px;
}

.feature-rail article + article { border-left: 1px solid var(--line); }

.feature-rail svg {
    width: 38px;
    height: 38px;
    flex: none;
    fill: none;
    stroke: var(--teal);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-rail h2,
.detail-band h2 {
    margin-bottom: 7px;
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.feature-rail p,
.detail-band p,
.detail-band li {
    margin-bottom: 0;
    color: var(--slate);
    font-size: 14px;
    line-height: 1.65;
}

.detail-band {
    padding: 52px 0 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.detail-band article {
    padding: 27px 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
}

.detail-band ol {
    margin: 0;
    padding-left: 20px;
}

.detail-band p + p { margin-top: 11px; }

footer {
    width: min(1240px, calc(100% - 48px));
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

@media (max-width: 880px) {
    .hero {
        padding-inline: 0;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-copy { max-width: 680px; margin: 0 auto; }
    .download-button, .auth-note, .release-meta { margin-left: auto; margin-right: auto; }
    .auth-note { text-align: left; }
    .release-meta { text-align: left; }
    .phone-frame { width: min(350px, 82vw); }
    .feature-rail { grid-template-columns: 1fr; }
    .feature-rail article { padding: 22px 12px; }
    .feature-rail article + article { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 640px) {
    .site-header, main, footer { width: min(100% - 28px, 1240px); }
    .site-header { min-height: 66px; }
    .brand { font-size: 16px; }
    .brand-mark { width: 30px; height: 30px; }
    .private-label { min-height: 34px; padding-inline: 9px; font-size: 12px; }
    .private-label svg { display: none; }
    .hero { min-height: auto; padding-top: 46px; padding-bottom: 48px; gap: 48px; }
    h1 { font-size: clamp(42px, 13vw, 58px); }
    .lead { font-size: 21px; }
    .version-line { font-size: 14px; }
    .download-button { width: 100%; min-height: 56px; }
    .release-meta > div { grid-template-columns: 70px 1fr auto; }
    .hash-row code { max-width: 48vw; }
    .detail-band { grid-template-columns: 1fr; padding: 36px 0 44px; }
    .detail-band article { padding: 22px 20px; }
    footer { padding-block: 22px; flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
