@font-face {
    font-family: "ZhiyeUI";
    src: url("/assets/font.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --ink: #151719;
    --muted: #71777d;
    --soft-line: #edf0f2;
    --blue: #eaf5fd;
    --blue-strong: #377da9;
    --gold: #ad7d25;
    --gold-soft: #f6efdf;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: "ZhiyeUI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif; letter-spacing: 0; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; user-select: none; -webkit-user-drag: none; }

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

.editorial-hero {
    position: relative;
    width: 100%;
    height: calc(100svh - 72px);
    min-height: 590px;
    max-height: 720px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #fff;
    isolation: isolate;
}

.editorial-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(12, 22, 27, .28); }
.editorial-hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.charity-page .editorial-hero::after { background: linear-gradient(to bottom, rgba(13, 25, 30, .34), rgba(13, 25, 30, .52)); }
.supplier-page .editorial-hero::after { background: linear-gradient(to bottom, rgba(12, 24, 35, .12), rgba(12, 24, 35, .42)); }

.editorial-hero-copy { width: min(900px, calc(100% - 48px)); text-align: center; }
.editorial-kicker { margin: 0 0 22px; font-size: 11px; font-weight: 600; letter-spacing: .12em; }
.editorial-title-art { margin: 0 auto; }
.editorial-title-art img { width: 100%; height: 100%; object-fit: contain; }
.charity-title-art { width: min(780px, 82vw); aspect-ratio: 3 / 2; }
.supplier-title-art { width: min(880px, 86vw); aspect-ratio: 2.18 / 1; }
.editorial-hero-copy > p:last-child { max-width: 630px; margin: 34px auto 0; font-size: 14px; line-height: 1.8; }

.editorial-section { padding: 112px 0; }
.editorial-section.soft { background: #f5f8fa; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.section-heading span { color: var(--blue-strong); font-size: 10px; }
.section-heading h2 { max-width: 760px; margin: 10px 0 0; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.1; font-weight: 400; }
.section-heading p { max-width: 420px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.75; }

.charity-plan { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.plan-lead { min-height: 330px; display: flex; flex-direction: column; justify-content: space-between; padding: 42px; color: #fff; background: var(--ink); }
.plan-lead strong { font-size: clamp(76px, 9vw, 128px); line-height: .9; font-weight: 500; }
.plan-lead p { max-width: 500px; margin: 0; font-size: 16px; line-height: 1.7; }
.plan-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.plan-step { min-height: 159px; padding: 25px; background: #eff7fc; border: 1px solid #dceaf2; }
.plan-step i { color: var(--blue-strong); font-size: 22px; }
.plan-step h3 { margin: 25px 0 7px; font-size: 15px; font-weight: 600; }
.plan-step p { margin: 0; color: #70797f; font-size: 10px; line-height: 1.65; }

.progress-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #cfd7db; border-bottom: 1px solid #cfd7db; }
.progress-stat { padding: 34px 28px; border-right: 1px solid #cfd7db; }
.progress-stat:last-child { border-right: 0; }
.progress-stat span { color: #7e878c; font-size: 10px; }
.progress-stat strong { display: block; margin-top: 10px; font-size: 34px; font-weight: 500; }

.progress-table, .comparison-table { width: 100%; margin-top: 38px; border-collapse: collapse; font-size: 11px; }
.progress-table th, .progress-table td, .comparison-table th, .comparison-table td { padding: 20px 18px; text-align: left; border-bottom: 1px solid #dfe4e7; }
.progress-table th, .comparison-table th { color: #7c858a; font-weight: 500; }
.progress-status { display: inline-flex; align-items: center; gap: 6px; color: #376983; }
.progress-status::before { content: ""; width: 7px; height: 7px; background: #6fa1bf; border-radius: 50%; }

.merchant-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.merchant-type { min-height: 340px; display: flex; flex-direction: column; padding: 40px; border: 1px solid #dfe4e7; }
.merchant-type.gold { color: #402f14; background: var(--gold-soft); border-color: #e5d4af; }
.merchant-type.standard { background: #eff7fc; border-color: #d8e8f1; }
.merchant-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; font-size: 22px; }
.gold .merchant-icon { color: #fff; background: var(--gold); }
.standard .merchant-icon { color: #fff; background: var(--blue-strong); }
.merchant-type h2 { margin: 34px 0 12px; font-size: 31px; font-weight: 500; }
.merchant-type p { max-width: 470px; margin: 0; color: inherit; opacity: .72; font-size: 12px; line-height: 1.75; }
.merchant-type strong { margin-top: auto; font-size: 16px; font-weight: 600; }

.comparison-wrap { overflow-x: auto; }
.comparison-table { min-width: 720px; margin-top: 0; }
.comparison-table th:first-child, .comparison-table td:first-child { width: 30%; }
.comparison-table thead th:nth-child(2) { color: var(--gold); }
.comparison-table td i { margin-right: 6px; color: var(--blue-strong); }
.comparison-table td.gold-value { color: #85601c; }

.supplier-cta { padding: 110px 0; text-align: center; background: var(--ink); color: #fff; }
.supplier-cta h2 { max-width: 780px; margin: 0 auto; font-size: clamp(42px, 5.4vw, 68px); line-height: 1.08; font-weight: 400; }
.supplier-cta p { max-width: 580px; margin: 20px auto 28px; color: #bac0c3; font-size: 13px; line-height: 1.7; }
.supplier-cta button { min-height: 46px; padding: 0 20px; color: var(--ink); background: #fff; border: 0; border-radius: 0; cursor: pointer; font-size: 11px; }

@media (max-width: 800px) {
    .editorial-hero { height: 650px; }
    .charity-title-art { width: min(700px, 94vw); }
    .supplier-title-art { width: min(720px, 94vw); }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .charity-plan, .merchant-types { grid-template-columns: 1fr; }
    .progress-summary { grid-template-columns: 1fr; }
    .progress-stat { border-right: 0; border-bottom: 1px solid #cfd7db; }
    .progress-stat:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
    .editorial-shell { width: calc(100% - 32px); }
    .editorial-hero { height: 590px; min-height: 590px; }
    .charity-title-art, .supplier-title-art { width: 100%; }
    .editorial-hero-copy > p:last-child { font-size: 12px; }
    .editorial-section { padding: 78px 0; }
    .plan-lead, .merchant-type { padding: 28px; }
    .plan-steps { grid-template-columns: 1fr; }
    .progress-table th, .progress-table td { padding: 16px 10px; }
}
