.inner-page {
  min-height: 100vh;
  background: #030303;
  color: #fafafa;
  color-scheme: dark;
}

.inner-page [hidden] {
  display: none !important;
}

.inner-header,
.inner-footer {
  width: min(calc(100% - 36px), 456px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-inline: auto;
}

.inner-header {
  margin-block: 24px 0;
  padding: 14px 19px;
  border: 1px solid #262626;
  border-radius: 13px;
  background: #080808;
  font-size: 14px;
}

.inner-brand,
.inner-back {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.inner-brand {
  color: #fff;
  font-weight: 700;
}

.inner-back {
  color: #b5b5b5;
}

.inner-back:hover,
.inner-footer a:hover {
  color: #fff;
}

.inner-shell {
  width: min(calc(100% - 36px), 1032px);
  margin-inline: auto;
}

.inner-hero {
  position: relative;
  isolation: isolate;
  text-align: center;
  margin-block: clamp(50px, 8vw, 104px) 46px;
}

.inner-hero::before {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 55% 0 -80px;
  content: "";
  background: radial-gradient(ellipse at 50% 90%, #ff572829, #c53e1a0b 45%, transparent 71%);
  filter: blur(24px);
}

.inner-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #2a2626;
  border-radius: 7px;
  background: #101010;
  color: #ddd;
  padding: 6px 11px;
  margin: 0 0 16px;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.inner-kicker span {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent, #ff432e);
  box-shadow: 0 0 12px #ff432e9e;
}

.inner-hero h1 {
  font-size: clamp(44px, 7.25vw, 86px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.065em;
  margin: 0;
}

.inner-hero h1 em {
  letter-spacing: -0.025em;
  font-weight: 400;
}

.inner-hero > p:last-child {
  color: #aaa;
  max-width: 536px;
  margin: 19px auto 0;
  font-size: clamp(16px, 2.1vw, 20px);
  line-height: 1.5;
}

.audit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
  gap: 18px;
}

.inner-panel {
  padding: clamp(20px, 3.4vw, 34px);
  border: 1px solid #272323;
  border-radius: 16px;
  background: linear-gradient(148deg, #121111, #090909 58%);
}

.inner-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.inner-muted {
  color: #b0acac;
  margin: 0 0 23px;
  line-height: 1.5;
}

#audit-form {
  display: grid;
  gap: 19px;
}

.audit-field {
  display: grid;
  gap: 8px;
}

.audit-field label,
.audit-options legend {
  font-weight: 650;
  line-height: 1.25;
}

.audit-field :is(input, textarea),
#audit-brief {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #413a3a;
  border-radius: 8px;
  background: #080808;
  color: #fff;
  font: inherit;
  line-height: 1.45;
}

.audit-field textarea,
#audit-brief {
  resize: vertical;
}

.audit-field :is(input, textarea)::placeholder {
  color: #999;
}

.inner-page :focus-visible {
  outline: 2px solid #ff8a76;
  outline-offset: 4px;
}

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

.audit-options legend {
  padding: 0;
}

.audit-options label {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 29px;
  cursor: pointer;
  color: #f2eeee;
  font-size: 15px;
}

.audit-options input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--accent, #ff432e);
  cursor: pointer;
}

.audit-hint,
.audit-optional,
.audit-error {
  color: #aaa;
  font-size: 14px;
}

.audit-optional {
  font-weight: 400;
  margin-left: 5px;
}

.audit-hint {
  margin: 4px 0 8px;
}

.audit-error {
  margin: 4px 0 0;
  color: #ff9b8b;
}

.audit-error:empty {
  margin: 0;
}

.inner-page .audit-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 17px;
  width: fit-content;
  border-radius: 10px;
  border: 1px solid #373333;
  background: #141414;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.inner-page .audit-action:hover {
  background: #232020;
}

.inner-page .audit-action.primary {
  background: var(--accent, #ff432e);
  border-color: transparent;
  color: #0a0a0a;
  font-weight: 700;
}

.inner-page .audit-action.primary:hover {
  background: #ff6a56;
}

.inner-page .audit-action:disabled {
  opacity: 0.5;
  cursor: default;
}

.audit-document-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 0 17px;
  border: 1px solid #ff432e3d;
  border-radius: 10px;
  color: #ff816e;
  background: #33160f;
}

.audit-outline {
  padding: 0;
  margin: 0;
  list-style: none;
  color: #b0acac;
}

.audit-outline li {
  display: flex;
  gap: 9px;
  align-items: baseline;
  line-height: 1.45;
  margin-bottom: 10px;
}

.audit-outline li::before {
  content: "✓";
  color: #ff8a76;
}

#audit-brief {
  display: block;
  font-size: 14px;
}

.audit-export {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.audit-status {
  margin: 9px 0 0;
}

.privacy-panel {
  width: min(100%, 680px);
  margin-inline: auto;
}

.privacy-panel section + section {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid #2e2828;
}

.privacy-panel p {
  margin: 0;
  color: #b0acac;
  line-height: 1.65;
}

.privacy-panel a {
  display: inline-block;
  margin-top: 9px;
  color: #ff9b8b;
}

.inner-footer {
  width: min(calc(100% - 36px), 1032px);
  margin-block: 30px 0;
  padding-block: 19px 28px;
  border-top: 1px solid #262626;
  color: #a9a9a9;
  font-size: 14px;
}

.inner-footer a {
  color: inherit;
}

@media (max-width: 700px) {
  .audit-grid {
    grid-template-columns: 1fr;
  }
}
