/* Pocket PDF website - one shared stylesheet.
   System fonts only. No external requests. Light + dark via prefers-color-scheme. */

:root {
  color-scheme: light dark;
  --bg: #F5F5F7;
  --surface: #FFFFFF;
  --text: #111114;
  --muted: #55555F;
  --line: #E1E1E7;
  --line-strong: #B4B4BE;
  --accent: #E5322D;          /* brand red: fills, large shapes */
  --accent-strong: #D12A24;   /* buttons with white text (5.2:1) */
  --accent-ink: #C42621;      /* red text and links (5.3:1) */
  --on-accent: #FFFFFF;
  --accent-soft: #FDECEB;
  --ok: #17702F;
  --focus: #C42621;
  --glow: rgba(229, 50, 45, .10);
  --shadow: 0 1px 2px rgba(17, 17, 20, .06), 0 10px 28px rgba(17, 17, 20, .07);
  --shadow-lg: 0 2px 4px rgba(17, 17, 20, .10), 0 24px 48px rgba(17, 17, 20, .18);
  --radius: 18px;
  --maxw: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D0D10;
    --surface: #17171B;
    --text: #F4F4F7;
    --muted: #A8A8B3;
    --line: #2A2A31;
    --line-strong: #4A4A54;
    --accent: #FF5B54;
    --accent-strong: #FF5B54;
    --accent-ink: #FF5B54;
    --on-accent: #0D0D10;
    --accent-soft: #2A1618;
    --ok: #4CC38A;
    --focus: #FF5B54;
    --glow: rgba(255, 91, 84, .14);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .35);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .5), 0 24px 48px rgba(0, 0, 0, .55);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, dl { margin: 0; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; overflow-wrap: break-word; }
a { color: var(--accent-ink); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); color: var(--text); }

