:root {
    --brand: #C85C7A;
    --brand-soft: #E7B7A8;
    --ink: #2B2228;
    --text: #342F32;
    --muted: #746A6F;
    --paper: #FBF7F5;
    --paper-2: #F3E9E6;
    --accent: #D9913D;
    --line: rgba(43, 34, 40, 0.14);
    --line-strong: rgba(43, 34, 40, 0.24);
    --white: #fffdfc;
    --shadow: 0 22px 55px rgba(54, 34, 43, 0.09);
    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 28px;
    --max: 1240px;
    --reading: 760px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--paper);
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: var(--paper);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    text-rendering: optimizeLegibility;
}

body.modal-open {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

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

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

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

button {
    color: inherit;
}

::selection {
    background: var(--brand-soft);
    color: var(--ink);
}

.skip-link {
    position: fixed;
    left: 18px;
    top: 12px;
    z-index: 1000;
    transform: translateY(-150%);
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
}

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

.eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(43, 34, 40, 0.08);
    background: rgba(251, 247, 245, 0.96);
    backdrop-filter: blur(18px);
}

.header-shell {
    width: min(calc(100% - 40px), var(--max));
    min-height: 78px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: max-content;
    text-decoration: none;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.brand-mark img {
    width: 118px;
    max-height: 38px;
    object-fit: contain;
    object-position: left center;
}

.brand-mark span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.nav-link {
    position: relative;
    padding: 10px 12px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.93rem;
    text-decoration: none;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--ink);
    background: var(--paper-2);
}

.nav-link.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    width: 18px;
    height: 2px;
    transform: translateX(-50%);
    background: var(--brand);
    border-radius: 999px;
}

.search-trigger,
.menu-toggle {
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: transparent;
    padding: 9px 14px;
    cursor: pointer;
}

.search-trigger:hover,
.menu-toggle:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.menu-toggle {
    display: none;
}

.search-modal {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: grid;
    place-items: start center;
    padding: 9vh 20px 20px;
    background: rgba(43, 34, 40, 0.55);
}

.search-modal[hidden]{
    display:none !important;
}

.search-panel {
    width: min(760px, 100%);
    border-radius: var(--radius-lg);
    background: var(--paper);
    box-shadow: var(--shadow);
    padding: 34px;
}

.search-panel-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.search-panel-head h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    line-height: 1.25;
}

.icon-button {
    border: 0;
    border-bottom: 1px solid var(--line-strong);
    background: transparent;
    padding: 6px 0;
    cursor: pointer;
}

.search-form label,
.inline-search label,
.search-page-form label {
    display: block;
    margin-bottom: 7px;
    color: var(--ink);
    font-weight: 700;
}

.search-row,
.inline-search > div,
.search-page-form > div {
    display: flex;
    gap: 10px;
}

.search-row input,
.inline-search input,
.search-page-form input {
    min-width: 0;
    flex: 1;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: var(--white);
    padding: 13px 15px;
    color: var(--text);
    outline: 0;
}

.search-row input:focus,
.inline-search input:focus,
.search-page-form input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(200, 92, 122, 0.12);
}

.search-hint {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.button,
.inline-search button,
.search-page-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.button-primary,
.inline-search button,
.search-page-form button {
    background: var(--brand);
    color: #fff;
}

.button-primary:hover,
.inline-search button:hover,
.search-page-form button:hover {
    background: #b84c69;
    color: #fff;
}

.button-secondary {
    border: 1px solid var(--line-strong);
    background: transparent;
    color: var(--ink);
}

.button-secondary:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.text-link {
    display: inline-block;
    color: var(--brand);
    font-weight: 800;
}

.section-shell,
.page-shell {
    width: min(calc(100% - 40px), var(--max));
    margin-inline: auto;
}

.home-cover {
    width: min(calc(100% - 40px), 1360px);
    margin: 34px auto 0;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.78fr);
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 34px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 26px 70px rgba(54, 34, 43, 0.06);
}

.cover-copy {
    align-self: center;
    padding: clamp(42px, 6vw, 88px);
}

.cover-copy h1 {
    max-width: 12ch;
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
    font-size: clamp(2.7rem, 5.5vw, 5.4rem);
    font-weight: 650;
    line-height: 1.03;
    letter-spacing: -0.035em;
}

.cover-lead {
    max-width: 720px;
    margin: 28px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.cover-index {
    margin-top: 34px;
    border-top: 1px solid var(--line);
}

.cover-index a {
    display: grid;
    grid-template-columns: minmax(160px, 0.72fr) 1fr;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.cover-index strong {
    color: var(--ink);
}

.cover-index span {
    color: var(--muted);
    font-size: 0.93rem;
}

.cover-visual {
    position: relative;
    min-height: 660px;
    margin: 0;
    background: var(--paper-2);
}

.cover-visual img {
    width: 100%;
    height: 100%;
    min-height: 660px;
    object-fit: cover;
}

.cover-visual figcaption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(251, 247, 245, 0.92);
    color: var(--muted);
    font-size: 0.9rem;
}

.intent-strip {
    padding-block: 86px 70px;
}

.section-kicker {
    max-width: 820px;
    margin-bottom: 34px;
}

.section-kicker h2,
.section-heading-row h2,
.ledger-head h2,
.faq-preview-head h2 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.15;
    font-weight: 650;
}

