/* mentors.team — design layer from the Claude Design mockup (Design System.dc.html). */
:root {
    --bg: #F6F6F8;
    --ink: #1E1A29;
    --soft: #3E3A4D;
    --muted: #57536A;
    --panel: #ECEBF1;
    --line: #D9D7E0;
    --line-2: #C9C6D3;
    --on-dark: #C9C5D6;
    --off: #9A96A8;
    --display: 'Sofia Sans Extra Condensed', 'Arial Narrow', sans-serif;
    --ui: 'Sofia Sans Semi Condensed', 'Arial Narrow', system-ui, sans-serif;
    --serif: 'Spectral', Georgia, 'Times New Roman', serif;
    --gutter: 48px;
    --header-h: 119px;
    --anchor: calc(var(--header-h) + 20px);
}

*, *::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(--ui);
    font-size: 17px;
    line-height: 1.5;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .14em; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 3px;
}
h1, h2, h3, h4 { color: inherit; text-wrap: balance; overflow-wrap: break-word; }
p { text-wrap: pretty; }
.shell {
    width: 100%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
    position: absolute; left: -9999px; top: 8px; z-index: 100;
    background: var(--ink); color: var(--bg); padding: 12px 16px;
}
.skip-link:focus { left: 12px; color: var(--bg); }
.meta { margin: 0; font-family: var(--ui); font-size: 15px; color: var(--muted); }
.sw { display: inline-block; flex: none; width: 12px; height: 12px; box-shadow: inset 0 0 0 1px rgba(30, 26, 41, .25); }
.kicker {
    display: inline-flex; align-items: center; align-self: flex-start;
    min-height: 44px;
    font-family: var(--ui); font-size: 15px; font-weight: 600; line-height: 1.3; color: var(--muted);
}
.situation {
    margin: 0;
    font-family: var(--serif); font-style: italic; font-weight: 400;
    font-size: 18px; line-height: 1.35; color: var(--soft);
}
.text-link {
    align-self: flex-start;
    display: inline-flex; align-items: center; min-height: 44px;
    font-family: var(--ui); font-size: 17px; font-weight: 700;
    text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px;
}
.block-title {
    margin: 0;
    font-family: var(--display); font-weight: 600;
    font-size: clamp(40px, 4.4vw, 64px); line-height: .95;
}
.block-note { margin: 0; font-family: var(--serif); font-size: 18px; line-height: 1.5; color: var(--muted); }
.block-head {
    display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 24px;
    margin-bottom: 36px; padding-bottom: 18px; border-bottom: 1px solid var(--ink);
}
.block-head .block-note { max-width: 26em; text-align: right; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 30;
    background: var(--bg);
    border-bottom: 1px solid var(--ink);
}
.admin-bar .site-header { top: 32px; }
.header-top {
    position: relative;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding-top: 10px;
}
.logo {
    font-family: var(--display); font-weight: 700; font-size: 46px; line-height: 1; letter-spacing: -0.012em;
    white-space: nowrap; padding: 2px 0;
}
.logo:hover { text-decoration: none; }
.util-nav { display: flex; gap: 28px; font-size: 17px; font-weight: 500; }
.util-link { display: flex; align-items: center; min-height: 44px; border-bottom: 2px solid transparent; }
.util-link.is-active { border-bottom-color: var(--ink); }
.header-nav { position: relative; margin-top: 6px; }
.main-nav { display: flex; align-items: center; column-gap: 30px; font-size: 17px; font-weight: 500; white-space: nowrap; }
.nav-link { display: block; padding: 11px 0 12px; border-bottom: 3px solid transparent; }
.nav-link.is-active { border-bottom-color: var(--ink); }
.nav-link:hover { text-decoration: none; border-bottom-color: var(--line-2); }
.nav-link.is-active:hover { border-bottom-color: var(--ink); }
.more { position: relative; }
.more summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: center; gap: 8px;
    padding: 11px 0 12px; border-bottom: 3px solid transparent;
}
.more summary::-webkit-details-marker { display: none; }
.more-sign { font-family: var(--serif); font-size: 20px; line-height: 1; }
.more[open] .more-sign { transform: rotate(45deg); }
.more-panel {
    position: absolute; top: 100%; left: -24px; z-index: 5;
    min-width: 300px; padding: 10px 24px;
    background: var(--bg); border: 1px solid var(--ink);
    display: flex; flex-direction: column;
    white-space: normal;
}
.more-panel a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.more-panel a:last-child { border-bottom: 0; }
.more-panel a.is-active { font-weight: 700; }
.menu-toggle {
    display: none;
    min-height: 44px; min-width: 44px; padding: 0 14px;
    font: 600 16px var(--ui); color: var(--ink);
    background: transparent; border: 1px solid var(--ink); cursor: pointer;
    position: relative; z-index: 2;
}
.menu-toggle[aria-expanded="true"] { background: var(--ink); color: var(--bg); }
.mobile-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    overflow: auto;
    background: var(--bg);
    border-top: 1px solid var(--ink);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 32px; }
