:root {
    --ink: #222725;
    --muted: #5f6763;
    --line: #dce2de;
    --soft: #f5f7f5;
    --mint: #e8f5ef;
    --green: #0b7655;
    --green-dark: #07563e;
    --coral: #c94f36;
    --white: #ffffff;
    --max: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
    line-height: 1.75;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--green);
    text-underline-offset: 0.2rem;
}

.container {
    width: min(calc(100% - 2rem), var(--max));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--ink);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.brand img {
    width: 40px;
    height: 40px;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.35rem;
}

.desktop-nav a {
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
    color: var(--green);
}

.desktop-nav .button,
.desktop-nav .button:hover {
    color: var(--white);
}

.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ink);
    border-radius: 6px;
    padding: 0.7rem 1.15rem;
    color: var(--white);
    background: var(--ink);
    font-weight: 750;
    text-decoration: none;
}

.button:hover {
    color: var(--white);
    background: #000000;
}

.button.secondary {
    color: var(--ink);
    background: transparent;
}

.button.secondary:hover {
    color: var(--green-dark);
    border-color: var(--green);
    background: var(--mint);
}

.mobile-nav {
    display: none;
    position: relative;
}

.mobile-nav summary {
    cursor: pointer;
    font-size: 1.45rem;
    list-style: none;
}

.mobile-nav summary::-webkit-details-marker {
    display: none;
}

.mobile-nav-links {
    position: absolute;
    top: 42px;
    right: 0;
    width: min(280px, calc(100vw - 2rem));
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 12px 30px rgba(24, 39, 31, 0.12);
    padding: 0.65rem;
}

.mobile-nav-links a {
    display: block;
    padding: 0.7rem 0.8rem;
    color: var(--ink);
    text-decoration: none;
}

.breadcrumb {
    padding-top: 1.15rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.breadcrumb a {
    color: inherit;
}

.hero {
    border-bottom: 1px solid var(--line);
    padding: 3.8rem 0 4.5rem;
    background: var(--soft);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(270px, 0.7fr);
    gap: 4rem;
    align-items: center;
}

.eyebrow {
    margin: 0 0 0.75rem;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 850;
}

h1,
h2,
h3 {
    letter-spacing: 0;
}

h1 {
    margin: 0;
    font-size: clamp(2.25rem, 5.5vw, 4.3rem);
    line-height: 1.12;
}

.hero-lede {
    max-width: 700px;
    margin: 1.25rem 0 0;
    color: #434a46;
    font-size: 1.12rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.7rem;
}

.hero-media {
    max-width: 270px;
    justify-self: center;
}

.hero-media img {
    aspect-ratio: 739 / 1599;
    border: 5px solid var(--white);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(30, 45, 37, 0.16);
    object-fit: cover;
}

.proof-strip {
    border-bottom: 1px solid var(--line);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.proof-item {
    padding: 1.2rem;
    border-right: 1px solid var(--line);
    text-align: center;
}

.proof-item:last-child {
    border-right: 0;
}

.proof-item strong,
.proof-item span {
    display: block;
}

.proof-item span {
    margin-top: 0.1rem;
    color: var(--muted);
    font-size: 0.78rem;
}

.section {
    padding: 4.5rem 0;
}

.section.alt {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--soft);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2.2rem;
}

.section-heading h2 {
    margin: 0 0 0.7rem;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.25;
}

.section-heading p {
    margin: 0;
    color: var(--muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.feature {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 1.35rem;
    background: var(--white);
}

.feature h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.feature p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.screenshot-grid figure {
    min-width: 0;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    background: var(--white);
}

.screenshot-grid img {
    width: 100%;
    aspect-ratio: 739 / 1100;
    object-fit: cover;
    object-position: top;
    background: var(--mint);
}

.screenshot-grid figcaption {
    padding: 1rem 1.1rem 1.15rem;
}

.screenshot-grid figcaption strong,
.screenshot-grid figcaption span {
    display: block;
}

.screenshot-grid figcaption span {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.review-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 3rem;
    align-items: start;
}

.review-layout h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.25;
}

.source-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 700;
}

.review-themes {
    margin: 0;
    border-top: 1px solid var(--line);
}

.review-themes div {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
}

.review-themes dt {
    font-weight: 800;
}

.review-themes dd {
    margin: 0;
    color: var(--muted);
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
    gap: 3rem;
    align-items: start;
}

.prose h2 {
    margin: 0 0 1rem;
    font-size: 1.85rem;
}

.prose h3 {
    margin: 2rem 0 0.65rem;
    font-size: 1.2rem;
}

.prose p,
.prose li {
    color: #454c48;
}

.prose ul,
.prose ol {
    padding-left: 1.2rem;
}

.prose li {
    margin: 0.55rem 0;
}

.aside-note {
    border-left: 4px solid var(--green);
    padding: 1.1rem 1.2rem;
    background: var(--mint);
}

.aside-note h3 {
    margin: 0 0 0.45rem;
    font-size: 1rem;
}

.aside-note p {
    margin: 0;
    color: #3f554a;
    font-size: 0.88rem;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
}

table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    font-size: 0.9rem;
}

th,
td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    background: var(--soft);
    font-size: 0.78rem;
}

tbody tr:last-child td {
    border-bottom: 0;
}

.faq-list {
    max-width: 860px;
    border-top: 1px solid var(--line);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
}

.faq-list summary {
    cursor: pointer;
    font-weight: 750;
}

.faq-list p {
    margin: 0.75rem 0 0;
    color: var(--muted);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.related-link {
    min-height: 120px;
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 1.2rem;
    color: var(--ink);
    text-decoration: none;
}

.related-link:hover {
    border-color: var(--green);
    background: var(--mint);
}

.related-link strong,
.related-link span {
    display: block;
}

.related-link span {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.85rem;
}

.cta-band {
    padding: 3.5rem 0;
    color: var(--white);
    background: var(--ink);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-inner h2 {
    margin: 0 0 0.45rem;
    font-size: 1.8rem;
}

.cta-inner p {
    margin: 0;
    color: #cdd4d0;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    flex: 0 0 auto;
}

.cta-actions .button {
    border-color: var(--white);
    color: var(--ink);
    background: var(--white);
}

.site-footer {
    padding: 2.5rem 0;
    background: var(--soft);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

.footer-brand strong,
.footer-brand span {
    display: block;
}

.footer-brand span {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.82rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.7rem 1.2rem;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.85rem;
}

@media (max-width: 840px) {
    .desktop-nav {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .hero-grid,
    .content-grid,
    .review-layout {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 2.2rem;
    }

    .hero-media {
        max-width: 230px;
    }

    .feature-grid,
    .related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .screenshot-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proof-item:nth-child(2) {
        border-right: 0;
    }

    .proof-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 560px) {
    .hero {
        padding: 2rem 0 2.4rem;
    }

    .hero-grid {
        gap: 1.4rem;
    }

    .hero-media {
        max-width: 145px;
    }

    .section {
        padding: 3.4rem 0;
    }

    .feature-grid,
    .screenshot-grid,
    .related-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .review-themes div {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }

    .footer-links {
        justify-content: flex-start;
    }
}
