/* EnterNet logo/accent source: https://enternet.lt/ header (#0080FE).
   Original Central Auth layout; system fonts and local assets avoid third-party requests. */
:root {
  color-scheme: light;
  --brand: #0080fe;
  --action: #0867c9;
  --action-hover: #0756a7;
  --ink: #172b45;
  --muted: #607087;
  --canvas: #f3f6fa;
  --surface: #fff;
  --line: #e3eaf2;
  --tint: #edf5ff;
  --danger: #a72d38;
  --danger-tint: #fff1f2;
  --radius: 1.5rem;
  --card-padding: 2.5rem;
  --page-padding: 1.5rem;
  --space: 1rem;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 17.5rem;
}

body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 0.25rem;
  background: var(--brand);
}

.auth-shell {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem var(--page-padding) 2rem;
  background: radial-gradient(ellipse at 50% 0, var(--tint), transparent 65%);
}

.brand {
  margin-bottom: 1.875rem;
}

.brand img {
  display: block;
  max-width: 100%;
}

.auth-card {
  width: 100%;
  max-width: 30rem;
  padding: var(--card-padding);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 1.125rem 3.75rem -1.875rem rgba(25, 62, 116, 0.2509803922), 0 0.125rem 0.5rem rgba(25, 62, 116, 0.0196078431);
}

.auth-symbol {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #dcecff;
  border-radius: 1rem;
  background: var(--tint);
  color: var(--action);
}

h1 {
  font-size: 1.6875rem;
  line-height: 1.25;
  letter-spacing: -0.04375rem;
  margin: 0 0 var(--space);
  font-weight: 650;
  overflow-wrap: anywhere;
}

