.alert-page {
  background:
    radial-gradient(circle at 88% 8%, rgba(21, 87, 176, 0.1), transparent 24rem),
    linear-gradient(180deg, #f7faff 0%, #eef4fc 100%);
  padding: clamp(54px, 8vw, 92px) 0 88px;
}

.alert-intro {
  margin-bottom: 38px;
  max-width: 760px;
}

.alert-intro h1 {
  color: var(--ink);
  font: 800 clamp(3rem, 7vw, 5.2rem)/1.02 var(--font-display);
  letter-spacing: -0.045em;
  margin: 0.16em 0 0.28em;
}

.alert-lede {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  margin: 0;
  max-width: 690px;
}

.alert-layout {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.8fr);
}

.alert-card,
.alert-aside {
  background: #fff;
  border: 1px solid rgba(16, 35, 59, 0.1);
  border-radius: 18px;
  box-shadow: 0 22px 60px rgba(16, 35, 59, 0.1);
}

.alert-card {
  padding: clamp(24px, 5vw, 46px);
}

.alert-form-section + .alert-form-section {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 34px;
}

.alert-section-heading {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  margin-bottom: 25px;
}

.alert-section-number {
  align-items: center;
  background: var(--green);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  flex: 0 0 32px;
  font-weight: 850;
  height: 32px;
  justify-content: center;
}

.alert-section-heading h2 {
  font: 800 1.55rem/1.15 var(--font-display);
  letter-spacing: -0.025em;
  margin: 2px 0 5px;
}

.alert-section-heading p {
  color: var(--muted);
  margin: 0;
}

.alert-fields {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 0.45fr);
}

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

.alert-field-full,
.alert-grid-help {
  grid-column: 1 / -1;
}

.alert-field label {
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 800;
}

.optional {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  margin-left: 6px;
  text-transform: uppercase;
}

.alert-field input,
.alert-field select {
  appearance: none;
  background: #fff;
  border: 1px solid #a9b6c7;
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 50px;
  padding: 12px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
}

.alert-field select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 19px) 21px, calc(100% - 14px) 21px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 40px;
}

.alert-field input:focus,
.alert-field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(21, 87, 176, 0.12);
  outline: 0;
}

.alert-field small,
.alert-grid-help {
  color: var(--muted);
  font-size: 0.82rem;
}

.alert-grid-help {
  margin-top: -14px;
}

.alert-errors,
.alert-field.has-error input,
.alert-field.has-error select {
  border-color: #a62929;
}

.alert-errors {
  background: #fff0f0;
  border-left: 4px solid #a62929;
  margin-bottom: 26px;
  padding: 14px 16px;
}

.alert-errors .errorlist,
.alert-field .errorlist,
.alert-consent .errorlist {
  color: #8b1e1e;
  font-size: 0.86rem;
  margin: 0;
  padding-left: 20px;
}

.alert-consent {
  align-items: start;
  background: #f3f7fc;
  border: 1px solid #cfdbea;
  border-radius: 10px;
  display: grid;
  gap: 0 12px;
  grid-template-columns: auto 1fr;
  margin-top: 34px;
  padding: 18px;
}

.alert-consent input {
  accent-color: var(--green);
  height: 20px;
  margin: 3px 0 0;
  width: 20px;
}

.alert-consent label {
  cursor: pointer;
}

.alert-consent label span {
  color: var(--muted);
  display: block;
  font-size: 0.87rem;
  margin-top: 3px;
}

.alert-consent .errorlist {
  grid-column: 2;
  margin-top: 8px;
}

.alert-submit {
  align-items: center;
  background: var(--lime);
  border-radius: 8px;
  display: flex;
  font-size: 1rem;
  justify-content: space-between;
  margin-top: 22px;
  min-height: 54px;
  padding-inline: 22px;
  width: 100%;
}

.alert-submit:hover {
  filter: brightness(0.96);
}

.alert-submit span {
  font-size: 1.35rem;
}

.alert-privacy {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 14px 0 0;
  text-align: center;
}

.alert-card .bot-field {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.alert-aside {
  overflow: hidden;
  padding: 34px;
  position: sticky;
  top: 24px;
}

.alert-aside::before {
  background: var(--green);
  content: "";
  display: block;
  height: 5px;
  margin: -34px -34px 30px;
}

.alert-aside-kicker {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin: 0 0 9px;
  text-transform: uppercase;
}

.alert-aside h2 {
  font: 800 1.9rem/1.12 var(--font-display);
  letter-spacing: -0.03em;
  margin: 0;
}

.alert-aside ol {
  display: grid;
  gap: 24px;
  list-style: none;
  margin: 30px 0;
  padding: 0;
}

.alert-aside li {
  display: grid;
  gap: 12px;
  grid-template-columns: 28px 1fr;
}

.alert-aside li > span {
  align-items: center;
  background: #eaf1fb;
  border-radius: 50%;
  color: var(--green);
  display: flex;
  font-size: 0.82rem;
  font-weight: 850;
  height: 28px;
  justify-content: center;
}

.alert-aside li p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 4px 0 0;
}

.alert-aside-note {
  background: #f7f9fc;
  border-left: 3px solid var(--lime);
  color: var(--muted);
  font-size: 0.87rem;
  margin: 0;
  padding: 14px;
}

@media (max-width: 860px) {
  .alert-layout {
    grid-template-columns: 1fr;
  }

  .alert-aside {
    position: static;
  }
}

@media (max-width: 580px) {
  .alert-page {
    padding-top: 44px;
  }

  .alert-intro h1 {
    font-size: 3.25rem;
  }

  .alert-fields {
    grid-template-columns: 1fr;
  }

  .alert-field-full,
  .alert-grid-help {
    grid-column: auto;
  }

  .alert-grid-help {
    margin-top: -12px;
  }

  .alert-card,
  .alert-aside {
    border-radius: 13px;
    padding: 24px;
  }

  .alert-aside::before {
    margin: -24px -24px 24px;
  }
}
