.form-page {
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 196, 0, 0.1), transparent 34rem),
    linear-gradient(135deg, #000 0%, #07090d 58%, #000 100%);
}

.distributor-main {
  position: relative;
  min-height: 100vh;
  padding: calc(var(--header-h) + clamp(42px, 6vw, 84px)) 0 clamp(68px, 8vw, 108px);
  overflow: hidden;
}

.distributor-main::before,
.distributor-main::after {
  position: absolute;
  z-index: 0;
  width: 42vw;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 196, 0, 0.48), transparent);
  content: "";
  transform: rotate(-28deg);
  pointer-events: none;
}

.distributor-main::before {
  top: 22%;
  left: -12%;
}

.distributor-main::after {
  right: -13%;
  bottom: 17%;
}

.form-shell {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
}

.form-intro {
  width: min(820px, 100%);
  margin: 0 auto clamp(30px, 4vw, 48px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.form-intro h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(36px, 6vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.form-intro > p:last-child {
  max-width: 720px;
  margin: 22px auto 0;
  color: var(--silver);
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.65;
}

.form-card {
  overflow: hidden;
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid rgba(200, 205, 210, 0.24);
  border-top: 4px solid var(--yellow);
  border-radius: 12px;
  background: rgba(5, 7, 11, 0.97);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.68);
}

.distributor-form {
  display: block;
}

.form-section-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(200, 205, 210, 0.18);
}

.form-section-heading--contact {
  margin-top: 46px;
}

.form-section-heading > span {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 196, 0, 0.65);
  border-radius: 50%;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 800;
}

.form-section-heading h2 {
  margin: 0 0 4px;
  color: var(--white);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.1;
  text-transform: uppercase;
}

.form-section-heading p {
  margin: 0;
  color: #969da6;
  font-size: 14px;
}

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

.form-field {
  min-width: 0;
}

.form-field--full {
  grid-column: 1 / -1;
}

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

.form-label,
.address-group legend {
  display: block;
  margin: 0 0 9px;
  color: #f2f4f6;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.form-label > span:not(.optional) {
  color: var(--yellow);
}

.optional {
  margin-left: 8px;
  color: #818993;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  border: 1px solid #323944;
  border-radius: 7px;
  outline: 2px solid transparent;
  outline-offset: 2px;
  background: #0a0d12;
  color: var(--white);
  font: 500 16px/1.35 Arial, Helvetica, sans-serif;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-control::placeholder {
  color: #727a84;
}

.form-control:hover {
  border-color: #56606d;
}

.form-control:focus-visible {
  border-color: var(--yellow);
  outline-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(255, 196, 0, 0.12);
  background: #0d1117;
}

.form-control--textarea {
  min-height: 122px;
  resize: vertical;
}

select.form-control {
  cursor: pointer;
}

.address-group {
  margin: 34px 0 0;
  padding: 26px;
  border: 1px solid rgba(200, 205, 210, 0.18);
  border-radius: 9px;
  background: rgba(10, 13, 18, 0.58);
}

.address-group legend {
  padding: 0 10px;
  color: var(--yellow);
  text-transform: uppercase;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid rgba(200, 205, 210, 0.18);
}

.form-actions p {
  max-width: 580px;
  margin: 0;
  color: #8f97a1;
  font-size: 13px;
  line-height: 1.55;
}

.form-submit,
.primary-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 25px;
  border: 1px solid #ffdb57;
  border-radius: 7px;
  background: var(--yellow);
  color: #050505;
  font: 900 14px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.075em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(255, 196, 0, 0.16);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.form-submit:hover,
.form-submit:focus-visible,
.primary-action:hover,
.primary-action:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-2px);
  outline: 2px solid var(--white);
  outline-offset: 3px;
  box-shadow: 0 14px 34px rgba(255, 196, 0, 0.24);
}

.form-submit > span {
  font-size: 20px;
  line-height: 1;
}

