:root {
    --color-bg: #fbfaf6;
    --color-bg-soft: #f2eee3;
    --color-surface: #ffffff;
    --color-text: #26352d;
    --color-text-muted: #68746c;
    --color-brand: #5f826f;
    --color-brand-dark: #3f6352;
    --color-brand-soft: #dfe9df;
    --color-accent: #e6b861;
    --color-border: #d9ddd6;

    --font-display: 60px;
    --font-h1: 48px;
    --font-h2: 34px;
    --font-h3: 22px;
    --font-body-lg: 18px;
    --font-body: 17px;
    --font-control: 16px;
    --font-small: 15px;
    --font-caption: 13px;

    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;
    --space-5xl: 96px;

    --radius-sm: 8px;
    --radius-control: 12px;
    --radius-card: 20px;
    --radius-feature: 32px;
    --radius-pill: 999px;

    --shadow-soft: 0 8px 24px rgba(42, 62, 51, 0.07);
    --shadow-card: 0 18px 50px rgba(42, 62, 51, 0.09);

    --layout-content: 1120px;
    --layout-reading: 820px;

    /* 旧名称暂时保留为兼容别名，后续组件批次逐步收敛。 */
    --paper: var(--color-bg);
    --paper-warm: var(--color-bg-soft);
    --ink: var(--color-text);
    --muted: var(--color-text-muted);
    --green: var(--color-brand);
    --green-dark: var(--color-brand-dark);
    --green-soft: var(--color-brand-soft);
    --sun: var(--color-accent);
    --white: var(--color-surface);
    --line: var(--color-border);
    --shadow: var(--shadow-card);
    --radius-lg: var(--radius-feature);
    --radius-md: var(--radius-card);
    --content: var(--layout-content);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 10% 0%, rgba(230, 184, 97, 0.12), transparent 30%),
        radial-gradient(circle at 95% 18%, rgba(95, 130, 111, 0.12), transparent 28%),
        var(--paper);
    font-family: ui-rounded, "SF Pro Rounded", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
    line-height: 1.75;
}

body.menu-active {
    overflow: hidden;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
    font: inherit;
}

:focus-visible {
    outline: 3px solid var(--sun);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: var(--space-sm);
    left: var(--space-sm);
    z-index: 100;
    padding: 10px 16px;
    border-radius: var(--radius-control);
    color: #ffffff;
    background: var(--color-brand-dark);
    font-size: var(--font-small);
    font-weight: 700;
    transform: translateY(calc(-100% - var(--space-xl)));
    transition: transform 160ms ease;
}

.skip-link:focus {
    color: #ffffff;
    transform: translateY(0);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(217, 221, 214, 0.7);
    background: rgba(251, 250, 246, 0.88);
    backdrop-filter: blur(16px);
    width: 100%;
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 13px 13px 13px 4px;
    background: var(--green);
    color: var(--white);
    font-size: 19px;
    box-shadow: 0 8px 20px rgba(63, 99, 82, 0.2);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: var(--font-small);
    font-weight: 600;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: var(--green-dark);
}

.nav-cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--color-brand-dark);
    color: var(--white) !important;
    text-decoration: none;
    font-size: var(--font-control);
    font-weight: 700;
    transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.menu-toggle {
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-control);
    color: var(--color-brand-dark);
    background: var(--color-surface);
    cursor: pointer;
}

