/* onelove.su — design layer from the Claude Design mockup (Design System.dc.html). */
:root {
    --bg: #F6F6F3;
    --ink: #18191D;
    --text-ink: #22232A;
    --muted: #55575F;
    --soft-ink: #3E3F46;
    --line: #DADAD4;
    --blue: #3B45C4;
    --blue-dark: #232C99;
    --paper: #EDEDE9;
    --lavender: #E6E7F3;
    --lavender-line: #C4C6DC;
    --dark-line: #34353B;
    --on-dark: #F1F1EE;
    --on-dark-muted: #A9AAB2;
    --on-dark-text: #C9CAD0;
    --on-dark-link: #B9BEF5;
    --head: 'Ysabeau Office', 'Arial', sans-serif;
    --text: 'Spectral', 'Georgia', serif;
    --pad: 48px;
    --header: 80px;
    --anchor: 100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 0; }
body.da-site {
    margin: 0; background: var(--bg); color: var(--ink);
    font-family: var(--head); font-size: 17px; line-height: 1.5;
    text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.da-site.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--head); color: var(--ink); margin: 0; font-weight: 700; }
p { margin: 0; }
button { font-family: inherit; }

.shell { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.screen-reader-text {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 12px 16px;
    background: var(--ink); color: var(--bg); font-weight: 600;
}
.skip-link:focus { left: 12px; color: var(--bg); }

.meta { font-size: 15px; line-height: 1.45; color: var(--muted); }
.kicker {
    display: inline-flex; align-items: center; min-height: 28px;
    font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--blue);
}
.block-note { font-family: var(--text); font-size: 18px; line-height: 1.5; color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; }
.split-39 { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 48px; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--bg); border-bottom: 1px solid var(--line);
}
.header-inner {
    position: relative; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad);
    height: var(--header); display: flex; align-items: center; gap: 40px;
}
.logo {
    flex-shrink: 0; white-space: nowrap; color: var(--ink); display: flex; align-items: center; min-height: 44px;
    font-weight: 800; font-size: 30px; letter-spacing: -0.025em; line-height: 1;
}
.logo span, .footer-logo span { font-weight: 500; color: #6A6B72; }
.logo:hover { color: var(--ink); }
.main-nav { flex: 1; min-width: 0; display: flex; align-items: center; gap: 24px; font-size: 16px; font-weight: 600; }
.side-nav { flex-shrink: 0; display: flex; gap: 28px; font-size: 16px; font-weight: 600; }
.nav-link {
    display: flex; align-items: center; height: var(--header); white-space: nowrap;
    color: var(--ink); border-bottom: 2px solid transparent; padding-top: 2px;
}
.nav-link:hover { color: var(--blue); }
.nav-link.is-active { border-bottom-color: var(--ink); }
.more { position: static; }
.more summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px;
    height: var(--header); white-space: nowrap; color: var(--ink); padding-top: 2px;
    border-bottom: 2px solid transparent;
}
.more summary::-webkit-details-marker { display: none; }
.more summary:hover { color: var(--blue); }
.more-caret::before { content: '▾'; font-size: 12px; }
.more[open] .more-caret::before { content: '▴'; }
.more-panel {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 60;
    margin-top: 1px; padding: 36px var(--pad) 44px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(24, 25, 29, .18);
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px 32px;
}
.more-link { display: flex; flex-direction: column; gap: 6px; min-height: 44px; color: var(--ink); }
.more-link:hover { color: var(--blue); }
.more-name { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; }
.more-desc { font-family: var(--text); font-size: 15px; font-weight: 400; line-height: 1.45; color: var(--muted); }
.menu-toggle {
    display: none; margin-left: auto; height: 44px; padding: 0 14px;
    font-size: 16px; font-weight: 600; color: var(--ink); background: transparent;
    border: 1.5px solid var(--ink); border-radius: 2px; cursor: pointer;
    position: relative; z-index: 2;
}
.menu-toggle[aria-expanded="true"] { background: var(--ink); color: var(--bg); }
.mobile-menu {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 55;
    max-height: calc(100vh - var(--header)); overflow-y: auto;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(24, 25, 29, .2);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; padding: 4px var(--pad) 24px; }
.sheet-link {
    min-height: 52px; display: flex; align-items: center; border-bottom: 1px solid var(--line);
    color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1.2;
}
.sheet-link.is-active { color: var(--blue); }
.sheet-extra { display: flex; gap: 12px; padding-top: 16px; }
.sheet-extra a {
    flex: 1; min-height: 48px; display: flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--ink); border-radius: 2px; color: var(--ink); font-weight: 600; font-size: 17px;
}

/* Crumbs */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; font-size: 15px; color: var(--muted); }
.crumbs a { color: var(--muted); display: inline-flex; align-items: center; min-height: 44px; }
.crumbs a:hover { color: var(--blue); }
.crumbs span { display: inline-flex; align-items: center; min-height: 44px; }

