.gf-account {
  --gf-red: #c51f2a;
  --gf-red-bright: #dc2632;
  --gf-red-dark: #970b14;
  --gf-ink: #171717;
  --gf-muted: #676767;
  --gf-line: #e5e5e5;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .14);
  color: var(--gf-ink);
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(480px, 1.18fr);
  margin: 56px auto;
  max-width: 1120px;
  min-height: 620px;
  overflow: hidden;
  width: calc(100% - 32px);
}

.gf-account * { box-sizing: border-box; }
.gf-account [hidden] { display: none !important; }

.gf-account__hero {
  align-items: flex-end;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, .18), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(255, 174, 174, .22), transparent 28%),
    linear-gradient(145deg, #8d0710 0%, #c31420 50%, #e12834 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 620px;
  overflow: hidden;
  padding: 48px 42px;
  position: relative;
}

.gf-account__hero::before,
.gf-account__hero::after {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  content: '';
  pointer-events: none;
  position: absolute;
}

.gf-account__hero::before {
  height: 290px;
  left: -150px;
  top: -120px;
  width: 290px;
}

.gf-account__hero::after {
  bottom: -160px;
  height: 360px;
  right: -220px;
  width: 360px;
}

.gf-account__story-mark {
  height: 110px;
  left: 38px;
  opacity: .92;
  position: absolute;
  top: 42px;
  width: 142px;
}

.gf-account__story-mark span {
  border: 2px solid rgba(255, 255, 255, .82);
  border-radius: 999px;
  height: 54px;
  position: absolute;
  width: 54px;
}

.gf-account__story-mark span:nth-child(1) { left: 44px; top: 0; }
.gf-account__story-mark span:nth-child(2) { left: 8px; top: 45px; }
.gf-account__story-mark span:nth-child(3) { left: 80px; top: 45px; }

