:root {
  --bg-primary: #0f172a;
  --bg-secondary: #1e293b;
  --bg-elevated: #273449;
  --border-subtle: #334155;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --accent-primary: #22c55e;
  --accent-warning: #f59e0b;
  --accent-cta: #3b82f6;
  --accent-critical: #ef4444;
  --ink: #152033;
  --muted: #647083;
  --line: #dfe5ec;
  --soft-line: #edf1f5;
  --paper: #ffffff;
  --surface: #f4f7fa;
  --surface-2: #eaf0f6;
  --navy: #0b1728;
  --navy-2: #152842;
  --blue: #2f6feb;
  --blue-dark: #2158bc;
  --blue-soft: #eaf2ff;
  --green: #14855f;
  --green-soft: #e6f6ef;
  --amber: #a76400;
  --amber-soft: #fff3d8;
  --red: #bd3d45;
  --red-soft: #ffebed;
  --purple: #7755c7;
  --purple-soft: #f1edff;
  --shadow: 0 22px 60px rgba(23, 39, 63, .13);
  --shadow-sm: 0 8px 24px rgba(23, 39, 63, .08);
  --radius-xl: 28px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 3px;
}
[hidden] { display: none !important; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 22px; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -.055em; }
h2 { margin-bottom: 18px; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; letter-spacing: -.045em; }
h3 { margin-bottom: 10px; font-size: 19px; line-height: 1.25; letter-spacing: -.02em; }
.button-reset { border: 0; background: transparent; color: inherit; padding: 0; cursor: pointer; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-140%); padding: 10px 14px; border-radius: 9px; background: var(--paper); color: var(--navy); box-shadow: var(--shadow-sm); font-weight: 750; }
.skip-link:focus { transform: translateY(0); }
.container { max-width: var(--max); margin: 0 auto; padding-inline: 24px; }
.view { min-height: calc(100vh - 153px); }
.muted { color: var(--muted); }

