.subscribe-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(1, 157, 237, .08), transparent 28%),
    linear-gradient(180deg, #fbfdff 0%, #f3f7fc 100%);
}

.subscribe-header {
  width: min(1200px, calc(100% - 48px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.subscribe-header .brand {
  color: #071b55;
  font-size: 25px;
}

.subscribe-main {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0px 34px;
  display: grid;
  grid-template-columns: minmax(320px, .86fr) minmax(620px, 1.54fr);
  gap: 80px;
  align-items: start;
}

.subscribe-copy {
  min-height: calc(100vh - 132px);
  display: flex;
  flex-direction: column;
  padding: 34px 0px 18px;
}

.selected-plan-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #019ded;
  background: #eaf2ff;
  font-size: 13px;
  font-weight: 850;
}

.selected-plan-pill svg,
.subscribe-note svg,
.trust-row svg,
.domain-icon svg,
.secure-note svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.selected-plan {
  margin-top: 18px;
}

.selected-plan h1,
.subscribe-copy h2 {
  margin: 0;
  color: #071b55;
  letter-spacing: 0;
}

.selected-plan h1 {
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.05;
}

.selected-plan p {
  margin: 6px 0 18px;
  color: #4c5871;
  font-size: 20px;
  font-weight: 700;
}

.selected-plan a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #019ded;
  font-weight: 850;
}

.selected-plan a span {
  font-size: 25px;
  line-height: 1;
}

.copy-divider {
  width: 100%;
  height: 1px;
  margin: 32px 0 46px;
  background: #dbe4f0;
}

.subscribe-copy h2 {
  max-width: 420px;
  font-size: clamp(33px, 4vw, 43px);
  line-height: 1.12;
}

.subscribe-copy>p {
  max-width: 440px;
  margin: 18px 0 36px;
  color: #24365d;
  font-size: 17px;
  line-height: 1.55;
}

.subscribe-note {
  max-width: 410px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 22px;
  border-radius: 8px;
  color: #019ded;
  background: #edf5ff;
}

.subscribe-note svg {
  width: 38px;
  height: 38px;
  margin-top: 4px;
}

.subscribe-note strong {
  display: block;
  margin-bottom: 6px;
  color: #071b55;
  font-size: 17px;
}

.subscribe-note span {
  display: block;
  color: #24365d;
  line-height: 1.55;
}

.trust-row {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: auto;
  padding-top: 54px;
}

.trust-row div {
  min-height: 84px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  padding: 0 14px;
  color: #071b55;
  text-align: center;
  font-size: 12px;
  line-height: 1.35;
}

.trust-row div+div {
  border-left: 1px solid #dbe4f0;
}

.trust-row svg {
  width: 29px;
  height: 29px;
  color: #019ded;
}

.subscribe-panel {
  border: 1px solid rgba(216, 226, 238, .95);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 42px rgba(16, 32, 51, .13);
  overflow: hidden;
}

.subscribe-form {
  display: grid;
  gap: 24px;
  padding: 28px 30px 18px;
}

.subscribe-error {
  padding: 13px 15px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #991b1b;
  background: #fef2f2;
  font-weight: 800;
}

.form-step {
  display: grid;
  gap: 18px;
}

.form-step+.form-step {
  padding-top: 24px;
  border-top: 1px solid #dbe4f0;
}

.step-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-number {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  color: #fff;
  background: #019ded;
  box-shadow: 0 8px 18px rgba(0, 82, 255, .24);
  font-size: 12px;
  font-weight: 900;
}

.step-heading h2 {
  margin: 0;
  color: #071b55;
  font-size: 18px;
  line-height: 1.2;
}

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

.field,
.choice-section {
  display: grid;
  gap: 9px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field span,
.field-title {
  color: #071b55;
  font-size: 13px;
  font-weight: 850;
}

.field em {
  color: #5d6c7d;
  font-style: normal;
  font-weight: 600;
}

.field input,
.field select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cdd8e8;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field input::placeholder {
  color: #68758b;
}

.field input:focus,
.field select:focus {
  border-color: #019ded;
  box-shadow: 0 0 0 3px rgba(0, 82, 255, .14);
}

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

.domain-card {
  position: relative;
  min-height: 116px;
  display: grid;
  grid-template-columns: 18px 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 20px;
  border: 1px solid #cdd8e8;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.domain-card input {
  grid-row: span 2;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #0543a1;
  outline: none;
}

.domain-icon {
  grid-row: span 2;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #019ded;
  background: #dfeaff;
}

.domain-icon.muted {
  color: #4d5a70;
  background: #e9edf3;
}

.domain-icon svg {
  width: 24px;
  height: 24px;
}

.domain-card strong,
.domain-card>span:not(.domain-icon) {
  grid-column: 3;
}

.domain-card strong {
  align-self: end;
  color: #071b55;
  font-size: 15px;
}

.domain-card>span:not(.domain-icon) {
  align-self: start;
  color: #4d5a70;
  font-size: 13px;
  line-height: 1.45;
}

.domain-card:has(input:checked) {
  border-color: #019ded;
  box-shadow: 0 0 0 3px rgba(0, 82, 255, .18);
}

.payment-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.payment-card {
  position: relative;
  min-height: 86px;
  display: grid;
  grid-template-columns: 18px 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid #cdd8e8;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.payment-card input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #0543a1;
  outline: none;
}

.payment-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #019ded;
  background: #dfeaff;
  font-size: 18px;
  font-weight: 900;
}

.payment-card strong {
  grid-column: 3;
  color: #071b55;
  font-size: 15px;
}

.payment-card:has(input:checked) {
  border-color: #019ded;
  box-shadow: 0 0 0 3px rgba(0, 82, 255, .18);
}

.domain-field {
  margin-top: 4px;
}

.domain-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px 136px;
  gap: 0;
}