/* Home: cover */
.cover { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; padding-top: 48px; padding-bottom: 72px; }
.cover-main { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.cover-shot img, .band-shot img, .long-shot img { width: 100%; height: min(600px, 62vh); object-fit: cover; }
.side-shot img, .col-shot img, .rr-shot img, .feat-shot img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.cover-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-right: 40px; }
.cover-main.no-shot .cover-copy { padding-top: 8px; }
.cover-title { font-size: clamp(36px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; overflow-wrap: break-word; }
.cover-title a, .side-card h3 a, .col-lead h3 a, .rr-lead h3 a, .long h2 a, .feat h3 a, .row-title a { color: var(--ink); }
.cover-title a:hover, .side-card h3 a:hover, .col-lead h3 a:hover, .rr-lead h3 a:hover, .long h2 a:hover, .feat h3 a:hover, .row-title a:hover { color: var(--blue); }
.cover-lead { font-family: var(--text); font-size: 20px; line-height: 1.5; color: var(--soft-ink); max-width: 640px; text-wrap: pretty; }
.cover-main.no-shot .cover-lead { font-size: 23px; }
.cover-side { display: flex; flex-direction: column; min-width: 0; }
.side-card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px 0; border-top: 1px solid var(--line); }
.side-card.side-first { padding-top: 0; border-top: 0; gap: 14px; padding-bottom: 28px; }
.side-card h3 { font-size: 26px; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
.side-card.side-first h3 { font-size: 32px; line-height: 1.08; letter-spacing: -0.02em; }
.side-lead { font-family: var(--text); font-size: 17px; line-height: 1.5; color: var(--muted); }

/* Home: situations */
.situations { padding-top: 64px; padding-bottom: 72px; border-top: 1px solid var(--line); }
.block-head { align-items: end; padding-bottom: 32px; }
.block-head h2 { font-size: 44px; line-height: 1; letter-spacing: -0.02em; }
.situ-row { padding: 28px 0; border-top: 1px solid var(--line); }
.situ-quote {
    font-family: var(--text); font-style: italic; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.22;
    color: var(--ink); text-indent: -0.5em; padding-left: 0.5em; text-wrap: pretty;
}
.situ-quote:hover { color: var(--blue); }
.situ-links { display: flex; flex-direction: column; gap: 4px; }
.situ-cat { font-size: 17px; font-weight: 700; color: var(--blue); min-height: 44px; display: flex; align-items: center; }
.situ-post { color: var(--ink); font-size: 20px; line-height: 1.22; font-weight: 600; padding: 6px 0; }
.situ-post:hover { color: var(--blue); }

/* Home: dark band */
.band { background: var(--ink); color: var(--on-dark); padding: 72px 0 80px; }
.band-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; padding-bottom: 40px; }
.band-head h2 { font-size: clamp(40px, 5vw, 72px); line-height: 1; letter-spacing: -0.03em; }
.band-head h2 a { color: var(--on-dark); }
.band-head h2 a:hover, .band-all:hover { color: var(--on-dark-link); }
.band-all { color: var(--on-dark-link); font-size: 18px; font-weight: 600; white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.band-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; }
.band-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.band-main h3 { font-size: clamp(30px, 3.1vw, 44px); line-height: 1.05; letter-spacing: -0.02em; max-width: 820px; text-wrap: balance; }
.band-main h3 a { color: var(--on-dark); }
.band-main h3 a:hover { color: var(--on-dark-link); }
.band-lead { font-family: var(--text); font-size: 19px; line-height: 1.5; color: var(--on-dark-text); max-width: 700px; }
.band .meta { color: var(--on-dark-muted); }
.band-list { display: flex; flex-direction: column; min-width: 0; }
.band-list a { display: flex; flex-direction: column; gap: 8px; padding: 22px 0; border-top: 1px solid var(--dark-line); color: var(--on-dark); }
.band-list a:hover { color: var(--on-dark-link); }
.band-sub { font-size: 14px; font-weight: 600; color: var(--on-dark-muted); }
.band-title { font-size: 23px; line-height: 1.18; font-weight: 600; text-wrap: pretty; }

/* Home: four columns */
.cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; padding-top: 72px; padding-bottom: 72px; }
.col { display: flex; flex-direction: column; border-top: 3px solid var(--ink); padding-top: 16px; min-width: 0; }
.col-name { font-size: 26px; letter-spacing: -0.015em; line-height: 1.1; padding-bottom: 18px; }
.col-name a { color: var(--ink); }
.col-name a:hover { color: var(--blue); }
.col-lead { display: flex; flex-direction: column; gap: 12px; padding-bottom: 20px; }
.col-lead h3 { font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; text-wrap: pretty; }
.col-text { font-family: var(--text); font-size: 16px; line-height: 1.5; color: var(--muted); }
.col-link { font-family: var(--text); font-size: 18px; line-height: 1.35; color: var(--ink); padding: 14px 0; border-top: 1px solid var(--line); }
.col-link:hover { color: var(--blue); }

