:root {
  --audit-navy: #061827;
  --audit-navy-2: #0a263a;
  --audit-teal: #009c9a;
  --audit-teal-light: #63e5dc;
  --audit-ink: #10243a;
  --audit-muted: #63768a;
  --audit-line: #d9e4ea;
  --audit-paper: #f6fafb;
  --audit-white: #fff;
  --audit-error: #b42318;
  --audit-success: #08795f;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--audit-navy);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--audit-ink);
  background: var(--audit-navy);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
}

.audit-page {
  position: relative;
  min-height: 100vh;
  padding: clamp(48px, 7vw, 96px) 24px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 3%, rgba(20, 142, 148, .23), transparent 31%),
    linear-gradient(145deg, #041421, #082238 58%, #061827);
}

.audit-page__grid {
  position: fixed;
  z-index: -4;
  inset: 0;
  opacity: .25;
  background-image:
    linear-gradient(rgba(100, 229, 220, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 229, 220, .06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, #000 15%, transparent 76%);
  pointer-events: none;
}

.audit-page__glow {
  position: fixed;
  z-index: -3;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.audit-page__glow--one {
  top: -260px;
  left: -170px;
  background: radial-gradient(circle, rgba(40, 222, 210, .2), transparent 70%);
}

.audit-page__glow--two {
  right: -230px;
  bottom: -230px;
  background: radial-gradient(circle, rgba(14, 115, 150, .3), transparent 70%);
}

.audit-sketch {
  position: fixed;
  z-index: -1;
  fill: none;
  stroke: rgba(112, 230, 220, .2);
  stroke-width: 1.5;
  pointer-events: none;
}

.audit-sketch circle {
  fill: rgba(88, 231, 219, .08);
}

.audit-sketch__dash {
  stroke-dasharray: 6 10;
}

.audit-sketch--network {
  top: 14%;
  left: max(18px, calc(50% - 790px));
  width: 250px;
  transform: rotate(-5deg);
}

.audit-sketch--shield {
  top: 11%;
  right: max(22px, calc(50% - 770px));
  width: 190px;
  opacity: .8;
}

.audit-sketch--server {
  right: max(24px, calc(50% - 800px));
  bottom: 6%;
  width: 220px;
  transform: rotate(4deg);
}

.audit-shell {
  position: relative;
  z-index: 2;
  width: min(100%, 1040px);
  margin-inline: auto;
}

.audit-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 8px 0;
  color: var(--audit-teal-light);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
}

.audit-back::before {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  content: "";
  background: url('../img/arrow-left-legal.svg') center / contain no-repeat;
}

.audit-back:hover,
.audit-back:focus-visible {
  color: #fff;
  outline: none;
}

.audit-intro {
  max-width: 820px;
  margin: 0 auto clamp(34px, 5vw, 58px);
  color: #fff;
  text-align: center;
}

.audit-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 32px;
  color: #dffdfa;
  font: 800 13px/1 Manrope, sans-serif;
  letter-spacing: .16em;
}

.audit-brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(131, 244, 235, .35);
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
  backdrop-filter: blur(12px);
}

.audit-brand__mark img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.audit-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin: 0 0 18px;
  color: #8cefe6;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.audit-eyebrow span {
  width: 28px;
  height: 2px;
  background: var(--audit-teal-light);
}

.audit-intro h1 {
  max-width: 820px;
  margin: 0 auto;
  color: #fff;
  font: 800 clamp(38px, 5.2vw, 70px)/1.04 Manrope, sans-serif;
  letter-spacing: -.052em;
}

.audit-intro__lead {
  max-width: 690px;
  margin: 24px auto 0;
  color: #b5c9d7;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.75;
}