.sheet-link {
    display: flex; align-items: center; min-height: 52px;
    border-bottom: 1px solid var(--line);
    font-size: 19px; font-weight: 500; line-height: 1.2; padding: 6px 0;
}
.sheet-extra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-top: 20px; }
.sheet-extra a { display: flex; align-items: center; justify-content: center; min-height: 52px; font-size: 18px; font-weight: 500; border: 1px solid var(--ink); }
.sheet-extra .sheet-fresh { background: var(--ink); color: var(--bg); }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; font-size: 15px; }
.crumbs a, .crumbs > span:last-child:not([aria-hidden]) { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs > span[aria-hidden] { color: var(--muted); }
.crumbs > :last-child:not([aria-hidden]) { font-weight: 700; }

/* Home: cover */
.cover { padding-top: 32px; padding-bottom: 80px; }
.cover-kicker { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; margin: 0; font-size: 16px; }
.cover-kicker a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.cover-kicker span { color: var(--muted); }
.cover-situation { grid-column: 1 / 10; margin-top: 10px; font-size: 32px; line-height: 1.25; }
.cover-title {
    grid-column: 1 / 12; margin: 8px 0 40px;
    font-family: var(--display); font-weight: 600;
    font-size: clamp(56px, 6.6vw, 104px); line-height: .93; letter-spacing: -0.012em;
}
.cover-title.is-long { font-size: clamp(48px, 5.2vw, 84px); }
.cover-main { grid-column: 1 / 9; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cover-shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; max-height: 70vh; }
.cover-lead-big { margin: 0; font-family: var(--serif); font-size: 28px; line-height: 1.45; max-width: 30em; }
.cover-side { grid-column: 9 / 13; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.cover-lead { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.5; }
.cover-side .meta { margin-bottom: 8px; }
.text-card { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.second-card { border-top: 1px solid var(--ink); padding: 14px 0 24px; }
.second-card + .second-card { margin-top: -22px; }
.text-card-title {
    margin: 0; font-family: var(--display); font-weight: 600;
    font-size: clamp(26px, 2.4vw, 34px); line-height: 1.02;
}

/* Home: «Если коротко» */
.brief { background: var(--panel); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.brief .grid { padding-top: 72px; padding-bottom: 80px; }
.brief-intro { grid-column: 1 / 4; }
.brief-intro .block-title { font-size: clamp(44px, 5vw, 72px); }
.brief-intro .block-note { margin-top: 18px; max-width: 16em; }
.brief-list { grid-column: 4 / 13; min-width: 0; }
.brief-row {
    display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: 24px; align-items: baseline;
    padding: 22px 0 24px; border-top: 1px solid var(--line-2);
}
.brief-row:hover { text-decoration: none; }
.brief-row:hover .brief-title { text-decoration: underline; text-decoration-thickness: 1px; }
.brief-lead { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.35; }
.brief-side { display: flex; flex-direction: column; gap: 6px; }
.brief-rubric { font-size: 14px; font-weight: 600; color: var(--muted); }
.brief-title { font-family: var(--display); font-weight: 600; font-size: 27px; line-height: 1.05; }

/* Home: section of the week */
.spot .grid { padding-top: 80px; padding-bottom: 88px; }
.spot-intro { grid-column: 1 / 6; display: flex; flex-direction: column; min-width: 0; }
.spot-label { margin: 0 0 12px; font-size: 16px; font-weight: 600; }
.spot-title {
    margin: 0; font-family: var(--display); font-weight: 700;
    font-size: clamp(56px, 7vw, 112px); line-height: .88; letter-spacing: -0.015em;
}
.spot-desc { margin: 28px 0 0; font-family: var(--serif); font-size: 21px; line-height: 1.5; max-width: 24em; }
.spot-subs { display: flex; flex-direction: column; margin-top: 32px; border-top: 1px solid var(--ink); max-width: 420px; }
.spot-subs a { display: flex; align-items: center; min-height: 48px; padding: 6px 0; border-bottom: 1px solid rgba(30, 26, 41, .25); font-size: 18px; font-weight: 500; line-height: 1.25; }
.spot-intro .text-link { margin-top: 24px; }
.spot-start { grid-column: 7 / 13; min-width: 0; }
.spot-start-title { margin: 0 0 20px; font-family: var(--ui); font-size: 18px; font-weight: 700; }
.spot-rest { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-top: 36px; }
.num-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding-top: 16px; border-top: 1px solid var(--ink); }
.num-card-big { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
.num { font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: .85; }
.num-card-big .num { font-size: 52px; }
.tile { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tile-shot img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tile-title { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.02; letter-spacing: -0.005em; }
.tile-lead { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--soft); }
.spot-rest .text-card-title { font-size: clamp(22px, 1.9vw, 27px); }

/* Home: long reads */
.big { padding-top: 88px; padding-bottom: 96px; }
.big .block-head { border-bottom: 0; padding-bottom: 0; }
.big-grid { row-gap: 48px; align-items: start; }
.big-grid .tile { gap: 10px; border-top: 2px solid var(--ink); padding-top: 14px; }
.big-grid .big-a { grid-column: 1 / 6; grid-row: 1 / 3; }
.big-grid .big-b { grid-column: 6 / 13; }
.big-grid .big-c { grid-column: 6 / 9; }
.big-grid .big-d { grid-column: 9 / 13; }
.big-grid .big-a .tile-title { font-size: clamp(36px, 3.8vw, 56px); }
.big-grid .big-a .tile-lead { font-size: 20px; }
.big-grid .big-b .tile-title { font-size: clamp(30px, 3vw, 44px); }
.big-1 .big-a, .big-2 .big-a { grid-row: auto; }

/* Home: all sections */
.sections .shell { padding-top: 88px; padding-bottom: 96px; }
.sections .block-title { margin-bottom: 36px; }
.sections-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; }
.section-col { display: flex; flex-direction: column; min-width: 0; }
.section-bar { display: block; height: 10px; margin-bottom: 14px; }
.section-name { margin: 0 0 12px; font-family: var(--display); font-weight: 700; font-size: 34px; line-height: 1; }
.line-item { display: block; padding: 12px 0; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 18px; line-height: 1.35; }

/* Category, search, 404, archives */
.cat-head { background: var(--panel); border-bottom: 1px solid var(--ink); }
.cat-head-grid { padding-top: 40px; padding-bottom: 64px; align-items: end; }
.cat-head-main { grid-column: 1 / 8; min-width: 0; }
.cat-head-main .crumbs { margin-bottom: 6px; }
.cat-title {
    margin: 0; font-family: var(--display); font-weight: 700;
    font-size: clamp(64px, 8.4vw, 132px); line-height: .88; letter-spacing: -0.015em;
}
.cat-title.is-long { font-size: clamp(48px, 5.6vw, 88px); line-height: .92; }
.cat-desc { margin: 28px 0 0; font-family: var(--serif); font-size: 22px; line-height: 1.5; max-width: 30em; }
.topics { grid-column: 9 / 13; min-width: 0; border-top: 1px solid var(--ink); }
.topics-label { margin: 12px 0 4px; font-size: 15px; font-weight: 700; }
.topics a {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    min-height: 46px; padding: 8px 0; border-bottom: 1px solid rgba(30, 26, 41, .25);
    font-size: 18px; line-height: 1.25;
}
.topics a.is-current { font-weight: 700; }
.topics a span { flex: none; font-size: 12px; }
.search-form { display: flex; gap: 8px; max-width: 560px; margin-top: 28px; }
.search-form input {
    flex: 1; min-width: 0; min-height: 48px; padding: 0 14px;
    font: 400 17px var(--ui); color: var(--ink); background: #FFFFFF; border: 1px solid var(--ink); border-radius: 0;
}
.search-form button {
    min-height: 48px; padding: 0 20px; border: 0; border-radius: 0;
    background: var(--ink); color: var(--bg); font: 600 17px var(--ui); cursor: pointer;
}

.start { padding-top: 64px; padding-bottom: 24px; }
.start .block-title { margin-bottom: 24px; }
.start-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 24px; align-items: start; }
.start-grid .num-card { border-top-width: 2px; }
.start-grid .num-card-big .tile-title { font-size: clamp(28px, 2.6vw, 38px); }
.start-grid .text-card-title { font-size: clamp(22px, 1.8vw, 26px); }
.start-grid .text-card .tile-lead { font-size: 16px; }

.list { padding-top: 56px; padding-bottom: 80px; }
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; margin-bottom: 8px; }
.list-head .block-title { font-size: clamp(40px, 4vw, 56px); }
.list > .block-title { margin-bottom: 24px; }
.rows { display: flex; flex-direction: column; }
.row {
    display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px 32px; align-items: start;
    padding: 28px 0; border-top: 1px solid var(--line);
}
.row.has-img { grid-template-columns: 180px minmax(0, 1fr) 160px; }
.row-meta { display: flex; flex-direction: column; gap: 2px; font-size: 15px; line-height: 1.4; color: var(--muted); }
.row-meta .kicker { color: var(--ink); min-height: 44px; }
.row-copy { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.row-title { margin: 0; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.03; }
.row-lead { margin: 0; font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--soft); max-width: 40em; }
.row-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.empty { font-family: var(--serif); font-size: 20px; margin: 24px 0 0; }

.navigation.pagination { margin-top: 8px; padding-top: 24px; border-top: 1px solid var(--ink); }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 17px; font-weight: 600; }
.nav-links .page-numbers { display: flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 6px; }
.nav-links .page-numbers.current { background: var(--ink); color: var(--bg); }
.nav-links .prev { padding: 0 18px; border: 1px solid var(--ink); margin-right: auto; }
.nav-links .next { padding: 0 18px; background: var(--ink); color: var(--bg); margin-left: auto; }
.nav-links .page-numbers:not(.prev):not(.next):first-child { margin-left: 0; }