.environment-bar { background: #f8cb58; color: #352800; }
.environment-inner { max-width: var(--max); min-height: 34px; margin: 0 auto; padding: 5px 24px; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 12px; font-weight: 750; }
.environment-label { text-transform: uppercase; letter-spacing: .05em; }
.connection-pill, .mode-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 3px 8px; background: rgba(255, 255, 255, .5); }
.connection-dot { width: 7px; height: 7px; border-radius: 50%; background: #756000; }
.connection-pill.is-online .connection-dot { background: var(--green); }
.connection-pill.is-offline .connection-dot { background: var(--red); }
.mode-pill.is-mock { background: var(--purple-soft); color: #523991; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .93); border-bottom: 1px solid rgba(223, 229, 236, .9); backdrop-filter: blur(14px); }
.header-inner { max-width: var(--max); min-height: 70px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 850; letter-spacing: -.03em; font-size: 20px; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; background: var(--navy); display: grid; place-items: center; color: #fff; box-shadow: 0 7px 16px rgba(11, 23, 40, .16); }
.brand-mark svg { width: 18px; height: 18px; }
.brand-logo { width: 180px; height: auto; max-height: 58px; object-fit: contain; object-position: left center; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-link { color: #4d5a6e; font-size: 14px; font-weight: 650; }
.nav-link:hover { color: var(--ink); }

.btn { border: 0; min-height: 46px; padding: 11px 18px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; text-decoration: none; cursor: pointer; font-weight: 750; transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease; }
.btn:hover:not([disabled]) { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(47, 111, 235, .24); }
.btn-primary:hover:not([disabled]) { background: var(--blue-dark); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-secondary { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.btn-quiet { background: transparent; color: var(--blue-dark); padding-inline: 10px; }
.btn-block { width: 100%; }
.btn-compact { min-height: 38px; padding: 8px 12px; font-size: 13px; }
.btn[disabled] { cursor: not-allowed; opacity: .5; transform: none; box-shadow: none; }
.icon-button { width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: inherit; cursor: pointer; font-size: 22px; }

.flow-nav { background: var(--navy); color: #dfe8f5; }
.flow-nav-inner { max-width: var(--max); min-height: 50px; margin: 0 auto; padding: 8px 24px; display: flex; align-items: center; gap: 14px; }
.flow-nav-title { color: #8fa4bf; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.flow-steps::-webkit-scrollbar { display: none; }
.flow-step { display: block; color: #aebcd0; border: 1px solid transparent; border-radius: 999px; padding: 6px 10px; white-space: nowrap; font-size: 11px; font-weight: 750; }
.flow-step.is-active { background: #243a58; border-color: #385374; color: #fff; }
.flow-step.is-done { color: #91d7bd; }

.global-message { background: var(--red-soft); color: #74282f; border-bottom: 1px solid #f2c6ca; }
.global-message-inner { max-width: var(--max); margin: 0 auto; padding: 14px 24px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.global-message p { margin: 2px 0 0; font-size: 13px; }
.message-actions { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }

.hero { background: radial-gradient(circle at 88% 10%, rgba(65, 124, 229, .13), transparent 29%), linear-gradient(180deg, #fff 0%, #f6f9fc 100%); overflow: hidden; }
.hero-inner { min-height: 680px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); align-items: center; gap: 62px; padding-top: 66px; padding-bottom: 78px; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-copy h1 span { color: var(--blue); }
.lead { max-width: 690px; color: var(--muted); font-size: 19px; line-height: 1.6; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 20px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 12px 22px; color: #566477; font-size: 13px; font-weight: 650; }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.check { color: var(--green); font-weight: 900; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--blue-dark); font-size: 13px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow.small { font-size: 11px; }
.eyebrow.light { color: #a7c7ff; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 5px 9px; font-size: 11px; font-weight: 850; }
.badge-green { background: var(--green-soft); color: #0f6c4d; }
.badge-amber { background: var(--amber-soft); color: #815100; }
.badge-blue { background: var(--blue-soft); color: var(--blue-dark); }
.badge-purple { background: var(--purple-soft); color: #523991; }
.badge-red { background: var(--red-soft); color: #8e2f37; }

.report-preview { background: var(--paper); border: 1px solid #dae2ec; border-radius: var(--radius-xl); box-shadow: var(--shadow); padding: 22px; transform: rotate(1.2deg); }
.preview-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.preview-business { font-weight: 850; }
.preview-date { color: var(--muted); font-size: 12px; }
.preview-verdict { padding: 22px 0 16px; }
.preview-verdict strong { display: block; margin: 7px 0; font-size: 21px; line-height: 1.3; }
.preview-verdict p { color: var(--muted); font-size: 13px; }
.preview-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.preview-stat { padding: 13px; border-radius: 12px; background: var(--surface); }
.preview-stat b { display: block; margin-bottom: 5px; font-size: 22px; line-height: 1; }
.preview-stat span { color: var(--muted); font-size: 11px; }
.mini-finding { display: flex; gap: 12px; margin-top: 12px; padding: 12px; border: 1px solid var(--soft-line); border-radius: 12px; }
.mini-severity { width: 29px; height: 29px; border-radius: 9px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 11px; font-weight: 900; flex: 0 0 auto; }
.mini-severity.amber { background: var(--amber-soft); color: var(--amber); }
.mini-finding b, .mini-finding span { display: block; }
.mini-finding b { font-size: 13px; }
.mini-finding span { color: var(--muted); font-size: 11px; }

.section { padding: 84px 0; }
.section-soft { background: var(--surface); }
.section-heading { max-width: 720px; margin-bottom: 42px; }
.section-heading .eyebrow { margin-bottom: 14px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.process-card { position: relative; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.process-card > span { width: 36px; height: 36px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue-dark); font-size: 12px; font-weight: 850; }
.process-card p { margin: 0; color: var(--muted); font-size: 14px; }
.price-box { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: #fff; border-radius: var(--radius-xl); overflow: hidden; }
.price-copy { padding: 46px; }
.price-copy h2 { margin-top: 20px; }
.price-copy p { color: #b6c5d8; }
.price-value { margin: 26px 0 8px; font-size: 52px; line-height: 1; letter-spacing: -.05em; font-weight: 850; }
.price-list { padding: 42px; background: var(--navy-2); display: grid; align-content: center; gap: 15px; }
.price-item { display: flex; align-items: flex-start; gap: 10px; color: #e8eef7; }
.price-item span { color: #76d0ad; font-weight: 900; }
.site-footer { border-top: 1px solid var(--line); }
.footer-inner { max-width: var(--max); min-height: 74px; margin: 0 auto; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; gap: 22px; color: var(--muted); font-size: 12px; }

.flow-shell { min-height: calc(100vh - 153px); background: var(--surface); padding: 42px 0 70px; }
.flow-card { max-width: 880px; margin: 0 auto; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
.flow-head { padding: 25px 32px 20px; border-bottom: 1px solid var(--soft-line); display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.flow-head h1 { margin-bottom: 8px; font-size: 30px; line-height: 1.15; letter-spacing: -.035em; }
.flow-head p { margin: 0; color: var(--muted); font-size: 14px; }
.flow-body { padding: 30px 32px 34px; }
.progress-label { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 750; }
.progress-track { height: 8px; margin-bottom: 30px; overflow: hidden; border-radius: 999px; background: var(--surface-2); }
.progress-track span { display: block; height: 100%; width: 25%; border-radius: inherit; background: var(--blue); transition: width .28s ease; }
.form-step h2 { font-size: 25px; }
.form-step > p { margin-bottom: 24px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field-wide { grid-column: 1 / -1; }
.field-spaced { margin-top: 20px; }
.field label, .field-label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 750; }
.field small { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.optional { color: var(--muted); font-weight: 500; }
.control { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 11px; background: var(--paper); color: var(--ink); }
.control:hover { border-color: #a8b5c6; }
.control:focus { border-color: #1d4ed8; outline: 3px solid #1d4ed8; outline-offset: 2px; box-shadow: 0 0 0 1px var(--paper); }
.control[aria-invalid="true"] { border-color: var(--red); background: #fffafa; }
textarea.control { min-height: 96px; resize: vertical; }
.choice-grid { display: grid; gap: 10px; }
.choice { display: flex; align-items: flex-start; gap: 12px; padding: 15px; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; transition: background .16s, border-color .16s; }
.choice:hover { border-color: #b6c4d5; }
.choice:has(input:checked) { background: var(--blue-soft); border-color: #90b7f4; }
.choice-disabled { cursor: not-allowed; background: #f7f8fa; opacity: .68; }
.choice-disabled:hover { border-color: var(--line); }
.choice input { margin-top: 4px; accent-color: var(--blue); }
.choice b, .choice small { display: block; }
.choice small { margin-top: 2px; color: var(--muted); font-size: 13px; }
.notice { display: flex; gap: 12px; padding: 15px 16px; border-radius: 13px; margin: 18px 0; }
.notice p { margin: 4px 0 0; font-size: 13px; }
.notice.compact { margin-bottom: 0; }
.notice-icon { width: 21px; height: 21px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid currentColor; border-radius: 50%; font-size: 12px; font-weight: 900; }
.notice-amber { background: var(--amber-soft); color: #684300; }
.notice-blue { background: var(--blue-soft); color: #204777; }
.notice-green { background: var(--green-soft); color: #125b43; }
.notice-purple { background: var(--purple-soft); color: #4e3887; }
.form-error { margin: 10px 0 0; color: var(--red); font-size: 13px; font-weight: 750; }
.flow-actions { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--soft-line); display: flex; justify-content: space-between; gap: 12px; }

.order-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 22px; }
.order-panel { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.panel-title { margin-bottom: 14px; font-size: 19px; letter-spacing: -.02em; }
.payment-heading { margin-top: 18px; font-size: 38px; }
.summary-list { margin: 0; }
.summary-row { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--soft-line); }
.summary-row:last-child { border-bottom: 0; }
.summary-row dt { color: var(--muted); font-size: 13px; }
.summary-row dd { margin: 0; font-size: 13px; font-weight: 750; text-align: right; overflow-wrap: anywhere; }
.pay-methods { margin: 18px 0; padding: 0; border: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.pay-method { min-height: 45px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 11px; cursor: pointer; font-size: 13px; font-weight: 750; }
.pay-method:has(input:checked) { background: var(--blue-soft); border-color: #90b7f4; }
.pay-method input { accent-color: var(--blue); }
.success-wrap { max-width: 680px; margin: 0 auto; padding: 78px 24px; text-align: center; }
.success-icon { width: 68px; height: 68px; margin: 0 auto 24px; border-radius: 21px; display: grid; place-items: center; background: var(--green-soft); color: var(--green); font-size: 32px; font-weight: 900; }
.success-wrap h1 { font-size: 42px; }
.success-wrap .lead { margin-inline: auto; font-size: 17px; }
.next-box { margin: 30px 0; padding: 22px; text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.next-row { display: flex; gap: 12px; padding: 10px 0; }
.next-row > span { width: 27px; height: 27px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; flex: 0 0 auto; font-size: 11px; font-weight: 850; }
.next-row p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }

.cabinet-shell { min-height: calc(100vh - 153px); padding: 28px 0 62px; background: var(--surface); }
.cabinet { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.cabinet-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.cabinet-top h1 { margin: 8px 0 6px; font-size: 32px; }
.cabinet-top p { margin: 0; color: var(--muted); font-size: 13px; }
.cabinet-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; }
.side-panel, .main-panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.side-panel { padding: 12px; align-self: start; }
.side-link { width: 100%; min-height: 42px; border: 0; background: transparent; border-radius: 10px; padding: 10px 12px; display: flex; align-items: center; color: #536075; cursor: pointer; text-align: left; font-size: 13px; font-weight: 700; }
.side-link:hover { background: var(--surface); }
.side-link.is-active { background: var(--blue-soft); color: var(--blue-dark); }
.side-link[disabled] { opacity: .45; cursor: not-allowed; }
.main-panel { padding: 26px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 22px; }
.panel-head h2 { margin-bottom: 6px; font-size: 27px; }
.panel-head p { margin: 0; color: var(--muted); font-size: 13px; }
.status-card { margin-bottom: 18px; padding: 24px; border-radius: var(--radius-lg); background: var(--navy); color: #fff; }
.status-card p { color: #b8c7d9; }
.status-kicker { color: #8fa4bf; font-size: 11px; text-transform: uppercase; letter-spacing: .07em; font-weight: 800; }
.status-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.status-top h3 { margin-top: 5px; font-size: 23px; }
.progress-number { font-size: 28px; }
.status-progress { height: 8px; margin-top: 18px; overflow: hidden; border-radius: 999px; background: #263a55; }
.status-progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: #6aa2ff; transition: width .35s ease; }
.dashboard-cols { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.plain-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 20px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--soft-line); }
.timeline li:last-child { border-bottom: 0; }
.timeline-marker { width: 18px; height: 18px; margin-top: 2px; border: 2px solid #b7c2d1; border-radius: 50%; background: var(--paper); }
.timeline li.is-done .timeline-marker { display: grid; place-items: center; border-color: var(--green); background: var(--green); color: #fff; font-size: 11px; }
.timeline li.is-current .timeline-marker { border: 5px solid var(--blue-soft); background: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.timeline b, .timeline span { display: block; }
.timeline b { font-size: 13px; }
.timeline span { color: var(--muted); font-size: 11px; }
.detail-list { margin: 0; }
.detail-list > div { padding: 10px 0; border-bottom: 1px solid var(--soft-line); }
.detail-list dt { color: var(--muted); font-size: 11px; }
.detail-list dd { margin: 2px 0 0; font-size: 13px; font-weight: 750; overflow-wrap: anywhere; }
.panel-actions { display: flex; justify-content: flex-end; margin-top: 20px; }

.report-shell { min-height: calc(100vh - 153px); padding: 26px 0 70px; background: #f1f4f7; }
.report-toolbar { max-width: 1060px; margin: 0 auto 14px; padding: 0 20px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.report-toolbar > span { color: var(--muted); font-size: 12px; }
.report-toolbar > div { display: flex; gap: 8px; flex-wrap: wrap; }
.report-paper { max-width: 1060px; margin: 0 auto; overflow: hidden; background: var(--paper); box-shadow: var(--shadow); border-radius: 4px; }
.report-cover { padding: 54px 58px 42px; background: var(--navy); color: #fff; }
.report-cover h1 { max-width: 820px; margin-top: 22px; font-size: clamp(36px, 5vw, 58px); }
.report-cover > p { max-width: 760px; color: #becbdd; font-size: 18px; }
.report-meta { display: flex; flex-wrap: wrap; gap: 9px 20px; margin-top: 26px; color: #9fb0c4; font-size: 12px; }
.report-body { padding: 42px 58px 54px; }
.report-section { padding: 30px 0; border-bottom: 1px solid var(--line); }
.report-section:first-child { padding-top: 0; }
.report-section:last-child { border-bottom: 0; }
.report-section h2 { margin: 6px 0 0; font-size: 30px; }
.section-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 20px; }
.count-badge { min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); color: var(--muted); font-weight: 850; }
.finding-list, .evidence-list { display: grid; gap: 12px; }
.finding-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.finding-card summary { list-style: none; padding: 16px; display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 13px; cursor: pointer; }
.finding-card summary::-webkit-details-marker { display: none; }
.finding-card summary::after { content: "+"; color: var(--muted); font-size: 20px; line-height: 1; }
.finding-card[open] summary::after { content: "−"; }
.severity { min-width: 34px; padding: 5px 7px; border-radius: 8px; background: var(--amber-soft); color: var(--amber); font-size: 11px; font-weight: 900; text-align: center; }
.severity.p1, .severity.critical, .severity.high { background: var(--red-soft); color: var(--red); }
.severity.p3, .severity.low { background: var(--blue-soft); color: var(--blue-dark); }
.finding-heading b, .finding-heading span { display: block; }
.finding-heading span { margin-top: 3px; color: var(--muted); font-size: 11px; }
.finding-detail { padding: 0 16px 16px 63px; color: #4c586b; font-size: 14px; }
.finding-evidence { padding: 12px; border-radius: 10px; background: var(--surface); color: var(--muted); font-size: 12px; }
.recommendation-list { margin: 0; padding: 0; list-style: none; counter-reset: plan; display: grid; gap: 10px; }
.recommendation-list li { counter-increment: plan; position: relative; padding: 16px 16px 16px 54px; border: 1px solid var(--line); border-radius: 13px; }
.recommendation-list li::before { content: counter(plan); position: absolute; top: 15px; left: 16px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 11px; font-weight: 850; }
.recommendation-list li b, .recommendation-list li span { display: block; }
.recommendation-list li span { margin-top: 4px; color: var(--muted); font-size: 13px; }
.evidence-card { padding: 16px; border: 1px solid var(--line); border-radius: 13px; }
.evidence-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 8px; }
.evidence-head b { overflow-wrap: anywhere; }
.evidence-head span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.evidence-card p { margin: 0; color: #4f5c6f; font-size: 13px; }
.evidence-card a { display: inline-block; margin-top: 8px; color: var(--blue-dark); font-size: 12px; overflow-wrap: anywhere; }
.empty-state { margin: 0; padding: 18px; border: 1px dashed #cbd5e1; border-radius: 12px; color: var(--muted); text-align: center; }

.toast { position: fixed; right: 22px; bottom: 22px; z-index: 60; max-width: min(390px, calc(100vw - 30px)); padding: 15px 17px; display: flex; gap: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: var(--shadow); }
.toast-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 900; }
.toast strong, .toast p { display: block; }
.toast p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }

/* Локальная панель контроля качества */
.admin-body { min-height: 100vh; background: #eef2f6; }
.local-warning { background: #4d2f82; color: #fff; }
.local-warning-inner { max-width: var(--max); margin: 0 auto; padding: 10px 24px; display: flex; justify-content: center; align-items: center; gap: 10px; text-align: center; font-size: 13px; font-weight: 800; }
.admin-header { background: var(--navy); color: #fff; }
.admin-header-inner { max-width: var(--max); min-height: 78px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.admin-header h1 { margin: 0; font-size: 26px; letter-spacing: -.03em; }
.admin-header p { margin: 3px 0 0; color: #9fb0c4; font-size: 12px; }
.admin-brand-title { display: flex; align-items: center; gap: 18px; }
.admin-brand-title .brand-logo { width: 150px; }
.admin-shell { max-width: var(--max); margin: 0 auto; padding: 30px 24px 70px; }
.admin-grid { display: grid; grid-template-columns: 350px minmax(0, 1fr); gap: 20px; align-items: start; }
.admin-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-sm); }
.admin-card h2 { font-size: 23px; }
.admin-card.sticky { position: sticky; top: 20px; }
.admin-form { display: grid; gap: 16px; }
.admin-actions { display: grid; gap: 9px; }
.admin-divider { height: 1px; margin: 6px 0; background: var(--line); }
.admin-preview { min-height: 580px; }

/* Platform, account, client cabinet and CRM */
.campaigns-section { background: #f4f7fb; border-block: 1px solid var(--line); }
.campaign-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.campaign-card { min-height: 280px; padding: 28px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.campaign-card > span { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.campaign-card h3 { margin: 18px 0 10px; font-size: 25px; }
.campaign-card p { margin: 0 0 24px; color: var(--muted); }
.campaign-card .btn { margin-top: auto; }
.campaign-empty { border-style: dashed; box-shadow: none; }

.portal-body, .dashboard-body, .campaign-body { min-height: 100vh; background: #f4f7fb; }
.portal-header, .dashboard-header { min-height: 78px; padding: 8px max(24px, calc((100vw - var(--max)) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: #0f172a; color: #fff; }
.portal-header .brand-logo, .dashboard-header .brand-logo { width: 165px; }
.portal-shell { max-width: var(--max); min-height: calc(100vh - 78px); margin: 0 auto; padding: 64px 24px; display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 76px; align-items: center; }
.portal-intro h1 { max-width: 700px; margin: 18px 0; font-size: clamp(42px, 6vw, 72px); line-height: 1.02; }
.portal-intro > p { max-width: 650px; color: #526176; font-size: 19px; }
.portal-trust { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.portal-trust span { padding: 9px 13px; border: 1px solid #ced7e3; border-radius: 999px; color: #334155; background: #fff; font-size: 13px; font-weight: 700; }
.auth-card { padding: 34px; border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: 0 24px 70px rgba(15, 23, 42, .12); }
.auth-card h2 { margin: 25px 0 7px; font-size: 31px; }
.auth-card > p { color: var(--muted); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 13px; background: #edf2f7; }
.auth-tab { padding: 10px; border: 0; border-radius: 10px; color: #526176; background: transparent; font: inherit; font-weight: 750; cursor: pointer; }
.auth-tab.is-active { color: #0f172a; background: #fff; box-shadow: 0 2px 8px rgba(15, 23, 42, .08); }
.auth-note { margin: 20px 0 0; font-size: 12px; }

.dashboard-user { display: flex; align-items: center; gap: 16px; color: #cbd5e1; font-size: 13px; }
.dashboard-shell { max-width: var(--max); margin: 0 auto; padding: 42px 24px 80px; }
.dashboard-welcome { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.dashboard-welcome h1 { margin: 12px 0 6px; font-size: 44px; }
.dashboard-welcome p { margin: 0; color: var(--muted); }
.dashboard-stats, .crm-stat-grid { margin: 28px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dashboard-stats article, .crm-stat-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.dashboard-stats span, .crm-stat-grid span { display: block; color: var(--muted); font-size: 13px; font-weight: 700; }
.dashboard-stats strong, .crm-stat-grid strong { display: block; margin-top: 8px; font-size: 34px; }
.crm-stat-grid small { color: var(--muted); }
.dashboard-panel, .crm-overview, .landing-manager { margin-top: 24px; padding: 25px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th, .data-table td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.data-table th { color: #64748b; font-size: 11px; letter-spacing: .07em; text-transform: uppercase; }
.status-cell { font-weight: 750; color: var(--blue); }
.table-action { color: var(--blue); font-weight: 750; }

.campaign-header > div { display: flex; align-items: center; gap: 20px; }
.campaign-hero { padding: 110px 0; color: #fff; background: radial-gradient(circle at 75% 20%, rgba(0, 168, 232, .22), transparent 32%), #0f172a; }
.campaign-hero h1 { max-width: 900px; margin: 22px 0; font-size: clamp(48px, 7vw, 84px); }
.campaign-hero .lead { max-width: 760px; color: #c2cfde; }
.campaign-detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.campaign-detail-card { min-height: 230px; padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.campaign-detail-card > span { color: var(--blue); font-weight: 850; }
.campaign-detail-card h2 { margin: 24px 0 12px; font-size: 30px; }
.campaign-detail-card p { color: var(--muted); white-space: pre-line; }
.campaign-error { text-align: center; padding: 60px 20px; }

.crm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.landing-manager-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; align-items: start; }
.landing-admin-list { display: grid; gap: 10px; }
.landing-admin-item { width: 100%; padding: 15px; display: flex; justify-content: space-between; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: #fff; text-align: left; cursor: pointer; }
.landing-admin-item:hover { border-color: var(--blue); }
.landing-admin-item span { display: grid; gap: 4px; }
.landing-admin-item small { color: var(--muted); }
.landing-admin-item i { padding: 5px 8px; border-radius: 999px; color: #7c2d12; background: #ffedd5; font-size: 11px; font-style: normal; font-weight: 800; white-space: nowrap; }
.landing-admin-item i.is-published { color: #166534; background: #dcfce7; }
.slug-control { display: flex; align-items: center; border: 1px solid #cbd5e1; border-radius: 12px; overflow: hidden; background: #f8fafc; }
.slug-control span { padding-left: 12px; color: #64748b; font-size: 12px; white-space: nowrap; }
.slug-control .control { border: 0; border-radius: 0; padding-left: 3px; background: transparent; }
.code-control { min-height: 150px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.admin-actions-row { display: flex; gap: 10px; flex-wrap: wrap; }
.preview-placeholder { min-height: 500px; display: grid; place-items: center; padding: 30px; border: 1px dashed #cbd5e1; border-radius: 14px; color: var(--muted); text-align: center; }
.admin-preview .report-section { padding: 22px 0; }
.admin-preview .report-section h2 { font-size: 25px; }
.qa-status { margin-bottom: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.qa-status p { margin: 0; color: var(--muted); font-size: 12px; }

/* Публичный лендинг */
body[data-current-view="landing"] { background: var(--bg-primary); color: var(--text-primary); }
body[data-current-view="landing"] h1,
body[data-current-view="landing"] h2,
body[data-current-view="landing"] h3,
body[data-current-view="landing"] .brand { letter-spacing: 0; }
body[data-current-view="landing"] .environment-bar { background: #111e33; color: #cbd5e1; border-bottom: 1px solid var(--border-subtle); }
body[data-current-view="landing"] .connection-pill,
body[data-current-view="landing"] .mode-pill { background: #1e293b; color: #dbe6f4; }
body[data-current-view="landing"] .site-header { background: rgba(15, 23, 42, .94); border-color: rgba(51, 65, 85, .88); color: var(--text-primary); }
body[data-current-view="landing"] .brand-mark { background: var(--accent-cta); color: #07111f; box-shadow: none; }
body[data-current-view="landing"] .nav-link { color: #b8c5d6; }
body[data-current-view="landing"] .nav-link:hover { color: #fff; }
body[data-current-view="landing"] .btn-secondary { background: transparent; border-color: #52637a; color: var(--text-primary); }
body[data-current-view="landing"] .btn-secondary:hover:not([disabled]) { background: var(--bg-elevated); border-color: #718199; }
body[data-current-view="landing"] .btn-primary { background: var(--accent-cta); color: #07111f; box-shadow: none; }
body[data-current-view="landing"] .btn-primary:hover:not([disabled]) { background: #60a5fa; }
body[data-current-view="landing"] button:focus-visible,
body[data-current-view="landing"] a:focus-visible,
body[data-current-view="landing"] summary:focus-visible { outline-color: #7dd3fc; }
body[data-current-view="landing"] .flow-nav { display: none; }
body[data-current-view="landing"] .view { min-height: 100vh; }
body:not([data-current-view="landing"]) .header-cta { display: none; }

.landing-page { overflow: hidden; background: var(--bg-primary); color: var(--text-primary); }
.landing-page .container { max-width: 1200px; }
.landing-page .hero {
  position: relative;
  background:
    linear-gradient(rgba(51, 65, 85, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 65, 85, .18) 1px, transparent 1px),
    var(--bg-primary);
  background-size: 64px 64px;
}
.landing-page .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, var(--bg-primary) 0%, transparent 28%, transparent 70%, var(--bg-primary) 100%); }
.landing-page .hero-inner { position: relative; z-index: 1; min-height: 690px; grid-template-columns: minmax(0, 1.06fr) minmax(390px, .94fr); gap: 72px; padding-top: 82px; padding-bottom: 92px; }
.landing-page .hero-copy { max-width: 660px; }
.landing-page .hero-copy h1 { margin-bottom: 24px; font-size: 64px; line-height: 1.04; }
.landing-page .hero-copy h1 span { color: #60a5fa; }
.landing-page .eyebrow { color: #93c5fd; letter-spacing: .06em; }
.landing-page .eyebrow-dot { background: var(--accent-primary); }
.landing-page .lead { color: #bdc9d8; font-size: 18px; line-height: 1.65; }
.hero-offer { display: flex; gap: 14px; margin-top: 30px; }
.hero-offer > div { min-width: 190px; padding: 14px 16px; border: 1px solid var(--border-subtle); border-radius: 8px; background: rgba(30, 41, 59, .72); }
.hero-offer span,
.hero-offer strong,
.hero-offer small { display: block; }
.hero-offer span { color: var(--text-secondary); font-size: 12px; }
.hero-offer strong { margin-top: 2px; color: #fff; font-size: 22px; font-variant-numeric: tabular-nums; }
.hero-offer small { color: #a8b6c8; font-size: 12px; }
.landing-page .hero-actions { margin-top: 24px; }
.landing-page .hero-meta { color: #a8b6c8; }
.landing-page .check { color: var(--accent-primary); }

.audit-widget { position: relative; padding: 22px; border: 1px solid #41536c; border-radius: 8px; background: rgba(30, 41, 59, .96); box-shadow: 0 28px 70px rgba(0, 0, 0, .26); }
.audit-widget::before { content: ""; position: absolute; top: 0; left: 22px; right: 22px; height: 2px; background: linear-gradient(90deg, var(--accent-primary), var(--accent-cta), var(--accent-warning)); }
.widget-topline { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--border-subtle); }
.widget-topline strong,
.widget-label { display: block; }
.widget-label { margin-bottom: 3px; color: var(--text-secondary); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.widget-topline strong { font-size: 17px; font-variant-numeric: tabular-nums; }
.status-live { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 999px; background: rgba(34, 197, 94, .12); color: #86efac; font-size: 12px; font-weight: 750; }
.status-live > span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-primary); box-shadow: 0 0 0 4px rgba(34, 197, 94, .12); }
.widget-stage { padding: 22px 0; }
.widget-stage-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 11px; }
.widget-stage-head span { color: var(--text-secondary); font-size: 12px; }
.widget-stage-head strong { font-size: 13px; }
.scan-track { height: 6px; margin-bottom: 17px; overflow: hidden; border-radius: 999px; background: #0f172a; }
.scan-track span { display: block; width: 66%; height: 100%; border-radius: inherit; background: var(--accent-cta); }
.widget-source-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.widget-source-list > span { display: flex; justify-content: space-between; gap: 10px; padding: 9px 10px; border: 1px solid var(--border-subtle); border-radius: 6px; color: #cbd5e1; font-size: 12px; }
.widget-source-list b { color: var(--text-secondary); font-size: 10px; font-weight: 650; }
.widget-source-list .is-ready b { color: #86efac; }
.widget-source-list .is-active { border-color: #3b82f6; background: rgba(59, 130, 246, .08); }
.widget-source-list .is-active b { color: #93c5fd; }
.widget-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-top: 18px; border-top: 1px solid var(--border-subtle); }
.widget-metrics > div { padding: 12px; border-radius: 6px; background: #142033; }
.widget-metrics span,
.widget-metrics strong,
.widget-metrics small { display: block; }
.widget-metrics span { color: var(--text-secondary); font-size: 11px; }
.widget-metrics strong { margin: 5px 0 3px; color: #fff; font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.widget-metrics small { color: #8392a7; font-size: 10px; }
.widget-note { display: flex; gap: 8px; margin: 16px 0 0; color: #8fa0b5; font-size: 11px; }
.widget-note > span { width: 17px; height: 17px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #65758a; border-radius: 50%; color: #b8c5d6; font-size: 10px; }

.landing-section { padding: 96px 0; border-top: 1px solid var(--border-subtle); }
.problem-section,
.process-section,
.trust-section,
.faq-section { background: var(--bg-secondary); }
.checks-section,
.comparison-section,
.demo-section,
.pricing-section { background: var(--bg-primary); }
.landing-heading { max-width: 750px; margin-bottom: 42px; }
.landing-heading h2 { margin: 10px 0 18px; color: #fff; font-size: 42px; line-height: 1.12; }
.landing-heading > p { margin: 0; color: #aebccd; font-size: 17px; line-height: 1.65; }
.section-index { color: #7dd3fc; font-size: 12px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.problem-card { min-height: 250px; padding: 24px; border: 1px solid var(--border-subtle); border-radius: 8px; background: #17243a; transition: background .18s ease, border-color .18s ease; }
.problem-card:hover { border-color: #4b607c; background: var(--bg-elevated); }
.problem-card .card-kicker { color: #7dd3fc; font-size: 12px; font-weight: 800; }
.problem-card h3 { margin: 38px 0 14px; color: #fff; font-size: 19px; line-height: 1.35; }
.problem-card p { margin: 0; color: #aebccd; font-size: 14px; line-height: 1.6; }

.checks-layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(480px, 1.15fr); gap: 76px; align-items: start; }
.checks-layout .landing-heading { position: sticky; top: 118px; margin-bottom: 0; }
.evidence-rule { display: flex; gap: 12px; margin-top: 28px; padding: 16px; border: 1px solid rgba(34, 197, 94, .32); border-radius: 8px; background: rgba(34, 197, 94, .07); }
.evidence-rule > span { width: 25px; height: 25px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--accent-primary); color: #07140d; font-weight: 900; }
.evidence-rule strong { display: block; color: #dcfce7; font-size: 14px; }
.evidence-rule p { margin: 3px 0 0; color: #9fb4a6; font-size: 12px; }
.checks-list { border-top: 1px solid var(--border-subtle); }
.checks-list article { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 23px 0; border-bottom: 1px solid var(--border-subtle); }
.checks-list article > span { color: #64748b; font: 700 13px ui-monospace, SFMono-Regular, Consolas, monospace; }
.checks-list h3 { color: #fff; font-size: 18px; }
.checks-list p { margin: 0; color: #9fafc2; font-size: 14px; }

.comparison { overflow: hidden; border: 1px solid var(--border-subtle); border-radius: 8px; background: var(--bg-secondary); }
.comparison-head,
.comparison-row { display: grid; grid-template-columns: .8fr 1.1fr 1.1fr; }
.comparison-head > *,
.comparison-row > * { padding: 17px 20px; }
.comparison-head { background: #111c30; color: #8fa0b5; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.comparison-head strong { color: #86efac; }
.comparison-row { border-top: 1px solid var(--border-subtle); }
.comparison-row > * + * { border-left: 1px solid var(--border-subtle); }
.comparison-row b { color: #e5edf7; font-size: 14px; }
.comparison-row span { color: #aebccd; font-size: 14px; }
.comparison-row span[data-label="WebDigger"] { color: #dce8f5; }
.comparison-row i { margin-right: 8px; color: var(--accent-primary); font-style: normal; font-weight: 900; }

.landing-process { list-style: none; margin: 0; padding: 0; }
.landing-process .process-card { min-height: 250px; padding: 24px; border-color: #3b4c64; border-radius: 8px; background: #17243a; box-shadow: none; }
.landing-process .process-card > span { border-radius: 6px; background: #243a58; color: #93c5fd; font: 800 12px ui-monospace, SFMono-Regular, Consolas, monospace; }
.landing-process .process-card h3 { color: #fff; }
.landing-process .process-card p { color: #aebccd; }

.demo-intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; }
.demo-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; color: #aebccd; font-size: 12px; }
.demo-legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; background: #60a5fa; }
.legend-dot.gap { background: var(--accent-warning); }
.legend-dot.qa { background: var(--accent-primary); }
.demo-report { overflow: hidden; border: 1px solid #43546c; border-radius: 8px; background: #f8fafc; color: #172033; box-shadow: 0 32px 80px rgba(0, 0, 0, .28); }
.demo-report-head { display: grid; grid-template-columns: 1fr auto; gap: 44px; padding: 34px 38px; background: #17243a; color: #fff; }
.demo-report-head h3 { max-width: 720px; margin: 8px 0 10px; font-size: 30px; line-height: 1.2; }
.demo-report-head p { max-width: 720px; margin: 0; color: #b9c7d8; }
.demo-mark { color: #7dd3fc; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.demo-report-head dl { min-width: 180px; margin: 0; }
.demo-report-head dl > div { display: flex; justify-content: space-between; gap: 22px; padding: 7px 0; border-bottom: 1px solid #334155; }
.demo-report-head dt { color: #94a3b8; font-size: 11px; }
.demo-report-head dd { margin: 0; font-size: 11px; font-weight: 750; font-variant-numeric: tabular-nums; }
.demo-report-head .qa-ok { color: #86efac; }
.demo-summary { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #dbe3ec; }
.demo-summary > div { padding: 21px 28px; }
.demo-summary > div + div { border-left: 1px solid #dbe3ec; }
.demo-summary span,
.demo-summary strong,
.demo-summary small { display: block; }
.demo-summary span { color: #64748b; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.demo-summary strong { margin: 5px 0; font-size: 28px; line-height: 1; font-variant-numeric: tabular-nums; }
.demo-summary small { color: #64748b; font-size: 11px; }
.demo-report-body { display: grid; grid-template-columns: 1.12fr .88fr; }
.demo-column { padding: 32px 34px 38px; }
.demo-column + .demo-column { border-left: 1px solid #dbe3ec; background: #f1f5f9; }
.demo-column-head > span { color: #64748b; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.demo-column-head h3 { margin: 5px 0 18px; font-size: 23px; }
.demo-finding { margin-bottom: 9px; border: 1px solid #d8e1eb; border-radius: 7px; background: #fff; }
.demo-finding summary { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px; cursor: pointer; list-style: none; }
.demo-finding summary::-webkit-details-marker { display: none; }
.demo-finding summary b,
.demo-finding summary small { display: block; }
.demo-finding summary b { font-size: 13px; }
.demo-finding summary small { margin-top: 2px; color: #64748b; font-size: 11px; }
.priority { min-width: 36px; height: 28px; display: inline-grid; place-items: center; border-radius: 5px; font-size: 10px; font-weight: 900; }
.priority.p1 { background: #fee2e2; color: #b91c1c; }
.priority.p2 { background: #fef3c7; color: #92400e; }
.priority.gap { background: #fef3c7; color: #92400e; }
.demo-finding-body { padding: 0 14px 14px 62px; }
.demo-finding-body > p { color: #475569; font-size: 12px; }
.evidence-snippet { padding: 10px; border-left: 3px solid #22c55e; background: #f1f5f9; }
.evidence-snippet span,
.evidence-snippet b { display: block; }
.evidence-snippet span { color: #64748b; font-size: 10px; }
.evidence-snippet b { margin-top: 2px; font-size: 10px; }
.data-gap-card { display: flex; gap: 12px; padding: 14px; border: 1px dashed #d39a28; border-radius: 7px; background: #fffbeb; }
.data-gap-card b { font-size: 13px; }
.data-gap-card p { margin: 3px 0 0; color: #6b5a33; font-size: 11px; }
.demo-plan { list-style: none; margin: 0; padding: 0; counter-reset: demo-plan; }
.demo-plan li { position: relative; padding: 14px 0 14px 42px; border-bottom: 1px solid #d8e1eb; counter-increment: demo-plan; }
.demo-plan li::before { content: counter(demo-plan); position: absolute; top: 15px; left: 0; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: #17243a; color: #fff; font-size: 10px; font-weight: 800; }
.demo-plan span,
.demo-plan b,
.demo-plan small { display: block; }
.demo-plan span { color: #2563eb; font-size: 10px; font-weight: 800; }
.demo-plan b { margin-top: 3px; font-size: 13px; }
.demo-plan small { margin-top: 3px; color: #64748b; font-size: 10px; }
.recheck-card { margin-top: 18px; padding: 16px; border-radius: 7px; background: #17243a; color: #fff; }
.recheck-card > span { color: #93c5fd; font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
.recheck-card > div { display: flex; align-items: center; gap: 12px; margin: 12px 0; }
.recheck-card strong { font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.recheck-card p { margin: 0; color: #d3deeb; font-size: 12px; }
.recheck-card small { color: #94a3b8; font-size: 10px; }

.trust-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(500px, 1.2fr); gap: 76px; }
.trust-grid .landing-heading { margin-bottom: 0; }
.trust-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.trust-points article { display: flex; gap: 13px; padding: 20px; border: 1px solid #3b4c64; border-radius: 8px; background: #17243a; }
.trust-points article > span { color: #7dd3fc; font: 800 11px ui-monospace, SFMono-Regular, Consolas, monospace; }
.trust-points h3 { color: #fff; font-size: 16px; }
.trust-points p { margin: 0; color: #aebccd; font-size: 13px; }

.landing-price { grid-template-columns: .82fr 1.18fr; border: 1px solid #43546c; border-radius: 8px; background: var(--bg-secondary); }
.landing-price .price-copy { display: flex; flex-direction: column; align-items: flex-start; padding: 42px; background: #162238; }
.landing-price .price-copy h2 { margin: 12px 0 22px; color: #fff; font-size: 31px; }
.price-label { color: #7dd3fc; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.landing-price .price-value { margin: 0 0 14px; font-size: 50px; font-variant-numeric: tabular-nums; }
.landing-price .price-timing { color: #b8c5d6; font-size: 14px; }
.landing-price .price-copy .btn { margin-top: 14px; }
.landing-price .price-copy > small { margin-top: 13px; color: #8fa0b5; font-size: 11px; }
.price-scope { display: grid; grid-template-columns: 1fr 1fr; }
.price-scope > div { padding: 38px 34px; }
.price-scope > div + div { border-left: 1px solid #43546c; }
.price-scope h3 { display: flex; align-items: center; gap: 9px; color: #fff; font-size: 16px; }
.price-scope ul { margin: 18px 0 0; padding: 0; list-style: none; }
.price-scope li { position: relative; padding: 7px 0 7px 18px; color: #b8c5d6; font-size: 13px; }
.price-scope li::before { content: ""; position: absolute; top: 16px; left: 0; width: 6px; height: 6px; border-radius: 50%; background: #64748b; }
.scope-icon { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; }
.scope-icon.included { background: rgba(34, 197, 94, .14); color: #86efac; }
.scope-icon.limited { background: rgba(245, 158, 11, .14); color: #fbbf24; }

.faq-layout { display: grid; grid-template-columns: minmax(280px, .7fr) minmax(500px, 1.3fr); gap: 76px; align-items: start; }
.faq-layout .landing-heading { position: sticky; top: 118px; margin: 0; }
.faq-list { border-top: 1px solid #41526a; }
.faq-item { border-bottom: 1px solid #41526a; }
.faq-item h3 { margin: 0; }
.faq-item button { width: 100%; min-height: 68px; display: flex; justify-content: space-between; align-items: center; gap: 22px; padding: 17px 0; border: 0; background: transparent; color: #fff; cursor: pointer; text-align: left; font-size: 16px; font-weight: 700; }
.faq-item button i { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid #52647b; border-radius: 50%; color: #93c5fd; font-size: 20px; font-style: normal; font-weight: 400; }
.faq-item button[aria-expanded="true"] i { border-color: #3b82f6; background: rgba(59, 130, 246, .14); }
.faq-panel { padding: 0 52px 19px 0; }
.faq-panel p { margin: 0; color: #aebccd; font-size: 14px; line-height: 1.65; }

.final-cta { background: #111c30; }
.final-cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 62px; align-items: center; }
.final-cta h2 { margin: 10px 0 12px; color: #fff; font-size: 42px; }
.final-cta p { margin: 0; color: #aebccd; }
.final-cta-actions { max-width: 370px; }
.final-cta-actions .btn { width: 100%; }
.final-cta-actions p { margin-top: 12px; font-size: 11px; }
.final-cta-actions a { color: #93c5fd; }
.legal-inline a,
.choice a,
.payment-legal a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.choice a { color: var(--blue-dark); }
.payment-legal { margin: 18px 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.payment-legal a { color: var(--blue-dark); }
.landing-footer { border-color: #26374e; background: #0b1220; }
.footer-main { display: grid; grid-template-columns: 1.2fr .9fr .9fr; gap: 60px; padding-top: 54px; padding-bottom: 42px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand-mark { font-size: 10px; }
.footer-brand p,
.footer-requisites p { max-width: 370px; margin: 18px 0 0; color: #a8b6c8; font-size: 12px; }
.footer-links h2,
.footer-requisites h2 { margin: 0 0 14px; color: #cbd5e1; font-size: 13px; }
.footer-links p { max-width: 330px; margin: 0; color: #a8b6c8; font-size: 12px; line-height: 1.6; }
.footer-links a { display: block; width: fit-content; margin: 8px 0; color: #b8c5d6; font-size: 12px; }
.footer-links a:hover { color: #fff; }
.footer-login { display: block; width: fit-content; margin-top: 15px; color: #93c5fd; font-size: 12px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { min-height: 60px; display: flex; justify-content: space-between; align-items: center; gap: 22px; border-top: 1px solid #26374e; color: #a8b6c8; font-size: 12px; }

.legal-page { min-height: 100vh; background: #f4f7fa; }
.legal-header { position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); }
.legal-header-inner { max-width: 960px; min-height: 72px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-back { color: var(--blue-dark); font-weight: 750; text-decoration: none; }
.legal-header-actions { display: flex; align-items: center; gap: 14px; }
.legal-draft-chip { padding: 5px 9px; border: 1px solid #d99a27; border-radius: 999px; background: #fff7e6; color: #69410a; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.legal-main { max-width: 960px; margin: 0 auto; padding: 56px 24px 90px; }
.legal-title { max-width: 760px; margin-bottom: 38px; }
.legal-title h1 { margin-bottom: 14px; font-size: clamp(36px, 6vw, 58px); }
.legal-title p { max-width: 720px; color: var(--muted); font-size: 18px; }
.legal-status { margin: 0 0 34px; padding: 18px 20px; border: 1px solid #d99a27; border-radius: 12px; background: #fff7e6; color: #69410a; }
.legal-status strong { display: block; margin-bottom: 5px; }
.legal-status-critical { border-color: #c45a5f; background: #fff0f1; color: #782d32; }
.legal-nav { margin: 0 0 36px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; list-style: none; }
.legal-nav a { display: inline-flex; min-height: 40px; padding: 8px 13px; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--blue-dark); font-weight: 700; text-decoration: none; }
.legal-document { margin-top: 24px; padding: 34px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); scroll-margin-top: 92px; }
.legal-document h2 { margin-bottom: 8px; font-size: clamp(27px, 4vw, 38px); }
.legal-document h3 { margin: 28px 0 9px; font-size: 18px; }
.legal-document p,
.legal-document li { max-width: 78ch; }
.legal-document p { margin-bottom: 13px; }
.legal-document ul,
.legal-document ol { margin: 0 0 18px; padding-left: 22px; }
.legal-document li + li { margin-top: 7px; }
.legal-meta { color: var(--muted); font-size: 13px; }
.placeholder-list { padding: 18px 20px !important; border: 1px dashed #d99a27; border-radius: 12px; background: #fffaf0; list-style-position: inside; }
.legal-sources { margin-top: 36px; color: var(--muted); font-size: 13px; }
.legal-sources a { color: var(--blue-dark); }
.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.legal-card { min-height: 210px; padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); text-decoration: none; }
.legal-card:hover { border-color: #9ab7e8; transform: translateY(-2px); }
.legal-card h2 { margin: 18px 0 8px; font-size: 24px; letter-spacing: -.025em; }
.legal-card p { margin: 0 0 24px; color: var(--muted); }
.legal-card-link { margin-top: auto; color: var(--blue-dark); font-weight: 750; }
.legal-document-full { padding: clamp(24px, 5vw, 54px); }
.legal-document-full > h1 { max-width: 820px; margin-bottom: 28px; font-size: clamp(34px, 5vw, 52px); }
.legal-document-full h2 { margin-top: 42px; font-size: clamp(25px, 3vw, 32px); }
.legal-document-full h3 { font-size: 19px; }
.legal-document-full p,
.legal-document-full li { font-size: 16px; line-height: 1.68; }
.legal-quote { margin: 24px 0; padding: 18px 22px; border-left: 4px solid var(--blue); background: var(--blue-soft); color: #243a59; }
.legal-placeholder { display: inline; padding: 2px 6px; border-radius: 5px; background: #fff0c7; color: #6c4300; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .9em; }
.legal-document code { padding: 2px 5px; border-radius: 4px; background: var(--surface-2); font-size: .9em; }
.legal-checkbox { margin: 18px 0; padding: 16px 18px; display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.legal-checkbox input { width: 18px; height: 18px; margin-top: 3px; }

@media (max-width: 640px) {
  .legal-header-inner { min-height: 64px; }
  .legal-header .brand { font-size: 15px; }
  .legal-header-actions { gap: 8px; }
  .legal-draft-chip { font-size: 10px; }
  .legal-main { padding-top: 36px; }
  .legal-document { padding: 24px 20px; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-card { min-height: 180px; padding: 22px; }
}

@media (max-width: 1080px) {
  .landing-page .hero-inner { gap: 42px; }
  .landing-page .hero-copy h1 { font-size: 54px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .checks-layout,
  .trust-grid,
  .faq-layout { gap: 44px; }
  .landing-process { grid-template-columns: repeat(2, 1fr); }
  .landing-price { grid-template-columns: 1fr; }
  .price-scope > div { padding-block: 30px; }
}

@media (max-width: 920px) {
  .landing-page .hero-inner { grid-template-columns: 1fr; }
  .landing-page .hero-copy { max-width: 740px; }
  .audit-widget { max-width: 680px; }
  .checks-layout,
  .trust-grid,
  .faq-layout { grid-template-columns: 1fr; }
  .checks-layout .landing-heading,
  .faq-layout .landing-heading { position: static; }
  .demo-report-head { grid-template-columns: 1fr; gap: 22px; }
  .demo-report-head dl { max-width: 330px; }
  .demo-report-body { grid-template-columns: 1fr; }
  .demo-column + .demo-column { border-top: 1px solid #dbe3ec; border-left: 0; }
  .final-cta-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  body[data-current-view="landing"] .header-inner { gap: 12px; }
  body[data-current-view="landing"] .nav-links { gap: 8px; }
  body[data-current-view="landing"] .nav-links .nav-link,
  body[data-current-view="landing"] #resume-order { display: none; }
  body[data-current-view="landing"] .header-cta { min-height: 40px; padding: 8px 11px; font-size: 12px; white-space: nowrap; }
  .landing-page .hero-inner { gap: 34px; padding-top: 54px; padding-bottom: 64px; }
  .landing-page .hero-copy h1 { font-size: 42px; }
  .landing-page .lead { font-size: 16px; }
  .hero-offer { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-offer > div { min-width: 0; padding: 12px; }
  .hero-offer strong { font-size: 18px; }
  .landing-page .hero-actions .btn { width: 100%; }
  .landing-page .hero-meta { display: grid; gap: 8px; }
  .audit-widget { padding: 17px; }
  .widget-topline { align-items: flex-start; }
  .status-live { padding: 5px 7px; font-size: 10px; }
  .widget-stage-head { align-items: flex-start; flex-direction: column; gap: 3px; }
  .widget-source-list { grid-template-columns: 1fr; }
  .widget-metrics { grid-template-columns: 1fr; }
  .widget-metrics > div { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; }
  .widget-metrics strong { grid-column: 2; grid-row: 1 / 3; }
  .landing-section { padding: 68px 0; }
  .landing-heading { margin-bottom: 30px; }
  .landing-heading h2,
  .final-cta h2 { font-size: 32px; }
  .landing-heading > p { font-size: 16px; }
  .problem-grid,
  .landing-process,
  .trust-points { grid-template-columns: 1fr; }
  .problem-card { min-height: auto; }
  .problem-card h3 { margin-top: 26px; }
  .comparison { overflow: visible; border: 0; background: transparent; }
  .comparison-head { display: none; }
  .comparison-row { display: grid; grid-template-columns: 1fr; gap: 0; margin-bottom: 12px; overflow: hidden; border: 1px solid #41526a; border-radius: 8px; background: #17243a; }
  .comparison-row > * { padding: 13px 15px; }
  .comparison-row > * + * { border-top: 1px solid #41526a; border-left: 0; }
  .comparison-row b { background: #111c30; }
  .comparison-row span::before { content: attr(data-label); display: block; margin-bottom: 4px; color: #7f90a5; font-size: 10px; font-weight: 750; text-transform: uppercase; }
  .demo-intro { align-items: flex-start; flex-direction: column; gap: 0; }
  .demo-legend { margin: -12px 0 28px; }
  .demo-report-head,
  .demo-column { padding: 24px 18px; }
  .demo-report-head h3 { font-size: 23px; }
  .demo-summary { grid-template-columns: 1fr; }
  .demo-summary > div { padding: 15px 18px; }
  .demo-summary > div + div { border-top: 1px solid #dbe3ec; border-left: 0; }
  .demo-summary > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; }
  .demo-summary strong { grid-column: 2; grid-row: 1 / 3; }
  .demo-finding-body { padding-left: 14px; }
  .trust-grid { gap: 30px; }
  .price-scope { grid-template-columns: 1fr; }
  .price-scope > div { padding: 27px 22px; }
  .price-scope > div + div { border-top: 1px solid #43546c; border-left: 0; }
  .landing-price .price-copy { padding: 28px 22px; }
  .landing-price .price-copy h2 { font-size: 27px; }
  .landing-price .price-value { font-size: 42px; }
  .faq-layout { gap: 28px; }
  .faq-panel { padding-right: 0; }
  .final-cta-actions { max-width: none; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (max-width: 920px) {
  .hero-inner { min-height: auto; grid-template-columns: 1fr; gap: 42px; padding-top: 58px; }
  .report-preview { max-width: 620px; transform: none; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .price-box, .order-layout, .dashboard-cols { grid-template-columns: 1fr; }
  .cabinet-grid { grid-template-columns: 1fr; }
  .side-panel { display: flex; overflow-x: auto; }
  .side-link { width: auto; white-space: nowrap; }
  .admin-grid { grid-template-columns: 1fr; }
  .campaign-grid, .crm-grid, .landing-manager-grid { grid-template-columns: 1fr; }
  .portal-shell { grid-template-columns: 1fr; gap: 36px; }
  .admin-card.sticky { position: static; }
}

@media (max-width: 680px) {
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  .container { padding-inline: 16px; }
  .environment-inner { justify-content: flex-start; overflow-x: auto; padding-inline: 16px; }
  .environment-label { display: none; }
  .header-inner { min-height: 62px; padding-inline: 16px; }
  .nav-link { display: none; }
  .brand { font-size: 18px; }
  .flow-nav-inner { padding-inline: 16px; }
  .flow-nav-title { display: none; }
  .hero-inner { padding: 46px 16px 60px; }
  .hero-actions .btn { width: 100%; }
  .preview-stats { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .process-grid { grid-template-columns: 1fr; }
  .price-copy, .price-list { padding: 30px 24px; }
  .price-value { font-size: 44px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .flow-shell { padding: 22px 0 50px; }
  .flow-card { border-radius: 18px; }
  .flow-head, .flow-body { padding: 22px 20px; }
  .flow-head { flex-direction: column; gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .flow-actions .btn { flex: 1; padding-inline: 10px; }
  .pay-methods { grid-template-columns: 1fr; }
  .success-wrap { padding: 54px 18px; }
  .success-wrap h1 { font-size: 36px; }
  .cabinet { padding-inline: 14px; }
  .cabinet-top { flex-direction: column; }
  .main-panel { padding: 18px; }
  .panel-head, .status-top { flex-direction: column; }
  .report-toolbar { align-items: flex-start; flex-direction: column; }
  .report-cover { padding: 38px 24px 32px; }
  .report-body { padding: 30px 20px 40px; }
  .finding-card summary { grid-template-columns: auto 1fr; }
  .finding-card summary::after { display: none; }
  .finding-detail { padding-left: 16px; }
  .global-message-inner { align-items: flex-start; flex-direction: column; }
  .message-actions { width: 100%; flex-wrap: wrap; }
  .admin-header-inner { padding: 16px; align-items: flex-start; flex-direction: column; }
  .admin-brand-title { align-items: flex-start; flex-direction: column; }
  .admin-shell { padding-inline: 14px; }
  .portal-header, .dashboard-header { padding-inline: 16px; }
  .portal-header .brand-logo, .dashboard-header .brand-logo { width: 130px; }
  .portal-shell, .dashboard-shell { padding: 34px 16px 60px; }
  .dashboard-welcome { align-items: flex-start; flex-direction: column; }
  .dashboard-stats, .crm-stat-grid, .campaign-detail-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 24px 20px; }
  .table-scroll { overflow-x: auto; }
  .data-table { min-width: 650px; }
  .campaign-hero { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

@media print {
  .environment-bar, .site-header, .flow-nav, .global-message, .report-toolbar, .toast { display: none !important; }
  .view:not([data-view="report"]) { display: none !important; }
  .view[data-view="report"] { display: block !important; }
  .report-shell { padding: 0; background: #fff; }
  .report-paper { box-shadow: none; }
  .report-section, .finding-card, .evidence-card { break-inside: avoid; }
}
