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

.flow-brand {
  display: block;
  width: auto;
}

.flow-brand .brand-wordmark {
  display: block;
}

.flow-intro h1,
.sign-in-card h2,
.active-access h2,
.history-card h2,
.card-kicker strong,
.bank-details .account-number {
  font-family: var(--serif);
}

.flow-intro h1 {
  font-weight: 347;
}

.steps li.active span {
  border-color: #d2d8d4;
  background: #e7eae8;
  color: #34423a;
}

.sign-in-card h2,
.active-access h2,
.history-card h2,
.card-kicker strong {
  font-weight: 462;
}

.bank-details .payment-reference {
  display: inline-block;
  width: max-content;
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid #bf9850;
  background: #fff8e9;
  color: #57421c;
  font: 700 16px/1.1 ui-monospace, SFMono-Regular, Consolas, monospace;
  letter-spacing: .04em;
}

.billing-fields {
  display: grid;
  gap: 11px;
  margin-top: 22px;
}

.billing-fields label {
  display: grid;
  gap: 5px;
  color: #647069;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.billing-fields label small {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #7b8680;
}

.billing-fields input,
.billing-fields textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid #ccd6d0;
  border-radius: 6px;
  background: #fff;
  font: 12px/1.4 var(--sans);
  resize: vertical;
}

.lock-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 32px;
  display: block;
}

.lock-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.lock-shackle { fill: #d8ad58; }
.lock-body { fill: #19364f; }
.lock-key { fill: #f7edd8; }
.lock-key-line { fill: none; stroke: #f7edd8; stroke-width: 2; stroke-linecap: round; }

.privacy-seal {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
  margin-top: 18px;
  padding: 17px;
  border: 1px solid #bedbc9;
  border-radius: 8px;
  background: linear-gradient(135deg, #edf7f1, #f9fcfa);
  box-shadow: 0 8px 22px rgba(14, 118, 68, .06);
}

.lock-icon.large {
  width: 37px;
  height: 42px;
}

.lock-icon.large svg {
  width: 100%;
  height: 100%;
}

.privacy-seal p {
  display: grid;
  gap: 3px;
  margin: 0;
}

.privacy-seal strong {
  color: #0c5c39;
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.privacy-seal span {
  color: #273d32;
  font-size: 10px;
  font-weight: 700;
}

.privacy-seal small {
  color: #637169;
  font-size: 9px;
  line-height: 1.45;
}

.privacy-note a {
  display: inline-block;
  color: #0e7644;
  font-size: 9px;
  font-weight: 700;
}

.privacy-note > div {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.receipt-number-note {
  margin: -10px 0 15px;
  color: #68766f;
  font-size: 9px;
  line-height: 1.45;
}

.checkout-assurance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
  border: 1px solid #dce4df;
  border-radius: 8px;
  background: #fff;
}

.checkout-assurance span {
  padding: 13px 16px;
  border-right: 1px solid #e2e8e4;
  color: #5f6c65;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.checkout-assurance span:last-child {
  border-right: 0;
}

.card-kicker > span {
  width: auto;
  height: auto;
  min-width: 31px;
  padding: 6px 7px;
  border-radius: 4px;
  background: #eef2ef;
  color: #536159;
}

.drop-zone {
  min-height: 150px;
  margin-top: 18px;
  padding: 18px;
}

.upload-icon {
  width: 34px;
  height: 38px;
  margin-bottom: 8px;
  border-radius: 0;
  background: transparent;
  color: #19364f;
}

.upload-icon svg {
  width: 100%;
  height: 100%;
  fill: #f5e6c8;
  stroke: #19364f;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.legal-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin: 0 0 16px;
  color: #58655e;
  font-size: 10px;
  line-height: 1.55;
}

.legal-consent input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: #0e7644;
}

.legal-consent a {
  color: #0e7644;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.submission-dialog {
  width: min(640px, calc(100% - 32px));
  padding: 42px;
  border: 0;
  border-radius: 14px;
  color: #15201b;
  background: #fff;
  box-shadow: 0 28px 90px rgba(9, 47, 32, .28);
}

.submission-dialog::backdrop {
  background: rgba(7, 28, 20, .68);
  backdrop-filter: blur(3px);
}

.dialog-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 6px;
  background: #f5e6c8;
  color: #0e7644;
}

.dialog-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.submission-dialog h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 347;
  letter-spacing: -.025em;
}

.dialog-lead {
  margin-bottom: 26px;
  color: #66736c;
  font-size: 15px;
  line-height: 1.55;
}

.submission-dialog ol {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0 0 20px;
  list-style: none;
}

.submission-dialog li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 11px;
  padding: 13px 0;
  border-top: 1px solid #e4e9e6;
}

.submission-dialog li > span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0e7644;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.submission-dialog li p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.submission-dialog li strong {
  font-size: 11px;
}

.submission-dialog li small {
  color: #6d7872;
  font-size: 9px;
  line-height: 1.45;
}

.dialog-note {
  padding: 10px 12px;
  border-radius: 6px;
  background: #fff7e3;
  color: #74551d;
  font-size: 9px;
  text-align: center;
}

.verification-status {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 18px;
  border: 1px solid #cfe2d7;
  border-radius: 7px;
  background: #eff7f3;
}

.verification-status > span {
  width: 12px;
  height: 12px;
  border: 3px solid #acd4bf;
  border-top-color: #0e7644;
  border-radius: 50%;
}

.verification-status p {
  display: grid;
  gap: 2px;
  margin: 0;
}

.verification-status strong {
  color: #155e43;
  font-size: 14px;
}

.verification-status small {
  color: #69776f;
  font-size: 12px;
}

.activation-message {
  margin-top: 17px;
  padding-left: 15px;
  border-left: 3px solid #0e7644;
}

.activation-message strong {
  color: #15201b;
  font-size: 14px;
}

.activation-message p,
.confirmation-copy {
  margin: 3px 0 0;
  color: #5f6e66;
  font-size: 13px;
  line-height: 1.6;
}

.confirmation-copy {
  margin: 20px 0 24px;
}

.submission-dialog > .eyebrow {
  margin-bottom: 14px;
  font-size: 12px;
}

.submission-dialog .button {
  min-height: 54px;
  font-size: 15px;
}

@media (max-width: 620px) {
  .submission-dialog {
    padding: 28px 22px;
  }

  .submission-dialog h2 {
    font-size: 31px;
  }
}

.preview-history > div:first-child {
  display: grid;
  gap: 4px;
}

.preview-history > div:first-child p,
.preview-history > div:first-child small {
  margin: 0;
}

.history-next {
  grid-column: 1 / -1;
  display: grid;
  gap: 5px;
  margin-top: 10px;
  padding: 15px 17px;
  border-left: 3px solid #0e7644;
  border-radius: 5px;
  background: #eef6f2;
}

.history-next strong {
  color: #155e43;
  font-size: 11px;
}

.history-next span {
  color: #5e6d65;
  font-size: 10px;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .checkout-assurance {
    grid-template-columns: 1fr;
  }

  .checkout-assurance span {
    border-right: 0;
    border-bottom: 1px solid #e2e8e4;
  }

  .checkout-assurance span:last-child {
    border-bottom: 0;
  }

  .drop-zone {
    min-height: 140px;
  }
}

.plan-line .amount-tax {
  margin-top: 4px;
  color: #68756e;
  font-size: 9px;
  font-weight: 600;
}
