:root {
    --ink: #17342f;
    --muted: #637872;
    --green: #087f68;
    --mint: #e3f4eb;
    --line: #dce7e2;
    --paper: #f7faf8;
    --white: #ffffff;
    --radius: 20px;
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}
a {
    color: inherit;
    text-decoration: none;
}
a:hover {
    color: var(--green);
}
button, input {
    font: inherit;
}
button, .button {
    cursor: pointer;
}
button, a, input {
    -webkit-tap-highlight-color: transparent;
}
:focus-visible {
    outline: 3px solid #db8d28;
    outline-offset: 4px;
}
img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: cover;
    background: #dcece4;
}
.container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}
.icon {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    vertical-align: middle;
}
.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    z-index: 10;
    background: white;
    padding: 12px;
}
.skip-link:focus {
    top: 12px;
}
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
}
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding-block: 24px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 21px;
    font-weight: 850;
    letter-spacing: -0.7px;
}
.brand img {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: transparent;
}
.brand-copy {
    display: grid;
}
.brand-copy small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
}
.header-note {
    color: var(--muted);
    font-size: 14px;
}
.header-actions, .actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    color: var(--ink);
    font-size: 14px;
    font-weight: 650;
}
.button.primary {
    background: var(--green);
    border-color: var(--green);
    color: white;
}
.button:hover {
    box-shadow: 0 4px 15px #17342f12;
    transform: translateY(-1px);
}
.nav {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    padding-block: 0 14px;
}
.nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 9px 10px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
}
.nav a[aria-current="page"] {
    color: var(--green);
    background: var(--mint);
}
.menu-toggle {
    display: none;
}
main {
    padding-top: 36px;
}
.hero {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: 36px;
    background: #e5f2e9;
    padding: 40px;
    border-radius: 24px;
    overflow: hidden;
}
.eyebrow {
    display: block;
    color: var(--green);
    font-size: 13px;
    font-weight: 750;
    letter-spacing: 2px;
    margin-bottom: 12px;
}
h1, h2, h3, p {
    margin-top: 0;
}
h1 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.35;
    letter-spacing: -1.3px;
    margin-bottom: 16px;
}
h2 {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 0;
}
h3 {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 8px;
}
p {
    margin-bottom: 16px;
}
.hero p {
    max-width: 510px;
    color: #4b6a60;
}
.hero .actions {
    margin-block: 24px;
}
.hero-stats {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: #50695f;
}
.hero-stats strong {
    font-size: 20px;
    color: var(--ink);
}
.hero-art {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 14px;
}
.hero-art a {
    min-width: 0;
    transform: rotate(-6deg);
    border: 5px solid white;
    border-radius: 15px;
    box-shadow: 0 15px 25px #214e3428;
    overflow: hidden;
    background: white;
}
.hero-art a:nth-child(2) {
    transform: translateY(-12px) rotate(2deg);
}
.hero-art a:nth-child(3) {
    transform: rotate(8deg);
}
.hero-art img {
    aspect-ratio: 2 / 3;
}
.hero-art span {
    display: block;
    padding: 8px 3px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}
.section {
    margin-block: 56px;
}
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}
.section-head h2 {
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-head h2 .icon {
    color: var(--green);
    width: 24px;
    height: 24px;
}
.section-head > a, .section-head > span {
    color: var(--muted);
    font-size: 14px;
}
.grid {
    display: grid;
    gap: 24px;
}
.grid > *, .hero > *, .split > * {
    min-width: 0;
}
.covers {
    grid-template-columns: repeat(4, 1fr);
}
.cover {
    position: relative;
}
.cover-image {
    display: block;
    overflow: hidden;
    border-radius: 15px;
    background: var(--mint);
}
.cover img {
    aspect-ratio: 3 / 4;
    transition: transform .2s ease;
}
.cover-image:hover img {
    transform: scale(1.035);
}
.cover h3 {
    margin-top: 13px;
}
.cover p {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 0;
}
.badge {
    display: inline-block;
    background: #e5f3ec;
    color: #087259;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 650;
}
.cover > .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #fffef3;
}
.categories {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.category {
    padding: 23px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 15px;
}
.category .icon {
    width: 30px;
    height: 30px;
    color: var(--green);
    margin-bottom: 12px;
}
.category p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}
.split {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 28px;
}
.panel {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
}
.update-row {
    display: grid;
    grid-template-columns: 62px 1fr auto;
    align-items: center;
    gap: 16px;
    padding-block: 17px;
    border-bottom: 1px solid var(--line);
}
.update-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
.update-row:first-child {
    padding-top: 0;
}
.update-row img {
    aspect-ratio: 1;
    border-radius: 10px;
}
.update-row h3 {
    font-size: 16px;
    margin-bottom: 2px;
}
.update-row p, .meta {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 0;
}
.update-row time {
    color: var(--muted);
    font-size: 13px;
}
.rank-list {
    padding: 0;
    margin: 0;
    list-style: none;
    counter-reset: ranking;
}
.rank-list li {
    counter-increment: ranking;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}
