:root {
  --ink: #111111;
  --paper: #ffffff;
  --yellow: #f7fb4b;
  --soft: #f4f4f2;
  --muted: #515151;
  --line: #deded9;
  --head: 'Oswald', 'Arial Narrow', sans-serif;
  --text: 'Inter Tight', Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --max: 1184px;
  --radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.5 var(--text); }
p, figure, h1, h2 { margin: 0; }
a { color: inherit; }
img { display: block; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[id] { scroll-margin-top: 20px; }
.shell { width: min(calc(100% - var(--gutter) * 2), var(--max)); margin-inline: auto; }
.skip { position: absolute; z-index: 3; left: 12px; top: 10px; padding: 10px 14px; background: var(--yellow); transform: translateY(-180%); }
.skip:focus { transform: none; }

/* Верхняя полоса */
.mast, .foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mast { min-height: 66px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 9px; align-items: center; min-height: 44px; font-size: 22px; font-weight: 700; text-decoration: none; letter-spacing: -.035em; white-space: nowrap; }
.mast nav { display: none; }
.mast-link, .foot-up { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: .96rem; text-decoration: none; white-space: nowrap; }
.mast-link:hover, .foot-up:hover, .mast nav a:hover { text-decoration: underline; text-underline-offset: .26em; }
.mast-link span, .foot-up span { font: 700 1rem/1 Arial, sans-serif; }

/* Обложка */
.hero { display: grid; align-items: center; gap: 35px; padding-block: clamp(40px, 7vw, 100px) clamp(47px, 8vw, 107px); }
.eyebrow, .section-label, .note-label, .speaker, .questions li > span { font-size: .75rem; line-height: 1.35; font-weight: 700; letter-spacing: .095em; text-transform: uppercase; }
.eyebrow { color: var(--muted); }
.dot { width: 10px; height: 10px; display: inline-block; border: 1px solid var(--ink); background: var(--yellow); border-radius: 100%; margin-right: 7px; }
h1, h2, .note-title, .day { font-family: var(--head); font-weight: 650; text-transform: uppercase; }
h1 { margin-top: 19px; font-size: clamp(28px, 9.4vw, 76px); line-height: 1.04; letter-spacing: -.04em; }
h2 { font-size: clamp(34px, 8.3vw, 72px); line-height: 1.08; letter-spacing: -.027em; }
.highlight { background: linear-gradient(transparent 21%, var(--yellow) 21%, var(--yellow) 92%, transparent 92%); box-decoration-break: clone; -webkit-box-decoration-break: clone; padding-inline: .055em; margin-left: -.055em; }
.lead { margin: 21px 0 23px; max-width: 29rem; font-size: clamp(18px, 2.2vw, 24px); line-height: 1.4; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 26px; min-height: 53px; max-width: 100%; border: 1px solid var(--ink); border-radius: 7px; padding: 10px 17px; font-size: 1rem; line-height: 1.3; font-weight: 700; text-decoration: none; }
.button span { font: 700 1.13rem/1 Arial, sans-serif; }
.button-dark { background: var(--ink); color: var(--yellow); }
.button-dark:hover { background: var(--yellow); color: var(--ink); }
.button-dark:focus-visible { outline-color: var(--ink); }
.hero-notes { display: grid; gap: 11px; }
.note { border: 1px solid transparent; border-radius: var(--radius); padding: 14px 19px 17px; }
.note-dark { background: var(--ink); color: var(--paper); }
.note-dark .note-label, .note-dark .note-title { color: var(--yellow); }
.note-yellow { background: var(--yellow); color: var(--ink); }
.note-label { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.note-label svg { width: 29px; height: 29px; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; flex-shrink: 0; }
.point { stroke-linecap: round; stroke-width: 2.4; }
.note-title { font-size: clamp(26px, 4vw, 43px); line-height: 1.1; letter-spacing: -.018em; margin-block: 4px 5px; }
.note p:last-child { font-size: clamp(16px, 1.4vw, 18px); }

/* Три раздела */
.block { border-top: 1px solid var(--line); padding-block: clamp(44px, 7vw, 85px); }
.section-label { display: flex; align-items: center; gap: 12px; margin-bottom: 21px; }
.section-label span { display: inline-grid; place-items: center; width: 32px; height: 25px; border: 1px solid var(--ink); border-radius: 3px; letter-spacing: .02em; }
.intro { font-size: clamp(17px, 2vw, 22px); line-height: 1.48; max-width: 38rem; margin-top: 16px; }
.accent-period { display: inline-block; background: var(--yellow); padding-inline: .08em; margin-left: .09em; line-height: .78; }
.questions, .week { list-style: none; margin: 27px 0 0; padding: 0; display: grid; gap: 8px; }
.questions li, .week li { min-width: 0; padding: 15px 17px; border-radius: 8px; background: var(--soft); }
.questions li > span { display: block; color: var(--muted); margin: 0 0 5px; }
.questions li p { font-size: clamp(18px, 2.1vw, 23px); font-weight: 650; }
.split { display: grid; align-items: center; gap: 29px; }
.split .intro { max-width: 30rem; }
.dialogue { min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.dialogue-head { min-height: 58px; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-weight: 700; }
.dialogue-body { display: grid; gap: 11px; padding: clamp(14px, 3vw, 23px); }
.bubble { padding: 11px 15px; border-radius: 10px; width: fit-content; max-width: min(94%, 24rem); font-size: 1.0625rem; line-height: 1.38; }
.bubble .speaker { margin-bottom: 5px; }
.incoming { background: var(--paper); border-bottom-left-radius: 2px; }
.incoming .speaker { color: var(--muted); }
.outgoing { margin-left: auto; background: var(--yellow); border-bottom-right-radius: 2px; }
.week-label { margin-top: 26px; }
.week { margin-top: 10px; }
.week li { padding: 15px 17px 17px; }
.week li:first-child { background: var(--ink); color: var(--paper); }
.week li:first-child .day { color: var(--yellow); }
.week li:nth-child(2) { background: var(--yellow); }
.day { font-size: clamp(25px, 3vw, 35px); line-height: 1.1; }
.week p { font-size: 1.03rem; margin-top: 5px; }

/* Финал */
.closing { background: var(--yellow); }
.closing-inner { padding-block: clamp(42px, 7vw, 90px); }
.closing h2 { font-size: clamp(38px, 10vw, 92px); }
.closing .intro { margin-bottom: 23px; max-width: 33rem; }
.foot { padding-block: 14px; flex-wrap: wrap; column-gap: 16px; row-gap: 0; }
.foot .brand { font-size: 18px; }
.foot p { order: 3; width: 100%; font-size: .9rem; color: var(--muted); }

@media (min-width: 620px) {
  .mast nav { display: flex; gap: clamp(18px, 4vw, 48px); }
  .mast nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-size: .95rem; font-weight: 650; }
  .hero-notes, .questions, .week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .questions, .week { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .questions li, .week li { padding: 21px 18px; }
  .foot p { order: 0; width: auto; }
}
@media (min-width: 850px) {
  .mast { min-height: 79px; }
  .hero { grid-template-columns: minmax(0, 1.58fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 62px); }
  h1 { font-size: clamp(42px, 5.15vw, 75px); }
  .hero-notes { grid-template-columns: minmax(0, 1fr); }
  .note { padding: 17px 24px 23px; }
  .note-title { margin-block: 8px 7px; }
  .split { grid-template-columns: minmax(0, 1.27fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 62px); }
  .split h2 { font-size: clamp(44px, 5.2vw, 72px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