.menu-toggle-lines,
.menu-toggle-lines::before,
.menu-toggle-lines::after {
    width: 18px;
    height: 2px;
    display: block;
    border-radius: var(--radius-pill);
    background: currentColor;
    transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle-lines {
    position: relative;
}

.menu-toggle-lines::before,
.menu-toggle-lines::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-toggle-lines::before {
    top: -6px;
}

.menu-toggle-lines::after {
    top: 6px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-lines::after {
    top: 0;
    transform: rotate(-45deg);
}

.page {
    width: min(calc(100% - 40px), var(--content));
    margin: 0 auto;
}

.hero {
    min-height: 680px;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    gap: clamp(44px, 8vw, 96px);
    padding: 92px 0 80px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: var(--green-dark);
    font-size: var(--font-small);
    font-weight: 700;
    letter-spacing: 0.08em;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--sun);
}

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

h1 {
    max-width: 720px;
    margin-bottom: 24px;
    font-size: clamp(44px, 5.5vw, var(--font-display));
    line-height: 1.12;
    letter-spacing: -0.045em;
}

.hero-lead {
    max-width: 640px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: clamp(18px, 1.6vw, 19px);
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.button,
.button-secondary {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid var(--color-brand);
    border-radius: var(--radius-pill);
    color: var(--color-brand-dark);
    background: transparent;
    text-decoration: none;
    font-size: var(--font-control);
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: color 160ms ease, transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button-primary {
    border-color: var(--color-brand-dark);
    color: var(--color-surface);
    background: var(--color-brand-dark);
    box-shadow: 0 12px 26px rgba(63, 99, 82, 0.2);
}

.button-text {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--space-xs);
    border: 0;
    color: var(--color-text-muted);
    background: transparent;
    text-decoration: none;
    font-size: var(--font-small);
    font-weight: 600;
    cursor: pointer;
}

.button-danger {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border: 1px solid #b85c57;
    border-radius: var(--radius-pill);
    color: #934743;
    background: transparent;
    font-size: var(--font-control);
    font-weight: 700;
    cursor: pointer;
}

.button:active,
.button-secondary:active,
.button-primary:active,
.button-danger:active,
.nav-cta:active {
    filter: brightness(0.96);
    transform: scale(0.97);
    transition-duration: 90ms;
}

.button:disabled,
.button[aria-disabled="true"],
.button-secondary:disabled,
.button-secondary[aria-disabled="true"],
.button-primary:disabled,
.button-primary[aria-disabled="true"],
.button-danger:disabled,
.button-danger[aria-disabled="true"],
.button-text:disabled,
.button-text[aria-disabled="true"] {
    opacity: 0.48;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
}

.quiet-note {
    margin-top: 24px;
    color: var(--muted);
    font-size: 13px;
}

.hero-visual {
    position: relative;
    min-height: 470px;
    display: grid;
    place-items: center;
}

.paper-card {
    width: min(100%, 430px);
    padding: 34px;
    border: 1px solid rgba(217, 221, 214, 0.8);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
    transform: rotate(1.5deg);
}

.card,
.value-card,
.timeline-item,
.contact-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: var(--color-surface);
}

.card {
    padding: var(--space-xl);
}

.card-feature,
.tool-card {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-feature);
    background: var(--color-surface);
    box-shadow: var(--shadow-card);
}

.paper-label {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mini-grid span {
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: clamp(20px, 4vw, 30px);
    font-weight: 700;
}

.mini-grid span:nth-child(2),
.mini-grid span:nth-child(6),
.mini-grid span:nth-child(7) {
    background: #f3e5bd;
}

.tape {
    position: absolute;
    width: 110px;
    height: 34px;
    top: 17px;
    left: 50%;
    background: rgba(230, 184, 97, 0.36);
    transform: translateX(-50%) rotate(-4deg);
}

.scribble {
    position: absolute;
    right: -8px;
    bottom: 25px;
    width: 118px;
    height: 80px;
    border: 3px solid var(--green);
    border-width: 0 0 3px 3px;
    border-radius: 0 0 0 80px;
    opacity: 0.35;
    transform: rotate(-12deg);
}

.section {
    padding: 100px 0;
}

.section-soft {
    position: relative;
}

.section-soft::before {
    content: "";
    position: absolute;
    inset: 28px calc(50% - 50vw);
    z-index: -1;
    background: var(--paper-warm);
}

.section-heading {
    max-width: 680px;
    margin-bottom: 48px;
}

.section-heading h2 {
    margin-bottom: 16px;
    font-size: clamp(30px, 4vw, 36px);
    line-height: 1.22;
    letter-spacing: -0.04em;
}

.section-heading p {
    color: var(--muted);
}

.story-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 70px;
    align-items: start;
}

.story-quote {
    padding: 30px;
    border-left: 4px solid var(--sun);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    background: rgba(255, 255, 255, 0.6);
    font-size: 22px;
    line-height: 1.55;
}

.story-copy p {
    color: var(--muted);
    font-size: var(--font-body);
}

.tool-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: clamp(28px, 6vw, 58px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
}