p {
  margin: 0 0 var(--space);
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.project-name {
  font-size: 0.9375rem;
  color: var(--ink);
  font-weight: 600;
  margin-top: -0.5rem;
  margin-bottom: 1.5rem;
}

.recipient {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.recipient strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
}

.notice {
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background: var(--tint);
  color: #285480;
}

.notice-error {
  background: var(--danger-tint);
  color: var(--danger);
  border-left: 0.1875rem solid var(--danger);
}

.countdown {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
}

[data-countdown] {
  margin-left: auto;
  font-size: 1.25rem;
  color: var(--ink);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

form {
  margin: 0 0 var(--space);
}

button {
  display: block;
  width: 100%;
  min-height: 3.125rem;
  padding: 0.8125rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  background: var(--action);
  color: var(--surface);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}

button:hover:not(:disabled) {
  background: var(--action-hover);
}

button:disabled {
  background: #e7ecf2;
  color: #65748a;
  cursor: not-allowed;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
}

input:not([type=hidden]) {
  width: 100%;
  min-height: 3.625rem;
  padding: 0.75rem;
  border: 1px solid #aebdd0;
  border-radius: 0.75rem;
  margin-bottom: var(--space);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 1.625rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

:focus-visible {
  outline: 0.1875rem solid var(--brand);
  outline-offset: 0.1875rem;
}

.code-form {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.helper {
  font-size: 0.75rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.auth-card:has(.code-form) .send-form button {
  background: var(--surface);
  border-color: var(--line);
  color: var(--action);
  min-height: 2.75rem;
}

.auth-card:has(.code-form) .send-form button:hover:not(:disabled) {
  background: var(--tint);
}

.auth-card:has(.code-form) .send-form button:disabled {
  color: var(--muted);
  background: var(--canvas);
}

a {
  color: var(--action);
  text-underline-offset: 0.25rem;
}

.refresh-link {
  padding-top: 1.125rem;
  margin: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.8125rem;
}

.brand-caption {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.01875rem;
}

.brand-caption span {
  margin: 0 0.5rem;
  color: #a9b7c9;
}

.auth-card-error .auth-symbol {
  background: var(--danger-tint);
  color: var(--danger);
  border-color: #f6dce0;
}

.error-message {
  font-size: 1.3125rem;
  line-height: 1.5;
  letter-spacing: -0.01875rem;
  margin-bottom: 0;
}

.success-content p:last-child {
  margin-bottom: 0;
}

pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 520px) {
  :root {
    --card-padding: 1.625rem;
    --page-padding: 1rem;
    --radius: 1.25rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  button {
    transition: none;
  }
}
@font-face {
  font-family: Saira;
  src: url("/build/saira-regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Saira;
  src: url("/build/saira-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Saira;
  src: url("/build/saira-semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
/* Authentication methods reuse the existing brand accent and form spacing. */
.method-options {
  display: grid;
  gap: var(--space);
  margin: 1.5rem 0;
}

.method-option {
  display: block;
  padding: var(--space);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--tint);
  text-decoration: none;
  font-weight: 600;
}

.method-option:focus-visible {
  outline: 0.1875rem solid currentColor;
  outline-offset: 0.1875rem;
}

.enroll-choice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--mfa-type-body-s-400-size);
  font-weight: var(--mfa-type-body-s-400-weight);
  line-height: var(--mfa-type-body-s-400-line-height);
  letter-spacing: var(--mfa-type-body-s-400-letter-spacing);
}

.enroll-choice input[type=checkbox] {
  width: 1.125rem;
  min-height: 1.125rem;
  height: 1.125rem;
  flex: 0 0 1.125rem;
  padding: 0;
  margin: 0;
  accent-color: var(--action);
}

[data-passkey] {
  margin-bottom: 1.5rem;
}

/* Figma 6251:3146, method-choice card and its reusable action variant. */
.body--mfa::before {
  display: none;
}

.body--mfa {
  --mfa-type-subheading-l-600-size: clamp(1.25rem, calc(0.422vw + 1.155rem), 1.375rem);
  --mfa-type-subheading-l-600-weight: 600;
  --mfa-type-subheading-l-600-line-height: 1.75rem;
  --mfa-type-subheading-l-600-letter-spacing: 0;
}

@media (min-width: 83.5rem) {
  .body--mfa {
    --mfa-type-subheading-l-600-size: clamp(1.375rem, calc(1.027vw + 0.517rem), 1.75rem);
    --mfa-type-subheading-l-600-line-height: clamp(1.75rem, calc(1.37vw + 0.606rem), 2.25rem);
  }
}
.auth-shell--mfa,
.home-shell--mfa {
  --mfa-font-family: Saira, sans-serif;
  --mfa-weight-regular: 400;
  --mfa-weight-light: 300;
  --mfa-weight-medium: 500;
  --mfa-weight-semibold: 600;
  --mfa-type-title-m-400-size: 1.25rem;
  --mfa-type-title-m-400-weight: var(--mfa-weight-regular);
  --mfa-type-title-m-400-line-height: 1.75rem;
  --mfa-type-title-m-400-letter-spacing: 0;
  --mfa-type-title-s-400-size: 1.125rem;
  --mfa-type-title-s-400-weight: var(--mfa-weight-regular);
  --mfa-type-title-s-400-line-height: 1.625rem;
  --mfa-type-title-s-400-letter-spacing: 0;
  --mfa-type-title-m-500-size: 1.25rem;
  --mfa-type-title-m-500-weight: var(--mfa-weight-medium);
  --mfa-type-title-m-500-line-height: 1.75rem;
  --mfa-type-title-m-500-letter-spacing: 0;
  --mfa-type-title-l-500-size: 1.5rem;
  --mfa-type-title-l-500-weight: var(--mfa-weight-medium);
  --mfa-type-title-l-500-line-height: 2rem;
  --mfa-type-title-l-500-letter-spacing: 0;
  --mfa-type-heading-xl-500-size: 3.5rem;
  --mfa-type-heading-xl-500-weight: var(--mfa-weight-medium);
  --mfa-type-heading-xl-500-line-height: 4rem;
  --mfa-type-heading-xl-500-letter-spacing: 0;
  --mfa-type-heading-xl-600-size: var(--mfa-type-heading-xl-500-size);
  --mfa-type-heading-xl-600-weight: var(--mfa-weight-semibold);
  --mfa-type-heading-xl-600-line-height: var(--mfa-type-heading-xl-500-line-height);
  --mfa-type-heading-xl-600-letter-spacing: 0;
  --mfa-type-heading-xl-contact-500-size: 3.75rem;
  --mfa-type-heading-xl-contact-500-weight: var(--mfa-weight-medium);
  --mfa-type-heading-xl-contact-500-line-height: 4.375rem;
  --mfa-type-heading-xl-contact-500-letter-spacing: 0;
  --mfa-type-subheading-m-500-size: 1.375rem;
  --mfa-type-subheading-m-500-weight: var(--mfa-weight-medium);
  --mfa-type-subheading-m-500-line-height: 1.75rem;
  --mfa-type-body-xl-500-size: 1.25rem;
  --mfa-type-body-xl-500-weight: var(--mfa-weight-medium);
  --mfa-type-body-xl-500-line-height: 2rem;
  --mfa-type-display-hero-500-size: 10rem;
  --mfa-type-display-hero-500-weight: var(--mfa-weight-medium);
  --mfa-type-display-hero-500-line-height: 7.5rem;
  --mfa-type-display-hero-500-letter-spacing: 0.75rem;
  --mfa-type-display-lm-600-size: 5.875rem;
  --mfa-type-display-lm-600-weight: var(--mfa-weight-medium);
  --mfa-type-display-lm-600-line-height: 6.25rem;
  --mfa-type-display-lm-600-letter-spacing: 0;
  --mfa-type-body-m-400-size: 1rem;
  --mfa-type-body-m-400-weight: var(--mfa-weight-regular);
  --mfa-type-body-m-400-line-height: 1.5rem;
  --mfa-type-body-m-400-letter-spacing: 0;
  --mfa-type-body-l-400-size: 1.125rem;
  --mfa-type-body-l-400-weight: var(--mfa-weight-regular);
  --mfa-type-body-l-400-line-height: 1.75rem;
  --mfa-type-body-l-400-letter-spacing: 0;
  --mfa-type-body-s-400-size: 0.875rem;
  --mfa-type-body-s-400-weight: var(--mfa-weight-regular);
  --mfa-type-body-s-400-line-height: 1.25rem;
  --mfa-type-body-s-400-letter-spacing: 0;
  --mfa-type-helper-l-400-size: 0.875rem;
  --mfa-type-helper-l-400-weight: var(--mfa-weight-regular);
  --mfa-type-helper-l-400-line-height: 1.25rem;
  --mfa-type-helper-l-400-letter-spacing: 0;
  --mfa-type-inputs-s-700-size: 0.875rem;
  --mfa-type-inputs-s-700-weight: var(--mfa-weight-medium);
  --mfa-type-inputs-s-700-line-height: 1.25rem;
  --mfa-type-inputs-s-700-letter-spacing: 0;
  --mfa-type-inputs-m-400-size: 0.9375rem;
  --mfa-type-inputs-m-400-weight: var(--mfa-weight-regular);
  --mfa-type-inputs-m-400-line-height: 1.25rem;
  --mfa-type-inputs-m-400-letter-spacing: 0;
  --mfa-type-inputs-l-700-size: 1.125rem;
  --mfa-type-inputs-l-700-weight: var(--mfa-weight-medium);
  --mfa-type-inputs-l-700-line-height: 1.5rem;
  --mfa-type-body-xs-400-size: 0.8125rem;
  --mfa-type-body-xs-400-weight: var(--mfa-weight-regular);
  --mfa-type-body-xs-400-line-height: 1.25rem;
  --mfa-type-numbers-600-size: 1rem;
  --mfa-type-numbers-600-weight: var(--mfa-weight-semibold);
  --mfa-type-numbers-600-line-height: 1.125rem;
  --mfa-type-numbers-600-letter-spacing: 0;
  --mfa-type-code-placeholder-size: 1.25rem;
  --mfa-type-code-placeholder-weight: var(--mfa-weight-light);
  --mfa-type-code-placeholder-line-height: 1.75rem;
  --mfa-type-code-placeholder-opacity: 0.7;
  --mfa-type-helper-m-400-size: clamp(0.75rem, calc(0.21097vw + 0.70253rem), 0.8125rem);
  --mfa-type-helper-m-400-weight: var(--mfa-weight-regular);
  --mfa-type-helper-m-400-line-height: 1.125rem;
  --mfa-type-helper-m-400-letter-spacing: 0;
  --mfa-type-navigation-s-400-size: 0.875rem;
  --mfa-type-navigation-s-400-weight: var(--mfa-weight-regular);
  --mfa-type-navigation-s-400-line-height: 1.25rem;
  --mfa-type-navigation-s-400-letter-spacing: 0;
  --mfa-type-navigation-s-500-size: 0.8125rem;
  --mfa-type-navigation-s-500-weight: var(--mfa-weight-medium);
  --mfa-type-navigation-s-500-line-height: 1.125rem;
  --mfa-type-navigation-s-500-letter-spacing: 0;
  --mfa-type-navigation-m-500-size: 1rem;
  --mfa-type-navigation-m-500-weight: var(--mfa-weight-medium);
  --mfa-type-navigation-m-500-line-height: 1.5rem;
  --mfa-type-navigation-m-500-letter-spacing: 0;
  --mfa-type-navigation-s-500-mobile-size: 0.75rem;
  --mfa-type-navigation-s-500-mobile-line-height: 0.875rem;
  --mfa-type-button-m-600-size: 1rem;
  --mfa-type-button-m-600-weight: var(--mfa-weight-semibold);
  --mfa-type-button-m-600-line-height: 1.5rem;
  --mfa-type-button-m-600-letter-spacing: 0;
  --mfa-type-button-m-600-mobile-size: 0.875rem;
  --mfa-type-button-m-600-mobile-line-height: 1.25rem;
  --mfa-type-button-m-500-size: 1rem;
  --mfa-type-button-m-500-weight: var(--mfa-weight-medium);
  --mfa-type-button-m-500-line-height: 1.5rem;
  --mfa-type-button-m-500-letter-spacing: 0;
  --mfa-type-button-s-500-size: 0.875rem;
  --mfa-type-button-s-500-weight: var(--mfa-weight-medium);
  --mfa-type-button-s-500-line-height: 1.25rem;
  --mfa-type-button-s-500-letter-spacing: 0;
  --mfa-canvas: #eef5f4;
  --mfa-color-primary-500: #018578;
  --mfa-color-primary-600: #018578;
  --mfa-color-primary-700: #056b63;
  --mfa-color-primary-50: #f7fafa;
  --mfa-color-accent-500: #15e0a6;
  --mfa-color-accent-600: #11b385;
  --mfa-color-text-link: #13ca95;
  --mfa-color-surface-default: #fff;
  --mfa-color-surface-dark: #102a43;
  --mfa-color-surface-product-dark: #082540;
  --mfa-color-input-border: #81939f66;
  --mfa-color-text-primary: #17364f;
  --mfa-color-text-secondary: #152f52;
  --mfa-color-navy-900: #102a43;
  --mfa-color-navy-700: #152f52;
  --mfa-color-text-secondary-3: #315a75;
  --mfa-color-text-inverse: #fff;
  --mfa-color-text-secondary-2: #056b63;
  --mfa-color-divider-soft: #81939f66;
  --mfa-color-border-default-neutral: #81939f66;
  --mfa-color-border-focus-neutral: #81939fcc;
  --mfa-color-border-error-neutral: #9e2632;
  --mfa-color-border-neutral: #81939f;
  --mfa-color-surface-soft: #eef5f4;
  --mfa-color-surface-soft-3: #e3f6f2;
  --mfa-color-surface-soft-2: #f7fafa;
  --mfa-color-surface-error: #f6e0e2;
  --mfa-color-error: #c92735;
  --mfa-color-text-error: #9e2632;
  --mfa-card-radius: 0.75rem;
  --mfa-effect-card-shadow: 0 0.25rem 1rem rgba(56, 131, 124, .25);
  --mfa-effect-product-method-card: linear-gradient(153.525786deg, rgba(244, 247, 250, .25) 3.8361%, rgba(119, 153, 181, 0) 60.636%);
  --mfa-effect-product-method-card-mobile: linear-gradient(146.414787deg, rgba(244, 247, 250, .25) 3.8361%, rgba(119, 153, 181, 0) 60.636%);
  --mfa-type-product-methods-heading-500-size: 3.5rem;
  --mfa-type-product-methods-heading-500-weight: var(--mfa-weight-medium);
  --mfa-type-product-methods-heading-500-line-height: 4rem;
  --mfa-type-product-methods-card-title-500-size: 1.25rem;
  --mfa-type-product-methods-card-title-500-line-height: 1.75rem;
  --mfa-type-product-methods-card-description-400-size: 0.875rem;
  --mfa-type-product-methods-card-description-400-line-height: 1.125rem;
  --mfa-action-height: 4rem;
  --mfa-action-gap: 1rem;
  --mfa-action-radius: 0.375rem;
  --mfa-cta-height: clamp(3rem, calc(2.79075rem + 0.881057vw), 3.25rem);
  --mfa-cta-font-size: clamp(0.875rem, calc(0.770375rem + 0.440529vw), 1rem);
  --mfa-cta-line-height: clamp(1.25rem, calc(1.04075rem + 0.881057vw), 1.5rem);
  --mfa-action-border: #1b726ab3;
  --mfa-logo-width: clamp(8.9375rem, calc(4.036706rem + 20.63492vw), 10.5625rem);
  --mfa-responsive-content-inset: clamp(1rem, calc(-3.52381rem + 19.047619vw), 2.5rem);
  --mfa-button-gradient: linear-gradient(67.728deg, var(--mfa-color-primary-500) 0%, var(--mfa-color-accent-600) 132.17%);
  --mfa-action-gradient: linear-gradient(71.352853deg, var(--mfa-color-primary-500), var(--mfa-color-accent-600));
  min-height: 100svh;
  justify-content: flex-start;
  padding: 5rem 1rem 2rem;
  background: var(--mfa-canvas);
  color: var(--mfa-color-text-primary);
  font-family: var(--mfa-font-family);
}

.auth-card--mfa {
  width: min(31.75rem, 100%);
  max-width: none;
  padding: 3rem 0;
  border: 0;
  border-radius: var(--mfa-card-radius);
  box-shadow: var(--mfa-effect-card-shadow);
  font-family: var(--mfa-font-family);
}

.auth-card--mfa :is(button, input, select, textarea) {
  font-family: inherit;
}

.method-brand {
  display: flex;
  justify-content: center;
  align-items: center;
  width: min(var(--mfa-logo-width), 100%);
  margin-inline: auto;
}

.method-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.method-intro {
  margin-top: 1.5rem;
  padding: 0 var(--mfa-responsive-content-inset) 1.5rem;
  border-bottom: 1px solid var(--mfa-color-divider-soft);
}

.method-intro h1 {
  margin: 0;
  color: var(--mfa-color-text-primary);
  font-size: var(--mfa-type-title-m-400-size);
  font-weight: var(--mfa-type-title-m-400-weight);
  line-height: var(--mfa-type-title-m-400-line-height);
  letter-spacing: var(--mfa-type-title-m-400-letter-spacing);
  text-align: center;
}

.method-intro strong {
  font-weight: var(--mfa-weight-medium);
}

.method-body {
  padding: 1.5rem var(--mfa-responsive-content-inset) 0;
}

.method-heading {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.method-heading h2 {
  margin: 0;
  color: var(--mfa-color-text-secondary);
  font-size: var(--mfa-type-inputs-s-700-size);
  font-weight: var(--mfa-type-inputs-s-700-weight);
  line-height: var(--mfa-type-inputs-s-700-line-height);
  letter-spacing: var(--mfa-type-inputs-s-700-letter-spacing);
}

.method-countdown {
  flex: none;
  margin: 0;
  color: var(--mfa-color-text-secondary);
  font-size: var(--mfa-type-numbers-600-size);
  line-height: var(--mfa-type-numbers-600-line-height);
  white-space: nowrap;
}

.method-countdown strong {
  margin-left: 0;
  font-size: var(--mfa-type-numbers-600-size);
  font-weight: var(--mfa-type-numbers-600-weight);
  line-height: var(--mfa-type-numbers-600-line-height);
  letter-spacing: var(--mfa-type-numbers-600-letter-spacing);
  font-variant-numeric: tabular-nums;
}

.method-countdown span {
  color: var(--mfa-color-text-secondary-3);
  font-size: var(--mfa-type-helper-m-400-size);
  font-weight: var(--mfa-type-helper-m-400-weight);
  line-height: var(--mfa-type-helper-m-400-line-height);
  letter-spacing: var(--mfa-type-helper-m-400-letter-spacing);
}

.auth-card--choose {
  --mfa-method-option-height: clamp(3.25rem, calc(0.988095rem + 9.52381vw), 4rem);
  --mfa-method-option-icon-size: clamp(2.125rem, calc(0.994048rem + 4.761905vw), 2.5rem);
  --mfa-method-option-padding-block: clamp(0.5rem, calc(0.123016rem + 1.587302vw), 0.625rem);
  --mfa-method-option-font-size: clamp(0.875rem, calc(0.498016rem + 1.587302vw), 1rem);
  --mfa-method-option-line-height: clamp(1.25rem, calc(0.496032rem + 3.174603vw), 1.5rem);
  --mfa-trust-mark-text-size: clamp(0.5625rem, calc(-0.002976rem + 2.380952vw), 0.75rem);
  --mfa-trust-mark-text-line-height: clamp(0.6875rem, calc(0.122024rem + 2.380952vw), 0.875rem);
  width: min(31.5rem, 100%);
  padding-bottom: clamp(1.25rem, 0.496032rem + 3.174603vw, 1.5rem);
}

.auth-card--choose .method-options {
  display: grid;
  gap: var(--mfa-action-gap);
  margin: 0;
}

.auth-card--choose .method-options--empty {
  gap: 1.5rem;
}

.auth-card--choose .method-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  height: var(--mfa-method-option-height);
  min-height: 0;
  padding: var(--mfa-method-option-padding-block) 1rem;
  border-radius: var(--mfa-action-radius);
  background: var(--mfa-action-gradient);
  color: var(--mfa-color-text-inverse);
  font-size: var(--mfa-method-option-font-size);
  font-weight: var(--mfa-type-button-m-600-weight);
  line-height: var(--mfa-method-option-line-height);
  letter-spacing: var(--mfa-type-button-m-600-letter-spacing);
  text-decoration: none;
  transition: filter 0.15s ease;
}

.auth-card--choose .method-option:hover {
  filter: brightness(1.08);
}

.auth-card--choose .method-option:focus-visible {
  outline: 0.1875rem solid var(--mfa-color-text-secondary);
  outline-offset: 0.1875rem;
}

.auth-card--choose .method-option > img {
  display: block;
  flex: 0 0 3.875rem;
  width: 3.875rem;
  height: 3.875rem;
  object-fit: contain;
}

.auth-card--choose .method-option-icon {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 var(--mfa-method-option-icon-size);
  width: var(--mfa-method-option-icon-size);
  height: var(--mfa-method-option-icon-size);
}

.auth-card--choose .method-option .method-option-icon__asset {
  display: block;
  width: var(--mfa-method-option-icon-size);
  height: var(--mfa-method-option-icon-size);
}

/* Figma 6641:3997: no-methods fallback panel and its optional safe return CTA. */
.auth-card--choose .method-empty {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--mfa-color-surface-soft-2);
  color: var(--mfa-color-text-primary);
  font-size: var(--mfa-type-body-s-400-size);
  font-weight: var(--mfa-type-body-s-400-weight);
  line-height: var(--mfa-type-body-s-400-line-height);
}

.auth-card--choose .method-empty p {
  margin: 0;
  color: var(--mfa-color-text-primary);
  font-size: var(--mfa-type-body-s-400-size);
  font-weight: var(--mfa-type-body-s-400-weight);
  line-height: var(--mfa-type-body-s-400-line-height);
  letter-spacing: var(--mfa-type-body-s-400-letter-spacing);
}

.auth-card--choose .method-empty__return {
  width: 100%;
}

/* Figma 6471:1662: shared five-mark row below the method options. */
.auth-card--choose .mfa-trust-marks {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  justify-content: normal;
  gap: 0.5rem;
  margin-top: clamp(1.25rem, -1.011905rem + 9.52381vw, 2rem);
  padding-inline: var(--mfa-responsive-content-inset);
}

.auth-card--choose .mfa-trust-mark {
  gap: 0.375rem;
  color: var(--mfa-color-text-primary);
}

.auth-card--choose .mfa-trust-mark img {
  /* 28px at the compact 480px anchor, easing to the 40px desktop mark by 640px. */
  width: clamp(1.75rem, -0.5rem + 7.5vw, 2.5rem);
  height: clamp(1.75rem, -0.5rem + 7.5vw, 2.5rem);
}

.auth-card--choose .mfa-trust-mark span {
  opacity: 0.7;
  font-family: var(--mfa-font-family);
  font-size: var(--mfa-trust-mark-text-size);
  font-weight: var(--mfa-weight-regular);
  line-height: var(--mfa-trust-mark-text-line-height);
  white-space: pre;
}

/* Keep the shared factual footer visually identical to the compact card through 480px. */
@media (max-width: 30rem) {
  .auth-card--choose .mfa-trust-marks {
    gap: 0.25rem;
  }
  .auth-card--choose .mfa-trust-mark {
    gap: 0.25rem;
  }
  .auth-card--choose .mfa-trust-mark span {
    font-size: 0.5625rem;
    line-height: 0.6875rem;
  }
}
.method-footer {
  margin-top: 2rem;
  color: color-mix(in srgb, var(--mfa-color-text-secondary) 60%, transparent);
  font-size: var(--mfa-type-helper-m-400-size);
  font-weight: var(--mfa-type-helper-m-400-weight);
  line-height: var(--mfa-type-helper-m-400-line-height);
  letter-spacing: var(--mfa-type-helper-m-400-letter-spacing);
  text-align: center;
}

/* Figma 6420:2036 Helper/L scales by the responsive design breakpoint. */
@media (max-width: 83.5rem) {
  .auth-shell--mfa,
  .home-shell--mfa {
    --mfa-type-heading-xl-500-size: 3rem;
    --mfa-type-heading-xl-500-line-height: 3.375rem;
    --mfa-type-title-s-400-size: 1rem;
    --mfa-type-title-s-400-line-height: 1.5rem;
    --mfa-type-helper-l-400-size: 0.8125rem;
    --mfa-type-helper-l-400-line-height: 1.125rem;
  }
}
@media (max-width: 30rem) {
  .auth-shell--mfa,
  .home-shell--mfa {
    --mfa-type-title-s-400-size: 0.875rem;
    --mfa-type-title-s-400-line-height: 1.25rem;
  }
}
@media (max-width: 22.5rem) {
  .auth-shell--mfa,
  .home-shell--mfa {
    --mfa-type-heading-xl-500-size: 1.625rem;
    --mfa-type-heading-xl-500-line-height: 2rem;
    --mfa-type-helper-l-400-size: 0.75rem;
    --mfa-type-helper-l-400-line-height: 1rem;
  }
}
/* Figma 6188:1077 primary button uses the gradient fill without a visible outline. */
.auth-card--mfa .mfa-primary,
.auth-card--mfa .mfa-outline,
.home-shell--mfa .mfa-primary,
.home-shell--mfa .mfa-outline {
  display: grid;
  place-items: center;
  width: 100%;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-family: var(--mfa-font-family);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, background-image 0.15s ease, box-shadow 0.15s ease;
}

.auth-card--mfa .mfa-primary,
.home-shell--mfa .mfa-primary {
  min-height: var(--mfa-cta-height);
  padding-block: 0;
  border: 0;
  background-color: var(--mfa-color-primary-500);
  background-image: var(--mfa-button-gradient);
  background-clip: border-box;
  color: var(--mfa-color-text-inverse);
  font-size: var(--mfa-cta-font-size);
  font-weight: var(--mfa-type-button-m-600-weight);
  line-height: var(--mfa-cta-line-height);
  letter-spacing: var(--mfa-type-button-m-600-letter-spacing);
}

.auth-card--mfa .mfa-primary:hover:not(:disabled),
.home-shell--mfa .mfa-primary:hover:not(:disabled) {
  background-color: var(--mfa-color-primary-500);
  background-image: linear-gradient(70.139deg, var(--mfa-color-primary-500) 7.438%, var(--mfa-color-accent-500) 133.41%);
}

.auth-card--mfa .mfa-primary:active:not(:disabled),
.home-shell--mfa .mfa-primary:active:not(:disabled) {
  /* Keep the pressed fill on the primary token without the dashboard's blue hover color. */
  background-color: var(--mfa-color-primary-500);
  background-image: none;
}

.auth-card--mfa .mfa-primary:focus-visible,
.home-shell--mfa .mfa-primary:focus-visible {
  outline: 0.125rem solid var(--mfa-color-primary-50);
  outline-offset: -0.1875rem;
}

.auth-card--mfa .mfa-primary:disabled,
.home-shell--mfa .mfa-primary:disabled {
  background: var(--mfa-color-border-neutral);
  color: var(--mfa-color-text-inverse);
  cursor: not-allowed;
}

/* Figma 6248:2473: the reusable action has one visible 2px lower stripe. */
.auth-card--mfa .mfa-raised-action {
  border: 0;
  border-bottom: 0.125rem solid var(--mfa-action-border);
}

.auth-card--mfa .mfa-outline,
.home-shell--mfa .mfa-outline {
  min-height: var(--mfa-cta-height);
  border: 1px solid var(--mfa-color-primary-500);
  background: transparent;
  color: var(--mfa-color-primary-500);
  font-size: var(--mfa-cta-font-size);
  font-weight: var(--mfa-type-button-m-500-weight);
  line-height: var(--mfa-cta-line-height);
  letter-spacing: var(--mfa-type-button-m-500-letter-spacing);
}

.auth-card--mfa .mfa-outline:hover:not(:disabled),
.home-shell--mfa .mfa-outline:hover:not(:disabled) {
  background: rgba(1, 133, 120, 0.06);
}

.auth-card--mfa .mfa-outline:active:not(:disabled),
.home-shell--mfa .mfa-outline:active:not(:disabled) {
  background: rgba(1, 133, 120, 0.14);
}

.auth-card--mfa .mfa-outline:focus-visible,
.home-shell--mfa .mfa-outline:focus-visible {
  outline: 0.125rem solid rgba(1, 133, 120, 0.22);
  outline-offset: 0.125rem;
}

.auth-card--mfa .mfa-outline:disabled,
.home-shell--mfa .mfa-outline:disabled {
  border-color: var(--mfa-color-border-neutral);
  background: transparent;
  color: var(--mfa-color-border-neutral);
  cursor: not-allowed;
}

/* Figma 6420:1240 — shared mail and password input states. */
.auth-card--mfa .mfa-input {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  height: 3.25rem;
  min-height: 0;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--mfa-color-input-border);
  border-radius: 0.25rem;
  background: var(--mfa-color-surface-default);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.auth-card--mfa .mfa-input:is(:hover, :focus-within) {
  border-color: var(--mfa-color-border-focus-neutral);
  box-shadow: none;
}

.auth-card--mfa .mfa-input.is-error {
  border-color: var(--mfa-color-border-error-neutral);
}

.auth-card--mfa .mfa-input.is-error:is(:hover, :focus-within) {
  border-color: var(--mfa-color-border-error-neutral);
}

/* Figma 6586:4361: the password error variant keeps its floating label visible
   even when the browser has cleared the password value after a failed sign-in. */
.auth-card--mfa .mfa-input.is-error .mfa-input__label {
  top: -0.625rem;
  left: 0.75rem;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  padding: 0 0.125rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  background: var(--mfa-color-surface-default);
  color: var(--mfa-color-text-error);
  font-family: var(--mfa-font-family);
  font-size: var(--mfa-type-helper-m-400-size);
  font-weight: var(--mfa-type-helper-m-400-weight);
  line-height: var(--mfa-type-helper-m-400-line-height);
  letter-spacing: var(--mfa-type-helper-m-400-letter-spacing);
}

.auth-card--mfa .mfa-input-group {
  display: grid;
  gap: 0.5rem;
  width: 100%;
}

/* The Figma error treatment is one field group: its helper sits 8px below the
   control so the form's flex gap can move the next field without overlap. */
.auth-card--mfa .mfa-input__validation-message {
  margin: 0;
  color: var(--mfa-color-text-error);
  font-family: var(--mfa-font-family);
  font-size: var(--mfa-type-helper-m-400-size);
  font-weight: var(--mfa-type-helper-m-400-weight);
  line-height: var(--mfa-type-helper-m-400-line-height);
  letter-spacing: var(--mfa-type-helper-m-400-letter-spacing);
}

/* Symfony renders field violations as a list. The DS error component presents
   the same message as helper text, without a browser list marker. */
.auth-card--mfa .mfa-input__validation-message ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.auth-card--mfa .mfa-input__icon-slot {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
}

.auth-card--mfa .mfa-input__icon {
  display: block;
  max-width: 100%;
  max-height: 100%;
  opacity: 0.65;
}

.auth-card--mfa .mfa-input .mfa-input__control {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  min-height: 1.5rem;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--mfa-color-text-primary);
  font-family: var(--mfa-font-family);
  font-size: var(--mfa-type-inputs-m-400-size);
  font-weight: var(--mfa-type-inputs-m-400-weight);
  line-height: var(--mfa-type-inputs-m-400-line-height);
  letter-spacing: var(--mfa-type-inputs-m-400-letter-spacing);
  text-align: left;
}

.auth-card--mfa .mfa-input .mfa-input__control:focus,
.auth-card--mfa .mfa-input .mfa-input__control:focus-visible {
  outline: 0;
  box-shadow: none;
}

.auth-card--mfa .mfa-input .mfa-input__control::placeholder {
  color: var(--mfa-color-text-primary);
  opacity: 0.7;
}

.auth-card--mfa .mfa-input__control::-ms-reveal {
  display: none;
}

.auth-card--mfa .mfa-input--password {
  position: relative;
}

.auth-card--mfa .mfa-input__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  background: var(--mfa-color-surface-default);
  color: var(--mfa-color-text-primary);
  font: var(--mfa-weight-regular) 0.8125rem/1.125rem var(--mfa-font-family);
  white-space: nowrap;
}

.auth-card--mfa .mfa-input:is(.is-filled, :focus-within) .mfa-input__label {
  top: -0.625rem;
  left: 0.75rem;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  padding: 0 0.125rem;
  margin: 0;
  overflow: visible;
  clip: auto;
}

.auth-card--mfa .mfa-input:is(.is-filled, :focus-within) .mfa-input__control::placeholder {
  color: transparent;
}

.auth-card--mfa .mfa-input:is(.is-filled, :focus-within) .mfa-input__icon {
  opacity: 1;
}

.auth-card--mfa .mfa-input__toggle {
  display: grid;
  flex: 0 0 1.5rem;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.auth-card--mfa .mfa-input__toggle:hover:not(:disabled) {
  background: transparent;
}

.auth-card--mfa .mfa-input__toggle img {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  opacity: 0.8;
}

@media (max-width: 520px) {
  .auth-card--mfa .mfa-input {
    height: 3.25rem;
  }
}
/* Figma 6578:3627: shared 44 × 28px language-selector trigger. */
.auth-card {
  position: relative;
}

.mfa-language-switch {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  right: 0.75rem;
  color: var(--mfa-color-text-primary, #17364f);
  font-family: var(--mfa-font-family, Saira, sans-serif);
}

.mfa-language-switch > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  width: 2.75rem;
  min-height: 1.75rem;
  padding: 0.25rem 0.375rem;
  border: 1px solid var(--mfa-color-border-default-neutral, rgba(129, 147, 159, 0.4));
  border-radius: 0.25rem;
  background: var(--mfa-color-surface-default, #fff);
  color: inherit;
  cursor: pointer;
  font-size: var(--mfa-type-navigation-s-500-size, 0.8125rem);
  font-weight: var(--mfa-type-navigation-s-500-weight, 500);
  line-height: var(--mfa-type-navigation-s-500-line-height, 1.125rem);
  letter-spacing: var(--mfa-type-navigation-s-500-letter-spacing, 0);
  list-style: none;
}

.mfa-language-switch > summary::-webkit-details-marker {
  display: none;
}

.mfa-language-switch > summary > span[lang] {
  flex: none;
  white-space: nowrap;
}

.mfa-language-switch__chevron {
  display: block;
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  background: currentcolor;
  mask: url("/build/safemfa-language-chevron-down.svg") center/contain no-repeat;
  -webkit-mask: url("/build/safemfa-language-chevron-down.svg") center/contain no-repeat;
}

.mfa-language-switch > summary:hover {
  background: var(--mfa-color-surface-soft, #eef5f4);
}

.mfa-language-switch > summary:focus-visible {
  outline: 0.125rem solid var(--mfa-color-primary-500, #018578);
  outline-offset: 0.125rem;
}

.mfa-language-switch[open] > summary {
  border-color: var(--mfa-color-primary-500, #018578);
  color: var(--mfa-color-primary-500, #018578);
}

.mfa-language-switch__menu {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  display: grid;
  width: 100%;
  /* Keep the outer vertical breathing room visually balanced with the 6px sides. */
  padding: 0.3125rem 0.375rem;
  overflow: hidden;
  border: 1px solid var(--mfa-color-border-default-neutral, rgba(129, 147, 159, 0.4));
  border-radius: 0.25rem;
  background: var(--mfa-color-surface-default, #fff);
  box-shadow: 0 0.25rem 0.75rem rgba(23, 54, 79, 0.16);
}

.mfa-language-switch__menu a {
  /* Align the option labels with the closed control's language label, not the menu centre. */
  padding: 0.125rem 0.1875rem;
  color: inherit;
  font-size: var(--mfa-type-navigation-s-500-size, 0.8125rem);
  font-weight: var(--mfa-type-navigation-s-500-weight, 500);
  line-height: var(--mfa-type-navigation-s-500-line-height, 1.125rem);
  text-align: left;
  text-decoration: none;
}

/* The open menu makes the current choice explicit without tinting the closed control. */
.mfa-language-switch__menu a[aria-current=page] {
  color: var(--mfa-color-primary-500, #018578);
}

.mfa-language-switch__menu a:not([aria-current=page]) {
  opacity: 0.9;
}

.mfa-language-switch__menu a:hover,
.mfa-language-switch__menu a:focus-visible {
  background: var(--mfa-color-surface-soft, #eef5f4);
}

.mfa-language-switch__menu a:focus-visible {
  outline: 0.125rem solid var(--mfa-color-primary-500, #018578);
  outline-offset: -0.125rem;
}

/* User-selected compact anchor: Figma 6535:2208 Navigation/S/500 begins at 380px. */
@media (max-width: 23.75rem) {
  .mfa-language-switch {
    top: 0.625rem;
    right: 0.625rem;
  }
  .mfa-language-switch > summary {
    width: 2.6875rem;
  }
  .mfa-language-switch > summary,
  .mfa-language-switch__menu a {
    font-size: var(--mfa-type-navigation-s-500-mobile-size);
    line-height: var(--mfa-type-navigation-s-500-mobile-line-height);
  }
  .mfa-language-switch > summary {
    min-height: 1.5rem;
  }
}
/* Shared Figma trust-mark structure; card variants own their responsive tokens. */
.mfa-trust-marks {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.mfa-trust-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  text-align: center;
}

.mfa-trust-mark img {
  display: block;
}

/* Figma 6420:1947, 6240:1601, 6251:3670 and 6475:1930 use this desktop row. */
.auth-card--mfa:not(.login-card):not(.auth-card--choose) .mfa-trust-marks {
  gap: 0.5rem;
  margin-top: 2rem;
}

:is(.auth-card--email, .auth-card--passkey, .auth-card--enrollment, .auth-card--demo) .mfa-trust-marks {
  padding-inline: var(--mfa-responsive-content-inset);
}

.auth-card--mfa:not(.login-card):not(.auth-card--choose) .mfa-trust-mark {
  gap: 0.375rem;
  color: var(--mfa-color-text-primary);
}

.auth-card--mfa:not(.login-card):not(.auth-card--choose) .mfa-trust-mark img {
  /* 28px at the compact 480px anchor, easing to the 40px desktop mark by 640px. */
  width: clamp(1.75rem, -0.5rem + 7.5vw, 2.5rem);
  height: clamp(1.75rem, -0.5rem + 7.5vw, 2.5rem);
}

.auth-card--mfa:not(.login-card):not(.auth-card--choose) .mfa-trust-mark span {
  opacity: 0.7;
  font-family: var(--mfa-font-family);
  font-size: 0.75rem;
  font-weight: var(--mfa-weight-regular);
  line-height: 0.875rem;
  white-space: pre;
}

/* Keep the shared factual footer compact through the 480px card viewport. */
@media (max-width: 30rem) {
  .auth-card--mfa:not(.login-card):not(.auth-card--choose) .mfa-trust-marks {
    gap: 0.25rem;
    margin-top: 1.25rem;
  }
  .auth-card--mfa:not(.login-card):not(.auth-card--choose) .mfa-trust-mark {
    gap: 0.25rem;
  }
  .auth-card--mfa:not(.login-card):not(.auth-card--choose) .mfa-trust-mark span {
    font-size: 0.5625rem;
    line-height: 0.6875rem;
  }
}
/* Figma 6420:1051 desktop and 6535:2278 mobile login-card variants. */
.login-card.auth-card--mfa {
  --mfa-login-logo-width: var(--mfa-logo-width);
  --mfa-login-title-size: clamp(1.25rem, calc(0.6335625rem + 2.739725vw), 1.5rem);
  --mfa-login-title-line-height: clamp(1.75rem, calc(0.8835625rem + 3.835625vw), 2rem);
  --mfa-login-body-size: clamp(0.875rem, calc(0.5668125rem + 1.3698625vw), 1rem);
  --mfa-login-body-line-height: clamp(1.25rem, calc(0.6335625rem + 2.739725vw), 1.5rem);
  --mfa-login-input-size: clamp(0.875rem, calc(0.7219375rem + 0.68493125vw), 0.9375rem);
  --mfa-login-control-height: var(--mfa-cta-height);
  --mfa-login-form-inset: clamp(1rem, calc(-3.52381rem + 19.047619vw), 2.5rem);
  --mfa-login-form-gap: clamp(1.25rem, calc(0.6335625rem + 2.739725vw), 1.5rem);
  /* Match the other trust-mark variants: 28px at 480px, smoothly reaching 40px at 640px. */
  --mfa-login-trust-icon-size: clamp(1.75rem, calc(-0.5rem + 7.5vw), 2.5rem);
  --mfa-login-trust-text-size: clamp(0.5625rem, calc(-0.002976rem + 2.380952vw), 0.75rem);
  --mfa-login-trust-text-line-height: clamp(0.6875rem, calc(0.122024rem + 2.380952vw), 0.875rem);
  position: relative;
  width: min(31.625rem, 100%);
  max-width: none;
  padding: 3rem 0 clamp(1.25rem, 0.496032rem + 3.174603vw, 1.5rem);
}

.login-card.auth-card--mfa .login-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--mfa-login-logo-width);
  margin-inline: auto;
}

.login-card.auth-card--mfa .login-card__logo-image {
  display: block;
  width: 100%;
  height: auto;
}

.login-card.auth-card--mfa h1 {
  font-family: var(--mfa-font-family);
  font-size: var(--mfa-login-title-size);
  font-weight: var(--mfa-type-title-l-500-weight);
  line-height: var(--mfa-login-title-line-height);
  letter-spacing: var(--mfa-type-title-l-500-letter-spacing);
}

.login-card.auth-card--mfa .login-card__intro p {
  opacity: 0.8;
  font-family: var(--mfa-font-family);
  font-size: var(--mfa-login-body-size);
  font-weight: var(--mfa-type-body-m-400-weight);
  line-height: var(--mfa-login-body-line-height);
  letter-spacing: var(--mfa-type-body-m-400-letter-spacing);
}

.login-card.auth-card--mfa .login-form {
  gap: var(--mfa-login-form-gap);
  padding: 1.5rem var(--mfa-login-form-inset) 0;
}

.login-card.auth-card--mfa .mfa-input,
.login-card.auth-card--mfa .mfa-primary {
  min-height: var(--mfa-login-control-height);
  height: var(--mfa-login-control-height);
}

.login-card.auth-card--mfa .mfa-input .mfa-input__control {
  min-height: 1.25rem;
  font-size: var(--mfa-login-input-size);
  line-height: 1.25rem;
}

.login-card.auth-card--mfa .login-submit {
  font-size: clamp(0.875rem, 0.5668125rem + 1.3698625vw, 1rem);
  line-height: clamp(1.25rem, 0.6335625rem + 2.739725vw, 1.5rem);
}

/* Figma 6420:1051 styles the reusable trust-mark component within login. */
.login-card.auth-card--mfa .mfa-trust-marks {
  gap: 0.5rem;
  padding: 2rem var(--mfa-login-form-inset) 0;
}

.login-card.auth-card--mfa .mfa-trust-mark {
  gap: 0.375rem;
  color: var(--mfa-color-text-primary);
}

.login-card.auth-card--mfa .mfa-trust-mark img {
  width: var(--mfa-login-trust-icon-size);
  height: var(--mfa-login-trust-icon-size);
}

.login-card.auth-card--mfa .mfa-trust-mark span {
  opacity: 0.7;
  font-family: var(--mfa-font-family);
  font-size: var(--mfa-login-trust-text-size);
  font-weight: var(--mfa-weight-regular);
  line-height: var(--mfa-login-trust-text-line-height);
  white-space: pre;
}

@media (max-width: 32.5rem) {
  .login-shell.auth-shell--mfa {
    padding-top: clamp(2.5rem, -3.664375rem + 27.39725vw, 5rem);
  }
  .login-card.auth-card--mfa .login-submit {
    font-weight: var(--mfa-weight-medium);
  }
}
/* The factual footer uses the same compact 24px marks as every MFA card through 480px. */
@media (max-width: 30rem) {
  .login-card.auth-card--mfa {
    --mfa-login-trust-text-size: 0.5625rem;
    --mfa-login-trust-text-line-height: 0.6875rem;
  }
  .login-card.auth-card--mfa .mfa-trust-marks,
  .login-card.auth-card--mfa .mfa-trust-mark {
    gap: 0.25rem;
  }
}
/* Figma 6223:379, 6240:1602 and 6503:3051 share this 506px code-card rhythm.
   State modifiers change only availability and copy; the 40px insets and repeated
   32px/24px action spacing stay stable across resend, expiry and send-limit states. */
.auth-card--email {
  --mfa-email-title-size: var(--mfa-type-title-m-400-size);
  --mfa-email-title-line-height: var(--mfa-type-title-m-400-line-height);
  --mfa-email-heading-gap: 1.5rem;
  --mfa-email-content-gap: 2rem;
  --mfa-email-action-gap: 1.5rem;
  --mfa-email-footer-gap: 2rem;
  width: min(31.625rem, 100%);
  padding: 3rem 0 1.5rem;
}

.email-intro {
  padding: 0 var(--mfa-responsive-content-inset);
}

.email-intro h1 {
  margin: var(--mfa-email-heading-gap) 0;
  color: var(--mfa-color-text-primary);
  font-size: var(--mfa-email-title-size);
  font-weight: var(--mfa-type-title-m-400-weight);
  line-height: var(--mfa-email-title-line-height);
  letter-spacing: var(--mfa-type-title-m-400-letter-spacing);
  text-align: center;
}

.email-intro h1 strong {
  font-weight: var(--mfa-weight-medium);
}

.auth-card--email.auth-card--delivery-status .email-intro h1 {
  margin-bottom: 0.5rem;
}

/* Figma 6474:1774 places queued delivery status between title and account info. */
.email-progress-status {
  margin: 0 0 var(--mfa-email-action-gap);
  color: var(--mfa-color-text-primary);
  font-size: var(--mfa-type-body-m-400-size);
  font-weight: var(--mfa-type-body-m-400-weight);
  line-height: var(--mfa-type-body-m-400-line-height);
  letter-spacing: var(--mfa-type-body-m-400-letter-spacing);
  text-align: center;
}

.email-account {
  display: grid;
  gap: 0.375rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--mfa-color-surface-soft-3);
}

.email-account span {
  color: var(--mfa-color-text-secondary-2);
  font-size: var(--mfa-type-helper-l-400-size);
  font-weight: var(--mfa-type-helper-l-400-weight);
  line-height: var(--mfa-type-helper-l-400-line-height);
  letter-spacing: var(--mfa-type-helper-l-400-letter-spacing);
}

.email-account strong {
  color: var(--mfa-color-text-primary);
  font-size: var(--mfa-type-body-m-400-size);
  font-weight: var(--mfa-type-body-m-400-weight);
  line-height: var(--mfa-type-body-m-400-line-height);
  letter-spacing: var(--mfa-type-body-m-400-letter-spacing);
}

.email-code-form {
  margin: var(--mfa-email-action-gap) var(--mfa-responsive-content-inset) 0;
  padding: 0;
  border: 0;
}

.email-code-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  height: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--mfa-color-text-secondary);
  font-size: var(--mfa-type-inputs-s-700-size);
  font-weight: var(--mfa-type-inputs-s-700-weight);
  line-height: var(--mfa-type-inputs-s-700-line-height);
  letter-spacing: var(--mfa-type-inputs-s-700-letter-spacing);
}

.email-code-heading label {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: var(--mfa-type-inputs-s-700-weight);
}

.email-code-heading span {
  white-space: nowrap;
  font-size: var(--mfa-type-helper-m-400-size);
  font-weight: var(--mfa-type-helper-m-400-weight);
  line-height: var(--mfa-type-helper-m-400-line-height);
  letter-spacing: var(--mfa-type-helper-m-400-letter-spacing);
}

.email-code-heading strong {
  font-size: var(--mfa-type-numbers-600-size);
  font-weight: var(--mfa-type-numbers-600-weight);
  line-height: var(--mfa-type-numbers-600-line-height);
  font-variant-numeric: tabular-nums;
}

.auth-card--email [data-countdown] {
  margin: 0;
  color: var(--mfa-color-text-secondary);
  font-size: var(--mfa-type-numbers-600-size);
  font-weight: var(--mfa-type-numbers-600-weight);
  line-height: var(--mfa-type-numbers-600-line-height);
}

.email-code-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  height: 3.375rem;
  overflow: hidden;
  border: 1px solid var(--mfa-color-border-default-neutral);
  border-radius: 0.5rem;
}

.email-code-grid.is-error {
  border-color: var(--mfa-color-border-error-neutral);
}

.email-code-grid.is-error span {
  color: var(--mfa-color-border-error-neutral);
}

.email-code-grid span {
  display: grid;
  place-items: center;
  min-width: 0;
  color: var(--mfa-color-text-primary);
  font-size: var(--mfa-type-title-m-400-size);
  line-height: var(--mfa-type-title-m-400-line-height);
  font-weight: var(--mfa-type-title-m-400-weight);
  font-variant-numeric: tabular-nums;
}

.email-code-grid span:not(:last-child) {
  border-right: 1px solid var(--mfa-color-border-default-neutral);
}

.email-code-grid.is-error span:not(:last-child) {
  border-right-color: var(--mfa-color-border-error-neutral);
}

.email-code-grid span.is-placeholder {
  font-size: var(--mfa-type-code-placeholder-size);
  font-weight: var(--mfa-type-code-placeholder-weight);
  line-height: var(--mfa-type-code-placeholder-line-height);
  opacity: var(--mfa-type-code-placeholder-opacity);
}

.email-code-grid span.is-hovered {
  background: var(--mfa-color-surface-soft);
}

.email-code-grid span.is-placeholder.is-hovered {
  opacity: 1;
}

/* Figma 6578:2053: click/focus belongs to the selected digit, not the whole grid. */
.email-code-grid span.is-active {
  background: var(--mfa-color-surface-soft-3);
}

.email-code-grid span.is-placeholder.is-active {
  opacity: 1;
}

.email-code-grid input:not([type=hidden]) {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: text;
}

.email-code-grid input:focus-visible {
  outline: none;
}

.email-code-feedback {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  min-height: 1.25rem;
  margin: 0.5rem 0 1rem;
  color: var(--mfa-color-text-secondary);
  font-size: var(--mfa-type-helper-l-400-size);
  font-weight: var(--mfa-type-helper-l-400-weight);
  line-height: var(--mfa-type-helper-l-400-line-height);
  letter-spacing: var(--mfa-type-helper-l-400-letter-spacing);
}

.email-code-feedback.is-empty {
  min-height: 0;
  margin: 0 0 var(--mfa-email-action-gap);
}

.email-error-text {
  flex: 1 0 0;
  min-width: 0;
  color: var(--mfa-color-text-error);
}

/* Figma 6420:2036: the count is Numbers/600, while the surrounding helper copy remains regular. */
.email-attempts {
  flex: 1 0 0;
  min-width: 0;
  color: var(--mfa-color-text-secondary);
  text-align: right;
  white-space: nowrap;
}

.email-attempts strong {
  font-size: var(--mfa-type-helper-l-400-size);
  font-weight: var(--mfa-weight-semibold);
  line-height: var(--mfa-type-helper-l-400-line-height);
}

.auth-card--email .enroll-choice {
  margin: 0 0 1rem;
  color: var(--mfa-color-text-secondary);
}

.email-resend {
  margin: var(--mfa-email-action-gap) var(--mfa-responsive-content-inset) 0;
}

.email-resend form {
  margin: 0;
}

.auth-card--email button.mfa-primary {
  min-height: var(--mfa-cta-height);
  font-size: var(--mfa-cta-font-size);
  font-weight: var(--mfa-type-button-m-600-weight);
  line-height: var(--mfa-cta-line-height);
  letter-spacing: var(--mfa-type-button-m-600-letter-spacing);
}

.auth-card--email button.mfa-outline {
  min-height: var(--mfa-cta-height);
  font-size: var(--mfa-cta-font-size);
  font-weight: var(--mfa-type-button-s-500-weight);
  line-height: var(--mfa-cta-line-height);
  letter-spacing: var(--mfa-type-button-s-500-letter-spacing);
}

.auth-card--email .email-resend button.mfa-primary,
.auth-card--email .email-resend button.mfa-outline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding-inline: 0.75rem;
  white-space: nowrap;
}

.email-resend-meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.5rem;
  color: var(--mfa-color-text-secondary);
  font-size: var(--mfa-type-helper-l-400-size);
  font-weight: var(--mfa-type-helper-l-400-weight);
  line-height: var(--mfa-type-helper-l-400-line-height);
  letter-spacing: var(--mfa-type-helper-l-400-letter-spacing);
}

.email-resend-meta span:last-child {
  white-space: nowrap;
}

.email-limit {
  margin: 0.5rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--mfa-color-surface-soft-2);
  color: var(--mfa-color-text-primary);
  font-size: var(--mfa-type-body-s-400-size);
  font-weight: var(--mfa-type-body-s-400-weight);
  line-height: var(--mfa-type-body-s-400-line-height);
  letter-spacing: var(--mfa-type-body-s-400-letter-spacing);
}

/* Figma 6503:3062 keeps the exhausted-limit resend affordance in the normal
   outline color. The disabled attribute still prevents a server-forbidden resend. */
.email-resend--limit .mfa-outline:disabled {
  border-color: var(--mfa-color-primary-500);
  background: transparent;
  color: var(--mfa-color-primary-500);
}

.email-actions {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0 var(--mfa-responsive-content-inset);
}

/* Figma 6455:1422: the only Divider/Soft is below the supporting actions. */
.email-actions-divider {
  width: 100%;
  height: 1px;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  background: var(--mfa-color-divider-soft);
}

/* Figma 6455:1422 uses a compact 40px top inset for delivery-status cards. */
.auth-card--email.auth-card--delivery-status {
  padding-top: 2.5rem;
}

/* Figma delivery-status action row keeps the shared 24px gap before its divider. */
.auth-card--email.auth-card--delivery-status .email-actions-divider {
  margin-top: 1.5rem;
}

/* The action block supplies the Figma 24px spacing before the factual row. */
.auth-card--email .mfa-trust-marks {
  margin-top: 0;
}

.email-actions a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  /* Keep the compact vertical target area, but align the action hitbox to its icon and label. */
  padding: 0.25rem 0;
  margin-block: -0.25rem;
  border-radius: 0.25rem;
  color: var(--mfa-color-text-secondary);
  font-size: var(--mfa-type-button-s-500-size);
  font-weight: var(--mfa-type-button-s-500-weight);
  line-height: var(--mfa-type-button-s-500-line-height);
  letter-spacing: var(--mfa-type-button-s-500-letter-spacing);
  text-decoration: none;
  white-space: nowrap;
  /* Preserve the padded hit area without turning text actions into boxed buttons. */
  transition: color 0.15s ease, opacity 0.15s ease;
}

.email-action-icon {
  display: grid;
  place-items: center;
  width: 1.375rem;
  height: 1.375rem;
  flex: none;
}

.email-action-icon img {
  display: block;
  max-width: 1.375rem;
  max-height: 1.375rem;
}

.email-action-icon--refresh {
  background: var(--mfa-color-text-secondary-3);
  mask: url("/build/safemfa-refresh.svg") center/contain no-repeat;
  -webkit-mask: url("/build/safemfa-refresh.svg") center/contain no-repeat;
}

.email-actions a:hover .email-action-icon--refresh {
  background: var(--mfa-color-primary-500);
}

.email-action-icon--refresh img {
  opacity: 0;
}

.email-actions a:first-child {
  color: var(--mfa-color-primary-500);
}

.email-actions a:not(:first-child):hover {
  color: var(--mfa-color-primary-500);
  text-decoration: none;
}

.email-actions a:first-child:hover {
  opacity: 0.72;
  text-decoration: none;
}

.email-actions a:focus-visible {
  outline: 0.125rem solid var(--mfa-color-primary-500);
  outline-offset: 0.125rem;
}

/* User-selected compact anchor: use Figma 6558:3819 mobile values at 380px and below. */
@media (max-width: 23.75rem) {
  .auth-card--email {
    --mfa-logo-width: 8.1950625rem;
    --mfa-email-title-size: var(--mfa-type-title-s-400-size);
    --mfa-email-title-line-height: var(--mfa-type-title-s-400-line-height);
    --mfa-email-heading-gap: 1.25rem;
    --mfa-email-content-gap: 1.25rem;
    --mfa-email-footer-gap: 1.25rem;
    padding: 3rem 0 1.5rem;
  }
  .email-intro h1 strong {
    font-size: var(--mfa-type-title-m-400-size);
    line-height: var(--mfa-type-title-m-400-line-height);
  }
  .email-account {
    padding: 0.5rem 0.75rem;
  }
  .email-code-grid {
    height: 3.25rem;
  }
}
/* Figma 6251:3505 result-card variant; 6251:3698 attempts-exhausted. */
.auth-card--status {
  width: min(31.625rem, 100%);
  padding: 3rem var(--mfa-responsive-content-inset) 1.5rem;
}

.mfa-status {
  display: grid;
  justify-items: center;
  /* Figma LM/S Buttons spacing keeps the return action close to the result copy. */
  gap: 1.5rem;
  margin-top: 1rem;
  text-align: center;
}

.mfa-status__details {
  display: grid;
  justify-items: center;
  gap: 1rem;
  width: 100%;
}

/* Figma HTTP error cards place the status-code line closer to its copy than icon cards. */
.mfa-status__details--code {
  gap: 0.5rem;
}

.mfa-status .mfa-status__code {
  margin: 0;
  color: var(--mfa-color-text-primary);
  font-size: var(--mfa-type-display-lm-600-size);
  font-weight: var(--mfa-type-display-lm-600-weight);
  line-height: var(--mfa-type-display-lm-600-line-height);
  letter-spacing: var(--mfa-type-display-lm-600-letter-spacing);
}

.mfa-status-icon {
  position: relative;
  display: block;
  width: 2.875rem;
  height: 2.875rem;
}

.mfa-status .mfa-status-icon__tile {
  position: absolute;
  inset: 0;
  width: 2.875rem;
  height: 2.875rem;
  margin: 0;
  object-fit: contain;
}

.mfa-status .mfa-status-icon__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  height: auto;
  margin: 0;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.mfa-status .mfa-status-icon__mark--success {
  width: 1.25rem;
  height: 0.875rem;
}

.mfa-status .mfa-status-icon__mark--attention {
  width: 0.25rem;
  height: 1.375rem;
}

.mfa-status__text {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  width: 100%;
}

.mfa-status h1 {
  margin: 0;
  color: var(--mfa-color-text-primary);
  font-size: var(--mfa-type-title-m-500-size);
  font-weight: var(--mfa-type-title-m-500-weight);
  line-height: var(--mfa-type-title-m-500-line-height);
  letter-spacing: var(--mfa-type-title-m-500-letter-spacing);
}

.mfa-status p {
  margin: 0;
  color: var(--mfa-color-text-secondary);
  font-size: var(--mfa-type-body-m-400-size);
  font-weight: var(--mfa-type-body-m-400-weight);
  line-height: var(--mfa-type-body-m-400-line-height);
  letter-spacing: var(--mfa-type-body-m-400-letter-spacing);
}

.mfa-status .mfa-primary {
  width: min(17.5rem, 100%);
}

.auth-card--demo {
  width: min(31.625rem, 100%);
  padding: 3rem 0 1.5rem;
}

.auth-card--demo .method-brand {
  margin-bottom: 1.5rem;
}

.mfa-demo {
  display: grid;
  gap: 1.5rem;
}

.mfa-demo__intro {
  display: grid;
  gap: 0.5rem;
  padding: 0 var(--mfa-responsive-content-inset);
  text-align: center;
}

.mfa-demo__notice {
  margin: 0;
  color: var(--mfa-color-text-primary);
  font-size: var(--mfa-type-body-m-400-size);
  font-weight: var(--mfa-type-body-m-400-weight);
  line-height: var(--mfa-type-body-m-400-line-height);
  letter-spacing: var(--mfa-type-body-m-400-letter-spacing);
}

.mfa-demo__details {
  display: grid;
  gap: 1.5rem;
  padding: 0 var(--mfa-responsive-content-inset);
}

.mfa-demo h1 {
  margin: 0;
  color: var(--mfa-color-text-primary);
  font-size: var(--mfa-type-title-m-400-size);
  font-weight: var(--mfa-type-title-m-400-weight);
  line-height: var(--mfa-type-title-m-400-line-height);
  letter-spacing: var(--mfa-type-title-m-400-letter-spacing);
  text-align: center;
}

@media (max-width: 520px) {
  .auth-shell--mfa {
    padding-top: 1.5rem;
  }
  .auth-card--choose {
    /* Keep the method-choice card's Figma bottom inset instead of overriding it to 48px. */
    padding-top: 3rem;
  }
  .method-heading {
    flex-wrap: wrap;
  }
  .auth-card--status {
    /* Keep the result card's 24px bottom inset from its desktop component rule. */
    padding-top: 3rem;
  }
  .auth-card--demo {
    /* The demo card follows the same compact bottom inset as the status card. */
    padding-top: 3rem;
  }
}
@media (max-width: 360px) {
  .method-intro,
  .method-body {
    padding-right: var(--mfa-responsive-content-inset);
    padding-left: var(--mfa-responsive-content-inset);
  }
}
@media (prefers-reduced-motion: reduce) {
  .auth-card--choose .method-option {
    transition: none;
  }
}
/* Passkey variants share the SafeMFA card layout from Figma 6493:2652. */
.auth-shell--passkey {
  /* Figma 6554:3502 mobile and 6493:2652 desktop anchors. */
  --mfa-passkey-shell-top: clamp(2.5rem, calc(0.767125rem + 5.47945vw), 3rem);
  --mfa-passkey-card-top: 3rem;
  --mfa-passkey-card-bottom: 1.5rem;
  --mfa-passkey-title-size: clamp(1.125rem, calc(0.81678125rem + 1.3698625vw), 1.25rem);
  --mfa-passkey-title-line-height: clamp(1.5rem, calc(0.8835625rem + 2.739725vw), 1.75rem);
  --mfa-passkey-help-size: clamp(0.75rem, calc(0.44178125rem + 1.3698625vw), 0.875rem);
  --mfa-passkey-help-line-height: clamp(1rem, calc(0.3835625rem + 2.739725vw), 1.25rem);
  --mfa-passkey-action-height: var(--mfa-cta-height);
  --mfa-passkey-action-size: var(--mfa-cta-font-size);
  --mfa-passkey-action-line-height: var(--mfa-cta-line-height);
  padding-top: var(--mfa-passkey-shell-top);
}

.auth-card--passkey {
  width: min(31.625rem, 100%);
  padding: var(--mfa-passkey-card-top) 0 var(--mfa-passkey-card-bottom);
}

.auth-card--passkey .method-brand {
  margin-bottom: clamp(1.25rem, 0.6335625rem + 2.739725vw, 1.5rem);
}

.auth-card--passkey .method-brand img {
  width: 100%;
  height: auto;
}

.passkey-card-content {
  display: grid;
  gap: 0;
}

.passkey-intro {
  padding: 0 var(--mfa-responsive-content-inset) clamp(1.3125rem, 0.53896875rem + 3.43835625vw, 1.5rem);
  border-bottom: 1px solid var(--mfa-color-divider-soft);
}

.passkey-intro h1 {
  margin: 0;
  color: var(--mfa-color-text-primary);
  font-size: var(--mfa-passkey-title-size);
  font-weight: var(--mfa-type-title-m-500-weight);
  line-height: var(--mfa-passkey-title-line-height);
  text-align: center;
}

.passkey-intro h1 strong {
  font-weight: var(--mfa-weight-medium);
}

.passkey-body {
  display: grid;
  gap: 0.5rem;
  padding: clamp(1.1875rem, 0.1093125rem + 4.794525vw, 1.5rem) var(--mfa-responsive-content-inset) 0;
}

.passkey-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.passkey-heading h2 {
  margin: 0;
  color: var(--mfa-color-text-secondary);
  font-size: var(--mfa-type-inputs-s-700-size);
  font-weight: var(--mfa-type-inputs-s-700-weight);
  line-height: var(--mfa-type-inputs-s-700-line-height);
}

.passkey-countdown {
  margin: 0;
  color: var(--mfa-color-text-secondary-3);
  font-size: var(--mfa-type-helper-m-400-size);
  font-weight: var(--mfa-type-helper-m-400-weight);
  line-height: var(--mfa-type-helper-m-400-line-height);
  white-space: nowrap;
}

.passkey-countdown strong {
  color: var(--mfa-color-text-secondary);
  font-size: var(--mfa-type-numbers-600-size);
  font-weight: var(--mfa-type-numbers-600-weight);
  line-height: var(--mfa-type-numbers-600-line-height);
  font-variant-numeric: tabular-nums;
}

.passkey-auth {
  display: grid;
  gap: 1.5rem;
  margin: 0;
}

.passkey-no-key {
  display: grid;
  gap: clamp(1.25rem, 0.6335625rem + 2.739725vw, 1.5rem);
}

.passkey-no-key-message {
  display: grid;
  gap: 0.5rem;
}

.passkey-help,
.passkey-notice {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--mfa-color-surface-soft-3);
  color: var(--mfa-color-text-secondary-2);
  font-size: var(--mfa-passkey-help-size);
  font-weight: var(--mfa-type-body-s-400-weight);
  line-height: var(--mfa-passkey-help-line-height);
  letter-spacing: var(--mfa-type-body-s-400-letter-spacing);
}

.passkey-notice--error {
  background: var(--mfa-color-surface-error);
  color: var(--mfa-color-text-error);
}

.passkey-actions {
  margin-top: 1rem;
}

.passkey-actions--no-key {
  display: grid;
  gap: clamp(1.25rem, 0.6335625rem + 2.739725vw, 1.5rem);
  margin-top: 0;
}

.auth-card--passkey .mfa-primary,
.auth-card--passkey .mfa-outline {
  min-height: var(--mfa-passkey-action-height);
  font-size: var(--mfa-passkey-action-size);
  line-height: var(--mfa-passkey-action-line-height);
}

/* Reuse the verification-code component rhythm inside the TOTP card: its
   existing 8px field step stays intact while the surrounding CTA steps are 24px. */
.totp-code-form {
  margin-top: 1rem;
}

.totp-code-form label {
  margin: 0;
}

.totp-code-form .mfa-primary {
  margin-top: 1rem;
}

/* TOTP confirms directly against the six-digit field, so it keeps the shared
   card title but omits the passkey-only divider above the code entry flow. */
.totp-card-content .passkey-intro {
  padding-bottom: 0;
  border-bottom: 0;
}

@media (max-width: 520px) {
  .passkey-heading {
    flex-wrap: wrap;
  }
}
/* Figma 6435:1194, passkey enrollment with an existing saved credential. */
.auth-shell--enrollment {
  padding-top: 1.75rem;
}

.auth-card--enrollment {
  width: min(31.625rem, 100%);
  padding: 3rem 0 1.5rem;
  box-shadow: 0 0.25rem 1rem rgba(56, 131, 124, 0.25);
}

.auth-card--enrollment .method-brand {
  margin-bottom: 1.5rem;
}

.enrollment {
  display: grid;
  gap: 0;
}

.enrollment-intro {
  padding: 0 var(--mfa-responsive-content-inset) 1.5rem;
  border-bottom: 1px solid var(--mfa-color-divider-soft);
}

.enrollment-intro h1 {
  margin: 0;
  color: var(--mfa-color-text-primary);
  font-size: var(--mfa-type-title-m-400-size);
  font-weight: var(--mfa-weight-medium);
  line-height: var(--mfa-type-title-m-400-line-height);
  text-align: center;
}

.enrollment-content {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding: 0 var(--mfa-responsive-content-inset);
}

.enrollment-section {
  display: grid;
  gap: 0.5rem;
}

.enrollment-section h2 {
  margin: 0;
  color: var(--mfa-color-text-secondary);
  font-size: var(--mfa-type-inputs-s-700-size);
  font-weight: var(--mfa-type-inputs-s-700-weight);
  line-height: var(--mfa-type-inputs-s-700-line-height);
}

.enrollment-credential {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: #f7fafa;
}

.enrollment-credential p {
  margin: 0;
  color: var(--mfa-color-text-primary);
  font-size: var(--mfa-type-body-xs-400-size);
  font-weight: var(--mfa-type-body-xs-400-weight);
  line-height: var(--mfa-type-body-xs-400-line-height);
  opacity: 0.7;
}

.enrollment-credential strong {
  display: block;
  color: var(--mfa-color-text-secondary-2);
  font-size: var(--mfa-type-inputs-l-700-size);
  font-weight: var(--mfa-type-inputs-l-700-weight);
  line-height: var(--mfa-type-inputs-l-700-line-height);
}

.enrollment-credential form, .enrollment-actions form {
  margin: 0;
}

.enrollment-remove {
  display: grid;
  place-items: center;
  width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.375rem;
  border: 0;
  border-radius: 0.375rem;
  background: #fff;
  box-shadow: 0.0625rem 0.125rem 0.0625rem rgba(0, 0, 0, 0.15);
}

.enrollment-remove:hover:not(:disabled) {
  background: #f7fafa;
}

.enrollment-remove img {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

.enrollment-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.enrollment-countdown {
  margin: 0;
  color: var(--mfa-color-text-secondary-3);
  font-size: var(--mfa-type-helper-m-400-size);
  font-weight: var(--mfa-type-helper-m-400-weight);
  line-height: var(--mfa-type-helper-m-400-line-height);
  white-space: nowrap;
}

.enrollment-countdown strong {
  color: var(--mfa-color-text-secondary);
  font-size: var(--mfa-type-numbers-600-size);
  font-weight: var(--mfa-type-numbers-600-weight);
  line-height: var(--mfa-type-numbers-600-line-height);
  font-variant-numeric: tabular-nums;
}

.enrollment-notice {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background: var(--mfa-color-surface-soft-3);
  color: var(--mfa-color-text-secondary-2);
  font-size: var(--mfa-type-body-s-400-size);
  font-weight: var(--mfa-type-body-s-400-weight);
  line-height: var(--mfa-type-body-s-400-line-height);
  letter-spacing: var(--mfa-type-body-s-400-letter-spacing);
}

.enrollment-actions {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 0 var(--mfa-responsive-content-inset);
}

/* Figma 6420:1947 keeps the no-saved-key variant in one 24px content stack. */
.enrollment--no-credentials .enrollment-actions {
  margin-top: 1.5rem;
}

.enrollment-actions [data-passkey] {
  margin: 0;
}

.enrollment-passkey-status {
  margin: 0.5rem 0 0;
  color: var(--mfa-color-error);
  font-size: var(--mfa-type-helper-m-400-size);
  font-weight: var(--mfa-type-helper-m-400-weight);
  line-height: var(--mfa-type-helper-m-400-line-height);
  letter-spacing: var(--mfa-type-helper-m-400-letter-spacing);
}

@media (max-width: 520px) {
  .auth-shell--enrollment {
    padding-top: 1.5rem;
  }
  .auth-card--enrollment {
    /* Preserve the shared Figma 24px bottom inset on the compact card. */
    padding-top: 3rem;
  }
}
.auth-card--mfa .mfa-input.totp-manual-key {
  height: auto;
}

.auth-card--mfa .mfa-input.totp-manual-key .mfa-input__control {
  width: 100%;
  resize: none;
  overflow-wrap: anywhere;
}

.totp-manual .enrollment-notice {
  overflow-wrap: anywhere;
}

.totp-qr {
  display: block;
  max-width: 100%;
  height: auto;
  justify-self: center;
}

.design-system-body {
  --ds-bg: #f3f7f6;
  --ds-surface: #fff;
  --ds-line: #d7e5e2;
  --ds-text: #17364f;
  --ds-muted: #59717b;
  --ds-accent: #008578;
  --ds-active: #e3f6f2;
  --ds-space-1: .25rem;
  --ds-space-2: .5rem;
  --ds-space-3: .75rem;
  --ds-space-4: 1rem;
  --ds-space-5: 1.5rem;
  --ds-space-6: 2rem;
  --ds-radius: .75rem;
  --ds-text-xs: .75rem;
  --ds-text-sm: .8125rem;
  min-width: 20rem;
  min-height: 100vh;
  background: var(--ds-bg);
  color: var(--ds-text);
  font-family: Saira, sans-serif;
}

.design-system-body::before {
  display: none;
}

.design-system-page {
  scroll-behavior: smooth;
}

.design-system {
  min-height: 100vh;
  padding: var(--ds-space-5) var(--ds-space-6);
}

.design-system__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-5);
  max-width: 105rem;
  margin: 0 auto var(--ds-space-5);
}

/* Keep the gallery header brand subordinate to the component previews. */
.design-system__brand {
  display: flex;
  width: 10rem;
  height: 2.3125rem;
  align-items: center;
  justify-content: center;
}

.design-system__brand img {
  display: block;
  width: 9.926rem;
  height: 2.28125rem;
}

.design-system__languages {
  display: flex;
  gap: var(--ds-space-1);
  padding: var(--ds-space-1);
  border: 0.0625rem solid var(--ds-line);
  border-radius: var(--ds-space-2);
  background: var(--ds-surface);
}

.design-system__languages a {
  padding: var(--ds-space-2);
  border-radius: 0.3125rem;
  color: #315a75;
  font-size: var(--ds-text-xs);
  font-weight: 600;
  text-decoration: none;
}

.design-system__languages a[aria-current=page] {
  background: var(--ds-active);
  color: #056b63;
}

.design-system__workspace {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  align-items: start;
  gap: var(--ds-space-5);
  max-width: 105rem;
  margin: 0 auto;
}

.design-system__catalog {
  position: sticky;
  top: var(--ds-space-4);
  display: flex;
  flex-direction: column;
  gap: var(--ds-space-1);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  padding: var(--ds-space-4);
  border: 0.0625rem solid var(--ds-line);
  border-radius: var(--ds-radius);
  background: var(--ds-surface);
}

.design-system__catalog h2 {
  margin: 0 0 var(--ds-space-2);
  color: #315a75;
  font-size: var(--ds-text-xs);
  font-weight: 600;
  line-height: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.design-system__option {
  display: block;
  width: 100%;
  min-height: 2.25rem;
  padding: var(--ds-space-2) var(--ds-space-3);
  border: 0.0625rem solid transparent;
  border-radius: 0.375rem;
  background: transparent;
  color: var(--ds-text);
  font: inherit;
  font-size: var(--ds-text-sm);
  line-height: 1.125rem;
  text-align: left;
  text-decoration: none;
}

.design-system__option:hover {
  background: #f2f8f7;
}

.design-system__option:focus-visible {
  outline: 0.125rem solid #018578;
  outline-offset: 0.0625rem;
}

.design-system__option[aria-current=location] {
  border-color: #a9d9cf;
  background: var(--ds-active);
  color: #056b63;
  font-weight: 600;
}

.design-system__components {
  display: grid;
  min-width: 0;
  gap: var(--ds-space-6);
}

.design-system__component {
  min-width: 0;
  scroll-margin-top: var(--ds-space-5);
}

.design-system__component-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--ds-space-4);
  padding: var(--ds-space-4) var(--ds-space-5);
  border-bottom: 0.0625rem solid var(--ds-line);
}

