:root {
    --ink: #20392f;
    --green: #185b43;
    --red: #b93d44;
    --paper: #faf8ef;
    --line: #d9dfd1;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 16px/1.8 system-ui, "Noto Sans CJK SC", "Microsoft YaHei", sans-serif;
    overflow-wrap: anywhere;
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #bd534b; outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(1200px, calc(100% - 56px)); margin: auto; }
.skip { position: absolute; top: -80px; left: 12px; background: white; padding: 8px; }
.skip:focus { top: 4px; z-index: 10; }
.header { border-bottom: 1px solid var(--line); background: #fffdf6; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0; }
.brand { display: flex; gap: 12px; align-items: center; font-size: 21px; font-weight: 800; line-height: 1.35; }
.brand small { display: block; font-size: 10px; letter-spacing: .1em; font-weight: 500; }
nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
nav a { font-size: 15px; font-weight: 600; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { line-height: 1.4; }
h1 { font-size: clamp(32px, 4vw, 54px); letter-spacing: -.04em; }
h2 { font-size: clamp(23px, 2.4vw, 32px); }
h3 { font-size: 21px; }
p { margin-top: 12px; }
.eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 800; letter-spacing: .13em; color: var(--red); }
.hero { display: grid; grid-template-columns:  .85fr 1.15fr; align-items: center; gap: 38px; padding: 44px 0 30px; }
.hero h1 span { display: block; font-size: clamp(29px, 3.4vw, 47px); font-weight: 600; margin: 12px 0; }
.hero-copy p:not(.eyebrow) { color: #496257; max-width: 42ch; }
.hero figure { position: relative; }
.hero img { border-radius: 90px 12px 90px 12px; width: 100%; }
figcaption { font-size: 12px; color: #52665a; padding: 8px 12px; text-align: right; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.button { display: inline-block; padding: 11px 19px; border-radius: 7px; background: var(--green); border: 1px solid var(--green); color: #fff; font: inherit; font-weight: 650; cursor: pointer; }
.button.secondary { background: transparent; color: var(--green); }
.section { margin: 36px 0; }
.heading { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.topic-grid,.cards { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.topic { padding: 24px; min-height: 190px; background: #e4eddf; border-radius: 12px; display: flex; flex-direction: column; align-items: start; gap: 10px; }
.topic p { margin: 0; }
.topic .number { font: 700 31px/1 Georgia, serif; color: #456752; }
.topic span:last-child { font-size: 13px; margin-top: auto; }
.t1 { background: #f7e4de; }
.t2 { background: #f4ebce; }
.t3 { background: #dce9e9; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.feature { background: #234f3c; color: white; padding: 30px; border-radius: 14px; }
.feature .eyebrow { color: #ffe3b5; }
.feature .button { background: #fff9e9; color: #244e3c; border-color: #fff9e9; margin-top: 18px; }
.pale { background: #f5ded7; color: var(--ink); }
.pale .eyebrow { color: var(--red); }
.pale .button { background: var(--green); color: white; border-color: var(--green); }
.card { background: #fffef9; border: 1px solid var(--line); padding: 20px; border-radius: 10px; display: flex; flex-direction: column; gap: 10px; }
.card p { margin: 0; }
.card h2 { font-size: 22px; }
.card[hidden] { display: none; }
.tag { font-size: 12px; color: var(--red); font-weight: 700; }
.read { font-size: 14px; font-weight: 700; }
.card .read { margin-top: auto; }
.note { background: #fffdf6; border-left: 4px solid #cb5956; padding: 24px; }
.intro { padding: 42px 0 28px; max-width: 800px; }
.intro p:last-child,.standfirst { color: #496257; font-size: 18px; }
.crumb { margin: 28px 0; font-size: 14px; }
.article-layout { display: grid; grid-template-columns: minmax(0,2.6fr) minmax(0,1fr); gap: 28px; margin-bottom: 45px; }
.article { background: #fffdf6; border: 1px solid var(--line); border-radius: 12px; padding: clamp(18px,4vw,45px); }
.article h2 { margin-top: 28px; font-size: 25px; }
.article .button { margin-top: 24px; }
aside { background: #e4eddf; padding: 23px; align-self: start; border-radius: 12px; }
aside h2 { font-size: 20px; }
.filters { display: flex; align-items: end; gap: 16px; flex-wrap: wrap; padding: 16px 0; }
.filters label { display: grid; gap: 4px; flex: 1 1 180px; min-width: 0; font-size: 14px; font-weight: 600; }
input:not([type=checkbox]),select { font: inherit; width: 100%; min-width: 0; background: white; border: 1px solid #8c9c8c; border-radius: 7px; padding: 10px; color: var(--ink); }
#checklist { display: grid; gap: 10px; margin: 18px 0; }
#checklist input { accent-color: var(--green); }
footer { background: #203c30; color: #e9f0e5; margin-top: 48px; }
.foot { padding: 30px 0; }
.foot a { color: #e9f0e5; }
@media (max-width: 900px) {
    .topic-grid,.cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .bar { flex-wrap: wrap; }
    .hero { gap: 24px; }
}
@media (max-width: 600px) {
    .wrap { width: calc(100% - 32px); }
    .bar { padding: 12px 0; gap: 10px; }
    nav { gap: 6px 15px; }
    nav a { font-size: 13px; }
    .hero,.split,.article-layout { grid-template-columns: minmax(0,1fr); }
    .hero { padding-top: 26px; }
    .hero img { border-radius: 45px 8px 45px 8px; }
    .topic,.card { padding: 16px; }
    .topic { min-height: 170px; }
    .heading { align-items: start; }
    .heading > a { flex-shrink: 0; }
    .feature,.note { padding: 19px; }
    .section { margin: 26px 0; }
    .cards { grid-template-columns: minmax(0,1fr); }
}

.demo video {
    display: block;
    width: 100%;
    height: auto;
    background: #234f3c;
    border-radius: 12px;
}
.story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 20px;
}
.story-grid img {
    border-radius: 8px;
}
.planner-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(65px, 100px) auto;
    gap: 10px;
    margin-top: 12px;
    align-items: center;
}
@media (max-width: 400px) {
    .planner-row {
        grid-template-columns: minmax(0, 1fr) 65px auto;
        gap: 6px;
    }
    .planner-row .button {
        padding: 8px;
    }
}
