@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/source-sans-3-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

/* v4.8.2.38 keyboard entry point. */
.IFSkipLink {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: 10px 14px;
  color: #fff;
  background: #17344a;
  border-radius: 4px;
}

.IFSkipLink:focus {
  transform: translateY(0);
}

:root {
  color-scheme: light;
  --if-ink: #173342;
  --if-text: #536b77;
  --if-muted: #71858f;
  --if-blue: #155b78;
  --if-blue-dark: #10485f;
  --if-line: #cfdee5;
  --if-soft: #f5f9fa;
  --if-warn: #fff8dc;
}

* {
  box-sizing: border-box;
}

body.IFAccountPage {
  margin: 0;
  color: var(--if-ink);
  background: #eaf2f5;
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 390;
  line-height: 1.5;
}

a {
  color: var(--if-blue);
  text-underline-offset: 3px;
}

.IFAccountShell {
  width: min(1320px, calc(100% - 48px));
  min-height: calc(100vh - 32px);
  margin: 16px auto;
  overflow: hidden;
  border: 1px solid #cbdce5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(27, 66, 82, 0.09);
}

.IFAccountHeader {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 112px;
  padding: 15px 34px;
  border-bottom: 1px solid var(--if-line);
}

.IFAccountBrandRow {
  flex: 0 0 auto;
}

.IFAccountBrand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  width: min(390px, 46vw);
  color: #225766;
  text-decoration: none;
}

.IFBrandHousemark {
  display: block;
  width: 74px;
  height: 78px;
  flex: 0 0 74px;
  background:none;
}

.IFBrandCopy {
  display: grid;
  gap: 7px;
  line-height: 1;
}

.IFBrandCopy strong {
  font-size: 27px;
  font-weight: 620;
  letter-spacing: .17em;
}

.IFBrandCopy small {
  color: #6f8792;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .31em;
}

.IFAccountNav {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 0;
  margin-left: auto;
}

.IFAccountNav > a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  color: #52606d;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.IFAccountNav > a:hover,
.IFAccountNav > a[aria-current="page"] {
  border-bottom-color: #5c96ab;
  color: #114f68;
}

.IFHeaderAccount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid #174f63;
  border-radius: 7px;
  color: #174f63;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.IFAccountMain {
  width: min(1120px, calc(100% - 72px));
  min-height: 580px;
  margin: 0 auto;
  padding: 64px 0 72px;
}

.IFAccountKicker {
  margin: 0 0 9px;
  color: #5b7885;
  font-size: 12px;
  font-weight: 570;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.IFAuthLayout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1fr);
  gap: 80px;
  align-items: start;
  max-width: 970px;
  margin: 0 auto;
}

.IFAuthIntro {
  padding-top: 19px;
}

.IFAuthIntro h1,
.IFSingleCard h1,
.IFAccountHero h1 {
  margin: 0;
  color: var(--if-ink);
  font-size: clamp(37px, 4vw, 50px);
  font-weight: 570;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

.IFAuthIntro > p:last-child,
.IFSingleCard > p,
.IFAccountHero > div:first-child > p:last-child {
  max-width: 51ch;
  margin: 20px 0 0;
  color: var(--if-text);
  font-size: 17px;
  line-height: 1.6;
}

.IFAuthCard,
.IFSingleCard,
.IFAccountPanel {
  border: 1px solid var(--if-line);
  border-radius: 11px;
  background: #fff;
}

.IFAuthCard {
  padding: 31px;
  box-shadow: 0 8px 25px rgba(29, 65, 79, 0.05);
}

.IFRegistrationPlan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0 0 26px;
  padding: 16px 18px;
  border: 1px solid #bdd3dc;
  border-radius: 8px;
  background: #f2f8fa;
}

.IFRegistrationPlan p,
.IFRegistrationPlan strong,
.IFRegistrationPlan span {
  display: block;
  margin: 0;
}

