:root {
    color-scheme: light;
    --bg: #f6fbf7;
    --surface: #ffffff;
    --surface-soft: #eef8f1;
    --text: #173223;
    --muted: #5f7168;
    --line: #dce9e0;
    --brand: #2f8f4e;
    --brand-deep: #17613a;
    --blue: #2467b3;
    --gold: #b56a00;
    --rose: #ad3f5f;
    --warn: #8a5a00;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
}

body {
    margin: 0;
    color: var(--text);
    background: radial-gradient(circle at top left, #e8f8ee 0, rgba(232, 248, 238, 0) 34rem), var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    line-height: 1.72;
}

a {
    color: var(--brand-deep);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.page {
    width: min(100%, 920px);
    margin: 0 auto;
    padding: 28px 18px 44px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0 28px;
}

.brand {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-weight: 800;
    color: var(--brand-deep);
}

.brand small {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 14px;
}

.hero,
.card {
    background: rgba(255, 255, 255, 0.93);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 48px rgba(23, 50, 35, 0.08);
}

.hero {
    padding: clamp(24px, 5vw, 48px);
}

.hero h1 {
    margin: 0 0 14px;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.14;
    letter-spacing: 0;
}

.hero p {
    margin: 0;
    max-width: 720px;
    color: var(--muted);
    font-size: 18px;
}

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

.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    padding: 0 18px;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
}

.button.secondary {
    background: var(--surface-soft);
    color: var(--brand-deep);
}

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

.card {
    padding: 22px;
}

.card h2,
.card h3 {
    margin-top: 0;
}

.meta {
    margin: 8px 0 28px;
    color: var(--muted);
    font-size: 14px;
}

.doc {
    padding: clamp(22px, 4vw, 42px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.doc h1 {
    margin: 0 0 10px;
    font-size: clamp(28px, 5vw, 40px);
    line-height: 1.18;
    letter-spacing: 0;
}

.doc h2 {
    margin: 32px 0 10px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    font-size: 22px;
}

.doc h3 {
    margin-top: 24px;
    font-size: 18px;
}

.doc p,
.doc li {
    color: #284133;
}

.doc ul,
.doc ol {
    padding-left: 1.35rem;
}

.notice {
    margin: 22px 0;
    padding: 14px 16px;
    border-left: 4px solid var(--brand);
    background: var(--surface-soft);
    border-radius: 6px;
    color: #244932;
}

.warning {
    border-left-color: #d89a00;
    background: #fff8e8;
    color: var(--warn);
}

.faq-page .doc {
    margin-top: 18px;
}

.faq-hero {
    border-color: #cfe5d6;
}

.feature-map {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 24px;
}

.feature-map div {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcf9 100%);
}

.feature-map strong {
    display: block;
    margin-bottom: 6px;
    color: var(--brand-deep);
}

.feature-map span {
    color: #284133;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 22px 0 4px;
}

.screenshot-grid figure,
.wide-shot {
    margin: 22px 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.screenshot-grid img,
.wide-shot img {
    display: block;
    width: 100%;
    max-width: 368px;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
    border: 1px solid #d4e4d9;
}

.wide-shot img {
    max-width: 420px;
}

figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    text-align: center;
}

.faq-content h2 {
    color: var(--brand-deep);
}

.faq-content h3 {
    color: #1d3c2b;
}

.eyebrow {
    margin: 0 0 8px;
    color: var(--brand-deep);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
}

.lead {
    color: var(--muted);
    font-size: 18px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 14px;
}

.breadcrumbs span::before {
    content: "/";
    margin-right: 8px;
    color: #9aac9f;
}

.mini-toc,
.next-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0;
}

.mini-toc a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 12px;
    background: #fff;
    color: var(--brand-deep);
    font-weight: 700;
    font-size: 14px;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.topic-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fcf9 100%);
    color: var(--text);
}

.topic-card:hover {
    border-color: #b9d8c4;
    text-decoration: none;
}

.topic-card strong {
    color: var(--brand-deep);
    font-size: 18px;
}

.topic-card span {
    color: #284133;
}

.topic-card ul {
    margin: 8px 0 0;
    padding-left: 1.15rem;
}

.topic-card li {
    color: var(--muted);
    font-size: 14px;
}

.topic-kicker {
    width: max-content;
    border-radius: 8px;
    padding: 2px 8px;
    background: var(--surface-soft);
    color: var(--brand-deep) !important;
    font-weight: 800;
    font-size: 12px;
}

.answer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.answer-grid div {
    padding: 15px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.answer-grid strong {
    display: block;
    margin-bottom: 6px;
    color: var(--brand-deep);
}

.answer-grid span {
    color: #284133;
}

.step-list {
    display: grid;
    gap: 10px;
    padding-left: 1.35rem;
}

.step-list li {
    padding-left: 4px;
}

.check-list {
    display: grid;
    gap: 8px;
}

.faq-detail h1 {
    max-width: 760px;
}

.faq-detail h2 {
    scroll-margin-top: 20px;
}

.table-wrap {
    overflow-x: auto;
    margin: 18px 0;
}

table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
}

th,
td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    background: var(--surface-soft);
    color: var(--brand-deep);
}

.footer {
    margin-top: 28px;
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

@media (max-width: 720px) {
    .topbar {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .feature-map,
    .screenshot-grid,
    .topic-grid,
    .answer-grid {
        grid-template-columns: 1fr;
    }

    .hero p {
        font-size: 16px;
    }
}