.gf-account__hero h1 {
  color: #fff !important;
  font-size: clamp(38px, 4.2vw, 58px);
  letter-spacing: -.045em;
  line-height: 1.02;
  margin: 8px 0 18px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.gf-account__hero p:last-child {
  color: rgba(255, 255, 255, .9) !important;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  max-width: 360px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.gf-account__eyebrow {
  color: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .17em;
  margin: 0;
  position: relative;
  width: 100%;
  z-index: 1;
}

.gf-account__content {
  background: #fff;
  min-width: 0;
  padding: 58px 48px 48px;
}

.gf-account__panel,
.gf-account__loading {
  background: #fff;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.gf-account__loading {
  background: #f6f6f6;
  border-radius: 10px;
  color: var(--gf-muted);
  padding: 18px;
}

.gf-account__notice {
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 18px;
  padding: 12px 14px;
}

.gf-account__notice[data-kind="error"] { background: #fff0f0; color: #971c23; }
.gf-account__notice[data-kind="success"] { background: #f8eeee; color: var(--gf-red-dark); }
.gf-account__notice[data-kind="info"] { background: #f5f5f5; color: var(--gf-muted); }

.gf-account__tabs {
  background: #f4f4f4;
  border: 1px solid #ededed;
  border-radius: 12px;
  display: grid;
  gap: 4px;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 28px;
  padding: 4px;
}

.gf-account .gf-account__tabs button {
  background: transparent !important;
  border: 0 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
  color: #686868 !important;
  cursor: pointer;
  font-size: 15px !important;
  font-weight: 700;
  min-height: 44px;
  padding: 9px 12px !important;
}

.gf-account .gf-account__tabs button.is-active {
  background: #fff !important;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .08) !important;
  color: var(--gf-red) !important;
}

.gf-account__form {
  display: grid;
  gap: 17px;
  grid-template-columns: 1fr;
}

.gf-account__form--profile { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.gf-account__form label {
  color: var(--gf-ink);
  display: grid;
  font-size: 14px;
  font-weight: 680;
  gap: 8px;
}

.gf-account__form label span { color: var(--gf-muted); font-size: 13px; font-weight: 400; }

.gf-account__form input,
.gf-account__form select {
  appearance: none;
  background: #f8f8f8;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  box-shadow: none;
  color: var(--gf-ink);
  font-size: 16px;
  min-height: 50px;
  padding: 11px 14px;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
  width: 100%;
}

.gf-account__form input:hover,
.gf-account__form select:hover { border-color: #bdbdbd; }

.gf-account__form input:focus,
.gf-account__form select:focus {
  background: #fff;
  border-color: var(--gf-red);
  box-shadow: 0 0 0 4px rgba(197, 31, 42, .1);
  outline: 0;
}

.gf-account__form input[aria-invalid="true"],
.gf-account__form select[aria-invalid="true"] { border-color: #b42318; }

.gf-account__form input[aria-invalid="true"]:focus,
.gf-account__form select[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .12); }

.gf-account__form label .gf-account__field-error { color: #962e27; font-size: 13px; font-weight: 600; }
.gf-account__form input:disabled { background: #f1f1f1; color: #737373; }

.gf-account__primary,
.gf-account__secondary {
  border-radius: 10px !important;
  cursor: pointer;
  font-size: 15px !important;
  font-weight: 750;
  min-height: 50px;
  padding: 11px 20px !important;
}

.gf-account .gf-account__primary {
  background: linear-gradient(135deg, var(--gf-red-bright), var(--gf-red)) !important;
  border: 1px solid var(--gf-red) !important;
  box-shadow: 0 10px 22px rgba(197, 31, 42, .22) !important;
  color: #fff !important;
  grid-column: 1 / -1;
  justify-self: stretch;
  margin-top: 3px;
  width: 100% !important;
}

.gf-account .gf-account__secondary {
  background: #fff !important;
  border: 1px solid var(--gf-red) !important;
  color: var(--gf-red) !important;
}

.gf-account .gf-account__primary:hover {
  background: linear-gradient(135deg, var(--gf-red), var(--gf-red-dark)) !important;
  box-shadow: 0 12px 26px rgba(151, 11, 20, .26) !important;
  transform: translateY(-1px);
}

.gf-account__primary:disabled,
.gf-account__secondary:disabled { cursor: wait; opacity: .62; transform: none !important; }

.gf-account__hint {
  color: var(--gf-muted);
  font-size: 13px;
  grid-column: 1 / -1;
  line-height: 1.55;
  margin: 0;
}

.gf-account__member-heading {
  align-items: flex-start;
  border-bottom: 1px solid var(--gf-line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 22px;
}

.gf-account__member-heading .gf-account__eyebrow { color: var(--gf-red); }

.gf-account__member-heading h2 {
  color: var(--gf-ink) !important;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -.035em;
  line-height: 1.08;
  margin: 7px 0 0;
}

@media (max-width: 900px) {
  .gf-account {
    grid-template-columns: 1fr;
    margin-block: 32px;
    max-width: 720px;
  }

  .gf-account__hero {
    align-items: flex-start;
    min-height: 280px;
    padding: 140px 34px 34px;
  }

  .gf-account__hero h1 { font-size: clamp(36px, 8vw, 50px); }
  .gf-account__content { padding: 38px 34px 40px; }
}

@media (max-width: 620px) {
  .gf-account {
    border-radius: 18px;
    margin: 22px auto;
    width: calc(100% - 24px);
  }

  .gf-account__hero {
    min-height: 245px;
    padding: 120px 24px 28px;
  }

  .gf-account__story-mark { left: 20px; top: 24px; transform: scale(.82); transform-origin: top left; }
  .gf-account__content { padding: 28px 20px 30px; }
  .gf-account__form--profile { grid-template-columns: 1fr; }
  .gf-account__member-heading { align-items: stretch; flex-direction: column; }
  .gf-account__member-heading .gf-account__secondary { width: 100% !important; }
}