.IFRegistrationPlan p {
  color: var(--if-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.IFRegistrationPlan strong {
  margin-top: 3px;
  color: var(--if-ink);
  font-size: 16px;
}

.IFRegistrationPlan span {
  margin-top: 5px;
  color: var(--if-text);
  font-size: 12px;
  line-height: 1.45;
}

.IFRegistrationPlan > a {
  font-size: 13px;
  font-weight: 600;
}

.IFSingleCard {
  max-width: 670px;
  margin: 0 auto;
  padding: 42px;
}

.IFFormField {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  margin-bottom: 19px;
  color: #274553;
  font-size: 14px;
  font-weight: 540;
}

.IFFormField > span {
  color: var(--if-muted);
  font-size: 12px;
  font-weight: 390;
}

.IFFormField input,
.IFFormField select,
.IFFormField textarea {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid #aec3cc;
  border-radius: 7px;
  color: var(--if-ink);
  background: #fff;
  font: inherit;
}

.IFFormField textarea {
  min-height: 148px;
  resize: vertical;
}

.IFFormField input:focus,
.IFFormField select:focus,
.IFFormField textarea:focus {
  outline: 3px solid rgba(21, 91, 120, 0.13);
  border-color: #397f9a;
}

.IFCheckField {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 6px 0 22px;
  color: #526b76;
  font-size: 13.5px;
  font-weight: 390;
  line-height: 1.45;
}

.IFCheckField input {
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
}

.IFCheckCompact {
  margin-top: 2px;
}

.IFTermsLink {
  margin: -14px 0 22px 29px;
  font-size: 13px;
}

.IFTermsChecklist {
  display: grid;
  gap: 3px;
  margin: 4px 0 22px;
  padding: 18px;
  border: 1px solid var(--if-line);
  border-radius: 8px;
}

.IFTermsChecklist legend {
  padding: 0 7px;
  color: var(--if-ink);
  font-size: 14px;
  font-weight: 600;
}

.IFTermsChecklist .IFCheckField {
  margin: 5px 0 9px;
}

.IFFieldFeedback,
.IFActivationNotice {
  margin: -12px 0 20px;
  color: #687d87;
  font-size: 13px;
  line-height: 1.45;
}

.IFPasswordRules {
  display: grid;
  gap: 6px;
  margin: -12px 0 20px;
  padding: 0;
  color: #687d87;
  font-size: 13px;
  list-style: none;
}

.IFPasswordRules li::before,
.IFFieldFeedback::before {
  content: "○";
  display: inline-block;
  width: 18px;
  color: #81939b;
}

.IFPasswordRules .is-valid,
.IFFieldFeedback.is-valid {
  color: #2f6b55;
}

.IFPasswordRules .is-valid::before,
.IFFieldFeedback.is-valid::before {
  content: "✓";
  color: #2f6b55;
}

.IFPasswordRules .is-invalid,
.IFFieldFeedback.is-invalid {
  color: #8a453b;
}

.IFTermsProgress { margin-top: -12px; }
.IFActivationNotice { margin: 12px 0 0; text-align: center; }
.IFPrimaryButton:disabled { cursor: not-allowed; opacity: .48; }

.IFTermsPage {
  max-width: 850px;
  color: var(--if-text);
  background: #fff;
  padding-right: 32px;
  padding-left: 32px;
}

.IFTermsPage h1,
.IFTermsPage h2 {
  color: var(--if-ink);
}

.IFTermsPage h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
}

.IFTermsPage h2 {
  margin-top: 34px;
  font-size: 22px;
}

.IFTermsPage li {
  margin-bottom: 10px;
}

.IFPrimaryButton,
.IFPrimaryLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 10px 19px;
  border: 1px solid var(--if-blue);
  border-radius: 7px;
  color: #fff;
  background: var(--if-blue);
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 540;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.IFPrimaryButton:hover,
.IFPrimaryLink:hover {
  border-color: var(--if-blue-dark);
  background: var(--if-blue-dark);
}

.IFAuthCard .IFPrimaryButton {
  width: 100%;
}

.IFOutlineLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  padding: 10px 19px;
  border: 1px solid var(--if-blue);
  border-radius: 7px;
  color: var(--if-blue);
  background: transparent;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 540;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.IFOutlineLink:hover {
  border-color: var(--if-blue-dark);
  color: var(--if-blue-dark);
  background: var(--if-soft);
}


.IFAuthSwitch,
.IFAuthLinks {
  margin: 23px 0 0;
  padding-top: 18px;
  border-top: 1px solid #e1eaee;
  color: var(--if-muted);
  font-size: 13.5px;
  text-align: center;
}

.IFAuthLinks {
  display: grid;
  gap: 10px;
}

.IFCompletion h2,
.IFAccountPanel h2 {
  margin: 0;
  color: var(--if-ink);
  font-size: 22px;
  font-weight: 550;
  line-height: 1.2;
}

.IFCompletion > p,
.IFAccountPanel > p {
  color: var(--if-text);
}

.IFPrivateNotice {
  margin-top: 20px;
  padding: 13px 15px;
  border: 1px solid #e5d492;
  border-radius: 7px;
  color: #4a4020 !important;
  background: var(--if-warn);
  font-size: 13px;
}

.IFFormMessage {
  max-width: 970px;
  margin: -30px auto 32px;
  padding: 12px 15px;
  border-radius: 7px;
  font-size: 14px;
}

.IFFormMessage p {
  margin: 0;
}

.IFFormMessageError {
  border: 1px solid #e8c9c2;
  color: #6b302a;
  background: #fff6f3;
}

.IFFormMessageInfo {
  border: 1px solid #c9dce4;
  color: #284d5d;
  background: #f3f8fa;
}

.IFFormMessageSuccess {
  border: 1px solid #bdd8cb;
  color: #275943;
  background: #f1f8f4;
}

.IFFormMessageSuccess a {
  color: inherit;
  font-weight: 650;
}

.IFTrap {
  position: absolute;
  left: -10000px;
}

.IFButtonRow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.IFSecondaryLink {
  color: var(--if-text);
}

.IFAccountHero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--if-line);
}

