:root {
  --bg: #07090c;
  --bg-2: #0b1015;
  --surface: #10161b;
  --surface-2: #151d22;
  --text: #f4f6f4;
  --muted: #9aa4a6;
  --line: rgba(198, 255, 46, 0.2);
  --line-soft: rgba(255, 255, 255, 0.12);
  --lime: #c8ff2e;
  --cyan: #18e5ff;
  --orange: #ff6b2a;
  --critical: #ff6b58;
  --warning: #ffbf3f;
  --notice: #8aa9bd;
  --max: 1440px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 78% 4%, rgba(198, 255, 46, 0.1), transparent 30rem),
    radial-gradient(circle at 16% 34%, rgba(24, 229, 255, 0.06), transparent 28rem),
    linear-gradient(180deg, #040608, var(--bg) 52%, #090d10);
  color: var(--text);
  font-family: Manrope, Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { border: 0; }
::selection { background: var(--lime); color: #080a0d; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: #050709;
  border: 1px solid var(--lime);
  transform: translateY(-150%);
}
.skip-link:focus-visible { transform: translateY(0); }

.audit-header, footer {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.audit-header { min-height: 86px; border-bottom: 1px solid var(--line-soft); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: "Space Grotesk", sans-serif; font-size: 22px; font-weight: 700; }
.brand-mark { display: grid; grid-template-columns: repeat(3, 5px); align-items: end; gap: 3px; height: 25px; }
.brand-mark i { width: 5px; height: 15px; background: var(--lime); box-shadow: 0 0 14px rgba(198, 255, 46, 0.32); }
.brand-mark i:nth-child(2) { height: 25px; }
.brand-mark i:nth-child(3) { height: 19px; }
.audit-header nav { display: flex; align-items: center; gap: 30px; color: #c4cbcc; font-size: 14px; font-weight: 700; }
.audit-header nav a:hover { color: var(--text); }
.header-cta { padding: 12px 18px; border: 1px solid var(--line); color: var(--lime) !important; }

main { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.audit-hero {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(48px, 7vw, 108px);
  padding: 70px 0 92px;
}
.hero-copy { max-width: 680px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Space Grotesk", Manrope, sans-serif; }
h1 { margin-bottom: 26px; font-size: clamp(46px, 5.6vw, 86px); line-height: .96; letter-spacing: -.055em; }
.hero-copy > p { max-width: 650px; margin-bottom: 40px; color: #b5bec0; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.6; }
.audit-form label { display: block; margin-bottom: 10px; color: var(--lime); font-size: 13px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.audit-form__controls { display: grid; grid-template-columns: 1fr auto; padding: 6px; border: 1px solid rgba(198, 255, 46, .34); background: rgba(14, 20, 23, .9); box-shadow: 0 24px 80px rgba(0, 0, 0, .26); }
.audit-form input { min-width: 0; padding: 18px 18px; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 18px; }
.audit-form input::placeholder { color: #647074; }
.audit-form input:focus-visible { box-shadow: inset 0 0 0 2px var(--cyan); }
.audit-form button, .primary-link, .lead-submit {
  cursor: pointer;
  padding: 17px 22px;
  background: var(--lime);
  color: #090d0c;
  font-weight: 800;
  transition: background 160ms ease, transform 160ms ease;
}
.audit-form button:hover, .primary-link:hover, .lead-submit:hover { background: #d7ff66; transform: translateY(-1px); }
.audit-form button:disabled, .lead-submit:disabled { cursor: wait; opacity: .55; transform: none; }
.audit-form > p { margin: 12px 0 0; color: #7f8a8d; font-size: 13px; }
.form-error { min-height: 20px; color: #ff8577 !important; }

.product-window { border: 1px solid rgba(24, 229, 255, .22); background: rgba(8, 12, 15, .86); box-shadow: 0 36px 110px rgba(0, 0, 0, .48), 0 0 70px rgba(24, 229, 255, .08); }
.product-window__bar { height: 46px; display: flex; align-items: center; gap: 7px; padding: 0 16px; border-bottom: 1px solid var(--line-soft); color: #8f9a9c; }
.product-window__bar span { width: 8px; height: 8px; border-radius: 50%; background: #384348; }
.product-window__bar strong { margin-left: auto; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.product-window__body { min-height: 470px; display: grid; grid-template-columns: 62px 1fr; }
.product-window aside { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-top: 24px; border-right: 1px solid var(--line-soft); }
.product-window aside b { display: grid; place-items: center; width: 32px; height: 32px; background: var(--lime); color: #07100c; font-size: 12px; }
.product-window aside i { width: 18px; height: 3px; background: #3d484d; }
.product-window aside i.is-active { background: var(--cyan); box-shadow: 0 0 10px rgba(24, 229, 255, .5); }
.product-window__content { padding: clamp(26px, 4vw, 46px); }
.product-window__label { margin-bottom: 12px; color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-window__content h2 { max-width: 510px; margin-bottom: 42px; font-size: clamp(28px, 3vw, 46px); line-height: 1.02; letter-spacing: -.035em; }
.scan-line { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(60px, .55fr) auto; align-items: center; gap: 14px; padding: 17px 0; border-top: 1px solid var(--line-soft); font-size: 13px; }
.scan-line i { height: 2px; background: linear-gradient(90deg, var(--lime) 0 76%, rgba(255,255,255,.09) 76%); }
.scan-line b { color: #9de72c; font-size: 11px; text-transform: uppercase; }
.recommendation-strip { margin-top: 30px; padding: 20px; border-left: 3px solid var(--orange); background: rgba(255, 107, 42, .08); }
.recommendation-strip span { color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.recommendation-strip p { margin: 8px 0 0; color: #dce1df; line-height: 1.55; }

.section { padding: clamp(90px, 12vw, 180px) 0; border-top: 1px solid var(--line-soft); }
.section-heading { display: grid; grid-template-columns: minmax(160px, .45fr) minmax(0, 1.55fr); gap: 40px; margin-bottom: 76px; }
.section-heading > span, .control-copy > span, .service-cta span { color: var(--lime); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.section-heading h2, .control-copy h2, .service-cta h2 { margin: 0; font-size: clamp(34px, 4.5vw, 68px); line-height: 1.04; letter-spacing: -.045em; }
.check-list { margin-left: 29%; border-top: 1px solid var(--line-soft); }
.check-list p { display: grid; grid-template-columns: 70px 1fr; margin: 0; padding: 22px 0; border-bottom: 1px solid var(--line-soft); color: #d8dede; font-size: clamp(18px, 2vw, 28px); }
.check-list p span { color: #5f6d71; font-size: 12px; padding-top: 7px; }
.steps ol { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; padding: 0; background: var(--line-soft); list-style: none; }
.steps li { min-height: 280px; padding: 34px; background: var(--bg-2); }
.steps li b { color: var(--cyan); font-size: 12px; }
.steps li h3 { margin: 70px 0 12px; font-size: clamp(22px, 2.2vw, 32px); }
.steps li p { color: var(--muted); line-height: 1.65; }
.control-section { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); gap: clamp(60px, 9vw, 140px); align-items: center; }
.control-copy h2 { margin: 20px 0 28px; }
.control-copy > p { max-width: 680px; color: #aeb7b9; font-size: 18px; line-height: 1.7; }
.text-link { display: inline-flex; gap: 10px; margin-top: 20px; padding-bottom: 7px; border-bottom: 1px solid var(--lime); color: var(--lime); font-weight: 800; }
.comparison { border: 1px solid var(--line-soft); }
.comparison > div { padding: 32px; }
.comparison > div + div { border-top: 1px solid var(--line-soft); }
.comparison span { display: block; margin-bottom: 26px; color: var(--muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.comparison strong { display: block; font-family: "Space Grotesk", sans-serif; font-size: 27px; }
.comparison p { margin: 10px 0 0; color: var(--muted); line-height: 1.55; }
.comparison__accent { background: rgba(198, 255, 46, .07); }
.comparison__accent span, .comparison__accent strong { color: var(--lime); }
.service-cta { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: end; }
.service-cta h2 { margin-top: 18px; }
.service-cta > div:last-child p { color: #b7c0c1; font-size: 18px; line-height: 1.7; }
.primary-link { display: inline-flex; gap: 10px; margin-top: 15px; }

.audit-state { padding: 60px 0 100px; }
.state-shell { padding: clamp(26px, 5vw, 60px); border: 1px solid var(--line); background: rgba(12, 18, 21, .9); }
.state-heading p:first-child { color: var(--cyan); font-size: 13px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.state-heading h2 { margin-bottom: 10px; font-size: clamp(36px, 5vw, 68px); }
.state-heading #audit-status { color: var(--muted); font-size: 17px; }
.loader-line { height: 3px; overflow: hidden; margin-top: 36px; background: rgba(255,255,255,.08); }
.loader-line span { display: block; width: 38%; height: 100%; background: linear-gradient(90deg, transparent, var(--lime), var(--cyan), transparent); animation: scan 1.7s ease-in-out infinite; }
@keyframes scan { from { transform: translateX(-110%); } to { transform: translateX(360%); } }
.result-overview { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; padding: 36px 0 30px; border-bottom: 1px solid var(--line-soft); }
.result-overview h3 { margin: 0 0 10px; font-size: clamp(30px, 4vw, 54px); }
.result-overview p { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.6; }
.score { font-family: "Space Grotesk", sans-serif; font-size: clamp(64px, 9vw, 126px); line-height: .75; letter-spacing: -.08em; }
.score small { font-size: 18px; letter-spacing: 0; color: var(--muted); }
.result-meta { display: flex; flex-wrap: wrap; gap: 26px; padding: 24px 0; color: #b9c2c3; font-size: 14px; }
.severity-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); }
.severity-row div { padding: 22px; background: #0b1014; }
.severity-row span { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.severity-row strong { font-size: 32px; }
.severity-row .critical strong { color: var(--critical); }
.severity-row .warning strong { color: var(--warning); }
.severity-row .notice strong { color: var(--notice); }
.issues-title { margin: 48px 0 20px; font-size: 28px; }
.issue-card { display: grid; grid-template-columns: 7px minmax(0, 1fr) auto; gap: 24px; padding: 26px 0; border-top: 1px solid var(--line-soft); }
.issue-card__marker { background: var(--notice); }
.issue-card[data-severity="critical"] .issue-card__marker { background: var(--critical); }
.issue-card[data-severity="warning"] .issue-card__marker { background: var(--warning); }
.issue-card h4 { margin: 0 0 10px; font-family: "Space Grotesk", sans-serif; font-size: 22px; }
.issue-card p { margin-bottom: 10px; color: #aab4b6; line-height: 1.6; }
.issue-card .issue-impact { color: #d8dddd; }
.issue-card ul { margin: 14px 0 0; padding-left: 18px; color: #7f8c8f; font-size: 13px; }
.issue-card__count { white-space: nowrap; color: var(--muted); font-size: 13px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.result-actions button { cursor: pointer; padding: 16px 20px; font-weight: 800; }
.result-actions button:first-child { background: var(--lime); color: #07100b; }
.result-actions button:last-child { border: 1px solid var(--line-soft); background: transparent; color: var(--text); }
.result-error { padding: 30px 0; color: #ff9b8f; }

footer { min-height: 150px; border-top: 1px solid var(--line-soft); color: #b8c0c1; }

.lead-dialog { width: min(620px, calc(100% - 30px)); max-height: calc(100vh - 30px); overflow-y: auto; padding: 0; border: 1px solid rgba(198, 255, 46, .3); background: #0c1115; color: var(--text); box-shadow: 0 40px 130px rgba(0,0,0,.7); }
.lead-dialog::backdrop { background: rgba(0,0,0,.74); backdrop-filter: blur(4px); }
.lead-dialog__head { display: flex; justify-content: space-between; gap: 20px; padding: 28px 30px 0; }
.lead-dialog__head p { margin-bottom: 4px; color: var(--lime); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.lead-dialog__head h2 { margin: 0; font-size: 34px; }
.lead-dialog__head button { align-self: start; cursor: pointer; background: transparent; color: var(--muted); font-size: 32px; line-height: 1; }
.lead-dialog__intro { padding: 0 30px; color: var(--muted); line-height: 1.55; }
#lead-form { display: grid; gap: 17px; padding: 18px 30px 30px; }
#lead-form > label { display: grid; gap: 8px; color: #c9d0d1; font-size: 13px; font-weight: 700; }
#lead-form input[type="text"], #lead-form textarea { width: 100%; padding: 14px; border: 1px solid var(--line-soft); outline: 0; background: #080c0f; color: var(--text); resize: vertical; }
#lead-form input:focus-visible, #lead-form textarea:focus-visible { border-color: var(--cyan); box-shadow: 0 0 0 2px rgba(24,229,255,.12); }
#lead-form .consent { display: grid; grid-template-columns: auto 1fr; align-items: start; font-weight: 500; line-height: 1.45; }
.consent input { margin: 3px 0 0; accent-color: var(--lime); }
.lead-status { min-height: 22px; margin: 0; color: var(--muted); font-size: 13px; }
.lead-status.is-error { color: #ff8577; }
.lead-status.is-success { color: var(--lime); }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

@media (max-width: 1020px) {
  .audit-hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 800px; }
  .product-window { max-width: 800px; }
  .section-heading { grid-template-columns: 1fr; }
  .check-list { margin-left: 0; }
  .control-section { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .audit-header, main, footer { width: min(calc(100% - 30px), var(--max)); }
  .audit-header { min-height: 72px; }
  .audit-header nav > a:not(.header-cta) { display: none; }
  .header-cta { padding: 10px 13px; }
  .audit-hero { padding: 54px 0 80px; gap: 52px; }
  h1 { font-size: clamp(42px, 13vw, 64px); }
  .hero-copy > p { font-size: 17px; line-height: 1.55; }
  .audit-form__controls { grid-template-columns: 1fr; gap: 6px; }
  .audit-form input { width: 100%; padding: 16px 14px; }
  .audit-form button { width: 100%; }
  .product-window__body { min-height: auto; grid-template-columns: 42px 1fr; }
  .product-window aside { gap: 16px; }
  .product-window aside b { width: 26px; height: 26px; }
  .product-window__content { padding: 24px 18px; }
  .product-window__content h2 { margin-bottom: 26px; }
  .scan-line { grid-template-columns: 1fr auto; }
  .scan-line i { display: none; }
  .recommendation-strip { padding: 16px; }
  .section { padding: 90px 0; }
  .section-heading { margin-bottom: 46px; }
  .check-list p { grid-template-columns: 44px 1fr; font-size: 18px; }
  .steps ol { grid-template-columns: 1fr; }
  .steps li { min-height: 220px; }
  .steps li h3 { margin-top: 44px; }
  .control-section { gap: 48px; }
  .service-cta { grid-template-columns: 1fr; gap: 34px; }
  .result-overview { grid-template-columns: 1fr; }
  .score { grid-row: 1; }
  .severity-row { grid-template-columns: 1fr; }
  .issue-card { grid-template-columns: 5px minmax(0, 1fr); gap: 15px; }
  .issue-card__count { grid-column: 2; }
  footer { min-height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