.rank-list li::before {
    content: "0" counter(ranking);
    font-size: 26px;
    font-weight: 850;
    color: #98afa4;
}
.rank-list li:first-child::before {
    color: #bc6b22;
}
.rank-list li:last-child {
    border: 0;
}
.rank-list h3 {
    margin: 0;
    font-size: 16px;
}
.feature {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    overflow: hidden;
    background: #153f37;
    color: white;
    border-radius: 22px;
}
.feature > img {
    height: 100%;
    aspect-ratio: 4 / 3;
}
.feature-copy {
    padding: 36px;
}
.feature h3 {
    font-size: 28px;
    margin-block: 15px;
}
.feature p {
    color: #d3e4dd;
}
.feature .eyebrow {
    color: #ade5cb;
}
.routes {
    grid-template-columns: repeat(3, 1fr);
}
.route {
    border-top: 3px solid var(--green);
    padding: 24px;
    background: #edf3ef;
    border-radius: 0 0 15px 15px;
}
.route strong {
    display: block;
    font-size: 32px;
    color: #8aa89b;
    margin-bottom: 18px;
}
.route p {
    color: var(--muted);
    font-size: 14px;
}
.quote-panel {
    background: #f0eadb;
    padding: 32px;
    border-radius: 20px;
}
.quote-panel blockquote {
    margin: 15px 0;
    font-size: 23px;
    line-height: 1.8;
    font-weight: 650;
}
.mini-grid {
    grid-template-columns: repeat(2, 1fr);
}
.mini {
    display: flex;
    gap: 16px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding-bottom: 18px;
}
.mini img {
    width: 84px;
    aspect-ratio: 3 / 4;
    border-radius: 10px;
    flex-shrink: 0;
}
.mini p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}
.shelf {
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
}
.shelf-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}
.shelf-item {
    padding: 16px;
    background: var(--paper);
    border-radius: 10px;
}
.shelf-item a {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
}
.faq {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
details {
    background: white;
    border: 1px solid var(--line);
    border-radius: 13px;
    padding: 19px 22px;
}
summary {
    cursor: pointer;
    font-weight: 650;
}
details p {
    color: var(--muted);
    margin: 14px 0 0;
    font-size: 14px;
}
.about {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    padding-block: 8px;
}
.about p {
    color: var(--muted);
}
.about h2 {
    margin-bottom: 20px;
}
.subscribe {
    background: var(--mint);
    border: 1px solid #cde3d6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding: 36px;
    border-radius: 22px;
}
.subscribe h2 {
    margin-bottom: 14px;
}
.subscribe p {
    max-width: 680px;
    color: #4b6a60;
}
.brand-stamp {
    width: 116px;
    flex: 0 0 116px;
    background: white;
    border-radius: 24px;
    padding: 14px;
    text-align: center;
}
.brand-stamp img {
    aspect-ratio: 1;
    border-radius: 14px;
}
.brand-stamp span {
    display: block;
    font-size: 12px;
    padding-top: 8px;
}
.site-footer {
    border-top: 1px solid var(--line);
    background: white;
    padding-block: 28px;
    color: var(--muted);
    font-size: 14px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-inner p {
    margin: 0;
}
.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 25px;
}
.breadcrumbs .icon {
    width: 14px;
}
.category-hero {
    padding: 36px;
    background: var(--mint);
    border-radius: 22px;
}
.category-hero p {
    max-width: 850px;
    color: #4b6a60;
}
.chapter-grid {
    grid-template-columns: repeat(3, 1fr);
}
.chapter-card {
    border: 1px solid var(--line);
    border-radius: 17px;
    overflow: hidden;
    background: white;
}
.chapter-card img {
    aspect-ratio: 16 / 10;
}
.chapter-card > div {
    padding: 22px;
}
.chapter-card p {
    color: var(--muted);
    font-size: 14px;
}
.reader {
    max-width: 820px;
    margin-inline: auto;
}
.reader-header {
    border-bottom: 1px solid var(--line);
    padding-bottom: 28px;
    margin-bottom: 28px;
}
.reader-header h1 {
    font-size: 32px;
}
.reading-note {
    background: #eaf3ed;
    border-left: 3px solid var(--green);
    padding: 20px 24px;
    margin-block: 28px;
    font-size: 14px;
    color: #4b665b;
}
.reading-note h2 {
    font-size: 17px;
    margin-bottom: 8px;
}
.reading-note p {
    margin: 0;
}
.reader figure {
    margin: 28px 0 16px;
}
.reader figure img {
    aspect-ratio: 4 / 3;
    object-fit: contain;
    border-radius: 12px;
    background: #e9efeb;
}
.reader figcaption {
    font-size: 13px;
    color: var(--muted);
    padding-top: 9px;
}
.story-text {
    font-size: 18px;
    line-height: 2.05;
    padding-inline: 12px;
    margin-bottom: 32px;
}
.reader.large-text .story-text {
    font-size: 22px;
}
.chapter-end {
    padding: 26px;
    text-align: center;
    background: var(--mint);
    border-radius: 16px;
    margin-top: 40px;
}
.chapter-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-block: 28px 48px;
}
.status {
    min-height: 24px;
    color: var(--green);
    font-size: 14px;
    margin-top: 12px;
}
.image-message {
    display: block;
    padding: 8px;
    font-size: 13px;
    color: var(--muted);
    background: #e9efeb;
}
@media (max-width: 1000px) {
    .header-note {
        display: none;
    }
    .nav {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .nav a {
        flex: 1 0 17%;
    }
    .hero {
        padding: 30px;
        gap: 24px;
    }
    .hero-art {
        gap: 8px;
    }
    .split {
        grid-template-columns: 1fr 1fr;
    }
    .categories {
        grid-template-columns: repeat(2, 1fr);
    }
    .chapter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px) {
    .container {
        width: calc(100% - 32px);
    }
    .topbar {
        padding-block: 17px;
        gap: 12px;
    }
    .brand {
        font-size: 16px;
        gap: 8px;
    }
    .brand img {
        width: 36px;
        height: 36px;
    }
    .brand-copy small {
        letter-spacing: 1px;
        font-size: 12px;
    }
    .header-actions > a {
        display: none;
    }
    .menu-toggle {
        display: inline-flex;
        padding: 9px;
    }
    .js .nav:not(.is-open) {
        display: none;
    }
    .nav {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .nav a {
        padding: 9px 4px;
        font-size: 13px;
        gap: 5px;
    }
    .nav .icon {
        width: 17px;
    }
    main {
        padding-top: 24px;
    }
    .hero {
        grid-template-columns: 1fr;
        padding: 28px 24px;
        gap: 28px;
    }
    .hero-art {
        gap: 14px;
        padding: 8px 4px;
    }
    .hero-art span {
        font-size: 12px;
    }
    .hero-stats {
        gap: 16px;
        flex-wrap: wrap;
        font-size: 12px;
    }
    .section {
        margin-block: 40px;
    }
    .section-head {
        gap: 12px;
        align-items: flex-start;
        margin-bottom: 20px;
    }
    h2 {
        font-size: 21px;
    }
    .section-head > a, .section-head > span {
        font-size: 12px;
        max-width: 105px;
        text-align: right;
    }
    .covers, .mini-grid, .shelf-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .cover h3 {
        font-size: 15px;
    }
    .cover p {
        font-size: 13px;
    }
    .categories {
        gap: 12px;
    }
    .category {
        padding: 17px;
    }
    .split, .feature, .about, .faq, .routes {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .panel, .feature-copy, .quote-panel, .category-hero {
        padding: 24px;
    }
    .mini {
        flex-direction: column;
        align-items: flex-start;
    }
    .mini img {
        width: 100%;
        aspect-ratio: 4 / 3;
    }
    .route {
        display: grid;
        grid-template-columns: 40px 1fr;
        column-gap: 16px;
    }
    .route strong {
        grid-row: span 3;
        margin: 0;
    }
    .route p {
        margin-bottom: 12px;
    }
    .route .button {
        justify-self: start;
    }
    .subscribe {
        padding: 26px;
        gap: 24px;
        flex-direction: column-reverse;
        align-items: flex-start;
    }
    .brand-stamp {
        width: 88px;
        flex-basis: auto;
        padding: 10px;
    }
    .chapter-card > div {
        padding: 16px;
    }
    .chapter-grid {
        gap: 14px;
    }
    .reader-header h1 {
        font-size: 27px;
    }
    .story-text {
        padding-inline: 0;
    }
    .chapter-nav .button {
        flex: 1 1 42%;
    }
}
@media (max-width: 370px) {
    .brand-copy small {
        letter-spacing: 0;
    }
    .brand {
        font-size: 14px;
    }
    .hero {
        padding: 23px 17px;
    }
    .hero-art {
        gap: 6px;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        transition: none !important;
    }
}
