@font-face {
  font-family: "Futura LT Pro";
  src: url("./FuturaLTPro-Light.otf") format("opentype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Futura LT Pro";
  src: url("./FuturaLTPro-Book.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Futura LT Pro";
  src: url("./FuturaLTPro-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Info Display Pro";
  src: url("./InfoDisplayPro-Book.otf") format("opentype");
  font-style: normal;
  font-weight: 450;
  font-display: swap;
}

@font-face {
  font-family: "Info Display Pro";
  src: url("./InfoDisplayPro-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --figma-blue: #003da5;
  --figma-text: #706f6f;
  --figma-border: #ededed;
  --figma-select-border: rgba(0, 0, 0, 0.15);
  --figma-surface: #ffffff;
  --figma-remove-fill: #ededed;
  --figma-error: #c4474f;
  --font-display: "Futura LT Pro", "Futura", "Trebuchet MS", Arial, sans-serif;
  --font-ui: "Info Display Pro", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--figma-surface);
  color: var(--figma-blue);
  font-family: var(--font-ui);
  font-synthesis: none;
}

body.is-modal-open {
  overflow: hidden;
}

a,
button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  min-height: 100vh;
  padding: 0;
}

.topbar {
  display: none !important;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 768px;
  margin: 24px auto 40px;
}

.brand-link {
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  color: var(--figma-blue);
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.topbar-copy {
  margin: 0;
  color: var(--figma-text);
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 450;
  font-size: 1rem;
  line-height: 1.5;
}

.inline-link {
  color: var(--figma-blue);
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.page-main {
  display: flex;
  justify-content: center;
  width: 100%;
}

.form-shell {
  width: 100%;
  max-width: 402px;
}

#bob-form {
  width: 100%;
  background: var(--figma-surface);
}

.form-step {
  display: flex;
  flex-direction: column;
  padding: 32px 16px;
  background: var(--figma-surface);
  --select-arrow: var(--figma-text);
  --select-color: var(--figma-blue);
}

.form-step[hidden] {
  display: none !important;
}

.step-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.step-title {
  margin: 0;
  color: var(--figma-blue);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 300;
  font-size: 2rem;
  line-height: 1.3125;
  text-align: center;
  text-transform: uppercase;
}

.step-description {
  margin: 0;
  color: var(--figma-text);
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 450;
  font-size: 1.125rem;
  line-height: 1.5;
  text-align: center;
}

.section-label {
  margin: 0;
  color: var(--figma-blue);
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 450;
  font-size: 1.5rem;
  line-height: 1.4167;
}

.step-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.step-intro + .section-label,
.step-intro + .terms-card {
  margin-top: 10px;
}

.section-label + .step-fields {
  margin-top: 10px;
}

.user-rows + .user-actions,
.terms-card + .step-footer {
  margin-top: 16px;
}

.terms-card + .terms-card {
  margin-top: 12px;
}

.field-row {
  display: grid;
  gap: 16px;
  width: 100%;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-group[hidden] {
  display: none;
}

.field-label {
  margin: 0;
  color: var(--figma-text);
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 450;
  font-size: 1rem;
  line-height: 1.5;
}

.field-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--figma-border);
  border-radius: 0;
  background: var(--figma-surface);
  color: var(--figma-text);
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 450;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.field-input::placeholder {
  color: var(--figma-text);
}

.field-dropdown {
  position: relative;
  width: 100%;
}

.field-dropdown__trigger {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--figma-select-border);
  border-radius: 0;
  background: var(--figma-surface);
  color: var(--select-color);
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 450;
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}

.field-dropdown__value {
  display: block;
  min-width: 0;
  color: inherit;
}

.field-dropdown__chevron {
  flex: 0 0 auto;
  color: var(--select-arrow);
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 450;
  font-size: 1rem;
  line-height: 1.5;
}

.field-dropdown__panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 1px);
  z-index: 20;
  background: var(--figma-surface);
}