/* Home: long read */
.long { padding-bottom: 80px; }
.long:not(.has-shot) .long-grid { border-top: 3px solid var(--ink); }
.long-grid { padding-top: 28px; }
.long-head { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.kicker-line { font-size: 16px; font-weight: 600; color: var(--blue); }
.kicker-line .kicker { font-size: 16px; }
.long h2 { font-size: clamp(34px, 3.8vw, 54px); line-height: 1.03; letter-spacing: -0.025em; text-wrap: balance; }
.long-copy { display: flex; flex-direction: column; gap: 14px; padding-top: 34px; }
.long-lead { font-family: var(--text); font-size: 21px; line-height: 1.5; color: var(--soft-ink); }

/* Home: lavender band */
.soft { background: var(--lavender); padding: 72px 0; }
.soft-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
.soft-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.soft-head h2 { font-size: 44px; line-height: 1; letter-spacing: -0.02em; }
.soft-head h2 a { color: var(--ink); }
.soft-head h2 a:hover { color: var(--blue); }
.soft-head p { font-family: var(--text); font-size: 19px; line-height: 1.55; color: #33343B; }
.soft-all { font-size: 17px; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.soft-list { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 40px; }
.soft-list a { display: flex; flex-direction: column; gap: 10px; padding: 24px 0; border-top: 1px solid var(--lavender-line); color: var(--ink); }
.soft-list a:hover { color: var(--blue); }
.soft-title { font-size: 25px; line-height: 1.14; font-weight: 700; letter-spacing: -0.01em; text-wrap: pretty; }
.soft-lead { font-family: var(--text); font-size: 17px; line-height: 1.5; color: #44454C; }

/* Home: rubric rows */
.rubric-rows { display: flex; flex-direction: column; padding-top: 72px; padding-bottom: 88px; }
.rr { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 4fr); gap: 40px; padding: 36px 0; border-top: 1px solid var(--line); }
.rr-name { display: flex; flex-direction: column; gap: 12px; }
.rr-name h2 { font-size: 38px; line-height: 1.02; letter-spacing: -0.02em; }
.rr-name h2 a { color: var(--ink); }
.rr-name h2 a:hover { color: var(--blue); }
.rr-name p { font-family: var(--text); font-size: 16px; line-height: 1.5; color: var(--muted); }
.rr-lead { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.rr-lead h3 { font-size: 27px; line-height: 1.12; letter-spacing: -0.015em; text-wrap: pretty; }
.rr-text { font-family: var(--text); font-size: 18px; line-height: 1.5; color: var(--soft-ink); }
.rr-list { display: flex; flex-direction: column; min-width: 0; }
.rr-list a { color: var(--ink); font-size: 20px; line-height: 1.22; font-weight: 600; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rr-list a:first-child { padding-top: 0; }
.rr-list a:hover { color: var(--blue); }

/* Category, search, archives */
.cat-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; padding-top: 32px; padding-bottom: 64px; }
.cat-head.no-side { grid-template-columns: minmax(0, 1fr); }
.cat-intro { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; min-width: 0; }
.cat-intro h1 { font-size: clamp(44px, 7.2vw, 104px); line-height: 0.95; letter-spacing: -0.035em; overflow-wrap: break-word; max-width: 100%; }
.cat-desc { font-family: var(--text); font-size: 23px; line-height: 1.5; color: #33343B; max-width: 720px; text-wrap: pretty; }
.cat-side { display: flex; flex-direction: column; padding-top: 44px; min-width: 0; }
.side-title { font-size: 17px; font-weight: 700; padding-bottom: 12px; }
.cat-side a {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: baseline;
    padding: 14px 0; border-top: 1px solid var(--line); color: var(--ink);
}
.cat-side a:hover { color: var(--blue); }
.side-copy { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.side-name { font-size: 21px; font-weight: 600; line-height: 1.2; }
.side-desc { font-family: var(--text); font-size: 16px; line-height: 1.4; color: var(--muted); }
.side-arrow { font-size: 18px; }
.search-form { display: flex; gap: 0; width: 100%; max-width: 640px; margin-top: 8px; }
.search-form input {
    flex: 1; min-width: 0; height: 52px; padding: 0 16px; font: 500 18px var(--head); color: var(--ink);
    background: #fff; border: 1.5px solid var(--ink); border-right: 0; border-radius: 2px 0 0 2px;
}
.search-form button {
    height: 52px; padding: 0 22px; font: 600 17px var(--head); color: var(--bg); background: var(--ink);
    border: 1.5px solid var(--ink); border-radius: 0 2px 2px 0; cursor: pointer;
}
.search-form button:hover { background: var(--blue); border-color: var(--blue); }

.start { background: var(--paper); padding: 56px 0 72px; }
.start h2 { font-size: 40px; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 32px; }
.start-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.start-item { display: flex; flex-direction: column; gap: 14px; color: var(--ink); border-top: 3px solid var(--ink); padding-top: 16px; min-width: 0; }
.start-item:hover .start-title { color: var(--blue); }
.start-num { font-size: 30px; font-weight: 700; line-height: 1; color: var(--blue); }
.start-title { font-size: 25px; line-height: 1.14; font-weight: 700; letter-spacing: -0.015em; text-wrap: pretty; }
.start-lead { font-family: var(--text); font-size: 17px; line-height: 1.5; color: var(--muted); }

.list { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 56px; padding-top: 64px; padding-bottom: 72px; }
.list-single { display: block; padding-top: 0; }
.list-head { display: flex; flex-direction: column; gap: 12px; }
.list-head h2 { font-size: 32px; letter-spacing: -0.02em; line-height: 1.05; }
.list-body { min-width: 0; }
.feat { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; padding-bottom: 40px; }
.feat.has-shot { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); }
.feat-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; justify-content: flex-end; }
.feat h3 { font-size: clamp(30px, 2.8vw, 40px); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
.feat-lead { font-family: var(--text); font-size: 19px; line-height: 1.5; color: #44454C; max-width: 760px; }
.rows { display: flex; flex-direction: column; }
.row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.row.has-shot { grid-template-columns: minmax(0, 1fr) 300px; }
.row-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.row-title { font-size: 28px; line-height: 1.12; letter-spacing: -0.015em; text-wrap: pretty; overflow-wrap: break-word; max-width: 100%; }
.row-lead { font-family: var(--text); font-size: 17px; line-height: 1.5; color: var(--muted); max-width: 680px; }
.row-meta { font-size: 14px; }
.row-shot img { width: 300px; height: 200px; object-fit: cover; }
.empty { font-family: var(--text); font-size: 20px; color: var(--muted); padding: 24px 0 48px; }

.pagination { margin-top: 8px; padding: 36px 0 16px; border-top: 1px solid var(--ink); }
.pagination .nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 17px; font-weight: 600; }
.pagination .page-numbers {
    min-width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
    color: var(--ink); padding: 0 6px;
}
.pagination a.page-numbers:hover { background: var(--lavender); color: var(--ink); }
.pagination .page-numbers.current { background: var(--ink); color: var(--bg); }
.pagination .page-numbers.dots { min-width: 32px; color: var(--muted); }
.pagination .prev, .pagination .next { gap: 8px; padding: 0 8px; }
.pagination .prev { margin-right: auto; }
.pagination .next { margin-left: auto; }

.index-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; padding-bottom: 80px; }
.index-list a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; border-top: 1px solid var(--line); color: var(--ink); }
.index-list a:hover { color: var(--blue); }

/* Article */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 70; pointer-events: none; background: transparent; }
.progress span { display: block; height: 4px; width: 0; background: var(--blue); }
.article-head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding-top: 24px; padding-bottom: 40px; }
.article-title { font-size: clamp(33px, 4.7vw, 68px); line-height: 1.02; letter-spacing: -0.028em; max-width: 1000px; text-wrap: balance; overflow-wrap: break-word; }
.article-lead { font-family: var(--text); font-size: 23px; line-height: 1.5; color: #2A2B31; max-width: 820px; text-wrap: pretty; }
.article-meta {
    display: flex; flex-wrap: wrap; gap: 8px 28px; width: 100%; max-width: 1000px;
    font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 6px;
}
.article-meta b { color: var(--ink); font-weight: 600; }
.article-cover { margin: 0 auto 56px; }
.article-cover img { width: 100%; height: min(640px, 66vh); object-fit: cover; }
.article-cover figcaption { padding-top: 12px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.article-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 48px; align-items: start; padding-bottom: 80px; }
.article-layout.no-toc { grid-template-columns: minmax(0, 1fr); }
.article-layout.no-toc .article-body { max-width: 900px; }
.toc-side { position: sticky; top: var(--anchor); max-height: calc(100vh - var(--anchor) - 24px); overflow: auto; min-width: 0; scrollbar-width: none; }
.toc-side::-webkit-scrollbar { display: none; }
.toc summary {
    list-style: none; display: flex; justify-content: space-between; align-items: center;
    font-size: 16px; font-weight: 700; padding-bottom: 10px; pointer-events: none;
}
.toc summary::-webkit-details-marker { display: none; }
.toc-sign { display: none; font-size: 15px; font-weight: 600; color: var(--blue); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li a {
    display: block; padding: 10px 0; border-top: 1px solid var(--line);
    font-size: 16px; line-height: 1.3; color: var(--muted);
}
.toc li a:hover { color: var(--blue); }
.toc li a.is-current { color: var(--ink); font-weight: 700; }
.toc-more { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

.article-body, .page-body { min-width: 0; font-family: var(--text); font-size: 20px; line-height: 1.62; color: var(--text-ink); }
.article-body > *, .page-body > * { max-width: 680px; }
.article-body > * { margin-top: 0; margin-bottom: 0; }
.article-body > * + * { margin-top: 24px; }
.article-body > h2 { margin-top: 56px; }
.article-body > h3 { margin-top: 36px; }
.article-body > h2 + *, .article-body > h3 + * { margin-top: 16px; }
.article-body > :first-child { margin-top: 0; }
.article-body p, .page-body p { text-wrap: pretty; }
.page-body p { margin: 0; }
.article-body h2, .page-body h2 {
    font-size: clamp(27px, 2.6vw, 38px); line-height: 1.1; letter-spacing: -0.02em;
    max-width: 760px; scroll-margin-top: var(--anchor);
}
.article-body h3, .page-body h3 { font-size: clamp(22px, 1.9vw, 26px); line-height: 1.2; letter-spacing: -0.01em; scroll-margin-top: var(--anchor); }
.article-body h4 { margin-top: 24px; font-size: 21px; line-height: 1.25; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li + li { margin-top: 8px; }
.article-body li::marker { color: var(--blue); }
.article-body a, .page-body a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover, .page-body a:hover { color: var(--blue-dark); }
.article-body blockquote {
    margin: 40px 0; padding: 0; max-width: 820px; border: 0;
    font-family: var(--head); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.18; font-weight: 600; letter-spacing: -0.015em; color: var(--ink);
}
.article-body blockquote p + p { margin-top: 12px; }
.article-body img { height: auto; }
.article-body figure { margin: 32px 0; max-width: 900px; }
.article-body figcaption, .wp-caption-text { padding-top: 10px; font-family: var(--head); font-size: 14px; color: var(--muted); }
.article-body hr { border: 0; border-top: 1px solid var(--line); }
.article-body > .table-wrap, .page-body > .table-wrap { max-width: none; }
.table-wrap { overflow-x: auto; border-top: 3px solid var(--ink); max-width: 100%; }
.table-wrap table { border-collapse: collapse; width: 100%; min-width: 560px; font-family: var(--head); font-size: 16px; line-height: 1.4; }
.table-wrap th, .table-wrap td { padding: 12px 16px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap thead th, .table-wrap tr:first-child th { font-weight: 700; border-bottom-color: var(--ink); vertical-align: bottom; }
.summary { background: var(--lavender); padding: 26px 30px 28px; font-family: var(--head); }
.summary ul { list-style: none; margin: 0; padding: 0; }
.summary li { display: grid; grid-template-columns: 20px minmax(0, 1fr); font-size: 18px; line-height: 1.45; padding: 5px 0; margin: 0; }
.summary li::before { content: '—'; }
.box-title { font-family: var(--head); font-size: 19px; font-weight: 800; padding-bottom: 10px; color: var(--ink); }
.article-about { margin-top: 56px !important; padding-top: 24px; border-top: 1px solid var(--ink); font-family: var(--head); max-width: 760px; }
.article-about .box-title { font-size: 16px; padding-bottom: 8px; }
.article-about p:not(.box-title) { font-size: 15px; line-height: 1.5; color: #33343B; }
.article-about p + p { margin-top: 6px; }

.next { background: var(--ink); color: var(--on-dark); padding: 64px 0 72px; }
.next-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 48px; }
.next-label { font-size: 40px; letter-spacing: -0.02em; line-height: 1; color: var(--on-dark); }
.next-body { display: flex; flex-direction: column; min-width: 0; }
.next-main { display: flex; flex-direction: column; gap: 10px; padding-bottom: 32px; color: var(--on-dark); }
.next-if { font-family: var(--text); font-style: italic; font-size: 19px; line-height: 1.4; color: var(--on-dark-text); }
.next-title { font-size: clamp(28px, 2.8vw, 40px); line-height: 1.06; font-weight: 700; letter-spacing: -0.02em; max-width: 860px; }
.next-main:hover .next-title, .next-more a:hover .next-small { color: var(--on-dark-link); }
.next-more { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.next-more a { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; border-top: 1px solid var(--dark-line); color: var(--on-dark); }
.next-small { font-size: 24px; line-height: 1.15; font-weight: 700; }

/* Pages: about, privacy */
.page-head { padding-top: 32px; padding-bottom: 48px; align-items: start; }
.page-head .crumbs { padding-top: 8px; }
.page-title-wrap { display: flex; flex-direction: column; gap: 16px; }
.page-title { font-size: clamp(36px, 5vw, 76px); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; overflow-wrap: break-word; }
.page-body { padding-bottom: 80px; }
.page-body > * { max-width: none; }
.about-row { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 48px; padding: 32px 0; border-top: 1px solid var(--line); }
.about-row h2 { margin: 0; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.05; max-width: none; }
.about-text { display: flex; flex-direction: column; gap: 16px; max-width: 760px; font-size: 19px; line-height: 1.6; }
.about-hero { padding-top: 72px; padding-bottom: 80px; }
.about-label { font-size: 17px; font-weight: 700; padding-top: 16px; }
.about-intro { display: flex; flex-direction: column; gap: 32px; }
.about-intro h1 { font-size: clamp(38px, 5.3vw, 76px); line-height: 1.02; letter-spacing: -0.03em; max-width: 1040px; text-wrap: balance; }
.about-lead { font-family: var(--text); font-size: 24px; line-height: 1.5; color: #2A2B31; max-width: 820px; text-wrap: pretty; }
.about-topics { background: var(--paper); padding: 64px 0; margin-bottom: 72px; }
.about-topics h2, .about-not h2 { font-size: 34px; line-height: 1.05; letter-spacing: -0.02em; }
.topics-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 48px; }
.topics-grid a { display: flex; flex-direction: column; gap: 6px; padding: 18px 0; border-top: 1px solid #D2D2CC; color: var(--ink); }
.topics-grid a:hover { color: var(--blue); }
.topic-name { font-size: 22px; font-weight: 700; }
.topic-desc { font-family: var(--text); font-size: 17px; line-height: 1.45; color: #44454C; }
.about-not { background: var(--ink); color: var(--on-dark); padding: 64px 0; }
.about-not h2 { color: var(--on-dark); }
.about-not-copy { display: flex; flex-direction: column; gap: 20px; }
.about-not-main { font-size: 28px; line-height: 1.3; font-weight: 600; max-width: 900px; }
.about-not-copy p:not(.about-not-main) { font-family: var(--text); font-size: 19px; line-height: 1.55; color: var(--on-dark-text); max-width: 820px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); padding: 72px 0 40px; }
.footer-top { display: flex; flex-direction: column; gap: 16px; padding-bottom: 48px; border-bottom: 1px solid var(--dark-line); }
.footer-logo { font-weight: 800; font-size: 40px; letter-spacing: -0.025em; line-height: 1; color: var(--on-dark); align-self: flex-start; }
.footer-logo span { color: var(--on-dark-muted); }
.footer-logo:hover { color: var(--on-dark); }
.footer-top p { font-family: var(--text); font-size: 18px; line-height: 1.5; color: var(--on-dark-text); max-width: 520px; text-wrap: pretty; }
.footer-bottom { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; padding-top: 20px; }
.footer-note { font-size: 14px; line-height: 1.5; color: var(--on-dark-muted); max-width: 640px; padding-top: 10px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 28px; font-size: 15px; font-weight: 600; }
.footer-nav a { display: block; padding: 10px 0; min-height: 44px; color: var(--on-dark); }
.footer-nav a:hover { color: var(--on-dark-link); }

/* Clearfy cookie notice, restyled to the palette and a 44 px target */
#clearfy-cookie.clearfy-cookie {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
    max-width: 560px; margin: 0; padding: 0;
    background: var(--ink); color: var(--on-dark-text); border: 0; border-radius: 0; box-shadow: none;
    font: 500 14px/1.5 var(--head);
}
#clearfy-cookie.clearfy-cookie-hide { display: none; }
#clearfy-cookie .clearfy-cookie-container {
    display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px;
    padding: 16px 20px; max-width: none; margin: 0; text-align: left;
}
#clearfy-cookie .clearfy-cookie-accept {
    min-height: 44px; min-width: 88px; padding: 0 18px; margin: 0;
    background: var(--bg); color: var(--ink); border: 0; border-radius: 2px;
    font: 600 15px var(--head); cursor: pointer;
}
#clearfy-cookie .clearfy-cookie-accept:hover { background: var(--on-dark-link); }
@media (min-width: 1200px) {
    #clearfy-cookie.clearfy-cookie { left: auto; right: 16px; max-width: 340px; }
}

/* 1024–1199: three rubrics in the header, narrower margins */
@media (max-width: 1199px) {
    :root { --pad: 32px; }
    .nav-link.nav-last { display: none; }
    .header-inner { gap: 28px; }
    .main-nav { gap: 20px; }
    .side-nav { gap: 20px; }
    .more-panel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .cover, .split, .cat-head, .band-grid, .soft-grid { gap: 36px; }
    .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 36px; }
    .rr { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
    .rr-list { grid-column: 2; }
    .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .article-layout .article-body { max-width: 900px; }
    .toc-side { position: static; max-height: none; overflow: visible; margin-bottom: 32px; max-width: 680px; }
    .toc { border-top: 3px solid var(--ink); border-bottom: 1px solid var(--line); }
    .toc summary { min-height: 52px; padding: 0; font-size: 18px; pointer-events: auto; cursor: pointer; }
    .toc-sign { display: inline; }
    .toc-sign::before { content: 'Показать'; }
    .toc[open] .toc-sign::before { content: 'Скрыть'; }
    .toc li a { min-height: 44px; display: flex; align-items: center; padding: 6px 0; color: var(--ink); }
    .toc-more { margin: 0 0 12px; }
    .list { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}

/* Below 1024: mobile header */
@media (max-width: 1023px) {
    :root { --header: 64px; --anchor: 84px; }
    .main-nav, .side-nav { display: none; }
    .menu-toggle { display: inline-flex; align-items: center; }
    .logo { font-size: 26px; }
    .mobile-menu nav { padding-left: var(--pad); padding-right: var(--pad); }
    .cover { grid-template-columns: minmax(0, 1fr); padding-top: 32px; }
    .cover-copy { padding-right: 0; }
    .split, .split-39, .band-grid, .soft-grid, .next-grid, .about-row, .cat-head { grid-template-columns: minmax(0, 1fr); }
    .block-head { gap: 12px; }
    .situ-row { gap: 12px; }
    .cat-side { padding-top: 0; }
    .rr { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .rr-list { grid-column: auto; }
    .rr-list a:first-child { padding-top: 16px; border-top: 1px solid var(--line); }
    .start-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .start-item { border-top: 1px solid #D2D2CC; padding: 20px 0; }
    .start-item:first-child { border-top: 3px solid var(--ink); }
    .long-copy { padding-top: 0; }
    .about-row { gap: 16px; }
    .page-head .crumbs { padding-top: 0; }
    .about-hero { padding-top: 40px; }
    .about-label { padding-top: 0; }
    .next-grid { gap: 24px; }
}

/* Phones */
@media (max-width: 767px) {
    :root { --pad: 20px; }
    body.da-site { font-size: 16px; }
    .cover { gap: 0; padding-bottom: 24px; }
    .cover-shot img, .band-shot img, .long-shot img { height: auto; aspect-ratio: 4 / 3; }
    .cover-main { gap: 16px; padding-bottom: 32px; }
    .cover-copy { gap: 14px; }
    .cover-title { font-size: 34px; line-height: 1.06; letter-spacing: -0.02em; }
    .cover-lead, .cover-main.no-shot .cover-lead { font-size: 19px; }
    .side-card, .side-card.side-first { padding: 20px 0; border-top: 1px solid var(--line); gap: 8px; }
    .side-card h3, .side-card.side-first h3 { font-size: 21px; line-height: 1.16; }
    .side-card.side-first .side-shot { margin-bottom: 4px; }
    .side-lead { display: none; }
    .situations { padding-top: 40px; padding-bottom: 32px; }
    .block-head { padding-bottom: 8px; }
    .block-head h2 { font-size: 32px; }
    .block-head .block-note { display: none; }
    .situ-row { padding: 22px 0; border-top: 0; border-bottom: 1px solid var(--line); gap: 6px; }
    .situ-quote { font-size: 23px; line-height: 1.28; }
    .situ-post { display: none; }
    .band { padding: 40px 0 28px; }
    .band-head { padding-bottom: 24px; flex-direction: column; gap: 0; }
    .band-head h2 { font-size: 42px; }
    .band-all { order: 2; }
    .band-grid { gap: 16px; }
    .band-main h3 { font-size: 26px; line-height: 1.1; }
    .band-lead { font-size: 17px; }
    .band-list a { padding: 16px 0; }
    .band-sub { display: none; }
    .band-title { font-size: 19px; line-height: 1.22; }
    .cols { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 40px; padding-bottom: 40px; }
    .col { padding-top: 14px; }
    .col-name { padding-bottom: 14px; }
    .col-lead.has-shot { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; align-items: start; }
    .col-lead.has-shot img { aspect-ratio: 1; }
    .col-lead h3 { font-size: 19px; line-height: 1.18; }
    .col-link { padding: 13px 0; }
    .long { padding-bottom: 40px; }
    .long h2 { font-size: 30px; line-height: 1.06; }
    .long-lead { font-size: 18px; }
    .soft { padding: 36px 0 20px; }
    .soft-grid { gap: 12px; }
    .soft-head { gap: 12px; }
    .soft-head h2 { font-size: 32px; }
    .soft-head p { font-size: 17px; }
    .soft-list { grid-template-columns: minmax(0, 1fr); }
    .soft-list a { padding: 16px 0; }
    .soft-title { font-size: 20px; line-height: 1.2; }
    .soft-lead { display: none; }
    .rubric-rows { padding-top: 32px; padding-bottom: 40px; }
    .rr { padding: 24px 0; gap: 12px; }
    .rr-name h2 { font-size: 28px; }
    .rr-name p { display: none; }
    .rr-lead h3 { font-size: 21px; line-height: 1.16; }
    .rr-text { font-size: 17px; }
    .rr-list a, .rr-list a:first-child { font-family: var(--text); font-weight: 400; font-size: 17px; line-height: 1.35; padding: 10px 0; border: 0; }

    .cat-head { padding-top: 16px; padding-bottom: 32px; gap: 24px; }
    .cat-intro { gap: 14px; }
    .cat-intro h1 { font-size: 46px; line-height: 0.98; letter-spacing: -0.03em; }
    .cat-desc { font-size: 18px; }
    .crumbs { font-size: 14px; }
    .side-title { font-size: 16px; padding-bottom: 6px; }
    .cat-side a { min-height: 52px; padding: 10px 0; align-items: center; }
    .side-name { font-size: 18px; }
    .side-desc { display: none; }
    .start { padding: 32px 0 12px; }
    .start h2 { font-size: 30px; margin-bottom: 8px; }
    .start-title { font-size: 20px; line-height: 1.16; }
    .start-num { font-size: 22px; }
    .start-lead { display: none; }
    .list { padding-top: 32px; padding-bottom: 40px; gap: 16px; }
    .list-head h2 { font-size: 26px; }
    .list-head .block-note { display: none; }
    .feat, .feat.has-shot { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-bottom: 24px; }
    .feat h3 { font-size: 26px; line-height: 1.1; }
    .feat-lead { font-size: 17px; }
    .row, .row.has-shot { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 20px 0; }
    .row-title { font-size: 21px; line-height: 1.16; }
    .row-lead { display: none; }
    .row-shot { display: none; }
    .pagination { padding-top: 20px; }
    .pagination .nav-links { gap: 2px; }
    .pagination .prev, .pagination .next { flex-basis: 50%; margin: 0; }
    .pagination .next { justify-content: flex-end; order: 2; }
    .pagination .prev { order: 1; }
    .pagination .page-numbers:not(.prev):not(.next) { order: 3; min-width: 44px; height: 44px; }
    .pagination .page-numbers.dots { min-width: 24px; }
    .index-list { grid-template-columns: minmax(0, 1fr); }
    .search-form button { padding: 0 16px; }

    .article-head { padding-top: 12px; padding-bottom: 24px; gap: 14px; }
    .article-title { font-size: 33px; line-height: 1.07; letter-spacing: -0.022em; }
    .article-lead { font-size: 19px; }
    .article-meta { flex-direction: column; gap: 2px; font-size: 14px; padding-top: 12px; }
    .article-cover { margin-bottom: 24px; padding: 0; }
    .article-cover img { height: auto; aspect-ratio: 4 / 3; }
    .article-cover figcaption { padding: 10px 20px 0; font-size: 13px; }
    .article-layout { padding-bottom: 40px; }
    .toc-side { margin-bottom: 16px; }
    .article-body, .page-body { font-size: 18px; line-height: 1.6; }
    .article-body > * + * { margin-top: 20px; }
    .article-body > h2 { margin-top: 40px; }
    .article-body > h2 + *, .article-body > h3 + * { margin-top: 14px; }
    .article-body h2 { font-size: 27px; line-height: 1.12; }
    .article-body h3 { font-size: 22px; }
    .article-body blockquote { font-size: 24px; margin: 28px 0; }
    .summary { padding: 18px 18px 20px; }
    .summary li { font-size: 16px; }
    .article-about { margin-top: 40px !important; }
    .next { padding: 40px 0 44px; }
    .next-label { font-size: 30px; }
    .next-title { font-size: 26px; }
    .next-more { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .next-small { font-size: 20px; }

    .page-head { padding-top: 16px; padding-bottom: 24px; gap: 8px; }
    .page-title { font-size: 34px; }
    .page-body { padding-bottom: 48px; }
    .about-row { padding: 24px 0; gap: 10px; }
    .about-text { font-size: 18px; }
    .about-hero { padding-top: 24px; padding-bottom: 40px; gap: 12px; }
    .about-intro { gap: 20px; }
    .about-intro h1 { font-size: 36px; line-height: 1.06; }
    .about-lead { font-size: 19px; }
    .about-topics { padding: 36px 0; margin-bottom: 32px; }
    .about-topics .split-39, .about-not .split-39 { gap: 16px; }
    .about-topics h2, .about-not h2 { font-size: 28px; }
    .topics-grid { grid-template-columns: minmax(0, 1fr); }
    .topic-name { font-size: 19px; }
    .topic-desc { font-size: 16px; }
    .about-not { padding: 40px 0; }
    .about-not-main { font-size: 21px; }
    .about-not-copy p:not(.about-not-main) { font-size: 17px; }

    .site-footer { padding: 48px 0 32px; }
    .footer-top { padding-bottom: 28px; gap: 14px; }
    .footer-logo { font-size: 32px; }
    .footer-top p { font-size: 17px; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .footer-nav { flex-direction: column; order: 1; }
    .footer-note { order: 2; }
}

@media (max-width: 359px) {
    .logo { font-size: 23px; }
    .cat-intro h1 { font-size: 38px; }
    .cover-title { font-size: 30px; }
    .article-title { font-size: 29px; }
    .band-head h2 { font-size: 36px; }
}
