/* Layout: violet bookends — manifesto hero and contact on a deep violet band, light lavender canvas between. */
:root {
  --bg: #fbfaff;
  --surface: #ffffff;
  --tint: #f1edfd;
  --logo-tile: #f1edfd;
  --text: #1a1426;
  --muted: #625a73;
  --line: rgba(76, 52, 145, 0.14);
  --accent: #6d3df5;
  --accent-hover: #5a2be0;
  --accent-text: #6d3df5;
  --on-accent: #ffffff;
  --band: #1d0f3d;
  --band-text: #ffffff;
  --band-muted: #c9bdf0;
  --band-accent-text: #c4b5fd;
  --band-btn: #7c4dff;
  --band-btn-hover: #6a3aff;
  --band-field: rgba(255, 255, 255, 0.08);
  --band-line: rgba(255, 255, 255, 0.45);
  --band-error: #ffb3c1;
  --risk-low: #16a34a; --risk-mid: #d97706; --risk-high: #dc2626;
  --font: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-h1: clamp(30px, 6.2vw, 72px);
  --fs-row: clamp(28px, 4.4vw, 60px);
  --fs-h2: clamp(28px, 3.2vw, 40px);
  --fs-lead: 20px;
  --fs-body: 18px;
  --fs-small: 14px;
  --radius: 14px;
  --radius-lg: 20px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0e0a18; --surface: #171125; --tint: #221a35; --logo-tile: #d4cceb;
    --text: #efeaff; --muted: #a59cbd; --line: rgba(239, 234, 255, 0.12);
    --accent: #7c4dff; --accent-hover: #6634ee; --accent-text: #b9a3ff; --on-accent: #ffffff;
    --band: #2b1b63; --band-text: #ffffff; --band-muted: #c9bdf0; --band-accent-text: #c4b5fd;
    --band-btn: #7c4dff; --band-btn-hover: #6634ee; --band-field: rgba(255, 255, 255, 0.08); --band-line: rgba(255, 255, 255, 0.45);
    --risk-low: #4ade80; --risk-mid: #fbbf24; --risk-high: #f87171;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0e0a18; --surface: #171125; --tint: #221a35; --logo-tile: #d4cceb;
  --text: #efeaff; --muted: #a59cbd; --line: rgba(239, 234, 255, 0.12);
  --accent: #7c4dff; --accent-hover: #6634ee; --accent-text: #b9a3ff; --on-accent: #ffffff;
  --band: #2b1b63; --band-text: #ffffff; --band-muted: #c9bdf0; --band-accent-text: #c4b5fd;
  --band-btn: #7c4dff; --band-btn-hover: #6634ee; --band-field: rgba(255, 255, 255, 0.08); --band-line: rgba(255, 255, 255, 0.45);
  --risk-low: #4ade80; --risk-mid: #fbbf24; --risk-high: #f87171;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: var(--fs-body); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, p, ol { margin: 0; }
h1, h2 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 24px; }
.muted { color: var(--muted); }

.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); transition: background-color .2s; }
.top.is-scrolled { background: var(--surface); }
.top__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { font-weight: 600; letter-spacing: 0.02em; text-decoration: none; }
.top__actions { display: flex; align-items: center; gap: 16px; }
.top__link { font-size: var(--fs-small); color: var(--muted); text-decoration: none; }
.top__link:hover { color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: 999px; background: var(--accent); color: var(--on-accent); text-decoration: none; font: inherit; font-size: 16px; font-weight: 600; border: 0; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--accent-hover); }
.btn--sm { height: 40px; padding: 0 18px; font-size: var(--fs-small); }
.btn:focus-visible, .brand:focus-visible, .tab:focus-visible, .top__link:focus-visible, .field:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }

.section { padding-block: 120px; }
.hero { padding-block: 120px 112px; }
.hero__title { font-size: var(--fs-h1); }
.hero__line { display: block; white-space: nowrap; }
.swap { color: var(--accent-text); }
.hero__text { margin-top: 32px; max-width: 560px; font-size: var(--fs-lead); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

.row:first-child { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 48px; padding-block: 50px; border-bottom: 1px solid var(--line); align-items: center; }
.row__title { font-size: var(--fs-row); }
.row__text { font-size: var(--fs-lead); color: var(--text); max-width: 560px; }

.how__title, .clients__title, .contact__title { font-size: var(--fs-h2); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--tint); margin-top: 32px; }
.tab { height: 40px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; font: inherit; font-size: var(--fs-small); font-weight: 600; color: var(--muted); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--surface); color: var(--text); }
.how__panel { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.frame { width: 100%; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--tint); }
.frame video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.how__steps { list-style: none; padding: 0; display: grid; gap: 28px; counter-reset: s; }
.how__steps li { counter-increment: s; color: var(--text); display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; }
.how__steps li::before { content: counter(s); font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }

.logos { list-style: none; padding: 0; margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.logos li { display: flex; align-items: center; justify-content: center; min-height: 160px; border-radius: var(--radius-lg); background: var(--logo-tile); }
.logos img { height: 64px; width: auto; max-width: 80%; }

.contact { display: grid; gap: 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.contact__text { margin-top: 16px; max-width: 440px; }
.contact__try { margin-top: 24px; }
.form { display: grid; gap: 12px; width: 100%; max-width: 480px; }
.field { width: 100%; height: 52px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 16px; }
.field::placeholder { color: var(--muted); }
.form .btn { height: 52px; width: 100%; }
.status { font-size: var(--fs-small); color: var(--muted); }
.status a { color: var(--accent-text); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


.band { background: var(--band); color: var(--band-text); }
.band .muted { color: var(--band-muted); }
.band .swap { color: var(--band-accent-text); }
.band .btn { background: var(--band-btn); color: #ffffff; }
.band .btn:hover { background: var(--band-btn-hover); }
.band .btn--ghost { background: transparent; color: var(--band-text); box-shadow: inset 0 0 0 1.5px var(--band-line); }
.band .btn--ghost:hover { background: var(--band-field); }
.band .btn:focus-visible, .band .field:focus-visible { outline-color: var(--band-accent-text); }
.band .field { background: var(--band-field); border-color: var(--band-line); color: var(--band-text); }
.band .field::placeholder { color: var(--band-muted); }
.band .status { color: var(--band-muted); }
.band .status a { color: var(--band-accent-text); }
.contact-band { margin-top: 0; }
.how__steps li::before { color: var(--accent-text); }
.tab[aria-selected="true"] { color: var(--accent-text); }

.cta-short { display: none; }
.how__steps--from-zero { counter-reset: s -1; }
.theme-switch { position: relative; display: inline-flex; align-items: center; justify-content: space-between; width: 72px; height: 36px; padding: 0 9px; border-radius: 999px; border: 0; background: var(--tint); color: var(--muted); cursor: pointer; flex: 0 0 auto; }
.theme-switch svg { position: relative; z-index: 1; width: 16px; height: 16px; transition: color .2s; }
.theme-switch__knob { position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 999px; background: var(--surface); transition: transform .2s ease; }
.theme-switch[aria-checked="true"] .theme-switch__knob { transform: translateX(36px); }
.theme-switch[aria-checked="false"] .theme-switch__sun, .theme-switch[aria-checked="true"] .theme-switch__moon { color: var(--accent-text); }
.theme-switch:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }

.btn { transition: background-color .15s ease, transform .12s ease; }
.btn:active { transform: scale(0.97); }
.tab { transition: color .15s ease, background-color .15s ease; }
.tab:not([aria-selected="true"]):hover { color: var(--text); }
.tab:active { transform: scale(0.97); }
.top__link { transition: color .15s ease; }
.theme-switch:active .theme-switch__knob { width: 32px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--reveal-delay, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

::selection { background: var(--accent); color: #ffffff; }
input, textarea { caret-color: var(--accent); }
.field-group { display: grid; gap: 6px; }
.field-label { font-size: var(--fs-small); font-weight: 600; }
.band .field-label { color: var(--band-text); }
.field[aria-invalid="true"] { border-color: var(--band-error); }
.field-error { font-size: var(--fs-small); color: var(--band-error); }
.consent { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; font-size: var(--fs-small); color: var(--band-muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--band-btn); cursor: pointer; }
.consent a, .foot a { text-underline-offset: 3px; }
.consent a { color: var(--band-accent-text); }
.foot__row { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }
.frame { position: relative; }
.frame__toggle { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border: 0; border-radius: 999px; background: var(--band); color: #ffffff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.frame__toggle svg { width: 16px; height: 16px; }
.frame__toggle:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }
.step { display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: color .15s ease; }
.step:hover { color: var(--accent-text); }
.step:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; border-radius: 4px; }
.how__steps li.is-active .step { color: var(--accent-text); }
@media (max-width: 640px) {
  .frame { width: calc(100% + 32px); max-width: none; margin-inline: -16px; border-radius: 0; }
}

/* DEEPMATCH-1092 additions (V3, V10, V11) */
.btn:disabled { opacity: .6; cursor: not-allowed; }
.band .status[data-state="success"] { color: var(--band-text); }
.band .status[data-state="error"] { color: var(--band-error); }
.anchor-alias { display: block; height: 0; scroll-margin-top: 120px; }
@media (max-width: 640px) { .anchor-alias { scroll-margin-top: 72px; } }
/* Keep the approved 40/36 px look; extend the pointer target to 44 px with an invisible area. */
.btn--sm, .tab, .theme-switch { position: relative; }
.btn--sm::after, .tab::after, .frame__toggle::after { content: ""; position: absolute; inset: -2px; }
.theme-switch::after { content: ""; position: absolute; inset: -4px 0; }

.foot { padding-block: 40px; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--muted); }

@media (max-width: 860px) {
  .row { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 32px; }
  .how__panel { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .logos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 32px; }
  .logos li { min-height: 88px; }
  .logos img { height: 28px; max-width: 84%; }
  .contact { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
  .wrap { padding-inline: 16px; }
  .section { padding-block: 72px; }
  .hero { padding-block: 64px; }
  .cta-full { display: none; }
  .cta-short { display: inline; }
}
/* DEPLOI-1269: третья текстовая ссылка в шапке — прячем ссылки уже от 768px, иначе шапка теснится на ~641–760px */
@media (max-width: 768px) { .top__link { display: none; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* Подстраницы (/ii-rekruter/ и следующие): блоки на токенах «Манифеста» */
.eyebrow { font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); }
.band .eyebrow { color: var(--band-accent-text); }
.h2 { font-size: var(--fs-h2); }
.section__lead { margin-top: 16px; max-width: 680px; color: var(--muted); }
.split-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; }
.split-hero h1 { margin-top: 20px; font-size: clamp(30px, 4.6vw, 56px); }
.split-hero .hero__text { margin-top: 24px; }
.report { margin: 0; background: var(--surface); color: var(--text); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 20px; }
.report__head { display: flex; justify-content: space-between; gap: 4px 12px; align-items: baseline; flex-wrap: wrap; }
.report__role { font-weight: 600; }
.report__tag { font-size: var(--fs-small); color: var(--muted); }
.skills { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.report__scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.score { padding: 16px; border-radius: var(--radius); background: var(--tint); display: grid; gap: 4px; }
.score__label { font-size: var(--fs-small); color: var(--muted); }
.score__value { font-size: 28px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.score__scale { font-size: var(--fs-small); color: var(--muted); font-variant-numeric: tabular-nums; }
.skills__title { font-size: var(--fs-small); font-weight: 600; }
.skill { display: flex; justify-content: space-between; gap: 12px; padding-block: 2px; font-size: var(--fs-small); }
.skill__level { font-weight: 600; color: var(--muted); }
.skill__level--strong { color: var(--accent-text); }
.report__foot { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.chip { display: inline-flex; align-items: center; min-height: 28px; padding: 2px 12px; border-radius: 999px; background: var(--tint); font-size: var(--fs-small); font-weight: 600; }
.chip--accent { color: var(--accent-text); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
.tile { padding: 32px; border-radius: var(--radius-lg); background: var(--tint); display: grid; gap: 12px; align-content: start; }
.tile h3 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.tile p { color: var(--muted); }
.flow { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; counter-reset: f; }
.flow li { counter-increment: f; display: grid; gap: 12px; align-content: start; padding-top: 20px; border-top: 2px solid var(--line); font-size: 16px; }
.flow li::before { content: counter(f); font-weight: 600; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.section--flush-top { padding-top: 0; }
@media (max-width: 860px) {
  .split-hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 640px) {
  .report, .tile { padding: 20px; }
}
.stack-sm { display: grid; gap: 10px; }

/* Статьи (/kak-provodit-sobesedovanie/ и следующие): вариант V2 «Оглавление» */
.art-hero { padding-block: 96px 80px; }
.art-hero h1 { margin-top: 20px; font-size: clamp(30px, 4.6vw, 56px); max-width: 900px; }
.art-hero .hero__text { margin-top: 24px; max-width: 680px; }
.art-meta { margin-top: 24px; font-size: var(--fs-small); color: var(--band-muted); font-variant-numeric: tabular-nums; }
.art { padding-block: 72px 120px; display: grid; grid-template-columns: 240px minmax(0, 720px); gap: 64px; justify-content: center; }
.art-sec { padding-block: 40px; scroll-margin-top: 56px; }
.art-sec h2 { font-size: clamp(26px, 2.8vw, 34px); }
.art-sec h3 { margin: 28px 0 0; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.art-sec__body { margin-top: 20px; }
.art-sec__body > * + * { margin-top: 16px; }
.art-sec__body h3 + p { margin-top: 8px; }
.art-sec ul { margin-bottom: 0; padding-left: 22px; display: grid; gap: 10px; }
.art-sec ul li::marker { color: var(--accent-text); }
.art-sec a { color: var(--accent-text); text-underline-offset: 3px; }
.timeline { list-style: none; padding: 0; display: grid; border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.timeline__time { font-weight: 600; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.checklist { list-style: none; padding: 0; display: grid; gap: 10px; counter-reset: c; }
.checklist li { counter-increment: c; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.checklist li::before { content: counter(c); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--tint); color: var(--accent-text); font-size: var(--fs-small); font-weight: 600; }
.cta-card { margin-block: 24px; padding: 32px; border-radius: var(--radius-lg); background: var(--band); color: var(--band-text); display: grid; gap: 12px; justify-items: start; }
.cta-card h2 { font-size: 26px; }
.cta-card p { color: var(--band-muted); max-width: 560px; }
.cta-card .btn { margin-top: 8px; background: var(--band-btn); color: #ffffff; }
.cta-card .btn:hover { background: var(--band-btn-hover); }
.cta-card .btn:focus-visible { outline-color: var(--band-accent-text); }
.faq { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.art-sec__body.faq > * + * { margin-top: 0; }
.faq summary { cursor: pointer; padding-block: 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-text); }
.faq details[open] summary::after { content: "−"; }
.faq summary:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
.faq details p { padding-bottom: 18px; color: var(--muted); }
.toc-side { position: sticky; top: 96px; align-self: start; padding-top: 40px; font-size: var(--fs-small); }
.toc-side p { font-weight: 600; margin-bottom: 12px; }
.toc-side ol { list-style: none; margin: 0; padding: 0; display: grid; border-left: 2px solid var(--line); }
.toc-side a { display: flex; align-items: center; min-height: 44px; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; }
.toc-side a:hover { color: var(--accent-text); border-left-color: var(--accent-text); }
.toc-side a:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 2px; }
@media (max-width: 860px) {
  .art { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .toc-side { position: static; padding-top: 0; }
}
@media (max-width: 640px) {
  .art-hero { padding-block: 56px 48px; }
  .art { padding-block: 40px 72px; }
  .timeline li { grid-template-columns: 64px minmax(0, 1fr); }
  .cta-card { padding: 24px; }
}
.table-scroll { overflow-x: auto; }
.art-table { width: 100%; min-width: 600px; border-collapse: collapse; font-size: 16px; }
.art-table th, .art-table td { text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); }
.art-table thead th { font-size: var(--fs-small); font-weight: 600; color: var(--muted); }
.art-table tbody th { font-weight: 600; }
.art-table td { color: var(--muted); }

/* DEPLOI-1271: primary signup CTA stays visible on narrow phones. */
@media (max-width: 400px) {
  .top__actions { gap: 8px; }
  .top .btn--sm { padding: 0 14px; }
  .theme-switch { width: 64px; padding: 0 7px; }
  .theme-switch[aria-checked="true"] .theme-switch__knob { transform: translateX(28px); }
}
@media (max-width: 340px) { .theme-switch { display: none; } }

/* Раздел статей (/articles/ и блок статей на главной) */
.card-grid { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { display: grid; gap: 12px; align-content: start; height: 100%; padding: 32px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); text-decoration: none; transition: border-color .15s ease; }
.card:hover { border-color: var(--accent-text); }
.card__meta { font-size: var(--fs-small); color: var(--muted); font-variant-numeric: tabular-nums; }
h2.card__title, h3.card__title { font-size: 22px; line-height: 1.25; }
.card__text { font-size: 16px; color: var(--muted); }
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index li { border-bottom: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: 150px minmax(0, 1fr) 110px; gap: 32px; align-items: baseline; padding-block: 36px; text-decoration: none; }
.index time, .index__len { font-size: var(--fs-small); color: var(--muted); font-variant-numeric: tabular-nums; }
.index__len { text-align: right; white-space: nowrap; }
.index h2 { margin: 0; font-size: 26px; line-height: 1.2; max-width: 680px; }
.index p { margin-top: 10px; font-size: 16px; color: var(--muted); max-width: 680px; }
.index a:hover h2 { color: var(--accent-text); }
.index-label { margin: 72px 0 0; font-size: var(--fs-small); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-text); }
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; text-decoration: none; }
.feature__meta { font-size: var(--fs-small); color: var(--muted); font-variant-numeric: tabular-nums; }
h2.feature__title { margin-top: 16px; font-size: 40px; line-height: 1.1; max-width: 520px; }
.feature__text { margin-top: 16px; font-size: 18px; color: var(--muted); max-width: 520px; }
.feature__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; font-weight: 600; color: var(--accent-text); }
.feature__fig svg { display: block; width: 100%; height: auto; }
.more-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 40px; font-weight: 600; color: var(--accent-text); text-decoration: none; }
.art-fig .art-fig__narrow { display: none; }
.feature__fig .art-fig__narrow { display: none; }
.art-lead p + p { margin-top: 16px; }
.art-sec figure { margin: 32px 0 4px; }
.art-fig svg { display: block; width: 100%; height: auto; }
.art-fig figcaption { margin-top: 14px; font-size: 16px; color: var(--muted); }
.art-fig figcaption b { font-weight: 600; color: var(--text); }
.art-fig__note { margin-top: 6px; font-size: var(--fs-small); color: var(--muted); }
.art-author { color: var(--band-text); }
@media (max-width: 860px) {
  .card-grid { grid-template-columns: minmax(0, 1fr); }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 640px) {
  .card { padding: 24px; }
  h2.feature__title { font-size: 30px; }
  .index-label { margin-top: 48px; }
  .index a { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-block: 24px; }
  .index__len { text-align: left; }
}
@media (max-width: 560px) { .art-fig .art-fig__wide { display: none; } .art-fig .art-fig__narrow { display: block; } .feature__fig .art-fig__wide { display: none; } .feature__fig .art-fig__narrow { display: block; } }