.audit-reassurance {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.audit-reassurance span {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 16px;
  border: 1px solid rgba(149, 229, 226, .16);
  border-radius: 999px;
  color: #cfe2ec;
  background: rgba(4, 24, 39, .46);
  font-size: 15px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.audit-reassurance i {
  color: #70e8df;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.audit-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(214, 235, 239, .7);
  border-radius: 28px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 48px 110px rgba(0, 8, 18, .34);
}

.audit-card__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 5vw, 54px) clamp(24px, 6vw, 68px) 32px;
  border-bottom: 1px solid var(--audit-line);
  background:
    radial-gradient(circle at 93% 0, rgba(0, 156, 154, .08), transparent 30%),
    linear-gradient(180deg, #fff, #fbfdfd);
}

.audit-card__step {
  display: block;
  margin: 0 0 8px;
  color: var(--audit-teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.audit-card__top h2,
.audit-success h2 {
  margin: 0;
  color: var(--audit-ink);
  font: 800 clamp(26px, 3.4vw, 42px)/1.12 Manrope, sans-serif;
  letter-spacing: -.04em;
}

.audit-card__top > p {
  display: flex;
  min-width: 150px;
  flex-direction: column;
  align-items: flex-end;
  margin: 0 0 5px;
  color: var(--audit-muted);
  font-size: 14px;
}

.audit-card__top > p strong {
  color: var(--audit-ink);
  font: 700 17px Manrope, sans-serif;
}

.audit-form {
  padding: 30px clamp(24px, 6vw, 68px) clamp(34px, 6vw, 66px);
}

.audit-hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.audit-form__section {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.audit-form__section + .audit-form__section {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--audit-line);
}

.audit-section__legend {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.audit-section__heading {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 13px;
  margin-bottom: 16px;
}

.audit-section__heading h3 {
  margin: 0;
  color: var(--audit-ink);
  font: 800 clamp(22px, 2.2vw, 26px)/1.25 Manrope, sans-serif;
  letter-spacing: -.025em;
}

.audit-section__number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(0, 156, 154, .24);
  border-radius: 12px;
  color: #007f7d;
  background: #edf8f7;
  font: 800 14px/1 Manrope, sans-serif;
  letter-spacing: .03em;
}

.audit-section__heading p {
  margin: 5px 0 0;
  color: var(--audit-muted);
  font-size: 16px;
  line-height: 1.55;
}

.audit-fields {
  display: grid;
  gap: 22px;
}

.audit-fields--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.audit-fields--selects {
  margin-top: 24px;
}

.audit-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 7px;
  color: #30465b;
  font-size: 16px;
  font-weight: 700;
}

.audit-field > span b {
  color: var(--audit-teal);
}

.audit-field input,
.audit-field select,
.audit-field textarea {
  width: 100%;
  border: 1px solid #cedbe2;
  border-radius: 11px;
  outline: none;
  color: var(--audit-ink);
  font-size: 16px;
  font-weight: 400;
  background: var(--audit-paper);
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.audit-field input,
.audit-field select {
  min-height: 56px;
  padding: 0 15px;
}

.audit-field textarea {
  min-height: 142px;
  padding: 15px;
  line-height: 1.6;
  resize: vertical;
}

.audit-field input::placeholder,
.audit-field textarea::placeholder {
  color: #8999a7;
  font-weight: 400;
}

.audit-field input:focus,
.audit-field select:focus,
.audit-field textarea:focus {
  border-color: var(--audit-teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 156, 154, .1);
}

.audit-field--message {
  position: relative;
}

.audit-field--message > small {
  align-self: flex-end;
  color: #8795a1;
  font-size: 14px;
  font-weight: 600;
}

.audit-scope {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.audit-scope label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.audit-scope input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.audit-scope label > span {
  position: relative;
  display: flex;
  min-height: 138px;
  height: 100%;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--audit-line);
  border-radius: 14px;
  color: var(--audit-ink);
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.audit-scope label > span > i {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 22px;
  height: 22px;
  border: 1px solid #b8c8d0;
  border-radius: 5px;
  background: #fff;
}

.audit-scope label > span > i::after {
  position: absolute;
  top: 3px;
  left: 7px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  opacity: 0;
  transform: rotate(45deg);
}

.audit-scope strong {
  max-width: calc(100% - 28px);
  margin: 0 0 8px;
  font: 800 17px/1.4 Manrope, sans-serif;
}

.audit-scope small {
  color: var(--audit-muted);
  font-size: 15px;
  line-height: 1.55;
}

.audit-scope input:checked + span {
  border-color: var(--audit-teal);
  background: rgba(0, 156, 154, .045);
  box-shadow: inset 0 0 0 1px var(--audit-teal), 0 12px 28px rgba(4, 45, 58, .08);
}

.audit-scope input:checked + span > i {
  border-color: var(--audit-teal);
  background: var(--audit-teal);
}

.audit-scope input:checked + span > i::after {
  opacity: 1;
}

.audit-scope input:focus-visible + span {
  outline: 3px solid rgba(0, 156, 154, .22);
  outline-offset: 2px;
}

.audit-scope-error {
  margin: 10px 0 0;
  color: var(--audit-error);
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
}

.audit-scope-error:empty {
  display: none;
}

.audit-consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 13px;
  align-items: flex-start;
  margin-top: 28px;
  color: var(--audit-muted);
  font-size: 16px;
  line-height: 1.6;
  cursor: pointer;
}

.audit-consent input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--audit-teal);
}

.audit-consent a {
  color: var(--audit-teal);
  font-weight: 700;
}

.audit-submit {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 30px;
}

.audit-submit button {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 26px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--audit-teal);
  box-shadow: 0 17px 36px rgba(0, 130, 134, .25);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: box-shadow .2s ease, background .2s ease;
}