.tool-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.pill {
    padding: 6px 11px;
    border-radius: var(--radius-pill);
    background: var(--color-brand-soft);
    color: var(--color-brand-dark);
    font-size: var(--font-caption);
    font-weight: 700;
    line-height: 1.4;
}

.tool-card h2 {
    margin-bottom: 16px;
    font-size: clamp(28px, 3.5vw, 34px);
    letter-spacing: -0.035em;
}

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

.tool-checks {
    display: grid;
    gap: 14px;
}

.tool-checks div {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--paper);
}

.tool-checks span {
    width: 26px;
    height: 26px;
    display: grid;
    flex: 0 0 26px;
    place-items: center;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 700;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.value-card {
    min-height: 190px;
    padding: var(--space-lg);
}

.value-number {
    margin-bottom: 28px;
    color: var(--sun);
    font-weight: 700;
}

.value-card h3 {
    margin-bottom: 8px;
    font-size: 20px;
}

.value-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: var(--font-small);
}

.closing {
    padding: 80px clamp(24px, 7vw, 72px);
    border-radius: var(--radius-lg);
    color: var(--white);
    background: var(--green-dark);
    text-align: center;
}

.support-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 44px;
    padding: 34px 38px;
    border: 1px solid rgba(95, 130, 111, 0.3);
    border-radius: var(--radius-md);
    background: rgba(223, 233, 223, 0.55);
}

.card-support {
    border: 1px solid rgba(95, 130, 111, 0.3);
    border-radius: var(--radius-card);
    background: rgba(223, 233, 223, 0.55);
}

.support-callout .eyebrow {
    margin-bottom: 10px;
}

.support-callout h2 {
    margin-bottom: 8px;
    font-size: clamp(25px, 4vw, 34px);
    letter-spacing: -0.03em;
}

.support-callout p {
    max-width: 670px;
    margin-bottom: 0;
    color: var(--muted);
}

.support-callout .button {
    flex: 0 0 auto;
    background: rgba(255, 255, 255, 0.65);
}

.closing h2 {
    margin-bottom: 16px;
    font-size: clamp(30px, 4vw, 38px);
    line-height: 1.22;
}

.closing p {
    max-width: 620px;
    margin: 0 auto 30px;
    color: rgba(255, 255, 255, 0.76);
}

.closing .button {
    border-color: var(--white);
    color: var(--green-dark);
    background: var(--white);
}

.site-footer {
    margin-top: 100px;
    padding: 46px 0;
    border-top: 1px solid var(--line);
}

.footer-grid {
    width: min(calc(100% - 40px), var(--content));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.footer-note {
    max-width: 480px;
    color: var(--muted);
    font-size: var(--font-small);
}

.footer-legal {
    margin-bottom: 0;
    color: var(--muted);
    font-size: var(--font-caption);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 22px;
}

.footer-links a {
    color: var(--muted);
    font-size: var(--font-small);
    text-decoration: none;
}

.subpage {
    width: min(calc(100% - 40px), 820px);
    margin: 0 auto;
    padding: 86px 0 40px;
}

.subpage-header {
    margin-bottom: 58px;
}

.subpage h1 {
    font-size: clamp(40px, 5vw, var(--font-h1));
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.subpage-intro {
    color: var(--muted);
    font-size: var(--font-body-lg);
}

.content-section {
    margin-bottom: 52px;
}

.content-section h2 {
    margin-bottom: 18px;
    font-size: 28px;
    line-height: 1.3;
    letter-spacing: -0.025em;
}

.content-section h3 {
    margin: 28px 0 10px;
}

.content-section p,
.content-section li {
    color: var(--muted);
}

.content-section ul,
.content-section ol {
    padding-left: 22px;
}

.content-section li + li {
    margin-top: 9px;
}

.notice,
.card-notice {
    margin: 30px 0;
    padding: 22px var(--space-lg);
    border-left: 4px solid var(--color-accent);
    border-radius: 0 var(--radius-control) var(--radius-control) 0;
    background: var(--color-bg-soft);
}

.notice p:last-child,
.card-notice p:last-child {
    margin-bottom: 0;
}

.timeline {
    display: grid;
    gap: 20px;
}

.timeline-item {
    padding: var(--space-lg);
}

.timeline-date {
    margin-bottom: 9px;
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 700;
}

.support-panel {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 34px 0;
}

.support-box {
    min-height: 220px;
    display: grid;
    place-items: center;
    padding: 28px;
    border: 1px dashed var(--green);
    border-radius: var(--radius-card);
    background: var(--color-surface);
    text-align: center;
}

.support-box strong {
    display: block;
    margin-bottom: 6px;
}

.support-box span {
    color: var(--muted);
    font-size: var(--font-small);
}

.contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: var(--space-lg);
}

.contact-card p {
    margin-bottom: 0;
}

.empty-state {
    display: grid;
    justify-items: center;
    gap: var(--space-sm);
    padding: var(--space-2xl) var(--space-lg);
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-card);
    color: var(--color-text-muted);
    background: var(--color-surface);
    text-align: center;
}