.intent-columns {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
    border-top: 1px solid var(--line-strong);
}

.intent-item {
    padding: 26px 30px 0 0;
    border-right: 1px solid var(--line);
}

.intent-item:nth-child(1) {
    grid-column: span 5;
}

.intent-item:nth-child(2) {
    grid-column: span 4;
    padding-left: 30px;
}

.intent-item:nth-child(3) {
    grid-column: span 3;
    padding-left: 30px;
    border-right: 0;
}

.intent-item > span {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
}

.intent-item h3 {
    margin: 10px 0 12px;
    color: var(--ink);
    font-size: 1.25rem;
    line-height: 1.35;
}

.intent-item h3 a {
    text-decoration: none;
}

.intent-item p {
    margin: 0;
    color: var(--muted);
}

.editorial-spread {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.55fr);
    gap: 36px;
    align-items: start;
    padding-block: 54px 96px;
}

.spread-feature {
    background: var(--ink);
    color: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.spread-feature figure {
    margin: 0;
    height: 420px;
}

.spread-feature img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spread-copy {
    padding: 34px 38px 38px;
}

.spread-copy .eyebrow {
    color: var(--brand-soft);
}

.spread-copy h2 {
    margin: 0;
    max-width: 16ch;
    font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
    font-size: clamp(2rem, 3.6vw, 3.1rem);
    line-height: 1.15;
}

.spread-copy p {
    color: rgba(255, 255, 255, 0.74);
}

.spread-copy .text-link {
    color: #fff;
}

.spread-notes {
    position: sticky;
    top: 110px;
    padding: 26px 0 0 28px;
    border-left: 3px solid var(--brand-soft);
}

.spread-notes h3 {
    margin-top: 0;
    color: var(--ink);
    font-size: 1.3rem;
}

.spread-notes ol {
    margin: 0 0 20px;
    padding-left: 1.2em;
}

.spread-notes li {
    margin-bottom: 14px;
    color: var(--muted);
}

.spread-notes strong {
    color: var(--text);
}

.spread-notes a {
    color: var(--brand);
    font-weight: 800;
}

.collection-section {
    padding-block: 84px 100px;
    border-top: 1px solid var(--line);
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 36px;
}

.section-heading-row > p {
    max-width: 430px;
    margin: 0;
    color: var(--muted);
}

.collection-mosaic {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr 0.75fr;
    grid-auto-rows: minmax(230px, auto);
    gap: 18px;
}

.collection-card {
    position: relative;
    overflow: hidden;
    min-height: 280px;
    border-radius: var(--radius-md);
    background: var(--paper-2);
}

.collection-card-1 {
    grid-row: span 2;
}

.collection-card-4 {
    grid-column: span 2;
}

.collection-card img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.collection-card > div {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(251, 247, 245, 0.94);
    box-shadow: 0 12px 30px rgba(43, 34, 40, 0.08);
}

.collection-card h3 {
    margin: 0 0 7px;
    color: var(--ink);
    font-size: 1.12rem;
    line-height: 1.35;
}

.collection-card h3 a {
    text-decoration: none;
}

.collection-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.brand-path {
    display: grid;
    grid-template-columns: 1.08fr 0.72fr;
    align-items: center;
    gap: clamp(40px, 7vw, 100px);
    padding-block: 92px;
}

.brand-path-copy h2 {
    max-width: 16ch;
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
    font-size: clamp(2rem, 4.1vw, 3.5rem);
    line-height: 1.14;
}

.brand-path-copy p {
    color: var(--muted);
}

.brand-path-visual {
    margin: 0;
    padding: 18px 18px 0 0;
    border-top: 1px solid var(--line-strong);
    border-right: 1px solid var(--line-strong);
}

.brand-path-visual img {
    width: 100%;
    border-radius: 0 0 0 34px;
}

.topic-ledger {
    padding-block: 80px 104px;
    border-top: 1px solid var(--line);
}

.ledger-head {
    max-width: 820px;
    margin-bottom: 38px;
}

.ledger-list {
    border-top: 1px solid var(--line-strong);
}

.ledger-list article {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 340px;
    gap: 34px;
    padding: 26px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}

.ledger-list h3 {
    margin: 0;
    color: var(--ink);
}

.ledger-list p {
    margin: 0;
    color: var(--muted);
}

.ledger-links {
    display: grid;
    gap: 8px;
}

.ledger-links a {
    color: var(--brand);
    font-weight: 700;
}

.app-ribbon {
    background: var(--paper-2);
    border-block: 1px solid var(--line);
}

.app-ribbon-inner {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 0.74fr) minmax(0, 1.1fr);
    gap: 68px;
    align-items: center;
    padding-block: 54px;
}

.app-ribbon figure {
    margin: -86px 0 -86px 0;
    align-self: stretch;
}

.app-ribbon img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.app-ribbon h2 {
    max-width: 16ch;
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.16;
}

.app-ribbon p {
    max-width: 720px;
    color: var(--muted);
}

.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.inline-actions a {
    color: var(--brand);
    font-weight: 800;
}

.guide-table {
    padding-block: 154px 96px;
}