.field-dropdown__panel[hidden] {
  display: none;
}

.field-dropdown__search {
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 10px;
  background: transparent;
  color: var(--figma-text);
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 450;
  font-size: 1rem;
  line-height: 1.5;
}

.field-dropdown__search::placeholder {
  color: var(--figma-text);
}

.field-dropdown__options {
  /* Fits 7 option rows; longer lists scroll with an always-visible scrollbar
     so macOS overlay scrollbars don't hide the fact that more options exist. */
  max-height: 308px;
  overflow-y: auto;
}

.field-dropdown__options::-webkit-scrollbar {
  width: 8px;
}

.field-dropdown__options::-webkit-scrollbar-thumb {
  background: rgba(112, 111, 111, 0.45);
  border-radius: 4px;
}

/* Firefox has no ::-webkit-scrollbar; Chrome/Safari ignore ::-webkit-scrollbar
   styles when scrollbar-width/color are set, so scope these to Firefox only. */
@supports not selector(::-webkit-scrollbar) {
  .field-dropdown__options {
    scrollbar-width: thin;
    scrollbar-color: rgba(112, 111, 111, 0.45) transparent;
  }
}

.field-dropdown__option {
  appearance: none;
  display: block;
  width: 100%;
  padding: 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--figma-blue);
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 450;
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
}

.field-dropdown__option.is-current {
  background: var(--figma-remove-fill);
}

.field-dropdown__option.is-active:not(.is-current),
.field-dropdown__option:hover {
  background: rgba(0, 61, 165, 0.04);
}

.field-dropdown__option:focus-visible {
  outline: none;
  background: rgba(0, 61, 165, 0.08);
}

.field-dropdown.is-open .field-dropdown__trigger {
  border-color: var(--figma-blue);
  box-shadow: 0 0 0 1px var(--figma-blue);
}

.field-group.has-error .field-dropdown.is-open .field-dropdown__trigger {
  border-color: var(--figma-error);
  box-shadow: 0 0 0 1px var(--figma-error);
}

.field-input:focus-visible,
.field-dropdown__trigger:focus-visible,
.field-dropdown__search:focus-visible,
.button:focus-visible,
.button--remove:focus-visible,
.checkbox-field input:focus-visible {
  outline: none;
  border-color: var(--figma-blue);
  box-shadow: 0 0 0 1px var(--figma-blue);
}

.field-group.has-error .field-input,
.field-group.has-error .field-dropdown__trigger {
  border-color: var(--figma-error);
}

.terms-card.has-error .checkbox-field input {
  border-color: var(--figma-error);
}

.field-error {
  display: none;
  margin: 0;
  color: var(--figma-error);
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 450;
  font-size: 0.875rem;
  line-height: 1.2857;
}

.field-error:not(:empty) {
  display: block;
}

.step-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 0;
}

.step-meta {
  display: flex;
  align-items: center;
}

.step-progress {
  margin: 0;
  color: var(--figma-text);
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 450;
  font-size: 1rem;
  line-height: 1.5;
}

.step-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
  width: 100%;
}

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--figma-blue);
  background: var(--figma-surface);
  color: var(--figma-blue);
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 450;
  font-size: 1.125rem;
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 120ms ease, opacity 120ms ease, border-color 120ms ease, color 120ms ease;
}

.button:disabled,
.button.is-disabled {
  cursor: not-allowed;
}

.button--primary {
  background: var(--figma-blue);
  color: var(--figma-surface);
}

.button--primary:hover:not(:disabled) {
  background: #00338d;
  border-color: #00338d;
}

.button--primary:active:not(:disabled),
.button--primary.is-pressed {
  background: #002d7b;
  border-color: #002d7b;
}

.button--primary:disabled,
.button--primary.is-disabled {
  background: var(--figma-blue);
  border-color: var(--figma-blue);
  color: var(--figma-surface);
  opacity: 0.4;
}

.button--primary.is-loading {
  position: relative;
  color: transparent;
}