.empty-state p {
    max-width: 520px;
    margin-bottom: 0;
}

.status-message {
    padding: var(--space-md) var(--space-lg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-control);
    color: var(--color-text);
    background: var(--color-surface);
}

.status-message p:last-child {
    margin-bottom: 0;
}

.status-message-info {
    border-color: rgba(88, 122, 145, 0.32);
    background: rgba(88, 122, 145, 0.09);
}

.status-message-success {
    border-color: rgba(79, 122, 94, 0.32);
    background: rgba(79, 122, 94, 0.09);
}

.status-message-attention {
    border-color: rgba(197, 138, 42, 0.34);
    background: var(--color-bg-soft);
}

.status-message-danger {
    border-color: rgba(184, 92, 87, 0.42);
    background: rgba(184, 92, 87, 0.08);
}

@media (hover: hover) and (pointer: fine) {
    .button:hover:not(:active),
    .button-secondary:hover:not(:active),
    .button-danger:hover:not(:active),
    .nav-cta:hover:not(:active) {
        transform: translateY(-2px);
        box-shadow: var(--shadow-soft);
    }

    .button-text:hover {
        color: var(--color-brand-dark);
    }
}

@media (max-width: 860px) {
    body.menu-active::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 20;
        background: rgba(38, 53, 45, 0.16);
    }

    .nav-actions {
        gap: var(--space-sm);
    }

    .nav-links {
        position: absolute;
        top: calc(100% + 8px);
        right: 20px;
        width: min(280px, calc(100vw - 40px));
        display: none;
        align-items: stretch;
        gap: 4px;
        padding: var(--space-sm);
        border: 1px solid var(--color-border);
        border-radius: var(--radius-card);
        background: var(--color-surface);
        box-shadow: var(--shadow-soft);
    }

    .site-header.menu-open .nav-links {
        display: flex;
        flex-direction: column;
    }

    .nav-links a {
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 0 var(--space-md);
        border-radius: var(--radius-control);
    }

    .nav-links a:hover,
    .nav-links a[aria-current="page"] {
        background: var(--color-brand-soft);
    }

    .menu-toggle {
        display: grid;
    }

    .hero {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 72px;
    }

    .hero-visual {
        min-height: 420px;
    }

    .story-grid,
    .tool-card {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .nav-shell,
    .page,
    .footer-grid,
    .subpage {
        width: min(calc(100% - 28px), var(--content));
    }

    .nav-shell {
        min-height: 66px;
        gap: 10px;
    }

    .brand-mark {
        width: 35px;
        height: 35px;
    }

    .nav-cta {
        padding: 8px 13px;
        font-size: 15px !important;
    }

    .nav-actions {
        gap: var(--space-xs);
    }

    .nav-links {
        right: 14px;
        width: min(280px, calc(100vw - 28px));
    }

    .hero {
        gap: 32px;
        padding: 54px 0 60px;
    }

    h1 {
        font-size: 40px;
    }

    .hero-visual {
        min-height: 340px;
    }

    .paper-card {
        padding: 24px;
    }

    .section {
        padding: 72px 0;
    }

    .values-grid,
    .support-panel {
        grid-template-columns: 1fr;
    }

    .support-callout {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
        padding: 26px 24px;
    }

    .value-card {
        min-height: auto;
    }

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

    .footer-links {
        justify-content: flex-start;
    }

    .contact-card {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .button,
    .skip-link {
        transition: none;
    }
}