.domain-input-row input {
  border-radius: 8px 0 0 8px;
}

.domain-input-row select {
  border-left: 0;
  border-radius: 0;
}

.domain-input-row .btn {
  min-height: 46px;
  padding: 0 16px;
  border-color: #019ded;
  border-radius: 8px;
  margin-left: 16px;
  color: #019ded;
  background: #fff;
  min-width: 120px;
}

.field small {
  min-height: 20px;
  color: #4d5a70;
  font-size: 13px;
  line-height: 1.45;
}

.field small.available {
  color: #17835a;
}

.field small.manual {
  color: #a15c00;
}

.summary-card {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid #cdd8e8;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.summary-card div {
  display: grid;
  gap: 5px;
}

.summary-card span {
  color: #24365d;
  font-size: 12px;
}

.summary-card strong {
  color: #071b55;
  font-size: 16px;
  line-height: 1.25;
}

.subscribe-submit {
  width: 100%;
  min-height: 52px;
  border-radius: 8px;
  background: #019ded;
  box-shadow: 0 12px 24px rgba(0, 82, 255, .22);
  font-size: 17px;
}

.subscribe-submit span {
  font-size: 24px;
  line-height: 1;
}

.secure-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #5d6c7d;
  font-size: 13px;
}

.secure-note svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 1060px) {
  .subscribe-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 10px;
  }

  .subscribe-copy {
    min-height: auto;
    padding-top: 12px;
  }

  .trust-row {
    margin-top: 0;
    padding-top: 26px;
  }
}

@media (max-width: 700px) {

  .subscribe-header,
  .subscribe-main {
    width: min(100% - 28px, 1200px);
  }

  .subscribe-header {
    min-height: 68px;
  }

  .subscribe-main {
    padding-bottom: 22px;
  }

  .subscribe-copy h2 {
    font-size: 32px;
  }

  .copy-divider {
    margin: 26px 0 30px;
  }

  .subscribe-note {
    grid-template-columns: 1fr;
  }

  .trust-row,
  .field-grid,
  .domain-options,
  .payment-options,
  .summary-card {
    grid-template-columns: 1fr;
  }

  .trust-row div+div {
    border-left: 0;
    border-top: 1px solid #dbe4f0;
    padding-top: 18px;
  }

  .subscribe-form {
    padding: 22px 18px 18px;
  }

  .domain-card {
    grid-template-columns: 18px 52px minmax(0, 1fr);
    padding: 18px;
  }

  .payment-card {
    grid-template-columns: 18px 46px minmax(0, 1fr);
    padding: 16px;
  }

  .domain-input-row {
    grid-template-columns: minmax(0, 1fr) 96px;
  }

  .domain-input-row .btn {
    grid-column: 1 / -1;
    margin: 10px 0 0;
  }
}