.button--primary.is-loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.button--secondary:hover:not(:disabled),
.button--add-user:hover:not(:disabled) {
  background: rgba(0, 61, 165, 0.04);
}

.button--secondary:active:not(:disabled),
.button--add-user:active:not(:disabled) {
  background: rgba(0, 61, 165, 0.08);
}

.button--step1-secondary {
  width: 96px;
  min-width: 96px;
  height: 51px;
  padding: 12px 24px;
  border-radius: 32px;
  line-height: 1.4;
}

.button--step1-primary {
  width: 82px;
  min-width: 82px;
  height: 51px;
  padding: 12px 24px;
  border-radius: 32px;
  line-height: 1.4;
}

.button--step23-secondary {
  width: 84px;
  min-width: 84px;
  height: 44px;
  padding: 12px 24px;
  border-radius: 32px;
  line-height: 1;
}

.button--step23-primary {
  width: 82px;
  min-width: 82px;
  height: 44px;
  padding: 12px 24px;
  border-radius: 32px;
  line-height: 1;
}

.button--step4-secondary {
  width: 74px;
  min-width: 74px;
  height: 41px;
  padding: 8px 20px;
  border-radius: 100px;
  line-height: 1.4;
}

.button--step4-primary {
  width: 117px;
  min-width: 117px;
  height: 41px;
  padding: 8px 20px;
  border-radius: 100px;
  line-height: 1.4;
}

.button--add-user {
  width: 242px;
  min-width: 242px;
  height: 42px;
  padding: 8px 24px;
  border-radius: 32px;
  line-height: 1;
}

.button--add-user:disabled {
  opacity: 0.4;
}

.plus-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.plus-icon::before,
.plus-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--figma-blue);
  transform: translate(-50%, -50%);
}

.plus-icon::before {
  width: 14px;
  height: 2px;
}

.plus-icon::after {
  width: 2px;
  height: 14px;
}

.user-rows {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.user-row {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.user-row__actions,
.user-actions {
  display: flex;
  align-items: center;
}

.user-row__actions {
  gap: 10px;
  margin-top: 10px;
}

.remove-box {
  width: 16px;
  height: 16px;
  border: 1px solid var(--figma-text);
  flex: 0 0 16px;
}

.button--remove {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 59px;
  height: 26px;
  padding: 6px 8px;
  border: none;
  border-radius: 0;
  background: var(--figma-remove-fill);
  color: var(--figma-blue);
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 450;
  font-size: 0.875rem;
  line-height: 1;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background-color 120ms ease, opacity 120ms ease;
}

.button--remove:hover:not(:disabled) {
  background: #dfdfdf;
}

.button--remove:disabled {
  opacity: 0.45;
}

.terms-card {
  width: 100%;
  max-width: 496px;
}

.checkbox-field {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--figma-text);
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 450;
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-field input {
  appearance: none;
  width: 16px;
  height: 16px;
  margin: 4px 0 0;
  border: 1px solid var(--figma-text);
  border-radius: 0;
  background: transparent;
  position: relative;
  flex: 0 0 16px;
}

.checkbox-field input:checked {
  border-color: var(--figma-blue);
}

.checkbox-field input:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border-right: 2px solid var(--figma-blue);
  border-bottom: 2px solid var(--figma-blue);
  transform: rotate(45deg);
}

.checkbox-field__copy {
  display: block;
  color: var(--figma-text);
}

.terms-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 34, 92, 0.18);
}

.terms-modal-backdrop[hidden] {
  display: none;
}

.terms-modal {
  display: flex;
  flex-direction: column;
  width: min(100%, 744px);
  max-height: min(92vh, 820px);
  border: 1px solid rgba(0, 61, 165, 0.14);
  background: var(--figma-surface);
  box-shadow: 0 24px 64px rgba(0, 20, 61, 0.18);
}

.terms-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 18px;
  border-bottom: 1px solid rgba(0, 61, 165, 0.08);
}