.others { background: var(--panel); border-top: 1px solid var(--ink); }
.others .grid { padding-top: 48px; padding-bottom: 56px; }
.others-title { grid-column: 1 / 4; margin: 0; font-family: var(--display); font-weight: 600; font-size: 40px; line-height: 1; }
.others-list { grid-column: 4 / 13; display: flex; flex-wrap: wrap; gap: 4px 36px; }
.others-list a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-family: var(--display); font-weight: 600; font-size: 27px; line-height: 1.1; }

/* Article */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; background: rgba(30, 26, 41, .08); }
.progress span { display: block; width: 0; height: 4px; background: var(--ink); }
.admin-bar .progress { top: 32px; }
.article-head { padding-top: 32px; padding-bottom: 40px; }
.article-head-main { grid-column: 4 / 13; min-width: 0; }
.article-situation { margin-top: 20px; font-size: 28px; line-height: 1.25; }
.article-title {
    margin: 8px 0 0; font-family: var(--display); font-weight: 600;
    font-size: clamp(40px, 5.4vw, 80px); line-height: .95; letter-spacing: -0.01em;
}
.article-lead { margin: 28px 0 0; max-width: 30em; font-family: var(--serif); font-size: 24px; line-height: 1.48; }
.article-meta {
    display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 28px 0 0; padding-top: 16px;
    border-top: 1px solid var(--ink); font-size: 15px; line-height: 1.4; color: var(--muted);
}
.article-meta b { color: var(--ink); font-weight: 700; }
.article-cover { margin: 40px 0 0; }
.article-cover img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; }
.article-cover figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.article-layout { padding-bottom: 80px; align-items: start; }
.toc-side { grid-column: 1 / 4; position: sticky; top: var(--anchor); max-height: calc(100vh - var(--anchor) - 24px); overflow: auto; min-width: 0; padding-right: 12px; }
.admin-bar .toc-side { top: calc(var(--anchor) + 32px); }
.toc { border-top: 2px solid var(--ink); padding-top: 12px; }
.toc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 28px; margin: 0 0 4px; font-size: 15px; font-weight: 700; pointer-events: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc-count { display: none; font-weight: 400; color: var(--muted); }
.toc-sign { display: none; margin-left: 10px; font-family: var(--serif); font-size: 24px; line-height: 1; color: var(--ink); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc li a { display: block; padding: 7px 0 7px 12px; border-left: 2px solid var(--line); font-size: 16px; line-height: 1.3; color: var(--muted); }
.toc li a.is-current { border-left-color: var(--ink); color: var(--ink); font-weight: 600; }
.toc-more { margin: 12px 0 0 14px; font-size: 14px; color: var(--muted); }
.article-main { grid-column: 4 / 10; min-width: 0; }
.summary { padding: clamp(20px, 3vw, 32px); margin: 0 0 40px; }
.box-title { margin: 0 0 14px; font-family: var(--display); font-weight: 600; font-size: 32px; line-height: 1; }
.summary ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.summary li { display: grid; grid-template-columns: 22px minmax(0, 1fr); font-family: var(--serif); font-size: 18px; line-height: 1.55; }
.summary li::before { content: '—'; }

.article-body, .page-body { font-family: var(--serif); font-size: 20px; line-height: 1.62; overflow-wrap: break-word; }
.article-body > :first-child, .page-body > :first-child { margin-top: 0; }
.article-body p { margin: 0 0 20px; }
.article-body h2, .page-body h2 {
    margin: 64px 0 20px; font-family: var(--display); font-weight: 600;
    font-size: clamp(34px, 3.4vw, 48px); line-height: 1.02; scroll-margin-top: var(--anchor);
}
.article-body h3, .page-body h3 {
    margin: 32px 0 10px; font-family: var(--ui); font-weight: 700; font-size: 22px; line-height: 1.25;
    scroll-margin-top: var(--anchor);
}
.article-body h4 { margin: 24px 0 8px; font-family: var(--ui); font-weight: 700; font-size: 19px; }
.article-body ul, .article-body ol, .page-body ul, .page-body ol { margin: 0 0 24px; padding-left: 1.4em; }
.article-body ul { list-style: none; padding-left: 0; }
.article-body ul > li { position: relative; padding-left: 26px; }
.article-body ul > li::before { content: '—'; position: absolute; left: 0; }
.article-body li { margin: 0 0 8px; }
.article-body li > p { margin: 0; }
.article-body strong, .article-body b { font-weight: 600; }
.article-body a, .page-body a { text-decoration: underline; text-underline-offset: .14em; text-decoration-thickness: 1px; }
.article-body blockquote {
    margin: 40px 0; padding: 0;
    font-style: italic; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.3;
}
.article-body blockquote p { margin: 0 0 12px; }
.article-body img { margin: 32px 0 8px; }
.article-body figure { margin: 32px 0; }
.article-body figcaption, .wp-caption-text { font-family: var(--ui); font-size: 15px; line-height: 1.45; color: var(--muted); margin-top: 10px; }
.table-wrap { overflow-x: auto; margin: 8px 0 28px; border-top: 2px solid var(--ink); -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; border-collapse: collapse; font-family: var(--ui); font-size: 15px; line-height: 1.45; }
.table-wrap th { padding: 12px 14px 12px 0; text-align: left; vertical-align: bottom; font-weight: 700; min-width: 140px; border-bottom: 1px solid var(--ink); }
.table-wrap td { padding: 12px 14px 12px 0; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap td:first-child { font-weight: 600; }
.author-box { display: flex; gap: 20px; align-items: flex-start; margin-top: 32px; padding: 20px 0; border-top: 1px solid var(--ink); }
.author-mark { flex: none; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.03em; }
.author-box p { margin: 0; font-size: 16px; line-height: 1.45; }
.author-box p span { color: var(--muted); }
.next-step { border-top: 1px solid var(--ink); }
.next-step .grid { padding-top: 64px; padding-bottom: 72px; }
.next-title { grid-column: 1 / 4; margin: 0; font-family: var(--display); font-weight: 600; font-size: 56px; line-height: .95; }
.next-list { grid-column: 4 / 13; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.next-item { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 2px solid var(--ink); }
.next-item:hover { text-decoration: none; }
.next-item:hover .next-name { text-decoration: underline; text-decoration-thickness: 1px; }
.next-why { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.4; }
.next-name { font-family: var(--display); font-weight: 600; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.02; }

/* Pages: privacy, about */
.da-page { padding-bottom: 96px; }
.page-col { grid-column: 3 / 10; min-width: 0; padding-top: 32px; }
.page-title { margin: 8px 0 28px; font-family: var(--display); font-weight: 600; font-size: clamp(44px, 5vw, 72px); line-height: 1; }
.page-body { font-size: 18px; line-height: 1.65; }
.page-body p { margin: 0 0 18px; }
.da-page:not(.about) .page-body h2 { margin: 36px 0 10px; font-family: var(--ui); font-weight: 700; font-size: 22px; line-height: 1.25; }
.about-head { padding-top: 40px; padding-bottom: 56px; }
.about-head-main { display: contents; }
.about-label { grid-column: 1 / -1; margin: 0; font-size: 15px; font-weight: 700; }
.about-title {
    grid-column: 1 / 12; margin: 24px 0 0; font-family: var(--display); font-weight: 600;
    font-size: clamp(48px, 6.4vw, 96px); line-height: .95; letter-spacing: -0.012em;
}
.about-lead { grid-column: 4 / 11; margin: 40px 0 0; font-family: var(--serif); font-size: 24px; line-height: 1.45; }
.about-layout { align-items: start; }
.about-toc { grid-column: 1 / 4; position: sticky; top: var(--anchor); display: flex; flex-direction: column; border-top: 2px solid var(--ink); padding-top: 12px; padding-right: 12px; }
.admin-bar .about-toc { top: calc(var(--anchor) + 32px); }
.about-toc a { display: flex; align-items: center; min-height: 36px; font-size: 15px; line-height: 1.3; color: var(--muted); }
.about-main { grid-column: 4 / 10; min-width: 0; }
.about .page-body h2, .about-topics h2 {
    margin: 48px 0 20px; padding-top: 24px; border-top: 1px solid var(--ink);
    font-family: var(--display); font-weight: 600; font-size: clamp(34px, 3.2vw, 44px); line-height: 1.02;
    scroll-margin-top: var(--anchor);
}
.about .page-body > h2:first-child { margin-top: 0; }
.about-topics p { margin: 0 0 20px; font-family: var(--serif); font-size: 18px; line-height: 1.65; }
.topics-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 24px; }
.topics-grid a { display: flex; flex-direction: column; gap: 6px; padding: 16px 0 20px; border-top: 1px solid var(--line); }
.topic-name { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.05; }
.topic-desc { font-family: var(--serif); font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Footer */
.site-footer { background: var(--panel); border-top: 1px solid var(--ink); }
.footer-grid { padding-top: 56px; padding-bottom: 40px; }
.footer-logo { font-family: var(--display); font-weight: 700; font-size: 40px; line-height: 1; letter-spacing: -0.012em; }
.footer-brand p { margin: 14px 0 0; max-width: 24em; font-family: var(--serif); font-size: 17px; line-height: 1.5; color: var(--muted); }
.footer-bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 40px;
    margin-top: 40px; padding-top: 12px; border-top: 1px solid var(--line-2);
}
.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; }
.footer-note { margin: 0; max-width: 46em; font-size: 15px; line-height: 1.45; color: var(--muted); }

/* 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: #F2F1F5; border: 0; border-radius: 0; box-shadow: none;
    font: 400 15px/1.45 var(--ui);
}
#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 a { color: #F2F1F5; text-decoration: underline; }
#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: 0;
    font: 600 16px var(--ui); cursor: pointer;
}
#clearfy-cookie .clearfy-cookie-accept:hover { background: var(--on-dark); }
@media (min-width: 1200px) {
    /* Bottom-right on desktop, clear of the sticky contents column. */
    #clearfy-cookie.clearfy-cookie { left: auto; right: 16px; max-width: 340px; }
}