.IFSignedIn {
  display: grid;
  gap: 3px;
  color: var(--if-muted);
  font-size: 12.5px;
  text-align: right;
}

.IFSignedIn strong {
  color: #385463;
  font-size: 14px;
  font-weight: 500;
}

.IFAccountGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 20px;
  margin-top: 29px;
}

.IFAccountPanel {
  min-height: 210px;
  padding: 26px;
}

.IFSettingsCurrent {
  margin-top: 18px;
}

.IFSettingsBlock {
  margin-top: 25px;
  padding-top: 23px;
  border-top: 1px solid #e1eaee;
}

.IFSettingsBlock h3 {
  margin: 0;
  color: var(--if-ink);
  font-size: 18px;
  font-weight: 560;
}

.IFSettingsBlock > p {
  margin: 8px 0 19px;
  color: var(--if-text);
  font-size: 13.5px;
  line-height: 1.55;
}

.IFSettingsBlock .IFFormField {
  margin-bottom: 15px;
}

.IFSettingsBlock .IFPrimaryButton {
  width: 100%;
}

.IFStatusValue {
  margin-bottom: 0;
  color: #1e566d !important;
  font-size: 21px;
  font-weight: 520;
}

.IFRegistrationTrial {
  border-color: #b8d3c7;
  background: #f3f8f5;
}

.IFTrialOffer,
.IFTrialStatus {
  margin-top: 16px;
  padding: 20px;
  border: 1px solid #c9dce4;
  border-radius: 9px;
  background: #f6fafb;
}

.IFTrialStatusActive {
  border-color: #b8d3c7;
  background: #f2f8f5;
}

.IFTrialKicker {
  margin: 0 0 7px;
  color: #386a5a !important;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .11em;
}

.IFTrialOffer .IFStatusValue,
.IFTrialStatus .IFStatusValue {
  margin-top: 0;
}

.IFTrialForm {
  margin-top: 20px;
}

.IFTrialChecklist {
  padding: 15px;
  background: #fff;
}

.IFTrialChecklist .IFCheckField {
  font-size: 12.5px;
  line-height: 1.45;
}

.IFTrialForm .IFPrimaryButton {
  width: 100%;
}

.IFTrialStatus .IFPrimaryLink {
  display: flex;
  width: 100%;
  margin-top: 18px;
}

.IFAccountPanel > .IFOutlineLink {
  margin-top: 24px;
}