.header-home-link {
  text-decoration: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 96px;
  padding: 22px;
  border-top: 1px solid rgba(255, 196, 0, 0.22);
  background: #000;
}

.site-footer img {
  width: 132px;
  height: auto;
  opacity: 0.82;
}

.site-footer p {
  margin: 0;
  color: #9ba2aa;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-footer a {
  color: #c8cdd2;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration-color: rgba(255, 196, 0, 0.65);
  text-underline-offset: 4px;
  text-transform: uppercase;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--yellow);
  outline: 2px solid var(--yellow);
  outline-offset: 4px;
}

.privacy-main {
  min-height: 100vh;
  padding: calc(var(--header-h) + clamp(42px, 6vw, 84px)) 18px clamp(68px, 8vw, 108px);
  background:
    radial-gradient(circle at 82% 10%, rgba(255, 196, 0, 0.1), transparent 34rem),
    linear-gradient(135deg, #000 0%, #07090d 58%, #000 100%);
}

.privacy-card {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(200, 205, 210, 0.24);
  border-top: 4px solid var(--yellow);
  border-radius: 12px;
  background: rgba(5, 7, 11, 0.98);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.68);
}

.privacy-card h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.privacy-card .updated {
  margin: 0 0 34px;
  color: #8f97a1;
  font-size: 13px;
}

.privacy-card h2 {
  margin: 30px 0 10px;
  color: var(--yellow);
  font-size: 20px;
  line-height: 1.25;
  text-transform: uppercase;
}

.privacy-card p,
.privacy-card li {
  color: var(--silver);
  font-size: 16px;
  line-height: 1.7;
}

.privacy-card p {
  margin: 0 0 15px;
}

.privacy-card ul {
  margin: 0;
  padding-left: 22px;
}

.privacy-card a:not(.primary-action) {
  color: var(--yellow);
}

.privacy-card .primary-action {
  margin-top: 28px;
}

.status-main {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: calc(var(--header-h) + 42px) 18px 42px;
  background:
    radial-gradient(circle at center, rgba(255, 196, 0, 0.1), transparent 32rem),
    #000;
}

.status-card {
  width: min(720px, 100%);
  padding: clamp(32px, 6vw, 64px);
  border: 1px solid rgba(200, 205, 210, 0.25);
  border-top: 4px solid var(--yellow);
  border-radius: 12px;
  background: rgba(5, 7, 11, 0.98);
  text-align: center;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.7);
}

.status-mark {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 25px;
  border: 2px solid var(--yellow);
  border-radius: 50%;
  color: var(--yellow);
  font-size: 36px;
  font-weight: 900;
}

.status-card h1 {
  margin: 0;
  font-size: clamp(32px, 6vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.status-card p {
  margin: 22px auto 30px;
  color: var(--silver);
  font-size: 17px;
  line-height: 1.65;
}

.error-code {
  margin: 0 0 18px;
  color: var(--yellow);
  font-size: clamp(62px, 14vw, 128px);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.07em;
}

.status-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.secondary-action {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid #4a535f;
  border-radius: 7px;
  color: var(--white);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.065em;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.secondary-action:hover,
.secondary-action:focus-visible {
  border-color: var(--yellow);
  color: var(--yellow);
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .form-shell {
    width: min(100% - 24px, 640px);
  }

  .form-intro {
    margin-bottom: 26px;
  }

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

  .form-card {
    padding: 24px 18px 26px;
    border-radius: 9px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .form-field--full {
    grid-column: auto;
  }

  .address-group {
    padding: 20px 14px;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-submit,
  .primary-action {
    width: 100%;
  }

  .status-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .secondary-action {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    gap: 9px;
  }

  .privacy-card {
    padding: 28px 20px;
  }
}

@media (max-width: 430px) {
  .form-page .distributor-link {
    display: none;
  }

  .form-page .brand img {
    width: 126px;
  }

  .form-section-heading {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .distributor-main::before,
  .distributor-main::after {
    display: none;
  }
}