/* Narrow desktop */
@media (max-width: 1199px) {
    :root { --gutter: 32px; }
    .article-head-main { grid-column: 1 / -1; }
    .toc-side, .article-main { grid-column: 1 / -1; }
    .article-main { max-width: 760px; }
    .toc-side { position: static; max-height: none; overflow: visible; padding-right: 0; margin-bottom: 32px; max-width: 760px; }
    .toc { border-bottom: 1px solid var(--line); padding-top: 0; }
    .toc summary { min-height: 52px; margin: 0; font-size: 17px; pointer-events: auto; cursor: pointer; }
    .toc-count { display: inline-flex; align-items: center; }
    .toc-sign { display: inline; }
    .toc[open] .toc-sign { transform: rotate(45deg); }
    .toc ol { padding-bottom: 12px; }
    .toc li a { display: flex; align-items: center; min-height: 44px; padding: 6px 0; border-left: 0; color: var(--ink); }
    .toc li a.is-current { font-weight: 500; }
    .toc-more { margin: 0 0 12px; }
    .page-col { grid-column: 1 / 11; }
    .about-toc { display: none; }
    .about-main { grid-column: 1 / 11; }
    .about-lead { grid-column: 1 / 11; }
    .big-grid .big-a { grid-column: 1 / 7; }
    .big-grid .big-b { grid-column: 7 / 13; }
    .big-grid .big-c { grid-column: 7 / 13; }
    .big-grid .big-d { grid-column: 7 / 13; }
    .big-grid .big-a { grid-row: 1 / 4; }
}

