:root {
    color-scheme: light;
    --ink: #18372c;
    --ink-soft: #49665b;
    --paper: #fffaf0;
    --paper-deep: #f3e6c8;
    --green: #1f694c;
    --green-deep: #154a38;
    --green-soft: #dcecdf;
    --gold: #dca83d;
    --gold-soft: #f7e9b8;
    --red: #a74635;
    --line: rgba(24, 55, 44, 0.2);
    --shadow: 0 18px 45px rgba(18, 51, 39, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --content: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(rgba(31, 105, 76, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(31, 105, 76, 0.035) 1px, transparent 1px),
        #f5f0e4;
    background-size: 24px 24px;
    font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--green-deep);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.2em;
}

a:hover {
    color: var(--red);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
    border-radius: 6px;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: #fff;
    background: var(--green-deep);
    border-radius: 10px;
    transform: translateY(-150%);
}

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

.site-shell {
    width: min(calc(100% - 32px), var(--content));
    margin-inline: auto;
}

.site-header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 250, 240, 0.94);
}

.header-inner {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.brand-seal {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--green);
    border: 3px double rgba(255, 255, 255, 0.72);
    border-radius: 14px 14px 18px 18px;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 5px 0 var(--green-deep);
}

.brand-copy {
    display: grid;
    line-height: 1.2;
}

.brand-copy strong {
    font-size: 21px;
    letter-spacing: 0.06em;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--ink-soft);
    font-size: 12px;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    color: var(--ink-soft);
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
}

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

main {
    min-height: 60vh;
}

.hero {
    padding: 72px 0 48px;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    align-items: stretch;
    gap: 28px;
}

.paper-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 56px);
    background:
        linear-gradient(135deg, transparent 30px, rgba(220, 168, 61, 0.18) 31px, transparent 32px),
        var(--paper);
    border: 1px solid rgba(108, 76, 27, 0.18);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.paper-panel::after {
    content: "";
    position: absolute;
    right: -38px;
    bottom: -38px;
    width: 140px;
    height: 140px;
    border: 1px dashed rgba(31, 105, 76, 0.18);
    border-radius: 50%;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--red);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    line-height: 1.3;
}

h1 {
    margin: 0;
    font-size: clamp(42px, 8vw, 72px);
    letter-spacing: 0.08em;
}

h2 {
    margin: 0 0 18px;
    font-size: clamp(26px, 4vw, 36px);
}

h3 {
    margin: 0 0 10px;
    font-size: 21px;
}

.lead {
    max-width: 34em;
    margin: 22px 0 0;
    color: var(--ink-soft);
    font-size: clamp(18px, 2.2vw, 22px);
}

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

.button-link {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    color: #fff;
    background: var(--green);
    border: 2px solid var(--green);
    border-radius: 13px;
    font-weight: 800;
    text-decoration: none;
}

.button-link.secondary {
    color: var(--green-deep);
    background: transparent;
}

.button-link:hover {
    color: #fff;
    background: var(--red);
    border-color: var(--red);
}

.service-card {
    display: grid;
    place-items: center;
    padding: 34px;
    color: #fff;
    background: var(--green-deep);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
}

.frog-mark {
    width: 134px;
    height: 104px;
    display: grid;
    place-items: center;
    margin-bottom: 20px;
    color: var(--green-deep);
    background: var(--gold-soft);
    border-radius: 50% 50% 34% 34%;
    box-shadow: inset 0 -10px 0 rgba(220, 168, 61, 0.25);
    font-size: 58px;
    font-weight: 900;
    transform: rotate(-2deg);
}

.service-card strong {
    font-size: 24px;
}

.service-card p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.78);
}

.section {
    padding: 48px 0;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 26px;
}

.section-heading p {
    margin: 0;
    color: var(--ink-soft);
}

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

.info-card {
    min-height: 100%;
    padding: 26px;
    background: rgba(255, 250, 240, 0.9);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 28px rgba(18, 51, 39, 0.07);
}

.info-card p,
.info-card li {
    color: var(--ink-soft);
}

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

.number-tag {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    color: #fff;
    background: var(--green);
    border-radius: 50%;
    font-weight: 900;
}

.notice {
    padding: 22px 24px;
    background: var(--gold-soft);
    border: 1px solid rgba(132, 91, 18, 0.28);
    border-left: 6px solid var(--gold);
    border-radius: 14px;
}

.notice strong {
    color: #6d4810;
}

.service-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 24px 0 0;
}

.service-facts div {
    padding: 18px;
    background: rgba(220, 236, 223, 0.66);
    border-radius: 14px;
}

.service-facts dt {
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 700;
}

.service-facts dd {
    margin: 4px 0 0;
    font-weight: 800;
}

.site-footer {
    color: rgba(255, 255, 255, 0.8);
    background: var(--green-deep);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 24px;
    min-height: 126px;
    padding-block: 24px;
}

.site-footer p {
    margin: 4px 0;
}

.site-footer a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    color: #fff;
}

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

.not-found {
    min-height: 64vh;
    display: grid;
    place-items: center;
    text-align: center;
}

.not-found h1 {
    font-size: clamp(62px, 14vw, 120px);
}

@media (max-width: 820px) {
    .header-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
        padding-block: 18px;
    }

    .site-nav,
    .site-nav ul {
        width: 100%;
    }

    .site-nav ul {
        flex-wrap: wrap;
        gap: 6px;
    }

    .site-nav li {
        flex: 1 1 120px;
    }

    .site-nav a {
        width: 100%;
        justify-content: center;
        padding-inline: 8px;
        text-align: center;
        white-space: normal;
    }

    .hero {
        padding-top: 42px;
    }

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

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

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

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

@media (max-width: 520px) {
    .site-shell {
        width: min(calc(100% - 22px), var(--content));
    }

    .paper-panel {
        border-radius: 20px;
    }

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

    .hero-actions {
        display: grid;
    }

    .button-link {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    body {
        background: #fff;
    }

    .site-header,
    .page-toc,
    .hero-actions,
    .site-footer {
        display: none;
    }

    .legal-layout {
        display: block;
    }

    .legal-copy {
        padding: 0;
        border: 0;
        box-shadow: none;
    }
}
