:root {
  color-scheme: dark;
  font-family: Arial, Helvetica, sans-serif;
  background: #171717;
  color: #fcfbfb;
  --orange: #fc7401;
  --muted: #a9aaa5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
header {
  border-bottom: 1px solid #30322f;
  padding: 22px max(24px, calc((100vw - 1040px) / 2));
  display: flex;
  align-items: center;
  gap: 18px;
}
header img {
  width: 114px;
  height: auto;
}
header > span {
  border-left: 1px solid #454743;
  padding-left: 18px;
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 17px;
}
small {
  display: block;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.2em;
  margin-top: 7px;
}
main {
  max-width: 1040px;
  padding: 56px 24px 28px;
  margin: auto;
}
.intro {
  max-width: 760px;
}
.eyebrow {
  color: var(--orange);
  font-size: 11px;
  letter-spacing: 0.16em;
  font-weight: bold;
}
h1 {
  font-size: clamp(44px, 7vw, 76px);
  letter-spacing: -0.055em;
  margin: 16px 0;
  line-height: 1;
}
.lead {
  max-width: 620px;
  color: #c4c6c0;
  font-size: 18px;
  line-height: 1.6;
}
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 12px;
  margin: 30px 0;
  color: #cecfca;
}
.steps b {
  color: var(--orange);
  margin-right: 6px;
}
.card {
  padding: 32px;
  background: #1b1d1b;
  border: 1px solid #383b35;
  border-top: 3px solid var(--orange);
  border-radius: 5px;
}
.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 22px;
}
input,
textarea {
  display: block;
  width: 100%;
  padding: 13px;
  margin-top: 10px;
  background: #111310;
  border: 1px solid #4b4e45;
  border-radius: 4px;
  color: #fcfbfb;
  font: inherit;
  font-weight: normal;
}
input:focus,
textarea:focus,
button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}
input[type='file'] {
  min-height: 76px;
  padding: 18px 10px;
  font-size: 12px;
}
input::file-selector-button {
  background: #34382f;
  color: #fcfbfb;
  border: 1px solid #5b6053;
  border-radius: 3px;
  padding: 8px;
  margin-right: 10px;
  cursor: pointer;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  margin: 12px 0;
}
.section-title > span,
.optional {
  color: var(--muted);
  font-weight: normal;
  font-size: 11px;
}
.optional {
  margin-left: 7px;
}
.hint,
.privacy,
#receipt p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}
.hint {
  margin: 0 0 24px;
}
.cameras > div {
  min-width: 0;
}
.camera-label {
  color: #c3c5be;
  font-size: 12px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: normal;
  line-height: 1.6;
}
.consent input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 2px 0 0;
  accent-color: var(--orange);
}
button {
  background: var(--orange);
  color: #171610;
  border: 0;
  border-radius: 4px;
  padding: 15px 24px;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}
button span {
  margin-left: 25px;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.privacy {
  margin-bottom: 0;
  font-size: 12px;
}
progress {
  width: 100%;
  accent-color: var(--orange);
  height: 12px;
  margin: 18px 0;
}
#error {
  color: #ffc0a0;
  line-height: 1.6;
  margin-top: 22px;
}
.reference {
  overflow-wrap: anywhere;
  border-top: 1px solid #40433b;
  padding-top: 18px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 24px 0;
  color: #8c9086;
  font-size: 11px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 620px) {
  main {
    padding-top: 34px;
  }
  .card {
    padding: 23px 18px;
  }
  .pair {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .steps {
    gap: 16px;
  }
  .section-title {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 12px;
  }
  footer {
    flex-direction: column;
    gap: 8px;
  }
}