/* Tablet: collapsed header, single column */
@media (max-width: 999px) {
    :root { --header-h: 64px; }
    .header-top { padding-top: 0; min-height: 63px; }
    .logo { font-size: 34px; }
    .util-nav, .header-nav { display: none; }
    .menu-toggle { display: block; }
    .grid > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
    .cover-title { font-size: clamp(40px, 7.6vw, 72px); margin-bottom: 28px; }
    .cover-situation { font-size: 24px; }
    .cover-side { margin-top: 32px; }
    .brief-intro { margin-bottom: 24px; }
    .spot-start { margin-top: 48px; }
    .big-grid .tile { gap: 8px; }
    .topics { margin-top: 32px; }
    .cat-head-grid { padding-bottom: 48px; }
    .next-list { margin-top: 28px; }
    .others-list { margin-top: 16px; }
    .page-col, .about-main { max-width: 760px; }
    .block-head .block-note { text-align: left; }
    .sections-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phones */
@media (max-width: 767px) {
    :root { --gutter: 16px; }
    .logo { font-size: 32px; }
    .cover { padding-top: 16px; padding-bottom: 56px; }
    .cover-kicker { font-size: 15px; }
    .cover-title { font-size: clamp(34px, 9.6vw, 48px); line-height: .96; }
    .cover-situation { font-size: 20px; }
    .cover-lead-big { font-size: 21px; }
    .text-card-title { font-size: 28px; }
    .brief .grid { padding-top: 48px; padding-bottom: 48px; }
    .brief-row { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 20px 0; }
    .brief-lead { font-size: 19px; }
    .brief-title { font-size: 24px; }
    .spot .grid { padding-top: 56px; padding-bottom: 56px; }
    .spot-title { font-size: clamp(44px, 13vw, 64px); }
    .spot-desc { font-size: 18px; }
    .spot-rest { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-top: 24px; }
    .big, .sections .shell { padding-top: 56px; padding-bottom: 56px; }
    .big-grid { row-gap: 32px; }
    .big-grid .big-a .tile-title { font-size: 34px; }
    .sections-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .cat-title { font-size: clamp(44px, 14vw, 72px); }
    .cat-title.is-long { font-size: clamp(34px, 9.6vw, 48px); }
    .cat-desc { font-size: 18px; margin-top: 20px; }
    .cat-head-grid { padding-top: 16px; padding-bottom: 40px; }
    .start { padding-top: 48px; }
    .start-grid { grid-template-columns: minmax(0, 1fr); }
    .list { padding-top: 40px; padding-bottom: 56px; }
    .row, .row.has-img { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 22px 0; }
    .row-meta { flex-direction: row; flex-wrap: wrap; gap: 0 12px; order: 2; }
    .row-copy { order: 1; }
    .row-shot { order: 0; max-width: 160px; }
    .row-title { font-size: 27px; }
    .nav-links { gap: 4px; font-size: 16px; }
    .nav-links .page-numbers { min-width: 44px; min-height: 44px; }
    .nav-links .prev, .nav-links .next { flex-basis: 100%; justify-content: center; margin: 0; }
    .nav-links .prev { order: 0; }
    .nav-links .next { order: 2; margin-top: 8px; }
    .others .grid { padding-top: 36px; padding-bottom: 40px; }
    .others-title { font-size: 32px; }
    .others-list a { font-size: 23px; }
    .article-head { padding-top: 12px; padding-bottom: 28px; }
    .article-situation { font-size: 20px; margin-top: 12px; }
    .article-title { font-size: clamp(32px, 9.6vw, 42px); line-height: 1; }
    .article-lead { font-size: 19px; margin-top: 20px; }
    .article-meta { gap: 2px 16px; margin-top: 20px; }
    .article-meta b { flex-basis: 100%; }
    .article-cover { margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
    .article-cover figcaption { padding: 0 var(--gutter); }
    .article-body { font-size: 18px; }
    .article-body h2 { font-size: 34px; margin-top: 48px; }
    .article-body h3 { font-size: 20px; }
    .next-title { font-size: 40px; }
    .next-list { grid-template-columns: minmax(0, 1fr); }
    .next-step .grid { padding-top: 40px; padding-bottom: 48px; }
    .page-title { font-size: clamp(34px, 10vw, 44px); }
    .page-body { font-size: 17px; }
    .about-title { font-size: clamp(38px, 11vw, 52px); }
    .about-lead { font-size: 19px; margin-top: 24px; }
    .topics-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { padding-top: 36px; padding-bottom: 32px; }
    .footer-logo { font-size: 34px; }
    .footer-brand p { font-size: 16px; }
    .footer-bottom { margin-top: 24px; flex-direction: column; align-items: flex-start; }
    .footer-nav { flex-direction: column; }
    .footer-note { font-size: 14px; }
    .search-form { flex-direction: column; }
    #clearfy-cookie.clearfy-cookie { left: 8px; right: 8px; bottom: 8px; font-size: 14px; }
    #clearfy-cookie .clearfy-cookie-container { flex-wrap: nowrap; padding: 10px 12px; gap: 12px; }
}
