/* Уроки для тестировщиков (/start, /start/partners) — макет CD «Cottel -
   первый день», заход 2, и «Cottel - урок 2 партнёры» (23.10.2026).
   Только светлая тема: плашки повторяют экраны приложения в светлой теме.
   Шрифт — системный (на Android это Roboto): внешних шрифтов сайт не
   грузит. Значки — /start/icons.svg (Material Symbols). */
:root {
  color-scheme: light;
  --accent: #4A3E94;
  --accent-dark: #1D1650;
  --accent-soft: #f5f5f5;
  --accent-pale: #ececec;
  --accent-faint: #d7d7d7;
  --on-dark-muted: #e4e4e4;
  --text: #1C1B1F;
  --muted: #606060;
  --rule: #ededed;
  --page: #FFFFFF;
  /* Плашки — цвета экранов приложения. */
  --plate-bg: #EDEEF2;
  --card: #FCFCFD;
  --card-text: #16181C;
  --card-muted: #4C4F55;
  --card-faint: #7C7F85;
  --card-rule: #DFE2E9;
  --card-line: #C9CBD0;
  --avatar: #DFE2E9;
  --tooltip: #2A2D33;
  --select: #BFD7FF;
  --status-actual: #29B6F6;
  --status-done: #43A047;
  --status-closed: #7C7F85;
  --font: Roboto, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Roboto Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--text); font: 400 16px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
b.ui { font-weight: 500; color: var(--accent); }
.mono { font: 500 15px/1 var(--mono); white-space: nowrap; }