.IFTrialTermsLink {
  margin: 12px 0 0;
  font-size: 12.5px;
  text-align: center;
}

.IFMembershipChoices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.IFMembershipChoice {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 16px;
  border: 1px solid #cfdee5;
  border-radius: 9px;
  background: #f7f9fa;
}

.IFMembershipChoice.is-selected {
  border-color: #174f63;
  box-shadow: 0 0 0 2px rgba(23, 79, 99, .10);
}

.IFMembershipChoiceKicker {
  margin: 0 0 9px !important;
  color: #385b6a !important;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .11em;
}

.IFMembershipChoicePrice {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 !important;
  color: #173342 !important;
}

.IFMembershipChoicePrice strong {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -.025em;
}

.IFMembershipChoicePrice span {
  color: #536b77;
  font-size: 12px;
  font-weight: 560;
}

.IFMembershipChoiceVat {
  margin: 5px 0 12px !important;
  color: #71858f !important;
  font-size: 11.5px;
}

.IFMembershipChoice > p:not(.IFMembershipChoiceKicker):not(.IFMembershipChoicePrice):not(.IFMembershipChoiceVat) {
  margin: 0 0 12px;
  color: #536b77;
  font-size: 12.5px;
  line-height: 1.45;
}

.IFMembershipChoicePlan {
  display: block;
  margin: auto 0 13px;
  color: #385463;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.4;
}

.IFMembershipChoiceButton {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 58px;
  padding: 9px 11px;
  border: 1px solid #174f63;
  border-radius: 7px;
  color: #174f63;
  background: #fff;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.IFMembershipChoiceButton span {
  font-size: 12px;
  font-weight: 700;
}

.IFMembershipChoiceButton small {
  color: inherit;
  font-size: 11px;
  font-weight: 550;
}

.IFMembershipChoiceButton:hover {
  color: #10485f;
  background: #eaf2f5;
}

.IFMembershipChoiceButtonPrimary {
  color: #fff;
  background: #173342;
}

.IFMembershipChoiceButtonPrimary:hover {
  color: #fff;
  background: #102a37;
}

.IFSelectionLabel {
  margin: 22px 0 2px;
  color: var(--if-muted) !important;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.IFSelectedPlan {
  margin: 0 0 16px;
  color: var(--if-ink) !important;
  font-size: 18px;
}

.IFBillingForm {
  margin: 18px 0 13px;
}

.IFTextLink {
  display: inline-block;
  margin-top: 8px;
}

.IFMembershipFacts {
  display: grid;
  gap: 9px;
  margin: 20px 0 0;
}

.IFMembershipFacts > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding-top: 9px;
  border-top: 1px solid #e1eaee;
}

.IFMembershipFacts dt {
  color: var(--if-muted);
}

.IFMembershipFacts dd {
  margin: 0;
  color: var(--if-ink);
}

.IFReceiptsPanel,
.IFFeedbackPanel {
  grid-column: 1 / -1;
  min-height: 170px;
}

.IFFeedbackForm {
  max-width: 640px;
  margin-top: 18px;
}

.IFFeedbackForm .IFPrimaryButton {
  margin-top: 4px;
}

.IFEmptyState {
  margin: 18px 0 0;
  padding: 18px 0;
  border-top: 1px solid #e1eaee;
}

.IFTableWrap {
  overflow-x: auto;
  margin-top: 18px;
}

.IFTableWrap table {
  width: 100%;
  border-collapse: collapse;
  color: var(--if-text);
  font-size: 14px;
}

.IFTableWrap th,
.IFTableWrap td {
  padding: 12px 10px;
  border-top: 1px solid #e1eaee;
  text-align: left;
}

.IFTableWrap th {
  color: #385462;
  font-weight: 540;
}

.IFAccountLogout {
  margin: 25px 0 0;
  text-align: right;
}

.IFWithdrawalAction {
  margin: -24px 0 0;
  text-align: left;
}

.IFPurchaseSummary,
.IFWithdrawalHelp {
  padding: 14px 16px;
  border-left: 3px solid #6e9cad;
  color: var(--if-text);
  background: var(--if-soft);
  font-size: 14px;
}