.design-system__component h2 {
  margin: 0;
  color: var(--ds-text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5rem;
}

.design-system__controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--ds-space-2);
}

.design-system__state {
  max-width: 60%;
  min-height: 2.5rem;
  padding: var(--ds-space-2) 2.5rem var(--ds-space-2) var(--ds-space-3);
  appearance: none;
  border: 0.0625rem solid #a9d9cf;
  border-radius: 0.375rem;
  background: var(--ds-active) url("/build/safemfa-chevron-down.svg") no-repeat right 0.75rem center/0.75rem 0.5rem;
  color: #056b63;
  font: inherit;
  font-size: var(--ds-text-sm);
  cursor: pointer;
}

.design-system__state:focus-visible {
  outline: 0.125rem solid #018578;
  outline-offset: 0.125rem;
}

.design-system__preview {
  display: block;
  width: 100%;
  min-height: 100svh;
  overflow: visible;
}

@media (max-width: 900px) {
  .design-system {
    padding: var(--ds-space-5);
  }
  .design-system__workspace {
    grid-template-columns: 13rem minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .design-system {
    padding: var(--ds-space-4);
  }
  .design-system__header {
    gap: var(--ds-space-3);
    margin-bottom: var(--ds-space-4);
  }
  .design-system__workspace {
    grid-template-columns: 1fr;
    gap: var(--ds-space-4);
  }
  .design-system__catalog {
    top: 0;
    z-index: 2;
    flex-direction: row;
    max-height: 10rem;
    overflow-x: auto;
    padding: var(--ds-space-2);
  }
  .design-system__catalog h2 {
    align-self: center;
    flex: none;
    margin: 0 var(--ds-space-2);
  }
  .design-system__option {
    width: auto;
    flex: none;
  }
  .design-system__component {
    scroll-margin-top: 5rem;
  }
  .design-system__component-header {
    align-items: stretch;
    flex-direction: column;
  }
  .design-system__controls {
    display: grid;
    width: 100%;
  }
  .design-system__state {
    max-width: none;
    width: 100%;
  }
}
/* At and below 1335px, previews need the real page width so their responsive
   rules are evaluated against the browser viewport rather than a gallery frame. */
@media (max-width: 83.4375rem) {
  .design-system {
    padding: 0;
  }
  .design-system__header {
    max-width: none;
    margin-bottom: 0;
    padding: var(--ds-space-5);
  }
  .design-system__workspace {
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
    gap: 0;
  }
  .design-system__catalog {
    display: none;
  }
  .design-system__component {
    scroll-margin-top: 0;
  }
  .design-system__component-header {
    padding-inline: var(--ds-space-5);
    background: var(--ds-surface);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
/* Figma 6479:2060 + 6388:2109: standalone public SafeMFA home page. */
.home-page {
  min-width: 20rem;
  margin: 0;
  background: var(--mfa-color-surface-default, #fff);
}

.home-page::before {
  display: none;
}

.home-shell--mfa {
  min-height: 100vh;
  min-height: 100svh;
  /* Do not inherit the authentication card shell's 80px/16px/32px layout inset. */
  padding: 0;
  justify-content: initial;
  background: var(--mfa-color-surface-default, #fff);
  color: var(--mfa-color-text-primary);
  font-family: var(--mfa-font-family);
  /* Figma 6479:2059 uses 180px in navigation and 200px in its hero content. */
  --home-nav-inline-inset: clamp(1.5rem, 9.375vw, 11.25rem);
  --home-inline-inset: clamp(1.5rem, 10.416667vw, 12.5rem);
}

/* Product Figma anchors: 200px at 1920px, 16px at 360px. Scalar values interpolate; only layouts reflow. */
.product-page .home-shell--mfa {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
.product-page .home-shell--mfa > * {
  flex-shrink: 0;
}
.product-page .home-shell--mfa > .product-footer {
  margin-top: auto;
}
.product-page .home-shell--mfa {
  /* Keep the 1520px Figma content canvas centred above 1920px; section backgrounds may remain full width. */
  --product-inline-inset: max(clamp(1rem, calc(11.8vw - 1.65rem), 12.5rem), calc((100vw - 95rem) / 2));
  --product-section-block: clamp(3.75rem, calc(5.13vw + 2.6rem), 8.75rem);
  /* Figma Title: 40px/60px at 360px and 100px/140px at 1920px. */
  --product-hero-title-block-start: clamp(2.5rem, calc(3.846vw + 1.635rem), 6.25rem);
  --home-nav-inline-inset: var(--product-inline-inset);
  --home-inline-inset: var(--product-inline-inset);
  --home-hero-display-size: clamp(2.5rem, calc(7.692vw + 0.77rem), 10rem);
  --home-hero-display-line-height: clamp(2.25rem, calc(6.667vw + 0.75rem), 8.75rem);
  --home-hero-display-letter-spacing: 0;
  /* Figma Heading/XL stays 48/54 from 1336px through 834px. */
  --mfa-type-heading-xl-500-size: 3rem;
  --mfa-type-heading-xl-500-line-height: 3.375rem;
}

/* Product fact copy is one editable translation; its line break follows the available card width. */
.product-page .home-fact p {
  white-space: normal;
}

.product-page .home-facts {
  --product-fact-wrap-gap: clamp(1.5rem, 3vw, 3rem);
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem var(--product-fact-wrap-gap);
}

/* Each product benefit starts at 300px; the flex row wraps instead of squeezing its copy below that width. */
.product-page .home-fact {
  flex: 1 1 18.75rem;
  min-width: 18.75rem;
}

.home-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem var(--home-nav-inline-inset);
}

.home-logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  width: 9.75rem;
  height: 2.25rem;
}

.home-logo img {
  display: block;
  width: 9.4545625rem;
  height: 2.1729375rem;
  margin: auto;
}

/* Product-info reuses the existing navigation/logo/button components; only the Figma logo slot is larger. */
.product-page .product-nav__logo {
  width: 10.5625rem;
  height: 2.4375rem;
}

.product-page .product-nav__logo img {
  width: 10.2424375rem;
  height: 2.3540625rem;
}

.product-page .product-nav__contact {
  align-items: center;
  justify-content: center;
  padding-inline: 1.5rem;
  cursor: pointer;
}

/* Figma 6711:4129: reuse the shared selector beside the desktop contact CTA. */
.product-page .product-nav__actions {
  display: flex;
  align-items: center;
  gap: 3.75rem;
}

.product-page .product-nav__actions .mfa-language-switch {
  position: relative;
  top: auto;
  right: auto;
  flex: 0 0 auto;
}

.product-page .product-nav__contact--floating {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2.5rem);
  bottom: 1rem;
  z-index: 10;
  width: auto;
  max-width: calc(100vw - 2rem);
  min-height: 2rem;
  padding-inline: 1.5rem;
  gap: 0.5rem;
  border: 0;
  border-radius: 0.375rem;
  background-color: var(--mfa-color-primary-500);
  background-image: linear-gradient(74.2105deg, var(--mfa-color-primary-500) 0%, var(--mfa-color-accent-600) 132.17%);
  box-shadow: none;
  font-size: 0.8125rem;
  font-weight: var(--mfa-weight-medium);
  line-height: 1.125rem;
}

@media (prefers-reduced-motion: no-preference) {
  .product-page .product-nav__contact--floating {
    animation: product-contact-cta-float-in 0.16s ease-out both;
    will-change: opacity, transform;
  }
}
@keyframes product-contact-cta-float-in {
  from {
    opacity: 0;
    transform: translateY(0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Figma 6741:5510: preserve the supplied mail SVG's 19.0909px root geometry. */
.product-page .product-nav__contact img {
  width: 1.19318125rem;
  height: 1.19318125rem;
}

/* Figma 6708:3815: the desktop certification row fills its container with five hug-width cards. */
.product-page .product-scale {
  padding: var(--product-section-block) var(--product-inline-inset);
}

.product-page .product-scale h2 {
  text-align: left;
}

.product-page .product-scale__trust-mark {
  /* Figma 6708:3815: every trust item shares one badge/icon sizing contract. */
  --product-trust-badge-size: clamp(3.375rem, calc(2.17949vw + 2.88462rem), 5.5rem);
  --product-trust-icon-size: clamp(2.085rem, calc(1.34615vw + 1.78125rem), 3.3970625rem);
  display: flex;
  align-items: center;
  justify-items: initial;
  gap: 1.25rem;
  width: auto;
  text-align: left;
}

.product-page .product-scale__trust-mark .home-scale__badge,
.product-page .product-scale__trust-mark .home-scale__badge-background {
  flex: 0 0 var(--product-trust-badge-size);
  width: var(--product-trust-badge-size);
  height: var(--product-trust-badge-size);
}

.product-page .product-scale__trust-mark .home-scale__icon {
  width: var(--product-trust-icon-size);
  height: var(--product-trust-icon-size);
  object-fit: contain;
}

.product-page .product-scale .home-scale__certifications {
  display: flex;
  grid-template-columns: none;
  gap: 0;
}

.product-page .product-scale__trust-mark .home-scale__description {
  width: 6.75rem;
  margin: 0;
  hyphens: none;
  overflow-wrap: normal;
  text-align: left;
  word-break: normal;
}

.product-page .product-scale__trust-mark:nth-child(4) .home-scale__description {
  width: 4.5rem;
}

.product-page .product-scale__trust-mark:nth-child(5) .home-scale__description {
  width: 4.75rem;
}

/* Tablet keeps a readable multi-column layout before five trust marks need a single stack. */
@media (min-width: 35.0625rem) and (max-width: 75rem) {
  .product-page .home-facts {
    --product-fact-wrap-gap: clamp(1.5rem, 4vw, 3rem);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem clamp(1.5rem, 4vw, 3rem);
  }
  .product-page .home-fact {
    flex: 0 1 calc((100% - var(--product-fact-wrap-gap)) / 2);
    min-width: 0;
    gap: 0.875rem;
  }
  .product-page .home-fact__badge {
    flex: 0 0 5rem;
    width: 5rem;
    height: 4rem;
  }
  .product-page .home-fact__badge-back,
  .product-page .home-fact__badge-front {
    width: 4rem;
    height: 4rem;
  }
  .product-page .home-fact__badge-front {
    left: 1rem;
  }
  .product-page .home-fact__check {
    top: 1.4478125rem;
    left: 2.40234375rem;
    margin-left: 0.09375rem;
    width: 1.1953125rem;
    height: 1.104375rem;
  }
}
/* The public home page uses the same four-benefit layout as product-info.
 * Keep it at two columns from tablet widths through the 360px design minimum;
 * the generic wrapping rule otherwise leaves a single fact on each row. */
@media (min-width: 22.5rem) and (max-width: 75rem) {
  .home-page:not(.product-page) .home-facts {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 2rem clamp(1.5rem, 4vw, 3rem);
  }
  .home-page:not(.product-page) .home-fact {
    flex: 0 1 calc((100% - clamp(1.5rem, 4vw, 3rem)) / 2);
    min-width: 0;
    gap: 0.875rem;
  }
  .home-page:not(.product-page) .home-fact p {
    white-space: normal;
  }
  .home-page:not(.product-page) .home-fact__badge {
    flex: 0 0 5rem;
    width: 5rem;
    height: 4rem;
  }
  .home-page:not(.product-page) .home-fact__badge-back,
  .home-page:not(.product-page) .home-fact__badge-front {
    width: 4rem;
    height: 4rem;
  }
  .home-page:not(.product-page) .home-fact__badge-front {
    left: 1rem;
  }
  .home-page:not(.product-page) .home-fact__check {
    top: 1.4478125rem;
    left: 2.40234375rem;
    margin-left: 0.09375rem;
    width: 1.1953125rem;
    height: 1.104375rem;
  }
}
/* At the 360px minimum, reuse the compact badge geometry so each 2×2 fact
 * still leaves usable width for its translated text. */
@media (min-width: 22.5rem) and (max-width: 37.5rem) {
  .home-page:not(.product-page) .home-fact {
    gap: 0.75rem;
  }
  .home-page:not(.product-page) .home-fact__badge {
    flex-basis: 4rem;
    width: 4rem;
    height: 3.25rem;
  }
  .home-page:not(.product-page) .home-fact__badge-back,
  .home-page:not(.product-page) .home-fact__badge-front {
    width: 3.25rem;
    height: 3.25rem;
  }
  .home-page:not(.product-page) .home-fact__badge-front {
    left: 0.75rem;
  }
  .home-page:not(.product-page) .home-fact__check {
    top: 1.17959375rem;
    left: 1.89348125rem;
    margin-left: 0.075rem;
    width: 0.9630375rem;
    height: 0.8908125rem;
  }
}
@media (min-width: 56.3125rem) and (max-width: 80rem) {
  .product-page .product-scale .home-scale__certifications {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2rem 1rem;
  }
  .product-page .product-scale__trust-mark {
    flex: 0 1 calc((100% - 2rem) / 3);
    gap: 0.875rem;
    min-width: 0;
  }
  .product-page .product-scale__trust-mark .home-scale__description,
  .product-page .product-scale__trust-mark:nth-child(4) .home-scale__description,
  .product-page .product-scale__trust-mark:nth-child(5) .home-scale__description {
    width: auto;
    font-size: var(--mfa-type-title-s-400-size);
    line-height: var(--mfa-type-title-s-400-line-height);
  }
}
/* Figma 6915:53325: product authentication-method overview between trust and contact. */
.product-methods {
  padding: var(--product-section-block) clamp(1rem, 9.230769vw - 1.076923rem, 10rem);
  background: var(--mfa-color-surface-product-dark);
  color: var(--mfa-color-text-inverse);
}

.product-methods__content {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  max-width: 100rem;
  margin: 0 auto;
}

.product-methods h2 {
  max-width: 43.75rem;
  margin: 0;
  color: var(--mfa-color-text-link);
  font-family: var(--mfa-font-family);
  font-size: var(--mfa-type-product-methods-heading-500-size);
  font-weight: var(--mfa-type-product-methods-heading-500-weight);
  line-height: var(--mfa-type-product-methods-heading-500-line-height);
  text-align: left;
}

.product-methods__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 22.5rem));
  justify-content: space-between;
  gap: 1.25rem;
}

.product-methods__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding-top: 2rem;
  border-radius: 0.5rem 0.5rem 0 0;
  background: var(--mfa-effect-product-method-card);
}

@media (hover: hover) {
  .product-methods__card:hover {
    background: linear-gradient(153.525786deg, rgba(244, 247, 250, 0.12) 3.8361%, rgba(119, 153, 181, 0) 60.636%), var(--mfa-effect-product-method-card);
  }
}
.product-methods__copy {
  z-index: 1;
  width: 100%;
  padding-inline: 1.5rem;
}

/* A fixed child cannot rise above sibling sections while its header remains in
 * the default stacking context. Lift that context only for the floating CTA. */
.product-page .product-nav--contact-floating {
  z-index: 11;
}

.product-methods__copy h3,
.product-methods__copy p {
  margin: 0;
}

.product-methods__copy h3 {
  color: var(--mfa-color-text-inverse);
  font-family: var(--mfa-font-family);
  font-size: var(--mfa-type-product-methods-card-title-500-size);
  font-weight: var(--mfa-weight-medium);
  line-height: var(--mfa-type-product-methods-card-title-500-line-height);
}

.product-methods__copy p {
  color: var(--mfa-color-text-inverse);
  font-family: var(--mfa-font-family);
  font-size: var(--mfa-type-product-methods-card-description-400-size);
  font-weight: var(--mfa-weight-regular);
  line-height: var(--mfa-type-product-methods-card-description-400-line-height);
  opacity: 0.8;
}

.product-methods__shield {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  z-index: 1;
  display: block;
  width: 1.5rem;
  height: 1.5rem;
}

/* Figma 6675:3790 uses the same five plates in every card. Percent coordinates
 * keep their overlap and icon placement intact as the card narrows. */
.product-methods__tower {
  position: relative;
  width: min(100% - 1.25rem, 18.75rem);
  aspect-ratio: 1;
  margin-top: auto;
}

.product-methods__tower-scene {
  position: absolute;
  inset: 0;
}

.product-methods__tower-layer {
  position: absolute;
  left: 21.5%;
  width: 59.833333%;
  height: 43.714%;
  overflow: hidden;
}

.product-methods__tower-layer > img:not(.product-methods__tower-icon) {
  position: absolute;
  top: -31.54%;
  left: -5.48%;
  display: block;
  width: 110.96%;
  height: 151.87%;
  max-width: none;
}

.product-methods__tower-layer--alternate > img:not(.product-methods__tower-icon) {
  top: -30.3%;
  left: -4.2%;
  width: 109.13%;
  height: 149.37%;
  opacity: 0.95;
}

.product-methods__tower-layer--1 {
  top: 52.546667%;
}

.product-methods__tower-layer--2 {
  top: 44.076667%;
}

.product-methods__tower-layer--3 {
  top: 32.876667%;
}

.product-methods__tower-layer--4 {
  top: 20.033333%;
}

.product-methods__tower-layer--5 {
  top: 8.833333%;
}

/* Figma 6902:52053's compact tower state keeps the same plates and only changes
 * their vertical positions. Translate relative to the clipped plate height so
 * the movement scales with the desktop card at intermediate widths. */
.product-methods__tower-layer--1 {
  --product-methods-fold-offset: -57.190%;
}

.product-methods__tower-layer--2 {
  --product-methods-fold-offset: -44.989%;
}

.product-methods__tower-layer--3 {
  --product-methods-fold-offset: -24.401%;
}

.product-methods__tower-layer--4 {
  --product-methods-fold-offset: -2.288%;
}

.product-methods__tower-layer--5 {
  --product-methods-fold-offset: 17.919%;
}

.product-methods--prepared .product-methods__tower-layer {
  transform: translateY(var(--product-methods-fold-offset));
}

.product-methods--prepared.product-methods--revealed .product-methods__tower-layer {
  transform: translateY(0);
  transition: transform 1.1s ease-in-out 0.45s;
}

.product-methods__tower-icon {
  position: absolute;
  top: 12.83%;
  left: 26.48%;
  display: block;
  width: 44.29%;
  height: auto;
}

/* Four scaled cards still fit at 1000px; below that, use two readable columns. */
@media (min-width: 62.5rem) {
  .product-methods__grid {
    grid-template-columns: repeat(4, minmax(0, 22.5rem));
  }
}
@media (min-width: 37.5625rem) and (max-width: 62.4999rem) {
  .product-methods__grid {
    justify-content: start;
  }
}
/* Figma 6915:54709 compact variant: keep the two-column card structure and
 * reduce the complete tower rather than independently distorting its layers. */
@media (max-width: 37.5rem) {
  .product-methods__content {
    gap: 1.875rem;
  }
  .product-methods h2 {
    max-width: 20.5rem;
    font-size: 1.625rem;
    line-height: 2rem;
  }
  .product-methods__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 0.5rem;
  }
  .product-methods__card {
    padding-top: 1.5rem;
    background: var(--mfa-effect-product-method-card-mobile);
  }
  .product-methods__copy {
    padding-inline: 1rem;
  }
  .product-methods__copy h3 {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
  .product-methods__copy p {
    font-size: 0.75rem;
    line-height: 1rem;
  }
  .product-methods__shield {
    top: 0.5rem;
    right: 0.5rem;
    width: 1.125rem;
    height: 1.125rem;
  }
  .product-methods--prepared .product-methods__tower-layer {
    transform: none;
    transition: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .product-methods--prepared .product-methods__tower-layer {
    transform: none;
    transition: none;
  }
}
/* Figma 6711:4839: product contact form composes the shared input and CTA components. */
.product-contact {
  padding: var(--product-section-block) var(--product-inline-inset);
  overflow: hidden;
  background: linear-gradient(116.600462deg, var(--mfa-color-primary-700) 0%, var(--mfa-color-primary-600) 100.87%);
  scroll-margin-top: 1.5rem;
}

.product-contact__layout {
  --product-contact-column-gap: clamp(3rem, 9.375vw, 11.25rem);
  display: grid;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--product-contact-column-gap);
  grid-template-columns: repeat(2, minmax(0, min(37.5rem, (100% - var(--product-contact-column-gap)) / 2)));
  width: 100%;
  margin: 0 auto;
}

/* Figma 6720:5319's 1920px composition keeps the 600px introduction and
   558px form as fixed visual anchors. Smaller desktop widths retain the
   flexible tracks above so the section never creates horizontal overflow. */
@media (min-width: 112.5rem) {
  .product-contact__layout {
    grid-template-columns: 37.5rem 34.875rem;
    gap: 11.25rem;
  }
  .product-contact__content.auth-card--mfa {
    max-width: 34.875rem;
  }
}
/* Keep the card usable through the intermediate desktop range. The decorative
   introduction gives up width first; the one-column layout begins only when a
   30rem form can no longer coexist with it. */
@media (min-width: 56.3125rem) and (max-width: 75rem) {
  .product-contact__layout {
    grid-template-columns: minmax(14rem, 1fr) minmax(30rem, 34.875rem);
    gap: clamp(2rem, 4vw, 4rem);
  }
  .product-contact__intro h2 {
    font-size: clamp(2rem, 3.2vw, var(--mfa-type-heading-xl-500-size));
    line-height: clamp(2.5rem, 4vw, var(--mfa-type-heading-xl-500-line-height));
  }
  .product-contact__intro p {
    font-size: clamp(1rem, 1.5vw, var(--mfa-type-body-xl-500-size));
    line-height: clamp(1.375rem, 2vw, var(--mfa-type-body-xl-500-line-height));
  }
  .product-contact__illustration {
    width: min(100%, 19rem);
  }
}
.product-contact__intro {
  position: relative;
  display: flex;
  flex: none;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  max-width: 37.5rem;
  min-width: 0;
  width: 100%;
}

.product-contact__intro h2 {
  margin: 0;
  color: var(--mfa-color-text-inverse);
  font-family: var(--mfa-font-family);
  font-size: var(--mfa-type-heading-xl-500-size);
  font-weight: var(--mfa-type-heading-xl-500-weight);
  line-height: var(--mfa-type-heading-xl-500-line-height);
  letter-spacing: var(--mfa-type-heading-xl-500-letter-spacing);
}

.product-contact__intro p {
  max-width: 37.5rem;
  margin: 0.625rem 0 0;
  color: var(--mfa-color-text-inverse);
  font-family: var(--mfa-font-family);
  font-size: var(--mfa-type-body-xl-500-size);
  font-weight: var(--mfa-type-body-xl-500-weight);
  line-height: var(--mfa-type-body-xl-500-line-height);
  opacity: 0.9;
}

.product-contact__illustration {
  display: block;
  width: min(100%, 23.8808125rem);
  height: auto;
  margin-top: clamp(3rem, 4.167vw, 5rem);
}

.product-contact--prepared .product-contact__illustration {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}

.product-contact--revealed .product-contact__illustration {
  animation: product-contact-shield-reveal 0.95s cubic-bezier(0.22, 0.72, 0.2, 1) both;
}

@keyframes product-contact-shield-reveal {
  from {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0);
  }
}
.product-contact__content.auth-card--mfa {
  box-sizing: border-box;
  flex: none;
  max-width: 37.5rem;
  width: 100%;
  padding: 2.5rem;
  border-radius: 0.875rem;
  background: var(--mfa-color-surface-default);
}

/* Figma 6775:5801: successful public submissions replace the existing form card, not the section. */
.product-contact__content.auth-card--mfa.product-contact__content--success {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 34.875rem;
  min-height: 40.25rem;
}

.product-contact__success,
.product-contact__success-details,
.product-contact__success-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.product-contact__success {
  gap: 1.5rem;
}

.product-contact__success-details {
  gap: 1.5rem;
}

.product-contact__success-icon {
  position: relative;
  flex: none;
  width: 3rem;
  height: 3rem;
}

.product-contact__success-tile {
  position: absolute;
  inset: 0;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.product-contact__success-check {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.304375rem;
  height: 0.913125rem;
  transform: translate(-50%, -50%);
}

.product-contact__success-copy {
  gap: 1.25rem;
  text-align: center;
}

.product-contact__success-copy h3 {
  margin: 0;
  color: var(--mfa-color-text-primary);
  font-family: var(--mfa-font-family);
  font-size: var(--mfa-type-subheading-l-500-size);
  font-weight: var(--mfa-type-subheading-l-500-weight);
  line-height: var(--mfa-type-subheading-l-500-line-height);
  letter-spacing: var(--mfa-type-subheading-l-500-letter-spacing);
}

.product-contact__success-copy p {
  margin: 0;
  color: var(--mfa-color-text-primary);
  font-family: var(--mfa-font-family);
  font-size: var(--mfa-type-body-l-400-size);
  font-weight: var(--mfa-type-body-l-400-weight);
  line-height: var(--mfa-type-body-l-400-line-height);
  letter-spacing: var(--mfa-type-body-l-400-letter-spacing);
}

.product-contact__success-reset {
  min-height: 3.25rem;
}

.product-contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  margin: 0;
}

.auth-card--mfa .product-contact__message-field {
  align-items: flex-start;
  height: 10.375rem;
  min-height: 10.375rem;
}

.auth-card--mfa .product-contact__message-field .mfa-input__control {
  min-height: 8.875rem;
  resize: none;
}

.product-contact__submit {
  min-height: 3.25rem;
}

/* Figma 6783:6068 — contact-form privacy acknowledgement above the shared CTA. */
.product-contact .mfa-check {
  position: relative;
  display: grid;
  grid-template-columns: 1.5rem auto;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin: 0;
  color: var(--mfa-color-text-primary);
  font-family: var(--mfa-font-family);
  font-size: var(--mfa-type-helper-l-400-size);
  font-weight: var(--mfa-type-helper-l-400-weight);
  line-height: var(--mfa-type-helper-l-400-line-height);
  letter-spacing: var(--mfa-type-helper-l-400-letter-spacing);
}

.product-contact .mfa-check__control {
  grid-row: 1;
  grid-column: 1;
  width: 1.5rem;
  height: 1.5rem;
  min-height: 1.5rem;
  padding: 0;
  margin: 0;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  z-index: 1;
}

.product-contact .mfa-check::before,
.product-contact .mfa-check::after {
  grid-row: 1;
  grid-column: 1;
  justify-self: center;
  content: "";
}

/* Figma 6783:6068 — 24px hit area with a centred 18px default outline. */
.product-contact .mfa-check::before {
  box-sizing: border-box;
  width: 1.125rem;
  height: 1.125rem;
  border: 1px solid var(--mfa-color-border-focus-neutral);
  background: var(--mfa-color-surface-default);
}

/* Figma 6783:6057 — checked state uses the supplied 14px white tick asset. */
.product-contact .mfa-check::after {
  display: none;
  width: 0.875rem;
  height: 0.875rem;
  background: url("/build/safemfa-checkbox-check.svg") center/contain no-repeat;
}

.product-contact .mfa-check:has(.mfa-check__control:checked)::before {
  border-color: var(--mfa-color-primary-500);
  background: var(--mfa-color-primary-500);
}

.product-contact .mfa-check:has(.mfa-check__control:checked)::after {
  display: block;
}

.product-contact .mfa-check:has(.mfa-check__control:focus-visible)::before {
  outline: 0.125rem solid var(--mfa-color-primary-500);
  outline-offset: 0.125rem;
}

.product-contact .mfa-check__policy {
  color: var(--mfa-color-primary-500);
}

.product-contact__field {
  min-width: 0;
}

.product-contact__errors {
  color: var(--mfa-color-text-error);
}
.product-contact__errors:empty {
  display: none;
}
.product-contact__errors ul {
  margin: 0;
  padding-inline-start: 1.25rem;
}

.product-contact__feedback {
  color: var(--mfa-color-text-primary);
  margin-block: 0 1.5rem;
}

/* Figma 6729:5481 footer variants reuse the exported desktop/mobile logo assets. */
.product-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem var(--product-inline-inset);
  color: var(--mfa-color-text-primary);
}