.audit-submit button:hover,
.audit-submit button:focus-visible {
  background: #007f7d;
  box-shadow: 0 20px 42px rgba(0, 92, 104, .3);
  outline: none;
}

.audit-submit button:focus-visible {
  box-shadow: 0 0 0 4px rgba(0, 156, 154, .2), 0 20px 42px rgba(0, 92, 104, .3);
}

.audit-submit button:disabled {
  cursor: progress;
  opacity: .8;
}

.audit-submit button[aria-busy="true"] .audit-submit__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #fff;
  border-radius: 50%;
  font-size: 0;
  animation: auditSpin .7s linear infinite;
}

.audit-status {
  min-height: 22px;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 700;
  text-align: right;
}

.audit-status.is-error {
  color: var(--audit-error);
}

.audit-status.is-success {
  color: var(--audit-success);
}

.audit-success {
  max-width: 650px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 110px) clamp(26px, 6vw, 70px);
  text-align: center;
}

.audit-success__icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 28px;
  place-items: center;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(145deg, #0bb3a5, #087988);
  box-shadow: 0 23px 48px rgba(0, 137, 137, .25);
  font-size: 30px;
  font-weight: 800;
}

.audit-success p:not(.audit-card__step) {
  margin: 20px auto 0;
  color: var(--audit-muted);
  font-size: 17px;
  line-height: 1.75;
}

.audit-success a {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
  color: var(--audit-teal);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

@keyframes auditSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 860px) {
  .audit-page {
    padding-inline: 18px;
  }

  .audit-sketch {
    opacity: .45;
  }

  .audit-sketch--network {
    left: -120px;
  }

  .audit-sketch--shield {
    right: -88px;
  }

  .audit-sketch--server {
    display: none;
  }

  .audit-scope {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .audit-page {
    padding: 30px 12px;
  }

  .audit-brand {
    margin-bottom: 25px;
  }

  .audit-intro {
    margin-bottom: 30px;
  }

  .audit-intro h1 {
    font-size: clamp(35px, 11vw, 48px);
  }

  .audit-intro__lead {
    font-size: 15px;
  }

  .audit-reassurance {
    gap: 7px;
  }

  .audit-reassurance span {
    padding: 8px 10px;
    font-size: 14px;
  }

  .audit-card {
    border-radius: 19px;
  }

  .audit-card__top {
    align-items: flex-start;
    flex-direction: column;
    padding: 30px 21px 25px;
  }

  .audit-card__top > p {
    align-items: flex-start;
  }

  .audit-form {
    padding-inline: 21px;
  }

  .audit-form__section + .audit-form__section {
    margin-top: 28px;
    padding-top: 24px;
  }

  .audit-section__heading {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    margin-bottom: 14px;
  }

  .audit-section__number {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 13px;
  }

  .audit-fields--two,
  .audit-scope {
    grid-template-columns: 1fr;
  }

  .audit-scope label > span {
    min-height: 112px;
  }

  .audit-submit {
    align-items: stretch;
    flex-direction: column;
  }

  .audit-submit button {
    width: 100%;
  }

  .audit-status {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .audit-field input,
  .audit-field select,
  .audit-field textarea,
  .audit-scope label > span,
  .audit-submit button {
    transition: none;
  }

  .audit-submit button[aria-busy="true"] .audit-submit__spinner {
    animation-duration: 1.5s;
  }
}