.guide-rows {
    border-top: 1px solid var(--line-strong);
}

.guide-row {
    display: grid;
    grid-template-columns: 120px 340px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.guide-row > span {
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 800;
}

.guide-row strong {
    color: var(--ink);
    line-height: 1.5;
}

.guide-row p {
    margin: 0;
    color: var(--muted);
}

.guide-row:hover {
    padding-left: 10px;
}

.faq-preview {
    padding-block: 72px 110px;
}

.faq-preview-head {
    max-width: 780px;
    margin-bottom: 34px;
}

.faq-preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--line-strong);
    margin-bottom: 24px;
}

.faq-preview details {
    border-bottom: 1px solid var(--line);
    padding: 18px 24px 18px 0;
}

.faq-preview details:nth-child(odd) {
    border-right: 1px solid var(--line);
}

.faq-preview details:nth-child(even) {
    padding-left: 24px;
}

.faq-preview summary {
    cursor: pointer;
    color: var(--ink);
    font-weight: 800;
}

.faq-preview p {
    margin-bottom: 0;
    color: var(--muted);
}

.page-shell {
    padding-block: 26px 100px;
}

.breadcrumb {
    margin: 8px 0 28px;
    color: var(--muted);
    font-size: 0.84rem;
}

.breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.breadcrumb li:not(:last-child)::after {
    content: "/";
    margin-left: 8px;
    color: rgba(116, 106, 111, 0.55);
}

.breadcrumb a {
    text-decoration: none;
}

.page-intro-split,
.watch-header,
.topic-intro,
.guide-intro,
.faq-intro,
.simple-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.65fr);
    gap: 68px;
    align-items: center;
    min-height: 480px;
    padding: 36px 0 54px;
    border-bottom: 1px solid var(--line);
}

.page-intro h1,
.watch-header h1,
.topic-intro h1,
.guide-intro h1,
.faq-intro h1,
.simple-hero h1,
.app-intro h1,
.article-header h1,
.search-page-header h1,
.not-found h1 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
    font-size: clamp(2.55rem, 5.4vw, 4.9rem);
    line-height: 1.04;
    letter-spacing: -0.03em;
    font-weight: 650;
}

.page-intro p,
.watch-header p,
.topic-intro p,
.guide-intro p,
.faq-intro p,
.simple-hero p,
.app-intro p,
.search-page-header p,
.not-found p {
    max-width: 760px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 1.05rem;
}

.page-intro figure,
.watch-header figure,
.topic-intro figure {
    margin: 0;
}

.page-intro img,
.watch-header img,
.topic-intro img,
.guide-intro img,
.faq-intro img,
.simple-hero img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 28px 6px 28px 6px;
}

.prose-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 86px;
    padding-block: 64px;
    align-items: start;
}

.prose-main {
    max-width: 820px;
}

.prose-main h2,
.simple-prose h2,
.article-body h2 {
    margin: 48px 0 14px;
    color: var(--ink);
    font-size: clamp(1.55rem, 2.6vw, 2.2rem);
    line-height: 1.3;
}

.prose-main h2:first-child,
.simple-prose h2:first-child {
    margin-top: 0;
}

.prose-main p,
.simple-prose p,
.article-body p {
    color: var(--text);
}

.prose-main a,
.simple-prose a,
.article-body a {
    color: var(--brand);
    font-weight: 700;
}

.definition-list {
    margin: 28px 0;
    border-top: 1px solid var(--line-strong);
}

.definition-list > div {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 24px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.definition-list strong {
    color: var(--ink);
}

.definition-list span {
    color: var(--muted);
}

.prose-aside {
    position: sticky;
    top: 112px;
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--paper-2);
}

.prose-aside h2 {
    margin: 0 0 16px;
    color: var(--ink);
    font-size: 1.2rem;
}

.aside-link {
    display: block;
    padding: 15px 0;
    border-top: 1px solid var(--line);
    text-decoration: none;
}

.aside-link strong,
.aside-link span {
    display: block;
}

.aside-link strong {
    color: var(--ink);
}

.aside-link span {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.88rem;
}

.soft-panel {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 46px;
    align-items: start;
    padding: 38px;
    border-radius: var(--radius-lg);
    background: var(--paper-2);
}

.soft-panel h2 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.5rem, 2.4vw, 2.1rem);
    line-height: 1.3;
}

.soft-panel p {
    margin: 0;
    color: var(--muted);
}

.watch-header {
    grid-template-columns: 0.88fr 1.12fr;
}

.watch-header-image {
    height: 480px;
    overflow: hidden;
    border-radius: 80px 20px 80px 20px;
}

.watch-header-image img {
    height: 100%;
    border-radius: 0;
}

.watch-index {
    padding-block: 70px 82px;
}

.watch-index-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 18px;
}

.watch-index-grid article {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 220px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
}

.watch-index-grid article:nth-child(1) {
    grid-row: span 2;
    grid-template-columns: 1fr;
}

.watch-index-grid article:nth-child(1) img {
    height: 300px;
}

.watch-index-grid article:nth-child(4) {
    grid-column: 1 / -1;
    grid-template-columns: 0.65fr 1fr;
}

.watch-index-grid img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
}

.watch-index-grid article > div {
    padding: 24px;
}

