/* Инструкции: одна страница A4 или один экран. Печать (и PDF) — той же вёрсткой. */
:root { --sans: var(--font); color-scheme: light; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--line); color: var(--ink); font: 400 13.4px/1.45 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.sheet { width: 210mm; min-height: 297mm; margin: 24px auto; background: #fff; box-shadow: 0 20px 50px -20px rgba(20,12,8,.3); display: flex; flex-direction: column; }
.top { background: var(--dark); color: #fff; padding: 16px 22mm 18px 16mm; display: flex; align-items: center; gap: 14px; }
.top img { width: 30px; height: 30px; }
.top .brand { font-weight: 600; letter-spacing: var(--brand-tracking); text-transform: var(--brand-case); font-size: 15px; }
.top .what { margin-left: auto; color: rgba(255,255,255,.6); font-size: 12.5px; text-align: right; }
.body { padding: 12mm 16mm 10mm; flex: 1; display: flex; flex-direction: column; gap: 12px; }
h1 { font-family: var(--serif); font-weight: 500; font-size: 36px; line-height: 1; margin: 0; letter-spacing: -.01em; }
.intro { color: var(--ink-2); font-size: 14.2px; max-width: 165mm; margin: 0; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.box { border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; }
.box h2 { font-size: 14.5px; font-weight: 600; margin: 0 0 5px; display: flex; align-items: baseline; gap: 8px; }
.box h2 span { color: var(--accent); font-family: var(--serif); font-size: 19px; line-height: 1; }
.box p, .box li { margin: 0; color: var(--ink-2); }
.box ul, .box ol { margin: 0; padding-left: 17px; display: grid; gap: 2px; }
.box b { color: var(--ink); font-weight: 500; }
.wide { grid-column: 1 / -1; }
.tip { background: var(--bg); border-radius: 10px; padding: 10px 13px; color: var(--ink-2); }
.tip b { color: var(--ink); font-weight: 500; }
.red { color: var(--accent); }
.shot { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.shot img { display: block; width: 100%; height: 52mm; object-fit: cover; object-position: top left; }
.phones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.phones img { width: 100%; border-radius: 14px; border: 5px solid #111; aspect-ratio: 390 / 410; object-fit: cover; object-position: top; }
.qrrow { display: grid; grid-template-columns: 34mm 1fr; gap: 14px; align-items: center; }
.qrrow img { width: 100%; }
.cap { color: var(--muted); font-size: 11.5px; margin-top: 4px; }
.foot { padding: 0 16mm 10mm; color: var(--muted); font-size: 11.5px; display: flex; justify-content: space-between; gap: 12px; }
.print { position: fixed; right: 18px; bottom: 18px; background: var(--accent); color: #fff; border: 0; border-radius: 999px; padding: 12px 20px; font: 500 15px var(--sans); cursor: pointer; text-decoration: none; }
.print:hover { background: var(--accent-deep); }
@page { size: A4; margin: 0; }
@media print {
  body { background: #fff; }
  .sheet { margin: 0; box-shadow: none; width: 210mm; height: 297mm; overflow: hidden; }
  .print { display: none; }
  .top { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
@media screen and (max-width: 820px) {
  .sheet { width: auto; min-height: 0; margin: 0; box-shadow: none; }
  .top, .body, .foot { padding-left: 16px; padding-right: 16px; }
  .cols { grid-template-columns: 1fr; }
  body { font-size: 15px; }
}
