/* PrintPoint — публичный сайт. Палитра и логотип терминала («B в цветах A»):
   крупный текст, высокий контраст, оливково-кремовые цвета. */
:root {
  --ivory: #f8f4eb; --cream: #fffdf7; --sage-light: #e4e6d2; --olive: #616941; --olive-dark: #424a2d;
  --forest: #102b20; --muted: #4f5846; --terra: #a8562b; --line: #c9cdb6;
  --radius: 20px; --shadow: 0 14px 40px #3943261a;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ivory); color: var(--forest); font: 18px/1.6 Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--olive-dark); text-underline-offset: 3px; }
a:hover { color: var(--terra); }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; margin: 0; }
h1 { font-size: clamp(34px, 6vw, 60px); letter-spacing: -.035em; }
h2 { font-size: clamp(28px, 4vw, 42px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 40px); }
.skip { position: absolute; left: -9999px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { left: 12px; top: 12px; z-index: 100; padding: 10px 16px; background: var(--cream); border-radius: 10px; }
.draft-bar { margin: 0; padding: 8px 20px; background: #f3d98b; color: #3a2c00; font-size: 15px; font-weight: 700; text-align: center; }
.pending { padding: 1px 8px; border: 1px dashed #a8562b; border-radius: 6px; background: #fbeadf; color: #7a3a17; font-size: .9em; white-space: nowrap; }

/* Шапка */
.site-header { position: sticky; top: 0; z-index: 50; background: #fffdf7f2; border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.header-row { display: flex; align-items: center; gap: 12px 28px; min-height: 68px; flex-wrap: wrap; padding-block: 8px; }
.brand { display: inline-flex; align-items: center; gap: .38em; color: var(--forest); font-size: 27px; font-weight: 500; letter-spacing: -.04em; text-decoration: none; }
.brand.small { font-size: 22px; }
.brand-icon { width: 1.15em; height: .8em; display: block; border-radius: .12em; background: var(--olive); position: relative; margin-top: .25em; flex: 0 0 auto; }
.brand-icon::before { content: ""; position: absolute; left: .2em; bottom: .55em; width: .7em; height: .72em; border: .07em solid var(--olive-dark); background: #fff; border-radius: .04em; }
.brand-icon::after { content: ""; position: absolute; left: .27em; bottom: .1em; width: .55em; height: .28em; background: #fff; border-radius: .03em; }
.brand-icon i { position: absolute; right: .1em; top: .14em; width: .11em; height: .11em; background: #fff; border-radius: 50%; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-left: auto; font-size: 16px; font-weight: 600; }
.main-nav a { padding: 8px 0; text-decoration: none; color: var(--forest); }
.main-nav a:hover { color: var(--terra); text-decoration: underline; }
.lang { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: var(--cream); }
.lang a { min-width: 52px; padding: 8px 10px; border-radius: 999px; color: var(--forest); font-size: 14px; font-weight: 800; letter-spacing: .04em; text-align: center; text-decoration: none; }
.lang a[aria-current] { background: var(--olive-dark); color: #fff; }
@media (max-width: 860px) {
  .main-nav { order: 3; width: 100%; margin: 0; gap: 0 18px; overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; scrollbar-width: none; }
  .main-nav::-webkit-scrollbar { display: none; }
  .lang { margin-left: auto; }
  .lang a { min-width: 44px; padding: 8px; }
  .header-row { column-gap: 10px; }
  .brand { font-size: 24px; }
  html { scroll-padding-top: 124px; }
}

/* Кнопки */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 26px; border: 2px solid var(--olive-dark); border-radius: 16px; background: var(--cream); color: var(--olive-dark); font-size: 18px; font-weight: 750; text-decoration: none; text-align: center; }
.button:hover { background: var(--sage-light); color: var(--olive-dark); }
.button.primary { background: var(--olive-dark); color: #fff; }
.button.primary:hover { background: var(--forest); color: #fff; }
.button.light { border-color: #fff; background: #fff; color: var(--forest); }

/* Первый экран */
.hero { background: radial-gradient(circle at 12% 0, #fff 0, transparent 40%), linear-gradient(150deg, #faf7f0, #e9ecd9); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 32px; padding-block: clamp(36px, 7vw, 88px); }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--muted); font-size: 14px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.kicker::before { content: ""; width: 30px; border-top: 3px solid var(--terra); }
.lead { margin-top: 18px; max-width: 34em; color: var(--muted); font-size: clamp(18px, 2vw, 22px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fffdf7c7; color: var(--olive-dark); font-size: 15px; font-weight: 700; }
.hero-art img { filter: drop-shadow(0 24px 30px #28332126); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; margin-inline: auto; }
  .actions .button { flex: 1 1 220px; }
}
.pilot { margin: 0; padding: 14px 0; background: var(--sage-light); color: var(--olive-dark); font-size: 16px; font-weight: 650; text-align: center; }
.pilot .wrap { display: block; }

/* Разделы */
.section { padding-block: clamp(48px, 8vw, 88px); }
.section.tinted { background: #f1eedf; }
.section.dark { background: var(--forest); color: #f4f1e4; }
.section.dark .section-lead { color: #d5dbc6; }
.section-lead { margin-top: 12px; max-width: 40em; color: var(--muted); font-size: 20px; }
.note { margin-top: 18px; color: var(--muted); font-size: 16px; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 34px; }
.steps li, .features li, .card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--cream); box-shadow: var(--shadow); }
.steps h3, .features h3 { margin-bottom: 8px; }
.steps p, .features p { margin: 0; color: var(--muted); font-size: 16px; }
.num { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 50%; background: var(--olive-dark); color: #fff; font-size: 20px; font-weight: 800; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.features li { box-shadow: none; }
@media (max-width: 1040px) { .steps { grid-template-columns: repeat(3, 1fr); } .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .steps, .features { grid-template-columns: 1fr; }
  .steps li { display: grid; grid-template-columns: 46px 1fr; column-gap: 16px; }
  .steps .num { grid-row: span 2; margin: 0; }
}

/* Учебным заведениям */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.partners .button { margin-top: 12px; }
.partners ul { display: grid; gap: 12px; }
.partners li { position: relative; padding: 16px 18px 16px 52px; border: 1px solid #ffffff2e; border-radius: 16px; background: #ffffff12; }
.partners li::before { content: "✓"; position: absolute; left: 18px; top: 14px; color: #e3b08d; font-weight: 900; font-size: 20px; }
@media (max-width: 860px) { .partners { grid-template-columns: 1fr; } }

/* Вопросы */
.faq { margin-top: 26px; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--cream); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; font-size: 19px; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; color: var(--olive); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

/* Контакты */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 30px; align-items: start; }
.contact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.contact-list li { display: grid; gap: 2px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--cream); font-size: 20px; font-weight: 700; }
.contact-list li > * { justify-self: start; }
.contact-list span:first-child { color: var(--muted); font-size: 15px; font-weight: 600; }
.card { box-shadow: none; }
.card h3 { margin-bottom: 12px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Юридические страницы */
.legal { padding-block: 36px 72px; }
.legal h1 { margin: 10px 0 6px; font-size: clamp(30px, 5vw, 46px); }
.legal h2 { margin: 34px 0 10px; font-size: 24px; }
.legal ul, .legal ol { padding-left: 1.3em; margin-bottom: 1em; }
.legal ul { list-style: disc; } .legal ol { list-style: decimal; }
.legal li { margin-bottom: .5em; }
.back { font-weight: 700; }

/* Подвал */
.site-footer { padding-block: 32px; background: #ebe8d8; border-top: 1px solid var(--line); font-size: 16px; }
.footer-row { display: flex; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; }
.site-footer p { margin: 8px 0 0; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 24px; align-content: start; font-weight: 650; }
.site-footer nav a { padding: 6px 0; }

/* Выбор языка и 404 */
.chooser { min-height: 100vh; display: grid; place-content: center; gap: 20px; text-align: center; }
.chooser .brand { justify-content: center; font-size: 40px; margin: 0; }
.chooser-list { display: grid; gap: 12px; min-width: min(320px, 80vw); }