.watch-index-grid h3 {
    margin: 0 0 9px;
    color: var(--ink);
    font-size: 1.2rem;
}

.watch-index-grid h3 a {
    text-decoration: none;
}

.watch-index-grid p {
    margin: 0;
    color: var(--muted);
}

.two-track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: var(--line-strong);
    border: 1px solid var(--line-strong);
    margin-block: 34px 82px;
}

.two-track article {
    background: var(--paper);
    padding: 38px;
}

.two-track h2 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
    font-size: clamp(1.7rem, 2.7vw, 2.35rem);
    line-height: 1.25;
}

.two-track p {
    color: var(--muted);
}

.two-track a {
    color: var(--brand);
    font-weight: 800;
}

.viewing-method {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 0;
    align-items: stretch;
    margin-bottom: 76px;
    border-radius: 28px;
    overflow: hidden;
    background: var(--ink);
    color: #fff;
}

.viewing-method figure {
    margin: 0;
}

.viewing-method img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.viewing-method > div {
    padding: 46px;
}

.viewing-method .eyebrow {
    color: var(--brand-soft);
}

.viewing-method h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    line-height: 1.2;
}

.viewing-method p {
    color: rgba(255, 255, 255, 0.72);
}

.related-paths {
    padding-block: 36px;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
}

.related-paths h2 {
    margin-top: 0;
    color: var(--ink);
}

.related-paths > div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-paths a {
    padding-right: 20px;
    border-right: 1px solid var(--line);
    text-decoration: none;
}

.related-paths a:last-child {
    border-right: 0;
}

.related-paths strong,
.related-paths span {
    display: block;
}

.related-paths strong {
    color: var(--ink);
}

.related-paths span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.9rem;
}

.app-page-shell {
    padding-top: 20px;
}

.app-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 70px;
    align-items: end;
    min-height: 560px;
    padding: 48px 58px 0;
    border-radius: 34px;
    background: var(--ink);
    color: #fff;
    overflow: hidden;
}

.app-intro h1 {
    color: #fff;
}

.app-intro .eyebrow {
    color: var(--brand-soft);
}

.app-intro p {
    color: rgba(255, 255, 255, 0.7);
}

.app-intro figure {
    margin: 0;
    align-self: stretch;
}

.app-intro img {
    width: 100%;
    height: 100%;
    min-height: 480px;
    object-fit: cover;
    border-radius: 40px 40px 0 0;
}

.mini-index {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 26px 0 46px;
}

.mini-index a {
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    padding: 8px 12px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
}

.app-step {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr);
    gap: 32px;
    padding: 70px 0;
    border-bottom: 1px solid var(--line);
}

.app-step-feature {
    grid-template-columns: 80px minmax(0, 0.95fr) minmax(340px, 0.8fr);
    align-items: center;
}

.step-number {
    color: var(--brand-soft);
    font-family: Georgia, serif;
    font-size: 2.4rem;
    line-height: 1;
}

.app-step h2,
.community-band h2,
.app-problems h2 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
    font-size: clamp(1.9rem, 3.4vw, 2.8rem);
    line-height: 1.2;
}

.app-step p,
.community-band p {
    color: var(--muted);
}

.app-step a {
    color: var(--brand);
    font-weight: 800;
}

.app-step figure {
    margin: 0;
}

.app-step figure img {
    border-radius: 24px;
}

.check-list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 28px;
}

.check-list li {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
}

.check-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.community-band {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 56px;
    align-items: center;
    padding: 70px 0;
}

.community-band figure {
    margin: 0;
}

.community-band img {
    border-radius: 8px 44px 8px 44px;
}

.community-band a {
    color: var(--brand);
    font-weight: 700;
}

.app-problems {
    display: grid;
    grid-template-columns: 0.6fr 1.4fr;
    gap: 60px;
    padding: 64px 0 0;
    border-top: 1px solid var(--line-strong);
}

.problem-links {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.problem-links a {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.problem-links strong {
    color: var(--ink);
}

.problem-links span {
    color: var(--muted);
    font-size: 0.9rem;
}

.topic-intro {
    grid-template-columns: 0.92fr 1.08fr;
}

.topic-stack {
    margin-top: 70px;
    border-top: 1px solid var(--line-strong);
}

.topic-stack-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 30px;
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
}

.topic-count {
    color: var(--brand-soft);
    font-family: Georgia, serif;
    font-size: 2.2rem;
}

.topic-stack-item h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.55rem;
}

.topic-stack-item p {
    max-width: 860px;
    color: var(--muted);
}

.topic-stack-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
}

.topic-stack-links a {
    color: var(--brand);
    font-weight: 800;
}

.weak-topic-note {
    margin-block: 84px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: stretch;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--paper-2);
}

.weak-topic-copy {
    padding: 46px;
}

.weak-topic-copy h2 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
    font-size: clamp(1.9rem, 3vw, 2.65rem);
    line-height: 1.2;
}

.weak-topic-copy p {
    color: var(--muted);
}

.weak-topic-copy a {
    color: var(--brand);
    font-weight: 800;
}

.weak-topic-note img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.topic-next {
    padding-top: 40px;
    border-top: 1px solid var(--line-strong);
}

.topic-next h2 {
    color: var(--ink);
}