/* Шапка */
.hero { background: var(--accent); color: #FFFFFF; padding: 20px 20px 32px; display: flex; flex-direction: column; gap: 28px; }
.hero-top { display: flex; align-items: center; gap: 10px; }
.logo { display: flex; align-items: center; gap: 10px; color: #FFFFFF; text-decoration: none; font: 700 18px/1 var(--font); }
.logo svg { width: 28px; height: 28px; display: block; }
.hero-tag { margin-left: auto; font: 500 13px/1 var(--mono); color: var(--accent-faint); }
.hero-back { font: 500 14px/1 var(--font); color: var(--accent-faint); text-decoration: none; }
.hero-title { display: flex; flex-direction: column; gap: 14px; }
.hero h1 { margin: 0; font: 700 34px/1.12 var(--font); letter-spacing: -.015em; }
.hero p { margin: 0; font: 400 17px/1.5 var(--font); color: var(--accent-pale); text-wrap: pretty; }
.hero-tag-big { display: none; }

/* Шаги */
.steps { padding: 8px 20px 0; }
.step { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.step:last-child { border-bottom: 0; }
.num { font: 900 30px/1 var(--font); color: var(--accent); }
.body { display: flex; flex-direction: column; gap: 12px; }
.body h2 { margin: 0; font: 700 21px/1.25 var(--font); }
.body p { margin: 0; text-wrap: pretty; }
.body .note { color: var(--muted); }
.body .key { padding: 14px 16px; background: var(--accent-soft); border-radius: 10px; }
.body .key b { font-weight: 700; }
.step .plate { grid-column: 1 / -1; margin-top: 18px; }
.ways { display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.ways div { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.ways b { font-weight: 700; }
.ways span { color: var(--muted); }

/* Низ */
.help { margin: 0 20px; padding: 20px; background: var(--accent-dark); color: #FFFFFF; border-radius: 14px; display: flex; flex-direction: column; gap: 8px; }
.help b { font-weight: 700; font-size: 18px; }
.help span { color: var(--on-dark-muted); text-wrap: pretty; }
.help a { color: #FFFFFF; }
.foot { padding: 28px 20px 36px; display: flex; flex-direction: column; gap: 14px; font: 400 15px/1.3 var(--font); }
.next { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 14px; background: var(--accent); color: #FFFFFF; text-decoration: none; }
.next span.t { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.next small { font: 500 14px/1.2 var(--font); color: var(--accent-faint); }
.next strong { font: 700 22px/1.2 var(--font); }
.next .go { width: 48px; height: 48px; border-radius: 24px; background: #FFFFFF; color: var(--accent); display: flex; align-items: center; justify-content: center; flex: none; }
.links { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: center; padding-top: 4px; }
.links a { color: var(--muted); }

/* Плашки: кусок экрана приложения на сером поле */
.plate { padding: 12px; border-radius: 18px; background: var(--plate-bg); color: var(--card-text); font: 400 16px/24px var(--font); }
.plate .stack { display: flex; flex-direction: column; gap: 10px; }
.card { background: var(--card); border-radius: 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); overflow: hidden; }
.card.round { border-radius: 16px; background: #FFFFFF; }
.ic { width: 24px; height: 24px; flex: none; fill: var(--card-muted); }
.ic.s18 { width: 18px; height: 18px; }
.ic.s20 { width: 20px; height: 20px; }
.ic.s22 { width: 22px; height: 22px; }
.ic.accent { fill: var(--accent); }
.ic.faint { fill: var(--card-faint); }
.row { display: flex; align-items: center; gap: 16px; padding: 12px 16px; }
.row.tight { padding: 10px 16px; }
.row .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cap { font-size: 12px; line-height: 16px; color: var(--card-muted); }
.sub { font-size: 14px; line-height: 20px; color: var(--card-muted); }
.sub.faint { color: var(--card-faint); }
.hr { height: 1px; background: var(--card-line); }
.hr.in { margin: 0 16px; }
.split { border-top: 1px solid var(--card-rule); }
.pill { height: 32px; padding: 0 14px; border-radius: 16px; background: var(--accent); color: #FFFFFF; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; flex: none; white-space: nowrap; }
.pill.h36 { height: 36px; border-radius: 18px; }
.pill.h40 { height: 40px; border-radius: 20px; padding: 0 20px; }
.pill i { width: 1px; align-self: stretch; margin: 9px 0; background: rgba(255, 255, 255, .4); }
.text { margin: 0; padding: 12px 16px 16px; letter-spacing: .5px; }
.hl { background: var(--accent-pale); border-radius: 4px; padding: 0 3px; }
.sel { background: var(--select); padding: 1px 0; }
.masked { font: 500 15px/24px var(--mono); color: var(--card-muted); }
.toolbar { align-self: flex-start; margin-left: 24px; max-width: 100%; display: flex; border-radius: 10px; background: var(--tooltip); color: #FFFFFF; font-size: 14px; font-weight: 500; overflow: hidden; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.toolbar span { padding: 9px 12px; white-space: nowrap; }
.toolbar i { width: 1px; background: var(--card-muted); }
.hidden-row { display: flex; align-items: center; gap: 8px; height: 24px; color: var(--card-faint); font-size: 14px; letter-spacing: .25px; }
.hidden-row .ic { fill: var(--card-faint); }
.head { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; font-size: 14px; font-weight: 500; }
.avatar { width: 36px; height: 36px; border-radius: 18px; background: var(--avatar); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 500; flex: none; }
.avatar.big { width: 40px; height: 40px; border-radius: 20px; font-size: 16px; }
.person { display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; }
.person .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.person .name { font-size: 16px; line-height: 22px; }
.dot { width: 8px; height: 8px; border-radius: 4px; display: inline-block; flex: none; }
.dot.big { width: 10px; height: 10px; border-radius: 5px; }
.status { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--card-muted); }
.feed-head { display: flex; align-items: center; gap: 8px; padding: 12px 12px 10px; }
.feed-body { padding: 10px 12px 8px; border-top: 1px solid #ECEEF2; display: flex; flex-direction: column; gap: 4px; letter-spacing: .5px; }
.feed-foot { display: flex; justify-content: flex-end; padding: 4px 12px 12px; }
.flow { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 14px; font-weight: 500; }
.flow span { display: flex; align-items: center; gap: 6px; }
.sum { display: flex; justify-content: space-between; padding: 8px 16px; }
.day-head { padding: 12px 16px 6px; font-size: 14px; font-weight: 500; color: var(--card-muted); }
.order { display: flex; gap: 12px; padding: 8px 16px 12px; align-items: center; }
.order .t { font-size: 14px; font-weight: 600; width: 44px; flex: none; }
.order .d { flex: 1; font-size: 15px; line-height: 21px; }
.partner { display: flex; align-items: center; gap: 8px; padding: 10px 16px 4px; font-size: 13px; font-weight: 500; color: var(--accent); }
.partner .ic { fill: var(--accent); }
.partner .free { margin-left: auto; font-weight: 400; color: var(--card-faint); }
.switch { width: 52px; height: 32px; border-radius: 16px; background: var(--accent); position: relative; flex: none; }
.switch::after { content: ""; position: absolute; right: 4px; top: 4px; width: 24px; height: 24px; border-radius: 12px; background: #FFFFFF; }
.answered { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; background: var(--accent-soft); border-top: 1px solid var(--accent-pale); font-size: 14px; font-weight: 500; }
.answered .grow { flex: 1; }
.link-btn { font-size: 14px; font-weight: 500; color: var(--accent); }
.sheet-title { padding: 16px 16px 8px; font-size: 16px; font-weight: 500; }
.chip { padding: 1px 6px; border-radius: 4px; background: var(--accent-pale); color: var(--accent); font-weight: 500; }
.sent { margin: 0 12px 12px; border: 1px solid var(--card-rule); border-radius: 12px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.sent .round-ic { width: 40px; height: 40px; border-radius: 20px; background: var(--plate-bg); display: flex; align-items: center; justify-content: center; flex: none; }
.field { margin: 4px 16px 0; height: 56px; border: 2px solid var(--accent); border-radius: 4px; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; position: relative; }
.field small { position: absolute; top: -9px; left: 8px; padding: 0 4px; background: var(--card); font-size: 12px; line-height: 16px; color: var(--accent); }
.field-help { margin: 4px 16px 0; font-size: 12px; line-height: 16px; color: var(--card-muted); }
.sheet-foot { display: flex; justify-content: flex-end; padding: 12px 16px 16px; }

/* Компьютер: шапка в две колонки, плашка справа от текста шага */
@media (min-width: 960px) {
  .hero { padding: 40px 80px 64px; gap: 48px; }
  .logo { font-size: 20px; gap: 12px; }
  .logo svg { width: 32px; height: 32px; }
  .hero-tag { display: none; }
  .hero-tag-big { display: block; font: 500 15px/1 var(--mono); color: var(--accent-faint); }
  .hero-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; }
  .hero h1 { font-size: 64px; line-height: 1.02; letter-spacing: -.025em; }
  .hero p { font-size: 20px; line-height: 1.55; }
  .steps { padding: 16px 80px 0; font-size: 17px; line-height: 1.6; }
  .step { grid-template-columns: 72px minmax(0, 1fr) 380px; column-gap: 56px; align-items: start; padding: 48px 0; }
  .num { font-size: 44px; }
  .body { gap: 14px; }
  .body h2 { font-size: 28px; line-height: 1.2; }
  .step .plate { grid-column: auto; margin-top: 0; }
  .ways { display: grid; grid-template-columns: 150px minmax(0, 1fr); }
  .ways div { display: contents; }
  .ways b, .ways span { padding: 9px 0; border-bottom: 1px solid var(--rule); }
  .help { margin: 16px 80px 0; padding: 28px 32px; max-width: 720px; border-radius: 16px; font-size: 17px; }
  .foot { padding: 24px 80px 48px; max-width: 880px; }
  .next { padding: 28px 32px; max-width: 720px; }
  .next strong { font-size: 28px; }
  .links { justify-content: flex-start; padding-top: 8px; }
}