.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--bg); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); z-index: 50; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding-block: 10px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 750; font-size: 1.125rem; letter-spacing: -.01em; text-decoration: none; }
.brand__mark { width: 32px; height: 32px; flex: none; }
.main-nav { order: 3; width: 100%; }
.main-nav ul { display: flex; flex-wrap: wrap; gap: 0 4px; margin: 0; padding: 0; list-style: none; }
.main-nav a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--muted); font-size: .9375rem; font-weight: 550; text-decoration: none; }
.main-nav a:hover { color: var(--text); background: var(--bg); }
.lang { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); }
.lang a { padding: 3px 12px; border-radius: 999px; color: var(--muted); font-size: .8125rem; font-weight: 700; text-decoration: none; }
.lang a:hover { color: var(--text); }
.lang a[aria-current] { background: var(--accent-strong); color: var(--on-accent); }
@media (min-width: 880px) {
  .site-header { position: sticky; top: 0; }
  .header-inner { flex-wrap: nowrap; padding-block: 12px; }
  .main-nav { order: 0; width: auto; margin-inline: auto; }
  .main-nav a { padding: 8px 14px; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px; border: 2px solid transparent; border-radius: 14px; font: inherit; font-weight: 650; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; }
.btn--primary { background: var(--accent-strong); color: var(--on-accent); }
.btn--primary:hover { filter: brightness(.94); }
.btn--ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn--ghost:hover { border-color: var(--text); }
.btn--soon, .btn--soon:disabled { background: var(--bg); border: 2px dashed var(--line-strong); color: var(--muted); cursor: not-allowed; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta-note { margin-top: 12px; color: var(--muted); font-size: .9375rem; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(40px, 7vw, 88px); background: radial-gradient(70% 90% at 85% 0%, var(--glow), transparent 70%); }
.hero__grid { display: grid; gap: 40px; align-items: center; }
.eyebrow { margin-bottom: 14px; color: var(--accent-ink); font-size: .8125rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.125rem, 6vw, 3.5rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; }
:lang(ru) .hero h1 { font-size: clamp(1.9rem, 5vw, 3.1rem); }
.hero h1 em { font-style: normal; color: var(--accent-ink); }
.lead { margin-top: 18px; max-width: 38em; color: var(--muted); font-size: clamp(1.0625rem, 2.4vw, 1.25rem); line-height: 1.55; }
.hero .cta-row { margin-top: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.chips li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: .875rem; font-weight: 600; }
.chips .icon { width: 1.1em; height: 1.1em; color: var(--accent-ink); }
.hero__visual { display: flex; justify-content: center; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; }
}

/* ---------- Phone frame (pure CSS) ---------- */
.phone { position: relative; width: 100%; max-width: 280px; margin-inline: auto; padding: 9px; border-radius: 38px; background: #1A1A1F; box-shadow: inset 0 0 0 1.5px #3C3C44, var(--shadow-lg); }
.phone--sm { max-width: 100%; padding: 6px; border-radius: 26px; box-shadow: inset 0 0 0 1.5px #3C3C44, var(--shadow); }
.phone__screen { position: relative; overflow: hidden; aspect-ratio: 1080 / 1920; border-radius: 29px; background:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E5322D' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' opacity='.55'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 13H8M16 17H8'/%3E%3C/svg%3E") center 42% / 26% no-repeat,
  linear-gradient(165deg, #FFF3F2, #F1F1F5); }
.phone--sm .phone__screen { border-radius: 21px; }
@media (prefers-color-scheme: dark) {
  .phone__screen { background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FF5B54' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' opacity='.6'%3E%3Cpath d='M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z'/%3E%3Cpath d='M14 2v4a2 2 0 0 0 2 2h4'/%3E%3Cpath d='M10 13H8M16 17H8'/%3E%3C/svg%3E") center 42% / 26% no-repeat,
    linear-gradient(165deg, #2A1618, #131317); }
  .phone, .phone--sm { background: #0A0A0C; box-shadow: inset 0 0 0 1.5px #3C3C44, var(--shadow-lg); }
}
.shot { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot.is-missing { visibility: hidden; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(48px, 8vw, 96px); scroll-margin-top: 72px; }
.section--alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 5vw, 48px); }
.section-head h2 { font-size: clamp(1.75rem, 4.4vw, 2.5rem); font-weight: 800; letter-spacing: -.025em; }
.section-head .lead { margin-top: 12px; font-size: clamp(1rem, 2.2vw, 1.1875rem); }
.section-head--center { margin-inline: auto; text-align: center; }

.ico-tile { display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); }
.ico-tile .icon { width: 24px; height: 24px; }

.cards { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.section--alt .card { background: var(--bg); box-shadow: none; }
.card h3 { margin: 16px 0 8px; font-size: 1.1875rem; font-weight: 750; }
.card p { color: var(--muted); }
.card .eyebrow--card { margin: 18px 0 2px; font-size: .75rem; color: var(--accent-ink); }
.cards--5 .card:first-child .ico-tile { background: var(--surface); }
.eyebrow--card + h3 { margin-top: 0; }
.subhead { margin-bottom: 14px; font-size: 1.25rem; font-weight: 750; }
.cards--5 .card:first-child { background: var(--accent-soft); border-color: transparent; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) {
  .cards--5 { grid-template-columns: repeat(6, 1fr); }
  .cards--5 .card { grid-column: span 2; }
  .cards--5 .card:nth-child(4), .cards--5 .card:nth-child(5) { grid-column: span 3; }
}

/* ---------- Tools ---------- */
.tool-group + .tool-group { margin-top: 40px; }
.tool-group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 16px; }
.tool-group__head h3 { font-size: 1.25rem; font-weight: 750; }
.tool-group__head p { color: var(--muted); font-size: .9375rem; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .75rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.badge--free { background: var(--accent-soft); color: var(--accent-ink); }
.badge--pro { background: var(--accent-strong); color: var(--on-accent); }
.tool-grid { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; grid-template-columns: 1fr; }
.tool { display: flex; gap: 14px; height: 100%; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg); }
.tool h4 { margin: 0 0 2px; font-size: 1rem; font-weight: 700; line-height: 1.3; }
.tool p { color: var(--muted); font-size: .9375rem; line-height: 1.5; }
.tool .ico-tile { width: 42px; height: 42px; border-radius: 12px; }
.tool .ico-tile .icon { width: 22px; height: 22px; }
.note { margin-top: 28px; padding: 14px 18px; border-left: 4px solid var(--accent); border-radius: 4px 12px 12px 4px; background: var(--bg); color: var(--muted); font-size: .9375rem; }
.section--alt .note { background: var(--bg); }
@media (min-width: 600px) { .tool-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px) { .tool-grid--free { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) {
  .tool-grid--pro { grid-template-columns: repeat(5, 1fr); }
  .tool-grid--pro .tool { flex-direction: column; gap: 12px; }
}

/* ---------- Privacy explainer ---------- */
.flow { display: grid; gap: 14px; margin: 0 0 40px; padding: 0; list-style: none; counter-reset: step; }
.flow li { position: relative; padding: 22px 22px 22px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); counter-increment: step; }
.flow li::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; margin-bottom: 12px; border-radius: 50%; background: var(--accent-strong); color: var(--on-accent); font-weight: 750; font-size: .9375rem; }
.flow h3 { margin-bottom: 6px; font-size: 1.125rem; font-weight: 750; }
.flow p { color: var(--muted); }
@media (min-width: 820px) { .flow { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.split { display: grid; gap: 28px; }
@media (min-width: 820px) { .split { grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; } }
.checklist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-weight: 550; }
.checklist .icon { margin-top: .2em; color: var(--ok); }
.callout { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.callout h3 { margin-bottom: 8px; font-size: 1.0625rem; font-weight: 750; }
.callout p { color: var(--muted); font-size: .9375rem; }
.callout p + p { margin-top: 10px; }

/* ---------- Gallery ---------- */
.gallery-wrap { margin-inline: calc(var(--gutter) * -1); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); }
.gallery { display: flex; gap: 18px; width: max-content; margin: 0; padding: 6px var(--gutter) 22px; list-style: none; }
.shotcard { width: min(58vw, 220px); scroll-snap-align: start; }
.shotcard figcaption { margin-top: 14px; color: var(--muted); font-size: .875rem; font-weight: 550; text-align: center; }
@media (min-width: 1100px) {
  .gallery-wrap { margin-inline: 0; overflow: visible; }
  .gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; width: auto; padding-inline: 0; }
  .shotcard { width: auto; }
}

/* ---------- Pricing ---------- */
.pricing { display: grid; gap: 24px; }
@media (min-width: 900px) { .pricing { grid-template-columns: .85fr 1.4fr; align-items: start; } }
.price-card { padding: 28px; border: 2px solid var(--accent-strong); border-radius: 22px; background: var(--surface); box-shadow: var(--shadow); }
.price-card h3 { font-size: 1.125rem; font-weight: 750; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 8px 0 4px; font-size: 3.25rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.price small { color: var(--muted); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.price-card ul { display: grid; gap: 10px; margin: 18px 0 22px; padding: 0; list-style: none; }
.price-card li { display: flex; gap: 10px; align-items: flex-start; }
.price-card li .icon { margin-top: .22em; color: var(--ok); }
.price-card .fine { margin-top: 16px; color: var(--muted); font-size: .875rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.compare caption { padding: 16px 18px 6px; color: var(--muted); font-size: .875rem; text-align: left; }
.compare th, .compare td { padding: 11px 16px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { border-top: 0; font-size: .875rem; white-space: nowrap; }
.compare tbody th { font-weight: 600; }
.compare .grp th { background: var(--bg); color: var(--muted); font-size: .75rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.compare td { color: var(--muted); }
.compare .yes { color: var(--ok); font-weight: 650; }
.compare .no { color: var(--muted); }
.compare .icon { width: 1.1em; height: 1.1em; vertical-align: -.18em; }

/* ---------- Languages ---------- */
.langs { display: grid; gap: 16px; }
@media (min-width: 800px) { .langs { grid-template-columns: 1fr 1fr; } }
.langs .card { box-shadow: none; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.tags li { padding: 4px 12px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); font-size: .875rem; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 52rem; }
.faq-layout .section-head { margin-bottom: 28px; }
@media (min-width: 900px) {
  .faq-layout { display: grid; grid-template-columns: 4fr 7fr; gap: 56px; align-items: start; }
  .faq-layout .section-head { position: sticky; top: 96px; margin-bottom: 0; }
  .faq-layout .faq { max-width: none; }
}
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.section--alt .faq details { background: var(--bg); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; font-weight: 650; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--muted); transition: transform .2s; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }
.faq .answer p + p, .faq .answer ul, .faq .answer ol { margin-top: 10px; }
.faq .answer ul, .faq .answer ol { padding-left: 1.3em; }
@media (prefers-reduced-motion: reduce) { .faq summary .icon { transition: none; } }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(44px, 7vw, 80px); background: var(--accent-soft); text-align: center; }
.cta-band h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 800; letter-spacing: -.02em; }
.cta-band p { margin: 10px auto 24px; max-width: 34rem; color: var(--muted); }
.cta-band .cta-row { justify-content: center; }
.cta-band .btn--soon { background: var(--surface); }

/* ---------- Sub pages / prose ---------- */
.page { padding-block: clamp(32px, 6vw, 72px) clamp(48px, 8vw, 96px); }
.page-head { max-width: 46rem; margin-bottom: 28px; }
.page-head h1 { font-size: clamp(1.625rem, 7.4vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
.page-head .meta { margin-top: 10px; color: var(--muted); }
.page-head .lead { margin-top: 14px; }
.summary { max-width: 46rem; margin-bottom: 28px; padding: 22px 24px; border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: 6px var(--radius) var(--radius) 6px; background: var(--surface); box-shadow: var(--shadow); }
.summary h2 { margin-bottom: 10px; font-size: 1.125rem; font-weight: 750; }
.summary ul { display: grid; gap: 8px; margin: 0; padding-left: 1.25em; }
.summary .fine { margin-top: 12px; color: var(--muted); font-size: .875rem; }
.toc { max-width: 46rem; margin-bottom: 36px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.toc h2 { margin-bottom: 8px; color: var(--muted); font-size: .8125rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.toc ol { display: grid; gap: 2px 28px; margin: 0; padding-left: 1.5em; }
@media (min-width: 700px) { .toc ol { grid-template-columns: 1fr 1fr; } }
.prose { max-width: 46rem; }
@media (min-width: 1000px) {
  .legal-grid { display: grid; grid-template-columns: 250px minmax(0, 46rem); column-gap: 64px; grid-template-areas: "head head" "toc sum" "toc prose"; align-items: start; }
  .legal-grid .page-head { grid-area: head; }
  .legal-grid .summary { grid-area: sum; }
  .legal-grid .toc { grid-area: toc; position: sticky; top: 92px; margin-bottom: 0; padding: 16px 18px; }
  .legal-grid .toc ol { grid-template-columns: 1fr; gap: 6px; font-size: .9375rem; }
  .legal-grid .prose { grid-area: prose; }
}
.prose section { padding-top: 8px; scroll-margin-top: 80px; }
.prose section + section { margin-top: 32px; }
.prose h2 { margin-bottom: 12px; font-size: clamp(1.3125rem, 3vw, 1.625rem); font-weight: 750; }
.prose h3 { margin: 20px 0 8px; font-size: 1.0625rem; font-weight: 700; }
.prose p + p, .prose p + ul, .prose p + ol, .prose ul + p, .prose ol + p { margin-top: 12px; }
.prose ul, .prose ol { display: grid; gap: 6px; padding-left: 1.4em; }
.prose li::marker { color: var(--muted); }
.prose strong { font-weight: 650; }
.prose .placeholder, mark.placeholder { padding: 2px 8px; border: 1px dashed var(--accent-ink); border-radius: 6px; background: var(--accent-soft); color: var(--text); font-weight: 650; }
.steps { counter-reset: s; list-style: none; padding-left: 0 !important; }
.steps li { position: relative; padding-left: 44px; counter-increment: s; min-height: 32px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); font-weight: 750; font-size: .9375rem; }
.warn { margin-top: 14px; padding: 14px 18px; border: 1px solid var(--accent-ink); border-radius: 14px; background: var(--accent-soft); }
.warn strong { color: var(--accent-ink); }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; max-width: 46rem; margin-bottom: 36px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.contact-card p { flex: 1 1 16rem; color: var(--muted); }
.contact-card p strong { display: block; color: var(--text); font-size: 1.0625rem; }
.faq--page { max-width: 46rem; margin-top: 4px; }

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(56px, 12vw, 140px); text-align: center; }
.notfound .code { color: var(--accent-ink); font-size: clamp(4rem, 16vw, 8rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.notfound h1 { margin-top: 12px; font-size: clamp(1.5rem, 4vw, 2.25rem); font-weight: 800; }
.notfound p { margin: 12px auto 28px; max-width: 32rem; color: var(--muted); }
.notfound .cta-row { justify-content: center; }
.notfound .ru-line { margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer { padding-block: 40px 32px; border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .9375rem; }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.footer-brand .brand { margin-bottom: 10px; }
.footer-brand p { max-width: 26rem; }
.site-footer h2 { margin-bottom: 10px; color: var(--text); font-size: .8125rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: var(--text); text-decoration-color: var(--line-strong); }
.site-footer a:hover { text-decoration-color: currentColor; }
.legal-line { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .8125rem; }
.legal-line p + p { margin-top: 6px; }

@media print {
  .site-header, .site-footer, .skip, .toc { display: none; }
  body { background: #fff; color: #000; }
}