.product-footer__logo {
  display: flex;
  flex: 0 0 6.5rem;
  align-items: center;
  justify-content: center;
  width: 6.5rem;
  height: 1.5rem;
}

.product-footer__logo picture,
.product-footer__logo img {
  display: block;
}

.product-footer p {
  margin: 0;
  opacity: 0.8;
  font-family: var(--mfa-font-family);
  font-size: var(--mfa-type-helper-m-400-size);
  font-weight: var(--mfa-type-helper-m-400-weight);
  line-height: var(--mfa-type-helper-m-400-line-height);
  letter-spacing: var(--mfa-type-helper-m-400-letter-spacing);
  white-space: nowrap;
}

@media (max-width: 75rem) {
  /* The fluid values above already cover this range; the 900px rule below is structural. */
}
/* DS Heading/XL anchors: interpolate only where Figma supplies distinct values. */
@media (min-width: 83.5625rem) {
  .product-page .home-shell--mfa {
    --mfa-type-heading-xl-500-size: clamp(3rem, calc(1.37vw + 1.855rem), 3.5rem);
    --mfa-type-heading-xl-500-line-height: clamp(3.375rem, calc(1.712vw + 1.945rem), 4rem);
  }
}
@media (max-width: 52.125rem) {
  .product-page .home-shell--mfa {
    --mfa-type-heading-xl-500-size: clamp(1.625rem, calc(4.641vw + 0.58rem), 3rem);
    --mfa-type-heading-xl-500-line-height: clamp(2rem, calc(4.641vw + 0.956rem), 3.375rem);
  }
}
@media (max-width: 56.25rem) {
  .product-contact {
    padding-block: var(--product-section-block);
    background-image: linear-gradient(156.801409deg, var(--mfa-color-primary-700) 0%, var(--mfa-color-primary-600) 100.87%);
  }
  .product-contact__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }
  .product-contact__intro,
  .product-contact__content.auth-card--mfa {
    width: 100%;
    max-width: none;
  }
  .product-contact__intro {
    flex: none;
  }
  .product-contact__content.auth-card--mfa {
    flex: none;
  }
  .product-contact__illustration {
    display: none;
  }
  .product-page .product-scale {
    padding: var(--product-section-block) var(--product-inline-inset);
  }
  .product-page .product-scale .home-scale__content {
    gap: 1.875rem;
  }
  .product-page .product-scale h2 {
    text-align: left;
  }
  .product-page .product-scale .home-scale__certifications {
    flex-direction: column;
    align-items: stretch;
    gap: 1.875rem;
  }
  .product-page .product-scale__trust-mark {
    display: flex;
    align-items: center;
    justify-items: initial;
    gap: 1.25rem;
    width: 100%;
    text-align: left;
  }
  .product-page .product-scale__trust-mark .home-scale__description {
    width: auto;
    margin: 0;
    font-size: var(--mfa-type-title-s-400-size);
    line-height: var(--mfa-type-title-s-400-line-height);
    text-align: left;
  }
  .product-contact {
    padding: var(--product-section-block) var(--product-inline-inset);
  }
  .product-contact__layout {
    gap: 1.875rem;
  }
  .product-contact__content.auth-card--mfa {
    padding: 1.5rem;
  }
  .product-contact__content.auth-card--mfa.product-contact__content--success {
    min-height: auto;
  }
  .product-contact__form {
    gap: 1.25rem;
  }
  .product-contact__intro h2 {
    font-size: var(--mfa-type-heading-xl-500-size);
    line-height: var(--mfa-type-heading-xl-500-line-height);
  }
  .product-contact__intro p {
    font-size: 1rem;
    line-height: 1.375rem;
  }
}
/* The product's compact layout uses the 40px/16px/60px Figma hero anchors. */
@media (max-width: 50rem) {
  .product-footer {
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(1.5rem, 2.5vw, 3rem);
    text-align: center;
  }
  .product-footer__logo {
    flex-basis: auto;
  }
  .product-footer p {
    white-space: normal;
  }
}
/* Figma 6729:5482 mobile footer: 330px content frame at the 360px viewport. */
@media (max-width: 37.5rem) {
  .product-footer {
    gap: 0.4583125rem;
    padding: 1.375rem 0.9166875rem;
  }
  .product-footer__logo {
    flex-basis: auto;
    width: 5.6875rem;
    height: 1.3125rem;
  }
}
/* A two-column flex wrap fits the compact badges before the narrow one-column stack is needed. */
@media (min-width: 22.5rem) and (max-width: 56.25rem) {
  .product-page .product-scale .home-scale__certifications {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 1.5rem 1rem;
  }
  .product-page .product-scale__trust-mark {
    flex: 0 1 calc((100% - 1rem) / 2);
    min-width: 0;
    width: auto;
    gap: clamp(0.75rem, 2vw, 1.25rem);
  }
}
/* The 360px design width retains two trust-mark columns with a compact gap. */
@media (min-width: 22.5rem) and (max-width: 30rem) {
  .product-page .product-scale__trust-mark {
    gap: 0.625rem;
  }
  .product-footer {
    --mfa-type-helper-m-400-size: 0.75rem;
  }
}
@media (max-width: 31.25rem) {
  .product-contact {
    padding: var(--product-section-block) var(--product-inline-inset);
  }
  .product-contact__content.auth-card--mfa {
    padding: 1.5rem;
  }
}
.home-nav__actions,
.home-nav__links {
  display: flex;
  align-items: center;
}

