:root {
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --brand: #1d4ed8;
  --brand-dark: #1e3a8a;
  --ok: #15803d;
  --ok-bg: #dcfce7;
  --warn: #b45309;
  --warn-bg: #fef3c7;
  --bad: #b91c1c;
  --bad-bg: #fee2e2;
  --radius: 14px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", Tahoma, sans-serif; color: var(--ink); background: #fff; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.02em; }
h2 { font-size: 1.6rem; letter-spacing: -.01em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.note { color: var(--muted); font-size: .9rem; }
.center { text-align: center; }

/* Навигация */
.nav { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-weight: 700; color: var(--ink); text-decoration: none; display: flex; gap: 8px; align-items: center; }
.logo-mark { background: var(--brand); color: #fff; border-radius: 8px; padding: 2px 7px; font-size: .85rem; }
.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links > a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav-links > a:hover { color: var(--brand); }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: .88rem; color: var(--ink); white-space: nowrap; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px -12px rgba(15, 23, 42, .25); min-width: 170px; z-index: 20; }
.lang li a { display: block; padding: 7px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .92rem; }
.lang li a:hover { background: var(--bg); }
.lang li a[aria-current] { background: #eff6ff; color: var(--brand); font-weight: 600; }

/* Первый экран */
.hero { background: linear-gradient(180deg, #eff6ff 0%, #fff 100%); padding: 56px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.badge { display: inline-block; background: #fff; border: 1px solid #bfdbfe; color: var(--brand-dark); border-radius: 999px; padding: 4px 12px; font-size: .85rem; margin: 0 0 16px; }
.stats { display: flex; gap: 10px; flex-wrap: wrap; list-style: none; padding: 0; margin: 20px 0 0; }
.stats li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px; font-weight: 600; font-size: .9rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 10px 30px -12px rgba(15, 23, 42, .15); }
.spec { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.spec label { border: 1px solid var(--line); border-radius: 10px; padding: 7px 12px; cursor: pointer; font-size: .92rem; display: flex; gap: 6px; align-items: center; }
.spec label:has(input:checked) { border-color: var(--brand); background: #eff6ff; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 8px; border: 2px dashed #93c5fd; border-radius: var(--radius); padding: 44px 20px; text-align: center; cursor: pointer; color: var(--brand); transition: background .15s; }
.drop:hover, .drop.over { background: #eff6ff; }
.drop-title { color: var(--ink); font-weight: 600; font-size: 1.05rem; }
.drop-hint { color: var(--muted); font-size: .85rem; }
.busy { display: flex; gap: 10px; align-items: center; justify-content: center; margin-top: 14px; color: var(--muted); }
.spinner { width: 18px; height: 18px; border: 3px solid #bfdbfe; border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.error { color: var(--bad); background: var(--bad-bg); border-radius: 10px; padding: 10px 12px; margin: 14px 0 0; }

/* Результаты */
.results { padding: 40px 20px; }
.verdict { border-radius: var(--radius); padding: 18px 22px; margin-bottom: 24px; border: 1px solid; }
.verdict p { margin: 0; }
.verdict.ready { background: var(--ok-bg); border-color: #86efac; }
.verdict.fixable { background: #eff6ff; border-color: #93c5fd; }
.verdict.retake { background: var(--bad-bg); border-color: #fca5a5; }
.verdict.small { padding: 12px 16px; margin-bottom: 12px; }
.results-grid, .fixed { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 32px; align-items: start; }
.photo-box { margin: 0; position: sticky; top: 80px; }
.photo-box figcaption { font-weight: 600; margin-bottom: 8px; }
.photo-frame { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--bg); }
.photo-frame.square { aspect-ratio: 1; }
.photo-frame img, .photo-frame svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.legend { color: var(--muted); font-size: .85rem; margin-top: 8px; }
.legend a { color: inherit; }
.example { margin: 22px 0 0; }
.example-title { font-weight: 600; margin: 0 0 8px; }
.results .example .photo-frame { max-width: 220px; }
.example-big { margin: 0; }
.example-big .photo-frame { max-width: 340px; }
.summary { font-weight: 600; margin: 0 0 8px; }
.group { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: 18px 0 6px; }
.checks { list-style: none; padding: 0; margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.check { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); align-items: start; }
.check:first-child { border-top: 0; }
.check p { margin: 4px 0 0; font-size: .92rem; }
.check .tip { color: var(--muted); }
.check .icon { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.check .status { font-size: .8rem; font-weight: 600; }
.check.pass .icon { background: var(--ok-bg); color: var(--ok); }
.check.pass .status { color: var(--ok); }
.check.warn .icon { background: var(--warn-bg); color: var(--warn); }
.check.warn .status { color: var(--warn); }
.check.fail { background: #fffafa; }
.check.fail .icon { background: var(--bad-bg); color: var(--bad); }
.check.fail .status { color: var(--bad); }

.fix { margin-top: 32px; }
.batch { margin-bottom: 24px; padding: 18px; }
.batch-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.batch-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.batch-cards { display: flex; gap: 10px; overflow-x: auto; padding: 12px 2px 4px; }
.batch-card { flex: 0 0 120px; display: grid; gap: 4px; padding: 6px; border: 2px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; font: inherit; text-align: start; }
.batch-card.active { border-color: var(--brand); }
.batch-card img, .batch-wait { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--bg); display: grid; place-items: center; color: var(--muted); }
.batch-badge { font-size: .75rem; font-weight: 600; border-radius: 6px; padding: 1px 6px; justify-self: start; }
.batch-badge.ready { background: var(--ok-bg); color: var(--ok); }
.batch-badge.fixable { background: #dbeafe; color: var(--brand-dark); }
.batch-badge.retake { background: var(--bad-bg); color: var(--bad); }
.batch-name { font-size: .75rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fix-controls { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.fix-controls label { display: flex; flex-direction: column; font-size: .85rem; color: var(--muted); gap: 4px; }
select { font: inherit; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.fixed { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.btn { display: inline-block; background: var(--brand); color: #fff; border: 0; border-radius: 10px; padding: 11px 20px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn:hover { background: var(--brand-dark); }
.btn:disabled { opacity: .6; cursor: wait; }
.btn-big { margin-top: 18px; padding: 14px 28px; font-size: 1.05rem; }
.btn-ghost { background: #fff; color: var(--brand); border: 1px solid var(--brand); }
.btn-ghost:hover { background: #eff6ff; }
.manual { margin-top: 32px; }
.unlock { display: grid; gap: 18px; margin-top: 16px; }
.unlock h3 { margin: 0 0 4px; font-size: 1.05rem; }
.unlock p { margin: 0 0 8px; }
.unlock-credit, .unlock-free, .unlock-buy { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.unlock-credit { background: var(--ok-bg); border-color: #86efac; }
.unlock-free { background: #f0fdf4; }
.unlock .row { display: flex; gap: 8px; flex-wrap: wrap; }
.unlock .row input { flex: 1 1 200px; width: auto; }
.unlock label.inline { display: flex; gap: 8px; align-items: baseline; font-size: .88rem; color: var(--muted); margin-top: 8px; }
.packs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.pack { border: 1px solid var(--line); border-radius: 10px; padding: 12px; display: grid; gap: 6px; align-content: start; }
.pack-head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.pack .price { font-weight: 700; font-size: 1.15rem; color: var(--brand-dark); }
.pack .note { margin: 0; }
.pay-buttons { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-buttons .btn { padding: 8px 12px; font-size: .9rem; }
.ready-wrap { padding-top: 24px; }
.ready { text-align: center; background: var(--ok-bg); border-color: #86efac; }
.ready .btn-big { margin-top: 6px; }
.print-link { margin: 14px 0 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 6px 0; }
.checklist label { display: flex; gap: 10px; align-items: baseline; cursor: pointer; }

.feedback { margin-top: 16px; font-size: .92rem; }
.feedback summary { cursor: pointer; color: var(--muted); }
.feedback form { display: grid; gap: 10px; margin-top: 10px; max-width: 520px; }
.feedback label { display: grid; gap: 4px; color: var(--muted); }
.feedback label.inline { display: flex; gap: 8px; align-items: baseline; }
textarea, input[type=email] { font: inherit; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; width: 100%; }
.waitlist-wrap { padding-top: 8px; }
.waitlist { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; background: #fffbeb; border-color: #fde68a; box-shadow: none; }
.waitlist h2 { font-size: 1.3rem; }
.waitlist p { margin: 0; }
.waitlist form { display: flex; gap: 8px; flex-wrap: wrap; }
.waitlist input { flex: 1 1 200px; width: auto; }
.waitlist .note { flex-basis: 100%; }
.error-text { color: var(--bad); }

.camera-btn { width: 100%; margin-top: 12px; display: flex; gap: 8px; align-items: center; justify-content: center; }
.tg-link { display: flex; gap: 6px; align-items: center; justify-content: center; margin-top: 10px; font-size: .9rem; color: #229ed9; text-decoration: none; font-weight: 600; }
.tg-link:hover { text-decoration: underline; }
.camera-tip { color: var(--muted); font-size: .82rem; text-align: center; margin: 6px 0 0; }
.camera { position: fixed; inset: 0; z-index: 100; background: #000; display: flex; flex-direction: column; }
.camera-stage { position: relative; flex: 1; overflow: hidden; }
.camera-stage video, .camera-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.camera .mirror { transform: scaleX(-1); }
.camera-hint { color: #fff; text-align: center; font-size: 1.1rem; font-weight: 600; margin: 0; padding: 12px 16px; background: rgba(15, 23, 42, .85); min-height: 1.6em; }
.camera-hint.ok { background: #15803d; }
.camera-hint.bad { background: var(--bad); }
.camera-controls { display: flex; justify-content: space-around; align-items: center; padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); background: #0f172a; direction: ltr; }
.cam-round { width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.4rem; cursor: pointer; }
.cam-shutter { width: 72px; height: 72px; border-radius: 50%; border: 5px solid #fff; background: rgba(255, 255, 255, .25); cursor: pointer; }
.cam-shutter:active { background: #fff; }
body.camera-open { overflow: hidden; }

.guide article { font-size: 1.05rem; }
.guide article h2 { margin-top: 1.6em; font-size: 1.35rem; }
.guide article li { margin: 4px 0; }
.crumbs { margin: 0 0 12px; font-size: .9rem; }
.guide-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin: 40px 0; background: #eff6ff; border-color: #bfdbfe; box-shadow: none; }
.guide-cta h2 { margin: 0 0 4px; font-size: 1.3rem; }
.guide-cta p { margin: 0; color: var(--muted); }
.guide-cta .btn-big { margin: 0; }
.guide-list { list-style: none; padding: 0; display: grid; gap: 16px; }
.guide-list.cols { grid-template-columns: repeat(3, 1fr); }
.guide-list li { background: var(--bg); border-radius: var(--radius); padding: 18px 20px; }
.guide-list a { font-weight: 600; font-size: 1.05rem; text-decoration: none; }
.guide-list p { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }

.price-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 20px; }
.price-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; gap: 6px; background: #fff; }
.price-card.best { border: 2px solid var(--brand); box-shadow: 0 10px 30px -14px rgba(29, 78, 216, .45); }
.price-card h3 { margin: 0; font-size: 1.05rem; }
.price-big { font-size: 2rem; font-weight: 800; margin: 4px 0 0; letter-spacing: -.02em; }
.price-per { margin: 0; color: var(--muted); font-size: .88rem; }
.price-card .ticks { flex: 1; margin: 10px 0 14px; font-size: .92rem; }
.price-card .btn { text-align: center; }
.price-badge { position: absolute; top: -12px; inset-inline-end: 16px; background: var(--brand); color: #fff; font-size: .78rem; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.pay-methods { margin-top: 18px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pay-methods .method { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--ink); text-decoration: none; font-size: .9rem; }
.pay-methods .method.soon { color: var(--muted); }
.pay-buttons .btn:disabled { opacity: .55; cursor: not-allowed; }

/* Помощник по заявке */
.progress { margin: 0 0 6px; font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.progress .bar { flex: 1; height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.progress .bar span { display: block; height: 100%; background: var(--brand); border-radius: 99px; }
details.passed { margin-top: 18px; }
details.passed > summary { cursor: pointer; color: var(--ok); font-weight: 600; padding: 10px 14px; border: 1px solid #bbf7d0; background: #f0fdf4; border-radius: 12px; list-style: none; }
details.passed > summary::-webkit-details-marker { display: none; }
details.passed > summary::before { content: "✓ "; }
details.passed[open] > summary { margin-bottom: 4px; }
.show-sm { display: none; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 40px; height: 36px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px -12px rgba(15, 23, 42, .3); min-width: 220px; z-index: 30; }
.menu li a { display: block; padding: 11px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.menu li a:hover { background: var(--bg); }
.fix-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(15, 23, 42, .3); }
.fix-bar .btn { width: 100%; margin: 0; }
.field .label { font-weight: 600; font-size: .95rem; }
.field .label .opt { font-weight: 400; color: var(--muted); }
.choices { display: grid; gap: 6px; }
.choices.row { display: flex; flex-wrap: wrap; }
.choice { font: inherit; text-align: start; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; cursor: pointer; color: var(--ink); display: flex; gap: 10px; align-items: center; }
.choice::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #cbd5e1; flex: none; box-sizing: border-box; }
.choice:hover { border-color: #93c5fd; }
.choice.on { border-color: var(--brand); background: #eff6ff; font-weight: 600; }
.choice.on::before { border: 5px solid var(--brand); }
.field.missing .choices .choice { border-color: #fecaca; }
.date-parts { display: flex; align-items: center; gap: 6px; }
.date-parts input { font: inherit; text-align: center; padding: 10px 6px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-variant-numeric: tabular-nums; }
.date-parts .dd, .date-parts .mm { width: 4.2em; }
.date-parts .yyyy { width: 6em; }
.date-parts .sep { color: var(--muted); font-size: 1.2rem; }
.field.missing .date-parts input { border-color: #fca5a5; background: #fffafa; }
.country { position: relative; }
.country-list { position: absolute; inset-inline: 0; top: calc(100% + 4px); z-index: 5; list-style: none; margin: 0; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px -12px rgba(15, 23, 42, .3); max-height: 300px; overflow-y: auto; }
.country-list li { padding: 8px 10px; border-radius: 6px; cursor: pointer; }
.country-list li.active, .country-list li:hover { background: #eff6ff; }
.country-list li.empty { color: var(--muted); cursor: default; }
.reader { background: #f0f9ff; border: 1px solid #bae6fd; border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; }
.reader h3 { margin-top: 0; }
.reader .consent { margin: 4px 0 10px; color: var(--ink); }
.ok-text { color: var(--ok); }
.warn-text { color: var(--warn); }
.form-page { max-width: 1060px; }
.form-privacy { background: var(--ok-bg); border-radius: 10px; padding: 10px 14px; font-size: .92rem; }
.form-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; margin: 20px 0; }
.form-steps { display: grid; gap: 4px; position: sticky; top: 80px; }
.form-step { display: flex; gap: 10px; align-items: center; text-align: start; background: none; border: 0; border-radius: 10px; padding: 9px 10px; font: inherit; cursor: pointer; color: var(--ink); }
.form-step:hover { background: var(--bg); }
.form-step.active { background: #eff6ff; color: var(--brand-dark); font-weight: 600; }
.form-step .num { width: 24px; height: 24px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-size: .8rem; flex: none; }
.form-step.active .num { background: var(--brand); color: #fff; }
.form-card h2 { font-size: 1.35rem; }
.form-card h3 { margin: 22px 0 8px; font-size: 1.05rem; }
.field { margin: 0 0 14px; }
.field label { display: block; font-weight: 600; font-size: .95rem; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field-help { margin: 2px 0 6px; color: var(--muted); font-size: .88rem; }
.field input, .field select { font: inherit; width: 100%; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.field input:disabled { background: var(--bg); }
.field.missing input, .field.missing select { border-color: #fca5a5; background: #fffafa; }
.field-warn { color: var(--warn); font-size: .88rem; margin: 4px 0 0; }
.field-warn:empty { display: none; }
.field-hint { font-size: .9rem; margin-top: 4px; }
.field-hint:empty { display: none; }
.btn-sm { padding: 4px 10px; font-size: .85rem; }
.check-inline { display: flex; gap: 8px; align-items: baseline; font-size: .9rem; color: var(--muted); margin: -6px 0 14px; cursor: pointer; }
.person { border-inline-start: 3px solid var(--line); padding-inline-start: 14px; }
.callout { background: #eff6ff; border-radius: 10px; padding: 10px 12px; font-size: .92rem; }
.callout.warn { background: var(--warn-bg); }
.form-nav { display: flex; justify-content: space-between; margin-top: 18px; }
.scan { border: 1px dashed #93c5fd; border-radius: 12px; padding: 14px 16px; margin-top: 20px; }
.scan-preview { max-width: 100%; max-height: 360px; display: block; margin: 12px 0 6px; border-radius: 8px; border: 1px solid var(--line); }
.photo-people { list-style: none; padding: 0; display: grid; gap: 8px; }
.photo-people .check-inline { display: inline-flex; margin: 0; color: var(--ink); }
.copy-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.copy-table th { text-align: start; font-weight: 500; color: var(--muted); width: 42%; padding: 6px 8px 6px 0; vertical-align: top; }
.copy-table td { padding: 6px 4px; border-bottom: 1px solid var(--line); word-break: break-word; }
.copy-table td.missing { color: var(--bad); }
.copy-table td:last-child { width: 1%; white-space: nowrap; text-align: end; }
.checklist-card { margin: 20px 0; box-shadow: none; }
.form-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; background: linear-gradient(135deg, #eff6ff, #fff); }
.form-cta h2 { margin: 0 0 4px; }
.form-cta p { margin: 0; color: var(--muted); max-width: 640px; }
@media print {
  .nav, .footer, .form-steps, .form-nav, .form-privacy, #form-clear, .lead, h1, .copy-table .btn, .checklist-card + .field, .note { display: none !important; }
  .form-layout { display: block; }
  .card { box-shadow: none; border: 0; padding: 0; }
}

/* Лендинг */
.section { padding: 56px 20px; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--bg); border-radius: var(--radius); padding: 22px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; margin-bottom: 10px; }
.steps p { margin: 0; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.ticks { padding: 0; list-style: none; }
.ticks li { padding-block: 5px; padding-inline-start: 28px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--ok); font-weight: 700; }
.template { margin: 0; }
.template-svg { width: 100%; max-width: 340px; display: block; margin: 0 auto; border-radius: 10px; }
.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.page { padding: 48px 20px; max-width: 860px; }
.req-grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: start; margin: 24px 0; }
.req-grid h2 { font-size: 1.2rem; margin-top: 8px; }

.footer { border-top: 1px solid var(--line); background: var(--bg); padding: 28px 0; margin-top: 40px; font-size: .9rem; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.disclaimer { color: var(--muted); }

@media (max-width: 1080px) and (min-width: 861px) {
  .price-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .hero-grid, .results-grid, .fixed, .two-col, .req-grid, .waitlist, .packs { grid-template-columns: 1fr; }
  .steps, .guide-list.cols, .price-cards, .form-layout { grid-template-columns: 1fr; }
  .form-steps { position: static; display: flex; overflow-x: auto; }
  .form-step { flex: none; }
  .photo-box { position: static; }
  .hide-sm { display: none; }
  .show-sm { display: block; }
  .nav-links { gap: 12px; }
  .hero { padding-top: 32px; }
}

/* Письмо справа налево (ar, fa): раскладка зеркалится сама, а снимок и шаблон поверх него — нет */
[dir="rtl"] .photo-frame, [dir="rtl"] .template-svg { direction: ltr; }
[dir="rtl"] h1, [dir="rtl"] h2 { letter-spacing: 0; }
[dir="rtl"] .arrow { display: inline-block; transform: scaleX(-1); }

/* Телефон: главное действие — на первом экране, меньше прокрутки, крупные цели для пальца */
@media (max-width: 600px) {
  body { font-size: 15.5px; }
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }
  .wrap { padding: 0 16px; }
  .nav .wrap { height: 56px; }
  .nav-links { gap: 8px; }
  .lang summary { padding: 6px 8px; }
  .hero { padding: 18px 0 22px; }
  .hero-grid { display: grid; gap: 14px; }
  .hero-grid > div:first-child { display: contents; }
  .badge { order: 1; margin: 0; font-size: .78rem; justify-self: start; }
  .hero h1 { order: 2; margin: 0; }
  .hero .tool { order: 3; }
  .hero .lead { order: 4; font-size: 1rem; margin: 0; }
  .hero .stats { order: 5; margin: 0; }
  .card { padding: 16px; border-radius: 12px; }
  .spec { flex-wrap: nowrap; overflow-x: auto; margin: 0 -4px 12px; padding: 0 4px 2px; scrollbar-width: none; }
  .spec label { flex: none; font-size: .86rem; padding: 6px 10px; }
  .drop { padding: 22px 14px; }
  .drop svg { width: 34px; height: 34px; }
  .camera-btn { padding: 12px; }
  .section { padding: 32px 16px; }
  .results { padding: 20px 16px 90px; }
  .results .example { display: none; }
  .verdict { padding: 14px 16px; }
  .check { padding: 10px 12px; grid-template-columns: 24px 1fr; }
  .check .status { grid-column: 2; }
  .price-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 16px -16px 0; padding: 14px 16px 6px; scrollbar-width: none; }
  .price-card { flex: 0 0 82%; scroll-snap-align: center; }
  .waitlist form { flex-direction: column; }
  .waitlist input, .waitlist .btn { width: 100%; }
  .guide-cta, .form-cta { flex-direction: column; align-items: stretch; text-align: start; }
  .btn-big { width: 100%; text-align: center; }
  .page { padding: 24px 16px; }
  .form-page h1 { font-size: 1.5rem; }
  .form-page .lead { display: none; }
  .form-privacy { font-size: .82rem; padding: 8px 12px; }
  .form-layout { margin: 12px 0; gap: 12px; }
  .form-steps { margin: 0 -16px; padding: 0 16px; scrollbar-width: none; }
  .form-step { padding: 7px 10px; font-size: .9rem; }
  .form-card { padding: 16px; }
  .person { padding-inline-start: 10px; }
  .form-nav { position: fixed; inset-inline: 0; bottom: 0; z-index: 40; margin: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(15, 23, 42, .3); gap: 10px; }
  .form-nav .btn { flex: 1; text-align: center; padding: 13px; }
  .form-page { padding-bottom: 90px; }
  .choice { padding: 12px 14px; }
  .btn-sm { padding: 8px 12px; }
  .copy-table, .copy-table tbody, .copy-table tr { display: block; }
  .copy-table tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .copy-table th { grid-column: 1 / -1; width: auto; padding: 0; font-size: .82rem; }
  .copy-table td { border: 0; padding: 0; }
  .copy-table td:last-child { width: auto; }
  .packs { grid-template-columns: 1fr; }
  .footer .footer-links { gap: 12px 16px; }
}
#results, #fixed, #fix, #form-card, #check, #pricing, #waitlist, #faq { scroll-margin-top: 72px; }