.topic-next > div {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.topic-next a {
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 9px 14px;
    text-decoration: none;
}

.guide-intro {
    grid-template-columns: 1.05fr 0.7fr;
}

.guide-directory {
    margin-top: 72px;
    border-top: 1px solid var(--line-strong);
}

.guide-directory-item {
    display: grid;
    grid-template-columns: 70px 120px 320px 1fr;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.guide-directory-num {
    color: var(--brand-soft);
    font-family: Georgia, serif;
    font-size: 1.5rem;
}

.guide-directory-meta {
    color: var(--accent);
    font-size: 0.84rem;
    font-weight: 800;
}

.guide-directory-item strong {
    color: var(--ink);
}

.guide-directory-item p {
    margin: 0;
    color: var(--muted);
}

.guide-principles {
    display: grid;
    grid-template-columns: 0.54fr 1.46fr;
    gap: 70px;
    padding-block: 88px;
}

.guide-principles h2 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.2;
}

.guide-principle-grid {
    border-top: 1px solid var(--line-strong);
}

.guide-principle-grid article {
    display: grid;
    grid-template-columns: 120px 1fr 180px;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
    align-items: start;
}

.guide-principle-grid h3,
.guide-principle-grid p {
    margin: 0;
}

.guide-principle-grid h3 {
    color: var(--ink);
}

.guide-principle-grid p {
    color: var(--muted);
}

.guide-principle-grid a {
    color: var(--brand);
    font-weight: 800;
}

.search-guide-band {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    gap: 56px;
    align-items: center;
    padding: 42px;
    border-radius: var(--radius-lg);
    background: var(--paper-2);
}

.search-guide-band img {
    width: 100%;
    border-radius: 24px;
}

.search-guide-band h2 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.2;
}

.search-guide-band p {
    color: var(--muted);
}

.inline-search {
    margin-top: 22px;
}

.faq-intro {
    grid-template-columns: 1fr 0.6fr;
}

.faq-list {
    max-width: 980px;
    margin: 70px auto 0;
    border-top: 1px solid var(--line-strong);
}

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    list-style: none;
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 20px;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary span {
    color: var(--brand-soft);
    font-family: Georgia, serif;
    font-size: 1.4rem;
}

.faq-answer {
    padding: 0 0 24px 70px;
}

.faq-answer p {
    max-width: 780px;
    margin: 0;
    color: var(--muted);
}

.faq-next {
    max-width: 980px;
    margin: 56px auto 0;
    padding: 32px 0 0;
    border-top: 1px solid var(--line-strong);
}

.faq-next h2 {
    margin: 0;
    color: var(--ink);
}

.faq-next p {
    color: var(--muted);
}

.faq-next > div {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.faq-next a {
    color: var(--brand);
    font-weight: 800;
}

.article-shell {
    max-width: 1120px;
}

.article-layout {
    padding-top: 18px;
}

.article-header {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
    padding: 30px 0 42px;
}

.article-header h1 {
    font-size: clamp(2.55rem, 5vw, 4.6rem);
}

.article-deck {
    max-width: 760px;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.article-meta {
    margin-top: 18px;
    color: var(--muted);
    font-size: 0.84rem;
}

.article-hero {
    margin: 0 0 56px;
}

.article-hero img {
    width: 100%;
    max-height: 620px;
    object-fit: cover;
    border-radius: 34px;
}

.article-body {
    width: min(100%, var(--reading));
    margin: 0 auto;
}

.article-body section + section {
    margin-top: 54px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.article-body ul {
    margin: 22px 0 0;
    padding-left: 1.2em;
    color: var(--muted);
}

.article-body li {
    margin-bottom: 9px;
}

.article-related {
    margin-top: 88px;
    padding-top: 44px;
    border-top: 1px solid var(--line-strong);
}

.article-related > div:first-child {
    max-width: 640px;
}

.article-related h2 {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}

.article-related-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.article-related-list a {
    display: block;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    text-decoration: none;
}

.article-related-list span {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
}

.article-related-list strong {
    display: block;
    margin-top: 8px;
    color: var(--ink);
    line-height: 1.4;
}

.article-related-list p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.search-page-shell {
    max-width: 1040px;
}

.search-page-header {
    padding: 44px 0 54px;
    border-bottom: 1px solid var(--line-strong);
}

.search-page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.search-page-form {
    max-width: 720px;
    margin-top: 28px;
}

.search-results,
.search-empty-state {
    padding-top: 56px;
}

.search-results-head {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: end;
    margin-bottom: 20px;
}

.search-results-head h2,
.search-empty-state h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.6rem;
}

.search-results-head p {
    margin: 0;
    color: var(--muted);
}

.search-result-list {
    border-top: 1px solid var(--line-strong);
}

.search-result-list a {
    display: grid;
    grid-template-columns: 120px 320px 1fr;
    gap: 24px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.search-result-list span {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
}

.search-result-list strong {
    color: var(--ink);
}

.search-result-list p {
    margin: 0;
    color: var(--muted);
}

.search-empty-state > p {
    max-width: 720px;
    color: var(--muted);
}

.search-empty-state > div {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.search-empty-state > div a {
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 9px 13px;
    text-decoration: none;
}

.simple-page {
    max-width: 1120px;
}

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

.simple-hero-dark {
    margin-top: 18px;
    padding: 52px;
    border: 0;
    border-radius: 32px;
    background: var(--ink);
    color: #fff;
}

.simple-hero-dark h1 {
    color: #fff;
}

.simple-hero-dark p {
    color: rgba(255, 255, 255, 0.7);
}

.simple-hero-dark .eyebrow {
    color: var(--brand-soft);
}

.simple-prose {
    width: min(100%, 780px);
    margin: 58px auto 0;
}

.simple-prose code {
    padding: 2px 6px;
    border-radius: 6px;
    background: var(--paper-2);
    color: var(--ink);
}

.safety-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    margin-top: 58px;
    border: 1px solid var(--line-strong);
    background: var(--line-strong);
}

.safety-grid article {
    background: var(--paper);
    padding: 30px;
}

.safety-grid h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.25rem;
}

.safety-grid p {
    margin-bottom: 0;
    color: var(--muted);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 58px;
}

.contact-cards article {
    padding: 28px;
    border-top: 3px solid var(--brand-soft);
    background: var(--paper-2);
}

.contact-cards h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.25rem;
}

.contact-cards p {
    color: var(--muted);
}

.contact-cards a {
    color: var(--brand);
    font-weight: 800;
}

.contact-note {
    width: min(100%, 780px);
    margin: 64px auto 0;
    padding-top: 34px;
    border-top: 1px solid var(--line-strong);
}

.contact-note h2 {
    color: var(--ink);
}

.contact-note p {
    color: var(--muted);
}

.not-found {
    min-height: 58vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 920px;
}

.not-found h1 {
    max-width: 12ch;
}

.not-found p {
    max-width: 700px;
}

.not-found-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.not-found-links a {
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    padding: 9px 14px;
    text-decoration: none;
}

.site-footer {
    margin-top: 48px;
    padding: 70px 0 26px;
    background: var(--ink);
    color: #fff;
}

.footer-grid {
    width: min(calc(100% - 40px), var(--max));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 0.7fr);
    gap: 54px;
}