.home-nav__actions {
  gap: 5rem;
}

.home-nav__links {
  gap: 3.125rem;
}

.home-nav__link {
  min-width: 5.625rem;
  padding: 0.375rem 0.625rem;
  color: var(--mfa-color-text-primary);
  font-size: var(--mfa-type-navigation-m-500-size);
  font-weight: var(--mfa-type-navigation-m-500-weight);
  line-height: var(--mfa-type-navigation-m-500-line-height);
  letter-spacing: var(--mfa-type-navigation-m-500-letter-spacing);
  text-align: center;
  text-decoration: none;
}

.home-nav__link:hover {
  color: var(--mfa-color-primary-500);
}

.home-nav__link:focus-visible {
  outline: 0.125rem solid var(--mfa-color-primary-500);
  outline-offset: 0.125rem;
}

.home-shell--mfa .home-nav__signin {
  display: inline-flex;
  width: auto;
  min-height: 2.5rem;
  padding: 0 2rem;
  gap: 0.5rem;
  font-size: var(--mfa-type-button-m-500-size);
  font-weight: var(--mfa-type-button-m-500-weight);
  line-height: var(--mfa-type-button-m-500-line-height);
  white-space: nowrap;
}

.home-nav__signin img {
  width: 1.25rem;
  height: 1.25rem;
}

