:root {
  --bg: #f4f7f8;
  --ink: #14202f;
  --muted: #586575;
  --line: #d6dee5;
  --panel: #ffffff;
  --brand: #087d72;
  --brand-dark: #075f58;
  --blue: #155eef;
  --navy: #071d35;
  --danger: #b42318;
  --warning: #a15c07;
  --soft: #e9f5f3;
  --shadow: 0 24px 60px rgba(13, 30, 49, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: #fff;
  border: 2px solid var(--brand);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 0 max(28px, calc((100vw - 1200px) / 2));
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; text-decoration: none; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
}
.topbar nav { display: flex; justify-content: center; gap: 24px; }
.topbar nav a, .footer nav a { color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.topbar nav a:hover, .footer nav a:hover { color: var(--brand); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, textarea:focus-visible, a:focus-visible {
  outline: 3px solid rgba(21, 94, 239, 0.35);
  outline-offset: 3px;
}
.button--compact { min-height: 40px; padding: 0 15px; font-size: 14px; }
.button--primary { background: var(--brand); color: #fff; }
.button--primary:hover { background: var(--brand-dark); box-shadow: 0 10px 24px rgba(8, 125, 114, 0.2); }
.button--bright { background: #19a99c; }
.button--bright:hover { background: #128f84; }
.button--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.button--glass { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.45); color: #fff; }
.button--block { width: 100%; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(88svh - 72px);
  background: var(--navy) url("/assets/audit-hero.png") center right / cover no-repeat;
  color: #fff;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(5, 22, 39, 0.7); }
.hero__inner { display: flex; align-items: center; width: min(1200px, calc(100% - 56px)); min-height: calc(88svh - 72px); margin: 0 auto; padding: 56px 0 64px; }
.hero__content { max-width: 720px; }
.hero h1 {
  max-width: 720px;
  margin: 10px 0 24px;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}
.lead { max-width: 660px; margin: 0 0 28px; color: rgba(255,255,255,0.82); font-size: 20px; }
.eyebrow { margin: 0 0 9px; color: var(--brand); font-size: 13px; font-weight: 850; letter-spacing: 0.08em; text-transform: uppercase; }
.eyebrow--light { color: #68d8ce; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__facts { display: flex; gap: 0; margin-top: 40px; border-top: 1px solid rgba(255,255,255,0.28); }
.hero__facts span { min-width: 150px; padding: 18px 24px 0 0; color: rgba(255,255,255,0.7); font-size: 13px; }
.hero__facts strong { display: block; color: #fff; font-size: 22px; }

.section, .section-inner { width: min(1120px, calc(100% - 64px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-band { padding: 80px 0; background: #fff; border-block: 1px solid var(--line); }
.section-head { max-width: 700px; margin-bottom: 36px; }
.section-head--wide { max-width: 780px; }
h2 { margin: 0 0 16px; font-size: 40px; line-height: 1.12; letter-spacing: 0; text-wrap: balance; }
h3 { letter-spacing: 0; }
.section p, .section-band p { color: var(--muted); }

.checker__grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr); gap: 42px; align-items: start; }
.plain-checks { display: grid; gap: 8px; margin: 24px 0 0; padding: 0; list-style: none; }
.plain-checks li { position: relative; padding-left: 28px; color: var(--muted); }
.plain-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 900; }
.check-form, .contact-form {
  display: grid;
  gap: 12px;
  padding: 26px;
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(13,30,49,0.06);
}
label { font-size: 14px; font-weight: 800; }
input, textarea { width: 100%; min-height: 48px; padding: 11px 13px; border: 1px solid #bdc9d4; border-radius: 8px; background: #fff; color: var(--ink); }
textarea { resize: vertical; }
.input-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.form-note { margin: 0; font-size: 13px; }
.result { grid-column: 2; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.result h3 { margin: 0 0 8px; font-size: 22px; }
.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.summary-item { min-height: 92px; padding: 14px; background: #f7fafb; border: 1px solid var(--line); border-radius: 8px; }
.summary-item strong { display: block; font-size: 27px; }
.summary-item span { display: block; color: var(--muted); font-size: 13px; }
.finding-list { display: grid; gap: 10px; margin: 16px 0; padding: 0; list-style: none; }
.finding-list li { padding: 14px; background: #f7fafb; border: 1px solid var(--line); border-radius: 8px; }
.finding-list strong { display: block; margin-top: 7px; }
.finding-list p { margin: 4px 0 0; font-size: 14px; }
.badge { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 850; }
.badge--high { background: #fee4e2; color: var(--danger); }
.badge--medium { background: #fff4df; color: var(--warning); }

.audit-map {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) 160px minmax(360px, 1.25fr);
  align-items: stretch;
  min-height: 230px;
  margin: 42px 0 28px;
  background: var(--navy);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.audit-map__source { display: flex; flex-direction: column; justify-content: center; padding: 34px; color: #fff; }
.source-label { color: #7fcac4; font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.audit-map__source strong { margin-top: 8px; font-size: 24px; }
.page-lines { display: grid; gap: 7px; margin-top: 24px; }
.page-lines i { display: block; width: 90%; height: 6px; background: rgba(255,255,255,0.16); border-radius: 3px; }
.page-lines i:nth-child(2) { width: 68%; }
.page-lines i:nth-child(3) { width: 78%; }
.audit-map__engine { position: relative; display: grid; place-items: center; overflow: hidden; background: #0e625e; color: #fff; text-align: center; }
.audit-map__engine::before, .audit-map__engine::after { content: ""; position: absolute; left: 0; width: 100%; height: 1px; background: rgba(255,255,255,0.24); }
.audit-map__engine::before { top: 34%; }
.audit-map__engine::after { bottom: 34%; }
.scan-line { position: absolute; top: 12%; left: 16px; right: 16px; height: 3px; background: #b9fff8; box-shadow: 0 0 16px rgba(185,255,248,0.7); animation: scan 3.4s ease-in-out infinite; }
@keyframes scan { 0%,100% { transform: translateY(0); } 50% { transform: translateY(170px); } }
.audit-map__results { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; }
.audit-map__results > div { display: flex; flex-direction: column; justify-content: center; padding: 28px 20px; border-right: 1px solid var(--line); }
.audit-map__results > div:last-child { border-right: 0; }
.audit-map__results strong { margin-top: 14px; font-size: 16px; }
.audit-map__results small { margin-top: 5px; color: var(--muted); }
.risk-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; }
.risk-dot--high { background: #d92d20; box-shadow: 0 0 0 5px #fee4e2; }
.risk-dot--medium { background: #e89519; box-shadow: 0 0 0 5px #fff1d7; }
.risk-dot--info { background: #3978e9; box-shadow: 0 0 0 5px #e8f0ff; }
.scope-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.scope-item { min-height: 218px; padding: 26px 22px; border-right: 1px solid var(--line); }
.scope-item:last-child { border-right: 0; }
.scope-number { color: var(--brand); font-size: 13px; font-weight: 850; }
.scope-item h3 { margin: 36px 0 10px; font-size: 18px; line-height: 1.25; }
.scope-item p { margin: 0; font-size: 14px; }

.process-band { background: #eef3f5; }
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; counter-reset: steps; }
.process li { position: relative; display: flex; gap: 15px; min-height: 160px; padding: 24px 20px 20px 0; border-top: 2px solid #b9c6cf; }
.process li::after { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--brand); border-radius: 50%; }
.process li > span { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; background: var(--navy); color: #fff; border-radius: 50%; font-weight: 850; }
.process strong { display: block; margin-top: 4px; }
.process p { margin: 8px 0 0; font-size: 14px; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.card { position: relative; display: flex; flex-direction: column; min-height: 430px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.card--featured { border: 2px solid var(--brand); box-shadow: 0 22px 50px rgba(8,125,114,0.13); }
.card-label { position: absolute; top: 0; right: 20px; padding: 7px 10px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 850; }
.card-topline { display: flex; justify-content: space-between; padding-bottom: 15px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.card-topline strong { color: var(--ink); }
.card h3 { margin: 24px 0 6px; font-size: 22px; }
.price { margin: 0 0 20px; color: var(--ink) !important; font-size: 38px; font-weight: 900; }
.card ul { display: grid; gap: 10px; margin: 0 0 28px; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.card li { position: relative; padding-left: 23px; }
.card li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 900; }
.card .button { margin-top: auto; }
.offer-note { max-width: 900px; margin: 24px 0 0; font-size: 13px; }

.evidence-band { background: var(--navy); color: #fff; }
.evidence-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(430px, 1fr); gap: 64px; align-items: center; }
.evidence-band p { color: rgba(255,255,255,0.7); }
.report-preview { background: #fff; color: var(--ink); border-radius: 8px; overflow: hidden; box-shadow: 0 28px 70px rgba(0,0,0,0.22); transform: rotate(1deg); }
.report-preview__head { display: flex; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.report-preview__head span { color: #d92d20; font-weight: 900; }
.report-preview__summary { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.report-preview__summary div { padding: 20px; border-right: 1px solid var(--line); }
.report-preview__summary div:last-child { border-right: 0; }
.report-preview__summary b { display: block; font-size: 28px; }
.report-preview__summary small { color: var(--muted); }
.report-preview__finding { display: flex; align-items: center; gap: 18px; margin: 0 22px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.report-preview__finding:last-child { border-bottom: 0; }
.report-preview__finding span { display: flex; flex-direction: column; }
.report-preview__finding small { color: var(--muted); }

.contact { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr); gap: 60px; align-items: start; }
.contact-person { display: flex; align-items: center; gap: 13px; margin-top: 30px; }
.contact-initials { display: grid; place-items: center; width: 48px; height: 48px; background: var(--navy); color: #fff; border-radius: 50%; font-weight: 850; }
.contact-person div { display: flex; flex-direction: column; }
.contact-person small { color: var(--muted); }
.contact-form { background: #fff; }

.footer { display: flex; justify-content: space-between; gap: 28px; padding: 32px max(28px, calc((100vw - 1120px) / 2)); background: #fff; border-top: 1px solid var(--line); }
.footer p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.footer nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.legal { max-width: 860px; margin: 0 auto; padding: 64px 32px; }
.legal h1 { font-size: 42px; line-height: 1.1; }
.legal h2 { margin-top: 30px; font-size: 24px; }
.legal p { color: var(--muted); }
.status-wrap { display: grid; place-items: center; min-height: calc(100svh - 72px); padding: 48px 20px; background: var(--navy) url("/assets/audit-hero.png") center / cover no-repeat; }
.status-box { width: min(680px, 100%); padding: 42px; background: rgba(255,255,255,0.97); border: 1px solid rgba(255,255,255,0.6); border-radius: 8px; box-shadow: var(--shadow); }
.status-box h1 { margin: 6px 0 16px; font-size: 38px; line-height: 1.12; }
.status-box > p:not(.eyebrow) { color: var(--muted); }
.status-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 24px; background: var(--soft); color: var(--brand); border-radius: 50%; font-size: 28px; font-weight: 900; }
.status-steps { display: grid; gap: 10px; margin: 26px 0; }
.status-steps span { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.status-steps b { display: grid; place-items: center; width: 28px; height: 28px; background: var(--navy); color: #fff; border-radius: 50%; font-size: 12px; }
.status-addon { margin: 26px 0; padding: 20px; background: #f3f7f8; border-left: 3px solid var(--brand); }
.status-addon p { margin: 6px 0 16px; color: var(--muted); font-size: 14px; }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .topbar { grid-template-columns: auto 1fr; }
  .topbar-cta { display: none; }
  .topbar nav { justify-content: flex-end; }
  .hero h1 { font-size: 52px; }
  .audit-map { grid-template-columns: 0.7fr 130px 1.25fr; }
  .audit-map__results { grid-template-columns: 1fr; }
  .audit-map__results > div { padding: 16px 20px; border-right: 0; border-bottom: 1px solid var(--line); }
  .audit-map__results > div:last-child { border-bottom: 0; }
}

@media (max-width: 820px) {
  .topbar { position: static; grid-template-columns: 1fr; gap: 12px; padding: 16px 24px; }
  .topbar nav { justify-content: flex-start; gap: 16px; overflow-x: auto; white-space: nowrap; }
  .hero, .hero__inner { min-height: 680px; }
  .hero__inner { width: min(100% - 48px, 720px); }
  .hero h1 { font-size: 42px; }
  .checker__grid, .evidence-grid, .contact { grid-template-columns: 1fr; }
  .result { grid-column: auto; }
  .audit-map { grid-template-columns: 1fr; }
  .audit-map__engine { min-height: 120px; }
  .scan-line { animation: none; top: 50%; }
  .audit-map__results { grid-template-columns: repeat(3, 1fr); }
  .audit-map__results > div { border-right: 1px solid var(--line); border-bottom: 0; }
  .scope-grid, .process, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scope-item:nth-child(2) { border-right: 0; }
  .scope-item { border-bottom: 1px solid var(--line); }
  .scope-item:nth-child(3), .scope-item:nth-child(4) { border-bottom: 0; }
  .cards .card:last-child { grid-column: 1 / -1; }
}

@media (max-width: 580px) {
  .section, .section-inner { width: min(100% - 36px, 1120px); }
  .section { padding: 64px 0; }
  .section-band { padding: 62px 0; }
  .hero { background-position: 62% center; }
  .hero, .hero__inner { min-height: 650px; }
  .hero__inner { width: calc(100% - 36px); padding: 44px 0; }
  .hero h1 { font-size: 34px; line-height: 1.06; }
  .lead { font-size: 17px; }
  .hero__actions, .hero__actions .button { width: 100%; }
  .hero__facts { justify-content: space-between; }
  .hero__facts span { min-width: 0; padding-right: 10px; font-size: 11px; }
  .hero__facts strong { font-size: 18px; }
  h2 { font-size: 30px; }
  .checker__grid, .contact { gap: 28px; }
  .check-form, .contact-form { padding: 20px; }
  .input-row, .summary-grid, .scope-grid, .process, .cards, .audit-map__results { grid-template-columns: 1fr; }
  .scope-item, .scope-item:nth-child(2), .scope-item:nth-child(3) { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .scope-item:last-child { border-bottom: 0; }
  .process li { min-height: 0; }
  .cards .card:last-child { grid-column: auto; }
  .card { min-height: 390px; padding: 24px; }
  .evidence-grid { gap: 34px; }
  .report-preview { transform: none; }
  .report-preview__summary b { font-size: 23px; }
  .report-preview__summary small { font-size: 10px; }
  .footer { flex-direction: column; padding: 28px 20px; }
  .status-box { padding: 28px 22px; }
  .status-box h1 { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