.IFWithdrawalCard {
  max-width: 760px;
}

.IFWithdrawalCard form {
  margin-top: 28px;
}

.IFWithdrawalConfirm {
  margin: 24px 0;
  padding: 16px;
  border: 1px solid var(--if-line);
  border-radius: 8px;
  background: var(--if-soft);
}

.IFInvoiceDetail {
  margin: 28px 0;
}

.IFInvoiceDetail > div {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid #e1eaee;
}

.IFInvoiceDetail dt {
  color: var(--if-muted);
}

.IFInvoiceDetail dd {
  margin: 0;
  color: var(--if-ink);
}

.IFAccountFooter {
  border-top: 1px solid var(--if-line);
  color: #687d87;
  font-size: 12px;
}

.IFAccountFooter p,
.IFAccountFooter div {
  margin: 0;
}

.IFFooterCompany {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 18px 24px;
  color: #526774;
  background: #e7edf0;
  text-align: center;
}

.IFFooterCompany span,
.IFFooterCompany a {
  color: inherit;
  white-space: nowrap;
}

.IFFooterLegal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 34px;
}

.IFFooterLegal a {
  color: inherit;
}

@media (max-width: 980px) {
  .IFAccountNav {
    display: none;
  }

  .IFAuthLayout {
    grid-template-columns: 1fr;
    gap: 35px;
    max-width: 620px;
  }

}

@media (max-width: 680px) {
  .IFAccountShell {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .IFAccountHeader {
    gap: 12px;
    min-height: 82px;
    padding: 12px 18px;
  }

  .IFAccountBrand { gap: 11px; width: auto; }
  .IFBrandHousemark { width: 54px; height: 56px; flex-basis: 54px; background-size: 222px 56px; }
  .IFBrandCopy strong { font-size: 20px; }
  .IFBrandCopy small { font-size: 8px; }
  .IFHeaderAccount { min-width: 64px; margin-left: auto; padding: 0 12px; font-size: 12px; }

  .IFAccountBrandRow {
    min-height: 86px;
  }

  .IFAccountBrand {
    width: auto;
    max-width: calc(100vw - 130px);
  }

  .IFBrandHousemark {
    width: 54px;
    height: 56px;
    flex-basis: 54px;
    background-size: 222px 56px;
  }

  .IFBrandCopy strong { font-size: 21px; }
  .IFBrandCopy small { font-size: 8px; }
  .IFHeaderAccount { flex: 0 0 auto; min-width: 82px; white-space: nowrap; }

  .IFAccountNav {
    margin: 0 -18px;
    padding: 0 12px;
  }

  .IFAccountNav > a {
    min-height: 50px;
    padding: 10px 11px;
    font-size: 13px;
  }

  .IFAccountMain {
    width: calc(100% - 36px);
    min-height: 520px;
    padding: 42px 0 52px;
  }

  .IFAuthIntro {
    padding-top: 0;
  }

  .IFAuthIntro h1,
  .IFSingleCard h1,
  .IFAccountHero h1 {
    font-size: 36px;
  }

  .IFAuthCard,
  .IFSingleCard {
    padding: 23px 20px;
  }

  .IFAccountHero {
    align-items: start;
    flex-direction: column;
  }

  .IFSignedIn {
    text-align: left;
  }

  .IFAccountGrid {
    grid-template-columns: 1fr;
  }

  .IFReceiptsPanel,
  .IFFeedbackPanel {
    grid-column: auto;
  }

  .IFAccountPanel {
    min-height: 0;
    padding: 22px 20px;
  }

  .IFMembershipChoices {
    grid-template-columns: 1fr;
  }

  .IFAccountFooter {
    margin: 0;
    padding: 0;
  }

  .IFFooterCompany,
  .IFFooterLegal { align-items: flex-start; flex-direction: column; gap: 8px; padding: 20px; }
  .IFFooterCompany span,
  .IFFooterCompany a { white-space: normal; }
}

/* Discrete social buttons: navy/grey, matching IFAuthCard. Official marks only. */

.IFSocialStack {
  display: grid;
  gap: 10px;
  margin: 0 0 22px;
}

.IFSocialButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 45px;
  padding: 10px 19px;
  border: 1px solid #174f63;
  border-radius: 7px;
  color: #174f63;
  background: #f5f9fa;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 540;
  line-height: 1.2;
  text-decoration: none;
}