/* Figma 6711:4129 sets the product header CTA to 24px horizontal inset. */
.product-page .home-shell--mfa .product-nav__contact {
  padding-inline: 1.5rem;
}

.home-hero {
  position: relative;
  isolation: isolate;
  padding: 0 0 10rem;
}

/* Figma 6927:55408: the supplied export is the complete hero pattern field. */
.home-hero__pattern {
  position: absolute;
  z-index: 0;
  /* Figma's 1323×921 field is flush to the desktop's right edge below nav. */
  top: 0.125rem;
  right: 0;
  /* Figma places the 2013px pattern canvas 93px beyond the desktop's left
     viewport edge. Keep that 104.84375vw relationship fluid, so the wave
     traverses the full Figma field instead of ending beside the heading. */
  width: 104.84375vw;
  aspect-ratio: 2433/1694;
  pointer-events: none;
  overflow: visible;
}

/* All readable hero content remains above the decorative animation. */
.home-hero__title,
.home-hero > .home-facts {
  position: relative;
  z-index: 1;
}

/* Static fade under the benefit row keeps its copy readable while the pattern
 * remains free to move through the rest of the hero. */
.home-hero > .home-facts::before {
  position: absolute;
  z-index: -1;
  inset: -1.25rem 0;
  pointer-events: none;
  background: radial-gradient(ellipse 90% 120% at 50% 50%, rgba(255, 255, 255, 0.32) 0%, rgba(255, 255, 255, 0.14) 54%, transparent 100%);
  content: "";
}