.footer-intro p {
    max-width: 430px;
    color: rgba(255, 255, 255, 0.58);
}

.footer-brand {
    color: #fff;
    font-size: 1.45rem;
    font-weight: 800;
    text-decoration: none;
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: var(--brand-soft);
    font-size: 0.86rem;
    letter-spacing: 0.08em;
}

.footer-grid > div:not(.footer-intro) a {
    display: block;
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
}

.footer-grid a:hover {
    color: #fff;
}

.footer-base {
    width: min(calc(100% - 40px), var(--max));
    margin: 46px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
}

.back-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--paper);
    box-shadow: 0 8px 24px rgba(43, 34, 40, 0.12);
    cursor: pointer;
}

.back-top[hidden] {
    display: none !important;
}

@media (max-width: 1200px) {
    .header-shell,
    .section-shell,
    .page-shell,
    .app-ribbon-inner,
    .footer-grid,
    .footer-base {
        width: min(calc(100% - 36px), 1120px);
    }

    .home-cover {
        width: min(calc(100% - 36px), 1180px);
        grid-template-columns: 1fr 0.78fr;
    }

    .site-nav {
        gap: 0;
    }

    .nav-link {
        padding-inline: 9px;
        font-size: 0.9rem;
    }

    .ledger-list article {
        grid-template-columns: 210px 1fr 300px;
    }

    .guide-directory-item {
        grid-template-columns: 60px 100px 280px 1fr;
    }
}