.terms-modal__header-copy {
  min-width: 0;
}

.terms-modal__eyebrow {
  margin: 0 0 8px;
  color: var(--figma-blue);
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 450;
  font-size: 0.875rem;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.terms-modal__title {
  margin: 0;
  color: var(--figma-blue);
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 300;
  font-size: 2rem;
  line-height: 1.3125;
  text-transform: uppercase;
}

.terms-modal__intro {
  margin: 10px 0 0;
  max-width: 34rem;
  color: var(--figma-text);
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 450;
  font-size: 1rem;
  line-height: 1.5;
}

.terms-modal__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 24px;
}

.terms-modal__section + .terms-modal__section {
  margin-top: 24px;
}

.terms-modal__section-title {
  margin: 0 0 10px;
  color: var(--figma-blue);
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 450;
  font-size: 1.125rem;
  line-height: 1.4444;
}

.terms-modal__paragraph {
  margin: 0;
  color: var(--figma-text);
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 450;
  font-size: 0.95rem;
  line-height: 1.5789;
}

.terms-modal__paragraph + .terms-modal__paragraph {
  margin-top: 12px;
}

.terms-modal__list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--figma-text);
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 450;
  font-size: 0.95rem;
  line-height: 1.5789;
}

.terms-modal__list li + li {
  margin-top: 10px;
}

.terms-modal__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(0, 61, 165, 0.08);
  background: var(--figma-surface);
}