/* A fixed white edge cover merges the field into the hero without changing the
   wave, avoiding a hard horizontal SVG boundary above or below the artwork. */
.home-hero__pattern::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  pointer-events: none;
  background: linear-gradient(to right, var(--mfa-color-surface-default, #fff) 0%, rgba(255, 255, 255, 0.78) 22%, rgba(255, 255, 255, 0.36) 42%, transparent 65%), linear-gradient(to bottom, var(--mfa-color-surface-default, #fff) 0%, rgba(255, 255, 255, 0.96) 4%, transparent 15%, transparent 80%, rgba(255, 255, 255, 0.96) 95%, var(--mfa-color-surface-default, #fff) 100%);
  content: "";
}

.home-hero__pattern > img {
  display: block;
  width: 100%;
  height: 100%;
}

/* The supplied Figma texture is one bitmap layer. Its CSS mask supplies the
 * white rest state and diagonal wave without SVG path rasterisation. */
.home-hero__pattern--mask-wave {
  /* The Figma field is fully white until the moving mask reveals it. */
  opacity: 0;
  /* Keep the brighter front nearer the title while the soft trail recedes. */
  mask-image: linear-gradient(135deg, transparent 0 33%, rgba(0, 0, 0, 0.08) 40%, #000 48%, rgba(0, 0, 0, 0.18) 57%, transparent 68%);
  mask-size: 300% 300%;
  mask-position: 0% 0%;
  mask-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(135deg, transparent 0 33%, rgba(0, 0, 0, 0.08) 40%, #000 48%, rgba(0, 0, 0, 0.18) 57%, transparent 68%);
  -webkit-mask-size: 300% 300%;
  -webkit-mask-position: 0% 0%;
  -webkit-mask-repeat: no-repeat;
}

.home-hero__pattern--playing {
  /* A single linear compositor timeline prevents visible speed changes between
     the bright front and its fading trail on the large PNG texture. */
  will-change: opacity, mask-position, -webkit-mask-position;
  animation: home-hero-pattern-mask-wave 4s linear both;
}

@keyframes home-hero-pattern-mask-wave {
  0% {
    /* Start with the already-visible edge of the wave as the title settles. */
    opacity: 0.08;
    mask-position: 10% 10%;
    -webkit-mask-position: 10% 10%;
  }
  14% {
    opacity: 0.16;
    mask-position: 24% 24%;
    -webkit-mask-position: 24% 24%;
  }
  /* The front reaches the hero middle at its colour peak. */
  40% {
    opacity: 0.42;
    mask-position: 53% 53%;
    -webkit-mask-position: 53% 53%;
  }
  60% {
    opacity: 0.2;
    mask-position: 68% 68%;
    -webkit-mask-position: 68% 68%;
  }
  78% {
    opacity: 0.04;
    mask-position: 88% 88%;
    -webkit-mask-position: 88% 88%;
  }
  100% {
    opacity: 0;
    mask-position: 100% 100%;
    -webkit-mask-position: 100% 100%;
  }
}
/* The 1920px Figma desktop expands the field uniformly to 1456.6 × 1013.94px
   and lets it cover the full hero depth, including the navigation plane. */
@media (min-width: 120rem) {
  .home-hero__pattern {
    top: -5.5rem;
  }
  /* The field starts above the header here, so only fade it into the section
     below; a top cover would otherwise wash over navigation. */
  .home-hero__pattern::after {
    background: linear-gradient(to right, var(--mfa-color-surface-default, #fff) 0%, rgba(255, 255, 255, 0.78) 22%, rgba(255, 255, 255, 0.36) 42%, transparent 65%), linear-gradient(to bottom, transparent 0%, transparent 80%, rgba(255, 255, 255, 0.96) 95%, var(--mfa-color-surface-default, #fff) 100%);
  }
}
/* Figma 6479:2057 Title is 640px: 100px top + 400px heading + 140px bottom. */
.home-hero__title {
  padding: 6.25rem var(--home-inline-inset) 8.75rem;
}

.product-page .home-hero__title {
  padding: var(--product-hero-title-block-start) var(--product-inline-inset) var(--product-section-block);
}

.home-hero h1 {
  display: grid;
  gap: 1.25rem;
  max-width: 100%;
  margin: 0;
  font-family: var(--mfa-font-family);
  font-size: var(--home-hero-display-size, var(--mfa-type-display-hero-500-size));
  font-weight: var(--mfa-type-display-hero-500-weight);
  line-height: var(--home-hero-display-line-height, var(--mfa-type-display-hero-500-line-height));
  letter-spacing: var(--home-hero-display-letter-spacing, var(--mfa-type-display-hero-500-letter-spacing));
  /* One viewport-aligned fill gives the acronym and expanded words one continuous gradient. */
  background-image: radial-gradient(circle 22rem at var(--home-hero-pointer-x, 46vw) var(--home-hero-pointer-y, 34vh), var(--mfa-color-accent-500) 0%, var(--mfa-color-accent-600) 22%, transparent 60%), radial-gradient(ellipse at 14% 76%, var(--mfa-color-accent-600) 0%, transparent 46%), linear-gradient(110deg, var(--mfa-color-primary-500) 4%, var(--mfa-color-primary-500) 28%, var(--mfa-color-accent-600) 54%, var(--mfa-color-accent-500) 70%, var(--mfa-color-primary-500) 96%);
  background-position: 0% 50%, 100% 20%, 0% 50%;
  background-size: 210% 210%, 200% 200%, 180% 180%;
  background-clip: text;
  color: transparent;
  -webkit-background-clip: text;
  animation: home-mfa-mesh 7s ease-in-out infinite alternate;
}

.home-hero h1 > .home-hero__word {
  display: block;
  width: fit-content;
  white-space: nowrap;
  background: inherit;
  background-attachment: fixed;
}

.home-hero__initial,
.home-hero__rest {
  display: inline-block;
  background: inherit;
  /* Fixed attachment makes both spans share one continuous viewport-aligned fill. */
  background-attachment: fixed;
  background-clip: text;
  color: transparent;
}

/* The acronym establishes MFA first, then expands into its three full words. */
.home-hero__initial {
  /* Acronym letters fade in one by one without any spatial movement. */
  animation: home-mfa-initial-fade 0.38s ease-out var(--home-initial-delay, 0.1s) both;
}

.home-hero__rest {
  /* Reserve paint room for Lithuanian descenders without changing grid-row spacing. */
  padding-block: 0.125em;
  margin-block: -0.125em;
  animation: home-mfa-expand 1.1s cubic-bezier(0.22, 0.72, 0.2, 1) var(--home-rest-delay, 0.85s) both;
}

/* Keep the reveal and mesh clocks aligned for each word without overwriting either animation delay. */
.home-hero__word:nth-child(1) .home-hero__initial {
  --home-initial-delay: 0.1s;
}

.home-hero__word:nth-child(2) .home-hero__initial {
  --home-initial-delay: 0.38s;
}

.home-hero__word:nth-child(3) .home-hero__initial {
  --home-initial-delay: 0.66s;
}

.home-hero__word:nth-child(1) .home-hero__rest {
  --home-rest-delay: 1.18s;
}

.home-hero__word:nth-child(2) .home-hero__rest {
  --home-rest-delay: 1.43s;
}

.home-hero__word:nth-child(3) .home-hero__rest {
  --home-rest-delay: 1.68s;
}

@keyframes home-mfa-initial-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes home-mfa-expand {
  /* Keep Lithuanian descenders (for example the ogonek in „ų“) outside the compact display line box. */
  from {
    clip-path: inset(-0.125em 100% -0.125em 0);
    opacity: 0;
  }
  to {
    clip-path: inset(-0.125em);
    opacity: 1;
  }
}
@keyframes home-mfa-mesh {
  from {
    background-position: 0% 50%, 100% 20%, 0% 50%;
  }
  to {
    background-position: 100% 38%, 0% 74%, 100% 50%;
  }
}
/* Figma 6388:2108 follows Title immediately: y=733 after the 93px nav and 640px title. */
.home-facts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  padding: 0 var(--home-inline-inset);
}

.home-fact {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 1rem;
}

.home-fact__badge {
  position: relative;
  flex: 0 0 6.625rem;
  width: 6.625rem;
  height: 5.375rem;
}

.home-fact__badge img {
  position: absolute;
  display: block;
}

.home-fact__badge-back {
  top: 0;
  left: 0;
  width: 5.375rem;
  height: 5.375rem;
}

.home-fact__badge-front {
  top: 0;
  left: 1.25rem;
  width: 5.375rem;
  height: 5.375rem;
  animation: home-fact-tile-separate 0.5s ease-out 2s both;
}

.home-fact__check {
  /* The supplied Check asset needs a 2px optical correction towards the tile's right side. */
  top: 1.94515625rem;
  left: 3.13496875rem;
  margin-left: 0.125rem;
  width: 1.6050625rem;
  height: 1.4846875rem;
  animation: home-fact-tile-separate 0.5s ease-out 2s both;
}

/* Keep an 8px green rear-tile edge visible before it expands to Figma's final 20px separation. */
@keyframes home-fact-tile-separate {
  from {
    transform: translateX(-0.75rem);
  }
  to {
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero h1,
  .home-hero__initial,
  .home-hero__rest,
  .home-fact__badge-front,
  .home-fact__check {
    animation: none;
  }
}
.home-fact p {
  margin: 0;
  color: var(--mfa-color-text-primary);
  font-family: var(--mfa-font-family);
  /* Figma Title/M/400: interpolate 14/20 at 360px to the DS 20/28 desktop token. */
  font-size: clamp(0.875rem, 0.714285rem + 0.714285vw, var(--mfa-type-title-m-400-size));
  font-weight: var(--mfa-type-title-m-400-weight);
  line-height: clamp(1.25rem, 1.035714rem + 0.952381vw, var(--mfa-type-title-m-400-line-height));
  white-space: nowrap;
}

/* Figma 6620:3298 Scale: the next home-page section after the hero. */
.home-scale {
  position: relative;
  z-index: 1;
  /* Figma 6620:3298 Title/S/400 uses 18/26 in this section only. */
  --mfa-type-title-s-400-line-height: 1.625rem;
  padding: 8.75rem var(--home-inline-inset);
  background: var(--mfa-color-surface-soft);
}

@media (max-width: 83.5rem) {
  .home-scale {
    --mfa-type-title-s-400-line-height: 1.5rem;
  }
}
@media (max-width: 30rem) {
  .home-scale {
    --mfa-type-title-s-400-line-height: 1.25rem;
  }
}
.home-scale__content {
  display: grid;
  gap: 5rem;
}

.home-scale h2 {
  margin: 0;
  color: var(--mfa-color-text-primary);
  font-family: var(--mfa-font-family);
  font-size: var(--mfa-type-heading-xl-500-size);
  font-weight: var(--mfa-type-heading-xl-500-weight);
  line-height: var(--mfa-type-heading-xl-500-line-height);
  letter-spacing: var(--mfa-type-heading-xl-500-letter-spacing);
  text-align: center;
}

.home-scale__certifications {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.home-scale__certification {
  display: grid;
  flex: 0 0 auto;
  justify-items: center;
  gap: 1.25rem;
  margin: 0;
  text-align: center;
}

/* Figma 6620:3298 defines each certification card by its text-width content. */
.home-scale__certification--iso27001 {
  width: 12.75rem;
}

.home-scale__certification--gdpr,
.home-scale__certification--pci_dss,
.home-scale__certification--dora {
  width: 11.875rem;
}

.home-scale__certification--wcag {
  width: 14.6875rem;
}

.home-scale__badge {
  position: relative;
  display: block;
  width: 5.5rem;
  height: 5.5rem;
}

.home-scale__badge-background,
.home-scale__icon {
  position: absolute;
  display: block;
}

.home-scale__badge-background {
  inset: 0;
  width: 5.5rem;
  height: 5.5rem;
}

.home-scale__icon {
  top: 50%;
  left: calc(50% + 0.080625rem);
  width: 3.3970625rem;
  height: 3.3970625rem;
  transform: translate(-50%, -50%);
}

.home-scale__icon--iso27001 {
  transform: translate(-50%, -50%) scaleX(-1);
}

.home-scale__copy {
  display: grid;
  justify-items: center;
}

.home-scale__title,
.home-scale__description {
  margin: 0;
  color: var(--mfa-color-text-primary);
  font-family: var(--mfa-font-family);
}

.home-scale__description {
  font-size: var(--mfa-type-title-s-400-size);
  font-weight: var(--mfa-type-title-s-400-weight);
  line-height: var(--mfa-type-title-s-400-line-height);
  letter-spacing: var(--mfa-type-title-s-400-letter-spacing);
}

.home-scale__title {
  width: fit-content;
  margin-inline: auto;
  background-image: linear-gradient(102.656345deg, var(--mfa-color-accent-600) 71.828%, var(--mfa-color-text-secondary-2) 88.496%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-clip: text;
  color: transparent;
  font-size: var(--mfa-type-title-m-500-size);
  font-weight: var(--mfa-type-title-m-500-weight);
  line-height: var(--mfa-type-title-m-500-line-height);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Below the 1920px Figma desktop frame, reduce the display type before its longest word can wrap. */
@media (max-width: 90rem) {
  .home-nav__actions {
    gap: 2rem;
  }
  .home-nav__links {
    gap: 1rem;
  }
  .home-hero h1 {
    font-size: var(--home-hero-display-size, clamp(4rem, 8.4vw, 8rem));
    line-height: var(--home-hero-display-line-height, 0.8);
    letter-spacing: var(--home-hero-display-letter-spacing, clamp(0.25rem, 0.625vw, 0.625rem));
  }
  .home-facts {
    flex-wrap: wrap;
    gap: 2rem 3rem;
  }
  .home-scale {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  .home-scale h2 {
    font-size: var(--mfa-type-heading-xl-500-size);
    line-height: var(--mfa-type-heading-xl-500-line-height);
  }
  .home-scale__certifications {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
  .home-scale__certification {
    width: auto;
  }
}
/* The desktop navigation's fixed Figma spacing no longer fits below 1000px. */
@media (max-width: 62.5rem) {
  .home-nav {
    align-items: flex-start;
  }
  .home-nav__links {
    display: none;
  }
  .home-hero {
    padding-bottom: 4rem;
  }
  .home-hero__title {
    padding-top: 4rem;
  }
}
/* Keep the four compact facts in a readable 2×2 layout through the 360px Figma width. */
@media (max-width: 37.5rem) {
  .product-page .product-nav {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem var(--product-inline-inset);
  }
  .product-page .product-nav__logo,
  .product-page .product-nav__logo img {
    width: 8.0059375rem;
    height: auto;
  }
  .product-page .product-nav__contact {
    width: 100%;
    min-height: 2rem;
  }
  .product-page .home-hero {
    padding: 0 1rem 3.75rem;
  }
  .product-page .home-hero__title {
    padding: 2.5rem 0 3.75rem;
  }
  .product-page .home-facts {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 1.5rem 1rem;
    width: 100%;
    padding-inline: 0;
  }
  .product-page .home-fact {
    flex: 0 1 calc((100% - 1rem) / 2);
    min-width: 0;
    gap: 0.75rem;
    width: auto;
  }
  .product-page .home-fact__badge {
    flex: 0 0 4rem;
    width: 4rem;
    height: 3.25rem;
    margin-right: 0;
    transform: none;
  }
  .product-page .home-fact__badge-back,
  .product-page .home-fact__badge-front {
    width: 3.25rem;
    height: 3.25rem;
  }
  .product-page .home-fact__badge-front {
    left: 0.75rem;
  }
  .product-page .home-fact__check {
    top: 1.17959375rem;
    left: 1.89348125rem;
    margin-left: 0.075rem;
    width: 0.9630375rem;
    height: 0.8908125rem;
  }
}
/* Below the 360px design minimum the facts may safely become a single column. */
@media (max-width: 22.4375rem) {
  .home-nav {
    gap: 1rem;
    padding: 1rem;
  }
  .home-logo {
    width: 8.1950625rem;
  }
  .home-shell--mfa .home-nav__signin {
    min-height: 2.25rem;
    padding: 0 0.875rem;
    font-size: var(--mfa-type-button-m-600-mobile-size);
    line-height: var(--mfa-type-button-m-600-mobile-line-height);
  }
  .home-nav__signin img {
    width: 1rem;
    height: 1rem;
  }
  .home-hero {
    padding: 0 1rem 3rem;
  }
  .home-hero__title {
    padding: 4.5rem 0 3rem;
  }
  .home-hero h1 {
    gap: 0.75rem;
    font-size: 3.25rem;
    line-height: 0.9;
    letter-spacing: 0.125rem;
  }
  .product-page .home-hero {
    padding: 0 1rem 3.75rem;
  }
  .product-page .product-nav {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1rem;
  }
  .product-page .product-nav__logo,
  .product-page .product-nav__logo img {
    width: 8.0059375rem;
    height: auto;
  }
  .product-page .product-nav__contact {
    width: 100%;
    min-height: 2rem;
  }
  .product-page .home-hero__title {
    padding: var(--product-hero-title-block-start) 0 var(--product-section-block);
  }
  .product-page .home-hero h1 {
    gap: 0.75rem;
    font-size: 2.5rem;
    line-height: 2.25rem;
    letter-spacing: 0;
  }
  .product-page .home-facts {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .product-page .home-fact {
    gap: 0.75rem;
  }
  .product-page .home-fact__badge {
    flex: 0 0 4rem;
    width: 4rem;
    height: 3.25rem;
    margin-right: 0;
    transform: none;
  }
  .product-page .home-fact__badge-back,
  .product-page .home-fact__badge-front {
    width: 3.25rem;
    height: 3.25rem;
  }
  .product-page .home-fact__badge-front {
    left: 0.75rem;
  }
  .product-page .home-fact__check {
    top: 1.17959375rem;
    left: 1.89348125rem;
    margin-left: 0.075rem;
    width: 0.9630375rem;
    height: 0.8908125rem;
  }
  .home-facts {
    gap: 1.5rem;
    padding: 0;
  }
  .home-fact {
    gap: 0.75rem;
  }
  .home-fact__badge {
    transform: scale(0.72);
    transform-origin: left center;
    margin-right: -1.875rem;
  }
  .home-fact p {
    font-size: 1rem;
    line-height: 1.25rem;
  }
  .home-scale {
    padding: 3rem 1rem;
  }
  .home-scale__content {
    gap: 2.5rem;
  }
  .home-scale__certifications {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1rem;
  }
  .home-scale__certification {
    gap: 0.75rem;
  }
  .home-scale__description {
    font-size: 1rem;
    line-height: 1.375rem;
  }
}
@media (min-width: 22.5625rem) and (max-width: 62.5rem) {
  .home-scale__certifications {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* This follows the mobile header rules so the scrolled Figma CTA always hugs its content. */
@media (max-width: 37.5rem) {
  .product-page .product-nav__contact--floating {
    flex: 0 0 auto;
    width: auto;
  }
}
/* Hide the product contact CTA before the compact navigation starts stacking. */
@media (max-width: 41.25rem) {
  .product-page .product-nav__contact {
    display: none;
  }
}
/* Figma 6711:4172: the compact navigation keeps only logo and locale in the header. */
@media (max-width: 37.5rem) {
  .product-page .product-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: 1.875rem;
    align-items: center;
    column-gap: 1rem;
    row-gap: 1rem;
    width: 100%;
  }
  .product-page .product-nav__actions {
    display: contents;
  }
  .product-page .product-nav__logo {
    grid-row: 1;
    grid-column: 1;
    width: 8.125rem;
    height: 1.875rem;
  }
  .product-page .product-nav__logo img {
    width: 7.8788125rem;
    height: 1.8108125rem;
  }
  .product-page .product-nav__actions .mfa-language-switch {
    grid-row: 1;
    grid-column: 2;
    width: 2.75rem;
    min-height: 1.75rem;
  }
  .product-page .product-nav__actions .mfa-language-switch > summary {
    width: 2.75rem;
    min-height: 1.75rem;
    font-size: var(--mfa-type-navigation-s-500-size, 0.8125rem);
    line-height: var(--mfa-type-navigation-s-500-line-height, 1.125rem);
  }
  .product-page .product-nav__contact--floating {
    grid-row: auto;
    grid-column: auto;
  }
}
/* The product's compact layout uses the 40px/16px/60px Figma hero anchors. */
@media (max-width: 50rem) {
  /* Crop the same field to cover the full compact hero height. */
  .home-hero__pattern {
    top: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    overflow: hidden;
    filter: opacity(1);
  }
  /* Keep the compact wave's strongest band away from the title and facts. */
  .home-hero__pattern--playing {
    animation-name: home-hero-pattern-mask-wave-compact;
    animation-duration: 5s;
  }
  .home-hero__pattern > img {
    height: 100%;
    object-fit: cover;
    object-position: 70% 50%;
    transform: scale(1.28);
    transform-origin: 70% 50%;
  }
  .product-page .home-hero {
    padding: 0 1rem 3.75rem;
  }
  .product-page .home-hero__title {
    padding: 2.5rem 0 3.75rem;
  }
}
@keyframes home-hero-pattern-mask-wave-compact {
  0% {
    opacity: 0.05;
    mask-position: 28% 18%;
    -webkit-mask-position: 28% 18%;
  }
  14% {
    opacity: 0.12;
    mask-position: 42% 32%;
    -webkit-mask-position: 42% 32%;
  }
  40% {
    opacity: 0.45;
    mask-position: 72% 68%;
    -webkit-mask-position: 72% 68%;
  }
  60% {
    opacity: 0.2;
    mask-position: 85% 81%;
    -webkit-mask-position: 85% 81%;
  }
  78% {
    opacity: 0.04;
    mask-position: 98% 94%;
    -webkit-mask-position: 98% 94%;
  }
  100% {
    opacity: 0;
    mask-position: 110% 106%;
    -webkit-mask-position: 110% 106%;
  }
}
/* At tablet widths the facts already own the product inset. Match the title to
   that same line without adding the inset twice to the facts container. */
@media (min-width: 37.5625rem) and (max-width: 50rem) {
  .product-page .home-hero {
    padding-inline: 0;
  }
  .product-page .home-hero__title {
    padding-inline: var(--product-inline-inset);
  }
}
.information-page {
  background: var(--mfa-color-surface-default, #fff);
  color: var(--mfa-color-text-primary, #17364f);
  font-family: var(--mfa-font-family);
}

.information-page::before {
  display: none;
}

.information-page-shell {
  width: 100%;
  padding: clamp(1.5rem, 4vw, 3.75rem) var(--home-inline-inset);
}

.information-page-shell--privacy-policy {
  padding-bottom: 1.5rem;
}

.information-page-content {
  padding: 0;
  overflow-wrap: anywhere;
  font-size: var(--mfa-type-body-m-400-size);
  font-weight: var(--mfa-type-body-m-400-weight);
  line-height: var(--mfa-type-body-m-400-line-height);
}
.information-page-content h1,
.information-page-content h2,
.information-page-content h3 {
  color: var(--mfa-color-text-primary, #17364f);
}
.information-page-content h1 {
  max-width: 45rem;
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  font-size: var(--mfa-type-heading-xl-600-size);
  font-weight: var(--mfa-type-heading-xl-600-weight);
  line-height: var(--mfa-type-heading-xl-600-line-height);
}
.information-page-content h2 {
  margin: clamp(3rem, 5vw, 4rem) 0 1rem;
  font-size: var(--mfa-type-title-l-500-size);
  font-weight: var(--mfa-type-title-l-500-weight);
  line-height: var(--mfa-type-title-l-500-line-height);
  letter-spacing: var(--mfa-type-title-l-500-letter-spacing);
}
.information-page-content h3 {
  margin: clamp(3rem, 5vw, 4rem) 0 1rem;
  font-size: var(--mfa-type-subheading-l-600-size);
  font-weight: var(--mfa-type-subheading-l-600-weight);
  line-height: var(--mfa-type-subheading-l-600-line-height);
  letter-spacing: var(--mfa-type-subheading-l-600-letter-spacing);
}
.information-page-content p,
.information-page-content ul,
.information-page-content ol {
  max-width: 72rem;
  margin: 0 0 1.25rem;
  color: var(--mfa-color-text-secondary-3, #315a75);
  font-size: var(--mfa-type-body-m-400-size);
  font-weight: var(--mfa-type-body-m-400-weight);
  line-height: var(--mfa-type-body-m-400-line-height);
}
.information-page-content ul,
.information-page-content ol {
  padding-left: 1.5rem;
}
.information-page-content li + li {
  margin-top: 0.5rem;
}
.information-page-content a {
  color: var(--mfa-color-primary-500, #018578);
  font-weight: var(--mfa-weight-medium);
  text-underline-offset: 0.2em;
}
.information-page-content blockquote {
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  border-left: 0.25rem solid var(--mfa-color-accent-500, #15e0a6);
  border-radius: 0 var(--mfa-action-radius, 0.375rem) var(--mfa-action-radius, 0.375rem) 0;
  background: var(--mfa-color-surface-soft, #eef5f4);
}

.information-page-content--privacy-policy .information-page-body > div > h3 {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--mfa-color-border-default-neutral, rgba(129, 147, 159, 0.4));
}

.information-page-content--privacy-policy .information-page-body > div > h1:first-child + h3 {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.information-page-content--privacy-policy .information-page-body > div > h1:first-child {
  display: none;
}

.information-page-content--privacy-policy .information-page-body > div > p {
  font-size: var(--mfa-type-body-l-400-size);
  font-weight: var(--mfa-type-body-l-400-weight);
  line-height: var(--mfa-type-body-l-400-line-height);
  letter-spacing: var(--mfa-type-body-l-400-letter-spacing);
}

.information-page-footer {
  display: flex;
  justify-content: flex-start;
  margin-top: 2rem;
  padding: 1rem 0 clamp(1rem, 2vw, 1.5rem);
}

.information-page-shell + .product-footer {
  padding-top: var(--mfa-action-gap);
}

.information-page-content--privacy-policy .information-page-footer {
  padding-bottom: 0;
}

.information-page-shell--privacy-policy + .product-footer {
  padding-top: clamp(3rem, 0.76923vw + 2.826923rem, 3.75rem);
}

.information-page-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15rem;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.625rem 1rem;
  border: 1px solid var(--mfa-color-primary-500, #018578);
  border-radius: var(--mfa-action-radius, 0.375rem);
  color: var(--mfa-color-primary-500, #018578);
  font-size: var(--mfa-type-button-m-500-size);
  font-weight: var(--mfa-type-button-m-500-weight);
  line-height: var(--mfa-type-button-m-500-line-height);
  text-decoration: none;
}
.information-page-back img {
  width: 1.25rem;
  height: 1.25rem;
}
.information-page-back:hover {
  background: var(--mfa-color-surface-soft, #eef5f4);
}
.information-page-back:focus-visible {
  outline: 0.125rem solid var(--mfa-color-primary-500, #018578);
  outline-offset: 0.125rem;
}

.information-page-content .information-page-table-scroll {
  max-width: 100%;
  margin-block: 2rem;
  overflow: auto;
  overscroll-behavior-x: contain;
  border: 1px solid var(--mfa-color-border-default-neutral, rgba(129, 147, 159, 0.4));
  border-radius: 0.5rem;
}
.information-page-content table {
  width: 100%;
  min-width: 60rem;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  margin: 0;
}
.information-page-content td, .information-page-content th {
  padding: 1rem;
  border: 0;
  border-right: 1px solid var(--mfa-color-border-default-neutral, rgba(129, 147, 159, 0.4));
  border-bottom: 1px solid var(--mfa-color-border-default-neutral, rgba(129, 147, 159, 0.4));
  vertical-align: top;
  overflow-wrap: anywhere;
}
.information-page-content th:last-child, .information-page-content td:last-child {
  border-right: 0;
}
.information-page-content tbody tr:last-child td {
  border-bottom: 0;
}
.information-page-content td {
  font-size: var(--mfa-type-body-m-400-size);
  font-weight: var(--mfa-type-body-m-400-weight);
  line-height: var(--mfa-type-body-m-400-line-height);
}
.information-page-content th {
  background: var(--mfa-color-surface-soft, #eef5f4);
  color: var(--mfa-color-text-primary, #17364f);
  font-weight: var(--mfa-weight-semibold);
  text-align: left;
}
.information-page-content th:nth-child(1), .information-page-content td:nth-child(1) {
  width: 12%;
}
.information-page-content th:nth-child(2), .information-page-content td:nth-child(2) {
  width: 15%;
}
.information-page-content th:nth-child(3), .information-page-content td:nth-child(3) {
  width: 35%;
}
.information-page-content th:nth-child(4), .information-page-content td:nth-child(4) {
  width: 12%;
}
.information-page-content th:nth-child(5), .information-page-content td:nth-child(5) {
  width: 12%;
}
.information-page-content th:nth-child(6), .information-page-content td:nth-child(6) {
  width: 14%;
}
.information-page-content pre {
  padding: 1rem;
  overflow-x: auto;
  border-radius: var(--mfa-action-radius, 0.375rem);
  background: var(--mfa-color-surface-soft, #eef5f4);
  white-space: pre-wrap;
}
.information-page-content .ql-align-center {
  text-align: center;
}
.information-page-content .ql-align-right {
  text-align: right;
}
.information-page-content .ql-align-justify {
  text-align: justify;
}
.information-page-content .ql-size-small {
  font-size: 0.75em;
}
.information-page-content .ql-size-large {
  font-size: 1.5em;
}
.information-page-content .ql-size-huge {
  font-size: 2.5em;
}
.information-page-content .ql-indent-1 {
  padding-left: 2rem;
}
.information-page-content .ql-indent-2 {
  padding-left: 4rem;
}
.information-page-content .ql-indent-3 {
  padding-left: 6rem;
}
.information-page-content .ql-indent-4 {
  padding-left: 8rem;
}
.information-page-content .ql-indent-5 {
  padding-left: 10rem;
}
.information-page-content .ql-indent-6 {
  padding-left: 12rem;
}
.information-page-content .ql-indent-7 {
  padding-left: 14rem;
}
.information-page-content .ql-indent-8 {
  padding-left: 16rem;
}

@media (max-width: 40rem) {
  .information-page-content .information-page-table-scroll {
    max-height: 37.5rem;
  }
  .information-page-content h1 {
    margin-bottom: 2rem;
  }
}
@media (max-width: 50rem) {
  .information-page-back {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 37.5rem) {
  .information-page-shell {
    padding-block: 1.5rem;
  }
  .information-page-content .information-page-table-scroll {
    margin-block: 1.5rem;
  }
  .information-page-footer {
    margin-top: 2rem;
    padding-bottom: 0;
  }
}
.information-page-content .ql-color-black {
  color: black;
}
.information-page-content .ql-bg-black {
  background-color: black;
}

.information-page-content .ql-color-red {
  color: red;
}
.information-page-content .ql-bg-red {
  background-color: red;
}

.information-page-content .ql-color-orange {
  color: orange;
}
.information-page-content .ql-bg-orange {
  background-color: orange;
}

.information-page-content .ql-color-yellow {
  color: yellow;
}
.information-page-content .ql-bg-yellow {
  background-color: yellow;
}

.information-page-content .ql-color-green {
  color: green;
}
.information-page-content .ql-bg-green {
  background-color: green;
}

.information-page-content .ql-color-blue {
  color: blue;
}
.information-page-content .ql-bg-blue {
  background-color: blue;
}

.information-page-content .ql-color-purple {
  color: purple;
}
.information-page-content .ql-bg-purple {
  background-color: purple;
}

.information-page-content .ql-color-white {
  color: white;
}
.information-page-content .ql-bg-white {
  background-color: white;
}