@media (max-width: 1024px) {
    .header-shell {
        grid-template-columns: auto 1fr auto auto;
        min-height: 72px;
    }

    .menu-toggle {
        display: inline-flex;
        grid-column: 3;
    }

    .search-trigger {
        grid-column: 4;
    }

    .site-nav {
        position: absolute;
        left: 18px;
        right: 18px;
        top: calc(100% + 1px);
        display: none;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--paper);
        box-shadow: var(--shadow);
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-link {
        border-radius: 10px;
    }

    .nav-link.is-active::after {
        display: none;
    }

    .home-cover {
        grid-template-columns: 1fr;
    }

    .cover-visual {
        min-height: 460px;
    }

    .cover-visual img {
        min-height: 460px;
    }

    .intent-item:nth-child(1),
    .intent-item:nth-child(2),
    .intent-item:nth-child(3) {
        grid-column: span 4;
    }

    .editorial-spread {
        grid-template-columns: 1fr;
    }

    .spread-notes {
        position: static;
        border-left-width: 2px;
    }

    .collection-mosaic {
        grid-template-columns: 1fr 1fr;
    }

    .collection-card-1,
    .collection-card-4 {
        grid-row: auto;
        grid-column: auto;
    }

    .brand-path,
    .app-ribbon-inner,
    .page-intro-split,
    .watch-header,
    .topic-intro,
    .guide-intro,
    .faq-intro,
    .simple-hero,
    .app-intro,
    .community-band {
        grid-template-columns: 1fr 1fr;
        gap: 42px;
    }

    .ledger-list article {
        grid-template-columns: 170px 1fr;
    }

    .ledger-links {
        grid-column: 2;
    }

    .guide-row {
        grid-template-columns: 110px 280px 1fr;
    }

    .prose-grid {
        grid-template-columns: 1fr 260px;
        gap: 50px;
    }

    .watch-index-grid {
        grid-template-columns: 1fr;
    }

    .watch-index-grid article:nth-child(1),
    .watch-index-grid article:nth-child(4) {
        grid-row: auto;
        grid-column: auto;
        grid-template-columns: 220px 1fr;
    }

    .watch-index-grid article:nth-child(1) img {
        height: 100%;
    }

    .app-intro {
        padding-inline: 36px;
    }

    .app-step-feature {
        grid-template-columns: 70px 1fr;
    }

    .app-step-feature figure {
        grid-column: 2;
    }

    .guide-directory-item {
        grid-template-columns: 50px 90px 1fr;
    }

    .guide-directory-item p {
        grid-column: 3;
    }

    .guide-principles {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .article-related-list {
        grid-template-columns: 1fr 1fr;
    }

    .search-result-list a {
        grid-template-columns: 100px 260px 1fr;
    }

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

    .footer-grid > div:last-child {
        grid-column: 2 / 4;
        display: grid;
        grid-template-columns: repeat(4, max-content);
        align-items: start;
        gap: 0 18px;
    }

    .footer-grid > div:last-child h2 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15.5px;
    }

    .header-shell,
    .section-shell,
    .page-shell,
    .app-ribbon-inner,
    .footer-grid,
    .footer-base,
    .home-cover {
        width: min(calc(100% - 28px), 720px);
    }

    .header-shell {
        gap: 10px;
    }

    .brand-mark img {
        width: 104px;
    }

    .search-trigger,
    .menu-toggle {
        padding: 8px 11px;
        font-size: 0.88rem;
    }

    .cover-copy {
        padding: 44px 30px;
    }

    .cover-copy h1 {
        max-width: none;
        font-size: clamp(2.4rem, 10vw, 4rem);
    }

    .cover-index a {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .cover-visual,
    .cover-visual img {
        min-height: 360px;
    }

    .intent-columns {
        display: block;
    }

    .intent-item:nth-child(1),
    .intent-item:nth-child(2),
    .intent-item:nth-child(3) {
        padding: 24px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .intent-item:nth-child(3) {
        border-bottom: 0;
    }

    .spread-feature figure {
        height: 320px;
    }

    .spread-copy {
        padding: 28px;
    }

    .section-heading-row {
        display: block;
    }

    .section-heading-row > p,
    .section-heading-row > .text-link {
        margin-top: 14px;
    }

    .collection-mosaic {
        grid-template-columns: 1fr;
    }

    .brand-path,
    .app-ribbon-inner,
    .page-intro-split,
    .watch-header,
    .topic-intro,
    .guide-intro,
    .faq-intro,
    .simple-hero,
    .community-band,
    .viewing-method,
    .weak-topic-note,
    .search-guide-band {
        grid-template-columns: 1fr;
    }

    .brand-path-visual {
        max-width: 520px;
        margin-left: auto;
    }

    .ledger-list article {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ledger-links {
        grid-column: auto;
    }

    .app-ribbon-inner {
        gap: 24px;
        padding-block: 46px;
    }

    .app-ribbon figure {
        margin: 0;
    }

    .app-ribbon img {
        min-height: 360px;
    }

    .guide-table {
        padding-top: 92px;
    }

    .guide-row {
        grid-template-columns: 100px 1fr;
        gap: 8px 20px;
    }

    .guide-row p {
        grid-column: 2;
    }

    .faq-preview-grid {
        grid-template-columns: 1fr;
    }

    .faq-preview details,
    .faq-preview details:nth-child(even),
    .faq-preview details:nth-child(odd) {
        padding: 18px 0;
        border-right: 0;
    }

    .prose-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .prose-aside {
        position: static;
    }

    .soft-panel,
    .two-track,
    .related-paths > div,
    .app-problems,
    .guide-principles,
    .safety-grid,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .watch-index-grid article,
    .watch-index-grid article:nth-child(1),
    .watch-index-grid article:nth-child(4) {
        grid-template-columns: 1fr;
    }

    .watch-index-grid img,
    .watch-index-grid article:nth-child(1) img {
        height: 260px;
    }

    .viewing-method img {
        height: 300px;
    }

    .related-paths a {
        padding: 16px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .related-paths a:last-child {
        border-bottom: 0;
    }

    .app-intro {
        display: block;
        min-height: auto;
        padding: 40px 28px 0;
    }

    .app-intro figure {
        margin-top: 28px;
    }

    .app-intro img {
        min-height: 340px;
    }

    .app-step,
    .app-step-feature {
        grid-template-columns: 52px 1fr;
        gap: 18px;
    }

    .app-step-feature figure {
        grid-column: 1 / -1;
        margin-left: 70px;
    }

    .check-list {
        grid-template-columns: 1fr;
    }

    .app-problems {
        gap: 20px;
    }

    .problem-links a {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .weak-topic-copy {
        padding: 34px;
    }

    .guide-directory-item {
        grid-template-columns: 48px 1fr;
        gap: 8px 16px;
    }

    .guide-directory-meta,
    .guide-directory-item strong,
    .guide-directory-item p {
        grid-column: 2;
    }

    .guide-principle-grid article {
        grid-template-columns: 100px 1fr;
    }

    .guide-principle-grid a {
        grid-column: 2;
    }

    .article-related-list {
        grid-template-columns: 1fr;
    }

    .search-result-list a {
        grid-template-columns: 90px 1fr;
        gap: 8px 18px;
    }

    .search-result-list p {
        grid-column: 2;
    }

    .simple-hero-dark {
        padding: 34px;
    }

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

    .footer-intro {
        grid-column: 1 / -1;
    }

    .footer-grid > div:last-child {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-base {
        display: block;
    }

    .footer-base span {
        display: block;
        margin-top: 6px;
    }
}

@media (max-width: 600px) {
    .header-shell,
    .section-shell,
    .page-shell,
    .app-ribbon-inner,
    .footer-grid,
    .footer-base,
    .home-cover {
        width: min(calc(100% - 22px), 560px);
    }

    .brand-mark img {
        width: 92px;
    }

    .search-trigger {
        font-size: 0;
        width: 39px;
        height: 39px;
        padding: 0;
        position: relative;
    }

    .search-trigger::before {
        content: "⌕";
        font-size: 1.15rem;
    }

    .menu-toggle {
        padding-inline: 10px;
    }

    .search-panel {
        padding: 24px;
    }

    .search-row,
    .inline-search > div,
    .search-page-form > div {
        flex-direction: column;
    }

    .cover-copy {
        padding: 36px 22px;
    }

    .cover-visual,
    .cover-visual img {
        min-height: 300px;
    }

    .intent-strip,
    .collection-section,
    .brand-path,
    .topic-ledger,
    .guide-table,
    .faq-preview {
        padding-block: 62px;
    }

    .editorial-spread {
        padding-block: 38px 68px;
    }

    .spread-feature figure {
        height: 260px;
    }

    .collection-card,
    .collection-card img {
        min-height: 320px;
    }

    .collection-card > div {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 15px;
    }

    .app-ribbon h2,
    .brand-path-copy h2,
    .section-kicker h2,
    .section-heading-row h2,
    .ledger-head h2,
    .faq-preview-head h2 {
        font-size: 2rem;
    }

    .page-intro-split,
    .watch-header,
    .topic-intro,
    .guide-intro,
    .faq-intro,
    .simple-hero {
        min-height: auto;
        padding-top: 20px;
        gap: 28px;
    }

    .page-intro h1,
    .watch-header h1,
    .topic-intro h1,
    .guide-intro h1,
    .faq-intro h1,
    .simple-hero h1,
    .app-intro h1,
    .article-header h1,
    .search-page-header h1,
    .not-found h1 {
        font-size: clamp(2.2rem, 12vw, 3.4rem);
    }

    .soft-panel {
        padding: 28px;
        gap: 20px;
    }

    .watch-header-image {
        height: 320px;
        border-radius: 44px 12px 44px 12px;
    }

    .two-track article,
    .viewing-method > div {
        padding: 28px;
    }

    .app-intro {
        border-radius: 24px;
    }

    .app-intro img {
        min-height: 300px;
    }

    .app-step,
    .app-step-feature {
        grid-template-columns: 1fr;
    }

    .step-number {
        font-size: 1.8rem;
    }

    .app-step-feature figure {
        grid-column: auto;
        margin-left: 0;
    }

    .topic-stack-item {
        grid-template-columns: 56px 1fr;
    }

    .topic-count {
        font-size: 1.7rem;
    }

    .weak-topic-copy,
    .search-guide-band {
        padding: 28px;
    }

    .faq-list summary {
        grid-template-columns: 40px 1fr;
        gap: 12px;
    }

    .faq-answer {
        padding-left: 52px;
    }

    .article-hero img {
        border-radius: 22px;
    }

    .simple-hero-dark {
        margin-inline: -4px;
        padding: 28px;
        border-radius: 24px;
    }

    .safety-grid {
        display: block;
        border: 0;
        background: transparent;
    }

    .safety-grid article {
        border-bottom: 1px solid var(--line);
        padding-inline: 0;
    }

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

    .footer-intro,
    .footer-grid > div:last-child {
        grid-column: auto;
    }

    .footer-grid > div:last-child {
        display: block;
    }
}

@media (max-width: 375px) {
    .header-shell,
    .section-shell,
    .page-shell,
    .app-ribbon-inner,
    .footer-grid,
    .footer-base,
    .home-cover {
        width: min(calc(100% - 18px), 360px);
    }

    .brand-mark img {
        width: 82px;
    }

    .menu-toggle {
        font-size: 0.8rem;
    }

    .cover-copy {
        padding: 30px 18px;
    }

    .cover-copy h1 {
        font-size: 2.2rem;
    }

    .cover-visual,
    .cover-visual img {
        min-height: 260px;
    }

    .spread-copy,
    .two-track article,
    .viewing-method > div,
    .weak-topic-copy,
    .search-guide-band,
    .simple-hero-dark {
        padding: 24px;
    }

    .app-intro {
        padding-inline: 22px;
    }

    .faq-answer {
        padding-left: 0;
    }

    .faq-list summary {
        grid-template-columns: 1fr;
    }

    .faq-list summary span {
        font-size: 1rem;
    }
}