.IFSocialButton:hover {
  border-color: #10485f;
  color: #10485f;
  background: #eaf2f5;
}

.IFSocialMark {
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.IFSocialDivider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 4px 0 6px;
  color: #71858f;
  font-size: 13px;
  font-weight: 540;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.IFSocialDivider::before,
.IFSocialDivider::after {
  content: "";
  border-top: 1px solid #cfdee5;
}

.IFSocialDivider span {
  padding: 0 2px;
}

/* Account entry layout. Shared authentication and mail behaviour is unchanged. */
.IFAccountPage .IFAuthLayout.IFAccessLayout {
  display: grid;
  grid-template-columns: minmax(220px, .7fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(30px, 5vw, 64px);
  width: min(100%, 980px);
  max-width: 980px;
  margin: 0 auto;
}
.IFAccessLayout .IFAuthIntro { padding-top: 10px; }
.IFAccessLayout .IFAuthIntro h1 {
  margin: 10px 0 18px;
  color: var(--if-ink);
  font-size: clamp(2rem, 3.5vw, 2.45rem) !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
}
.IFAccessLayout .IFAuthIntro > p:last-child { max-width: 27ch; }
.IFAccessLayout .IFAuthCard {
  min-width: 0;
  padding: clamp(20px, 3vw, 28px) !important;
  background: #fff !important;
  box-shadow: none !important;
}
.IFAccessTabs, .IFAccessProviders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.IFAccessTabs { margin: 0 0 24px; }
.IFAccessTabs a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 46px;
  padding: 8px 10px;
  box-sizing: border-box;
  border: 1px solid #69837f;
  border-radius: 6px;
  background: #fff;
  color: var(--if-ink);
  font: inherit;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}
.IFAccessTabs a[aria-current="page"] { background: #e8efeb; border-color: var(--if-action); }
.IFAccessTabs a:hover { background: #f2f6f4; }
.IFAccessTabs a[aria-current="page"]:hover { background: #e8efeb; }
.IFAccessTabs a:focus-visible { outline: 3px solid var(--if-action); outline-offset: 3px; }
.IFAccessLayout .IFAccessTabs a,
.IFAccessLayout .IFAccessTabs a:hover,
.IFAccessLayout .IFAccessTabs a:active,
.IFAccessLayout .IFSocialButton,
.IFAccessLayout .IFPrimaryButton {
  box-shadow: none !important;
  filter: none !important;
  transform: none !important;
}
.IFAccessProviderLabel { margin: 0 0 9px; font-size: .94rem; color: var(--if-ink-soft); }
.IFAccessProviders .IFSocialButton { width: 100%; min-width: 0; min-height: 46px !important; padding: 9px 8px !important; }
.IFAccessProviders .IFSocialMark { width: 21px; height: 21px; flex: 0 0 21px; }
.IFAccessDivider { display: flex; align-items: center; gap: 12px; margin: 24px 0; color: var(--if-ink-soft); font-size: .9rem; text-align: center; }
.IFAccessDivider::before, .IFAccessDivider::after { content: ""; flex: 1; border-top: 1px solid var(--if-border); }
.IFAccessDivider span { flex: 0 1 auto; }
.IFAccessEmailHint { margin: -8px 0 20px; color: var(--if-ink-soft); font-size: .94rem; }
.IFAccessLayout .IFFormField { margin-bottom: 18px; }
.IFAccessLayout .IFFormField input { min-height: 46px; box-shadow: none; }
.IFAccessPasswordRow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 7px; }
.IFAccessPasswordRow label { margin: 0; }
.IFAccessPasswordRow a { font-size: .88rem; color: var(--if-ink-soft); text-underline-offset: 3px; }
.IFAccessLayout .IFPrimaryButton { width: 100%; min-height: 46px !important; margin-top: 4px; }
.IFAccessLayout .IFCheckCompact { display: flex; align-items: center; gap: 10px; }
.IFAccessLayout .IFCheckCompact input { flex: 0 0 18px; width: 18px; height: 18px; min-height: 18px !important; margin: 0 !important; }
.IFAccessHelp { border-top: 1px solid var(--if-border); margin-top: 24px; padding-top: 18px; color: var(--if-ink-soft); font-size: .92rem; }
.IFAccessHelp summary { cursor: pointer; padding: 4px 0; }
.IFAccessHelp p { margin: 12px 0; }
.IFAccessHelp a { color: var(--if-ink); text-underline-offset: 3px; }
.IFAccessLayout .IFRegistrationPlan { margin-bottom: 22px; }
@media (max-width: 760px) {
  .IFAccountPage .IFAccountHeader { gap: 12px !important; }
  .IFAccountPage .IFAccountBrandRow { min-width: 0; flex: 1 1 auto; display: flex; align-items: center; }
  .IFAccountPage .IFHeaderAccount { flex: 0 0 auto !important; width: auto !important; min-width: 0 !important; padding: 10px 12px !important; font-size: .86rem !important; }
  .IFAccountPage .IFAuthLayout.IFAccessLayout { grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 560px; }
  .IFAccessLayout .IFAuthIntro { padding-top: 0; }
  .IFAccessLayout .IFAuthIntro h1 { margin-bottom: 12px; }
  .IFAccessLayout .IFAuthIntro > p:last-child { max-width: 48ch; margin-bottom: 0; }
}
@media (max-width: 480px) {
  .IFAccountPage .IFBrandHousemark { width: 44px !important; height: 44px !important; flex: 0 0 44px !important; background:none; }
  .IFAccountPage .IFBrandCopy strong { font-size: clamp(1rem, 4.1vw, 1.15rem) !important; letter-spacing: .12em !important; }
}
@media (max-width: 380px) {
  .IFAccessLayout .IFAuthCard { padding: 18px !important; }
  .IFAccessTabs, .IFAccessProviders { gap: 8px; }
  .IFAccessTabs a, .IFAccessProviders .IFSocialButton { font-size: .92rem !important; }
  .IFAccessPasswordRow { gap: 8px; }
  .IFAccessPasswordRow a { font-size: .82rem; }
  .IFAccessDivider { gap: 8px; }
}

.IFInformationMailChoices { margin: 1.5rem 0; padding: 1rem 0; border: 0; border-top: 1px solid #c7d4d4; }
.IFInformationMailChoices legend { font: inherit; font-weight: 600; padding: 0 .5rem 0 0; }
.IFInformationMailChoices .IFCheckField { margin: .75rem 0; }
.IFInformationMailHelp { font-size: .875rem; line-height: 1.5; color: #4e6571; }
.IFInformationMailChoices input[type=radio] { accent-color: #507f79; width: 1.125rem; height: 1.125rem; flex-shrink: 0; }
.IFLogoutTop { align-self: flex-start; margin-top: .5rem; }
.IFAccountLogout .IFOutlineLink { display: inline-flex; min-height: 44px; align-items: center; }

/* Membership terms link: compatible with the account Content Security Policy. */
.IFMembershipTermsChecklist .IFTermsInlineLink { text-decoration: none; font-weight: 600; }

/* Membership checkout action follows the right edge of its consent form. */
.IFMembershipChoices + .IFBillingForm > .IFPrimaryButton[type="submit"] {
  display: flex !important;
  width: fit-content;
  max-width: 100%;
  margin-inline-start: auto;
  margin-inline-end: 0;
}

/* Hosted checkout: two plan actions, no intermediate consent form. */
.IFCheckoutCardForm { margin: auto 0 0; padding-top: 12px; }
.IFCheckoutCardForm .IFMembershipChoiceButton { width: 100%; min-height: 48px !important; font: inherit; font-weight: 600; cursor: pointer; }
.IFMembershipChoice { display: flex; flex-direction: column; }
.IFCheckoutProvider { margin: 12px 0 24px; font-size: .875rem; line-height: 1.5; color: #526d79; }
.IFCheckoutProvider a { text-decoration: none !important; font-weight: 600; }