.terms-modal__status {
  margin: 0;
  color: var(--figma-text);
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 450;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.terms-modal__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.button--modal-close,
.button--modal-secondary,
.button--modal-primary {
  min-width: 126px;
  height: 44px;
  padding: 12px 24px;
  border-radius: 32px;
  line-height: 1;
}

.form-step--practice {
  min-height: 754.18px;
  --select-arrow: var(--figma-text);
  --select-color: var(--figma-text);
}

.form-step--main-user {
  min-height: 679.18px;
  --select-arrow: var(--figma-blue);
  --select-color: var(--figma-blue);
}

.form-step--bob-users {
  min-height: 635.18px;
}

.form-step--review {
  min-height: 275.59px;
  align-items: flex-start;
}

.form-step--review .step-actions {
  justify-content: flex-end;
}

.form-step--review .step-footer {
  gap: 8px;
}

.step-fields--practice {
  gap: 0;
}

.step-footer--main-user {
  margin-top: 10px;
}

.user-rows + .user-actions,
.step-footer--bob-users {
  margin-top: 10px;
}

.field-row--practice-top {
  gap: 0;
}

.field-row--main-user-names {
  gap: 10px;
}

.field-row--bob-user-names {
  gap: 0;
}

.field-row--country-state {
  grid-template-columns: 1fr;
  gap: 16px;
}

.field-row--country-state.has-state-field {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-row--practice-address {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 6px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 768px) {
  .page-shell {
    padding: 0;
  }

  .topbar {
    display: none !important;
  }

  .form-shell {
    max-width: 768px;
  }

  .form-step {
    padding-left: 32px;
    padding-right: 32px;
  }

  .form-step--practice {
    min-height: 680px;
    padding-top: 31px;
    padding-bottom: 32px;
  }

  .form-step--main-user {
    min-height: 572.18px;
    padding-top: 31px;
    padding-bottom: 32px;
  }

  .form-step--bob-users {
    min-height: 580.18px;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .form-step--review {
    min-height: 248.59px;
    justify-content: center;
    align-items: stretch;
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .form-step--practice .step-intro,
  .form-step--main-user .step-intro,
  .form-step--bob-users .step-intro {
    width: 704px;
    align-self: stretch;
  }

  .form-step--review .step-intro {
    width: 596px;
  }

  .step-title {
    font-size: 32px;
    line-height: 42px;
  }

  .step-description {
    font-size: 18px;
    line-height: 27px;
  }

  .section-label {
    font-size: 24px;
    line-height: 34px;
  }

  .form-step--practice .step-title {
    max-width: 460px;
  }

  .form-step--practice .step-description {
    max-width: 399px;
  }

  .form-step--main-user .step-title {
    max-width: 247px;
  }

  .form-step--main-user .step-description {
    max-width: 581px;
  }

  .form-step--bob-users .step-title {
    max-width: 400px;
  }

  .form-step--bob-users .step-description {
    max-width: 600px;
  }

  .form-step--review .step-title {
    max-width: 312px;
  }

  .form-step--review .step-description {
    max-width: 373px;
  }

  .step-fields--practice,
  .step-fields--main-user,
  .step-fields--bob-users {
    width: 704px;
    align-self: stretch;
  }

  .step-fields--practice,
  .step-fields--main-user {
    gap: 24px;
  }

  .form-step--practice .step-intro + .section-label {
    margin-top: 31px;
  }

  .form-step--practice .section-label + .step-fields {
    margin-top: 16px;
  }

  .step-footer--practice,
  .step-footer--main-user {
    margin-top: 24px;
  }

  .form-step--bob-users .user-rows + .user-actions,
  .step-footer--bob-users {
    margin-top: 17px;
  }

  .form-step--review .terms-card + .step-footer {
    margin-top: 0;
  }

  .form-step--review .step-intro + .terms-card {
    margin-top: 24px;
  }

  .field-row--practice-top,
  .field-row--main-user-names,
  .field-row--bob-user-names {
    grid-template-columns: repeat(2, minmax(0, 344px));
    gap: 16px;
    justify-content: space-between;
  }

  .field-row--country-state.has-state-field,
  .field-row--practice-address {
    grid-template-columns: repeat(2, minmax(0, 344px));
    justify-content: space-between;
  }

  .field-group--dropdown .field-dropdown__trigger,
  .field-group--tall-input .field-input {
    min-height: 50px;
    padding-top: 12px;
    padding-bottom: 12px;
    border-color: var(--figma-select-border);
  }

  .step-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .form-step--bob-users .user-row__actions {
    margin-top: 6px;
  }

  .step-footer--practice .step-actions,
  .step-footer--main-user .step-actions,
  .step-footer--bob-users .step-actions {
    width: auto;
  }

  .step-footer--review {
    width: 100%;
    margin-top: 0;
    align-self: flex-start;
  }

  .form-step--review .terms-card {
    width: 704px;
    max-width: none;
    align-self: stretch;
  }

  .form-step--review .checkbox-field {
    width: 496px;
    max-width: 100%;
  }

  .form-step--review .step-actions {
    width: 207px;
    justify-content: flex-start;
  }

  .form-step--review .step-footer {
    align-self: flex-start;
  }

  .user-actions {
    width: 704px;
  }

  .terms-modal__header {
    padding: 28px 32px 20px;
  }

  .terms-modal__body {
    padding: 28px 32px;
  }

  .terms-modal__footer {
    padding: 18px 32px 24px;
  }
}

@media (max-width: 401px) {
  .field-row--country-state,
  .field-row--country-state.has-state-field,
  .field-row--practice-address {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .field-row--country-state .field-group,
  .field-row--practice-address .field-group {
    gap: 8px;
  }

  .field-row--country-state .field-label,
  .field-row--practice-address .field-label {
    min-height: 0;
  }

  .terms-modal-backdrop {
    padding: 8px;
  }

  .terms-modal {
    width: 100%;
    max-height: calc(100vh - 16px);
  }

  .terms-modal__header,
  .terms-modal__body,
  .terms-modal__footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .terms-modal__header {
    flex-direction: column;
    align-items: stretch;
  }

  .terms-modal__title {
    font-size: 1.625rem;
    line-height: 1.3077;
  }

  .terms-modal__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .terms-modal__actions {
    width: 100%;
    justify-content: stretch;
  }

  .button--modal-close,
  .button--modal-secondary,
  .button--modal-primary {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
