/* =========================================================
   FINANCE MYTH BUSTERS
   ANNUAL FINANCIAL CHECKUP — COMPLETE TABBED TOOL
========================================================= */

.fmb-checkup,
.fmb-checkup * {
  box-sizing: border-box;
}

.fmb-checkup {
  --fmb-navy: #07182f;
  --fmb-navy-deep: #03101f;
  --fmb-navy-soft: #13263e;
  --fmb-gold: #d4b678;
  --fmb-gold-hover: #e2c587;
  --fmb-gold-dark: #a8823a;
  --fmb-heading: #071426;
  --fmb-body: #65738a;
  --fmb-muted: #8791a0;
  --fmb-white: #ffffff;
  --fmb-cream: #f8f6f1;
  --fmb-cream-dark: #f2eee6;
  --fmb-border: #e3ded4;
  --fmb-field-border: #cdc5b8;
  --fmb-danger: #a65252;
  --fmb-success: #5f806d;

  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 48px 3% 70px;
  overflow-x: hidden;
  scroll-margin-top: 100px;
  background: var(--fmb-cream);
  color: var(--fmb-heading);
  font-family: inherit;
}

.fmb-checkup button,
.fmb-checkup input,
.fmb-checkup select {
  font: inherit;
}

.fmb-checkup button {
  cursor: pointer;
}

.fmb-checkup a {
  text-decoration: none;
}

.fmb-checkup [hidden] {
  display: none !important;
}

/* =========================================================
   ELEMENTOR RESET
========================================================= */

/* Modern Elementor "Container" layouts (flexbox-based). */
.e-con:has(.fmb-checkup) {
  --content-width: 100% !important;

  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
}

/* Legacy Elementor "Section / Column" layouts, used via the Shortcode
   widget on financemythbusters.com/annual-financial-checkup/. A column
   with a fixed or flex-shrink:0 width (common with older/boxed section
   configurations) will not shrink for narrow viewports on its own,
   forcing the tool to overflow horizontally even though the tool's own
   CSS is fully fluid. Confirmed live: .elementor-container computed to
   1143px wide on a 375px viewport before this rule was added. */
.elementor-widget-html:has(.fmb-checkup),
.elementor-widget-shortcode:has(.fmb-checkup),
.elementor-shortcode:has(.fmb-checkup),
.elementor-widget-wrap:has(.fmb-checkup),
.elementor-column:has(.fmb-checkup),
.elementor-container:has(.fmb-checkup) {
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 100% !important;
}

.fmb-checkup__inner {
  width: 100%;
  max-width: 1540px;
  margin: 0 auto;
}

/* =========================================================
   INTRODUCTION
========================================================= */

.fmb-checkup__intro {
  display: grid;
  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(350px, 0.72fr);
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--fmb-border);
  border-radius: 4px;
  background: var(--fmb-white);
  box-shadow: 0 12px 32px rgba(7, 24, 47, 0.045);
}

.fmb-checkup__intro-copy {
  position: relative;
  min-width: 0;
  padding: 34px 35px 32px;
}

.fmb-checkup__intro-copy::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 35px;
  width: 69px;
  height: 2px;
  background: var(--fmb-gold-dark);
}

.fmb-checkup__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 11px;
  color: var(--fmb-gold-dark) !important;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fmb-checkup__eyebrow::before {
  content: "";
  width: 29px;
  height: 1px;
  flex: 0 0 29px;
  background: currentColor;
}

.fmb-checkup__intro h2 {
  max-width: 920px;
  margin: 0 0 14px;
  color: var(--fmb-heading);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(34px, 3.4vw, 47px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.fmb-checkup__intro-copy > p {
  max-width: 880px;
  margin: 0;
  color: var(--fmb-body);
  font-size: 14px;
  line-height: 1.75;
}

.fmb-checkup__intro-copy strong {
  color: var(--fmb-heading);
}

.fmb-checkup__guidance {
  padding: 31px 30px 28px;
  border-left: 1px solid var(--fmb-border);
  background: var(--fmb-cream-dark);
}

.fmb-checkup__guidance-heading {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  margin-bottom: 17px;
}

.fmb-checkup__guidance-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(168, 130, 58, 0.3);
  border-radius: 50%;
  background: var(--fmb-white);
  color: var(--fmb-gold-dark);
}

.fmb-checkup__guidance-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fmb-checkup__guidance-label {
  display: block;
  margin: 0 0 4px;
  color: var(--fmb-gold-dark) !important;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fmb-checkup__guidance h3 {
  margin: 0;
  color: var(--fmb-heading);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.fmb-checkup__guidance ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--fmb-border);
}

.fmb-checkup__guidance li {
  display: grid;
  grid-template-columns: 19px minmax(0, 1fr);
  gap: 9px;
  padding: 11px 0;
  border-bottom: 1px solid var(--fmb-border);
  color: var(--fmb-body);
  font-size: 11.5px;
  line-height: 1.55;
}

.fmb-checkup__guidance li::before {
  content: "✓";
  color: var(--fmb-gold-dark);
  font-weight: 800;
}

/* =========================================================
   PROGRESS
========================================================= */

.fmb-checkup__progress {
  margin-bottom: 18px;
  padding: 19px 22px 17px;
  border: 1px solid var(--fmb-border);
  border-radius: 4px;
  background: var(--fmb-white);
}

.fmb-checkup__progress-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}

.fmb-checkup__progress-title {
  color: var(--fmb-heading);
  font-size: 12px;
  font-weight: 700;
}

.fmb-checkup__progress-value {
  color: var(--fmb-gold-dark);
  font-size: 11px;
  font-weight: 700;
}

.fmb-checkup__progress-track {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--fmb-cream-dark);
}

.fmb-checkup__progress-fill {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    var(--fmb-gold-dark),
    var(--fmb-gold)
  );
  transition: width 0.25s ease;
}

/* =========================================================
   TABS
========================================================= */

.fmb-checkup__tablist {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
  margin-bottom: 14px;
}

.fmb-checkup__tab {
  --tab-accent: var(--fmb-gold-dark);

  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  min-height: 84px;
  padding: 13px 12px;
  border: 1px solid var(--fmb-border);
  border-radius: 4px;
  outline: none;
  background: var(--fmb-white);
  color: var(--fmb-body);
  text-align: left;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.fmb-checkup__tab::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 12px;
  width: 37px;
  height: 2px;
  background: var(--tab-accent);
  transform: scaleX(0.45);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.fmb-checkup__tab:hover {
  border-color: var(--tab-accent);
  color: var(--fmb-heading);
  transform: translateY(-2px);
}

.fmb-checkup__tab:hover::before,
.fmb-checkup__tab[aria-selected="true"]::before {
  transform: scaleX(1);
}

.fmb-checkup__tab[aria-selected="true"] {
  border-color: var(--tab-accent);
  background: var(--fmb-navy);
  color: var(--fmb-white);
}

.fmb-checkup__tab-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  border: 1px solid var(--tab-accent);
  border-radius: 50%;
  background: var(--fmb-cream);
  color: var(--tab-accent);
  font-size: 8px;
  font-weight: 800;
}

.fmb-checkup__tab[aria-selected="true"]
  .fmb-checkup__tab-number {
  background: var(--tab-accent);
  color: var(--fmb-navy);
}

.fmb-checkup__tab.is-complete
  .fmb-checkup__tab-number {
  font-size: 0;
}

.fmb-checkup__tab.is-complete
  .fmb-checkup__tab-number::after {
  content: "✓";
  font-size: 11px;
}

.fmb-checkup__tab-text {
  display: block;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
}

/* =========================================================
   ASSESSMENT PANELS
========================================================= */

.fmb-checkup__panel {
  --panel-accent: var(--fmb-gold-dark);
  --panel-soft: rgba(168, 130, 58, 0.09);

  overflow: hidden;
  border: 1px solid var(--fmb-border);
  border-radius: 4px;
  background: var(--fmb-white);
  box-shadow: 0 12px 30px rgba(7, 24, 47, 0.045);
}

.fmb-checkup__panel:focus-visible {
  outline: 3px solid var(--fmb-gold-dark);
  outline-offset: -3px;
}

.fmb-checkup__panel-header {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 19px;
  padding: 27px 29px 24px;
  border-bottom: 1px solid var(--fmb-border);
  background:
    radial-gradient(
      circle at 96% 5%,
      var(--panel-soft),
      transparent 31%
    ),
    var(--fmb-white);
}

.fmb-checkup__panel-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--panel-accent),
    rgba(212, 182, 120, 0.65),
    transparent
  );
}

.fmb-checkup__panel-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  border: 1px solid var(--panel-accent);
  border-radius: 50%;
  background: var(--fmb-navy);
  color: var(--fmb-gold);
  font-size: 13px;
  font-weight: 800;
}

.fmb-checkup__panel-heading span {
  display: block;
  margin-bottom: 5px;
  color: var(--panel-accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fmb-checkup__panel-heading h2 {
  margin: 0 0 6px;
  color: var(--fmb-heading);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(27px, 2.5vw, 34px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.032em;
}

.fmb-checkup__panel-heading p {
  max-width: 930px;
  margin: 0;
  color: var(--fmb-body);
  font-size: 13px;
  line-height: 1.65;
}

.fmb-checkup__section-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 29px;
  padding: 7px 10px;
  border: 1px solid var(--panel-accent);
  border-radius: 999px;
  background: var(--panel-soft);
  color: var(--panel-accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.fmb-checkup__section-count::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--panel-accent);
}

/* Questions */

.fmb-checkup__questions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 27px 29px 29px;
}

.fmb-checkup__question {
  min-width: 0;
  padding: 21px 20px 20px;
  border: 1px solid var(--fmb-border);
  border-radius: 4px;
  background: var(--fmb-cream);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.fmb-checkup__question:hover {
  border-color: var(--panel-accent);
  background: #fbfaf7;
}

.fmb-checkup__question:focus-within {
  border-color: var(--panel-accent);
  background: var(--fmb-white);
  box-shadow: 0 0 0 3px var(--panel-soft);
}

.fmb-checkup__question--wide {
  grid-column: 1 / -1;
}

.fmb-checkup__question.has-error {
  border-color: var(--fmb-danger);
  box-shadow: 0 0 0 3px rgba(166, 82, 82, 0.08);
}

.fmb-checkup__question-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 25px;
  margin-bottom: 12px;
  padding: 0 7px;
  border: 1px solid var(--panel-accent);
  border-radius: 999px;
  background: var(--fmb-white);
  color: var(--panel-accent);
  font-size: 9px;
  font-weight: 800;
}

.fmb-checkup__label {
  display: block;
  margin-bottom: 7px;
  color: var(--fmb-heading);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.fmb-checkup__helper {
  display: block;
  margin-bottom: 12px;
  color: var(--fmb-body);
  font-size: 10.5px;
  line-height: 1.55;
}

.fmb-checkup__select-wrap {
  position: relative;
}

.fmb-checkup__select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 17px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--fmb-navy);
  border-bottom: 2px solid var(--fmb-navy);
  pointer-events: none;
  transform: translateY(-67%) rotate(45deg);
}

.fmb-checkup__select {
  width: 100%;
  min-height: 49px;
  margin: 0;
  padding: 11px 45px 11px 14px;
  border: 1px solid var(--fmb-field-border);
  border-radius: 3px;
  outline: none;
  appearance: none;
  background: var(--fmb-white);
  color: var(--fmb-heading);
  font-size: 12px;
  line-height: 1.4;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.fmb-checkup__select:hover,
.fmb-checkup__select:focus {
  border-color: var(--panel-accent);
}

.fmb-checkup__select:focus {
  box-shadow: 0 0 0 3px var(--panel-soft);
}

.fmb-checkup__select:invalid {
  color: var(--fmb-muted);
}

.fmb-checkup__select option {
  color: var(--fmb-heading);
  background: var(--fmb-white);
}

/* Panel footer */

.fmb-checkup__panel-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 18px 29px;
  border-top: 1px solid var(--fmb-border);
  background: var(--fmb-cream-dark);
}

.fmb-checkup__panel-note {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.fmb-checkup__panel-note-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--panel-accent);
  border-radius: 50%;
  background: var(--fmb-white);
  color: var(--panel-accent);
}

.fmb-checkup__panel-note-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fmb-checkup__panel-note p {
  margin: 0;
  color: var(--fmb-body);
  font-size: 10.5px;
  line-height: 1.55;
}

.fmb-checkup__panel-note strong {
  color: var(--fmb-heading);
}

.fmb-checkup__navigation {
  display: flex;
  align-items: center;
  gap: 9px;
}

/* =========================================================
   BUTTONS
========================================================= */

.fmb-checkup__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 45px;
  padding: 11px 17px;
  border: 1px solid var(--fmb-navy);
  border-radius: 3px;
  background: var(--fmb-navy);
  color: var(--fmb-white);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.fmb-checkup__button:hover {
  border-color: var(--fmb-gold-dark);
  background: var(--fmb-gold-dark);
  transform: translateY(-1px);
}

.fmb-checkup__button:focus-visible {
  outline: 3px solid var(--fmb-gold-dark);
  outline-offset: 2px;
}

.fmb-checkup__button--secondary {
  border-color: var(--fmb-border);
  background: var(--fmb-white);
  color: var(--fmb-heading);
}

.fmb-checkup__button--secondary:hover {
  border-color: var(--fmb-gold-dark);
  background: var(--fmb-white);
  color: var(--fmb-heading);
}

.fmb-checkup__button--gold {
  border-color: var(--fmb-gold);
  background: var(--fmb-gold);
  color: var(--fmb-navy);
}

.fmb-checkup__button--gold:hover {
  border-color: var(--fmb-gold-hover);
  background: var(--fmb-gold-hover);
  color: var(--fmb-navy);
}

.fmb-checkup__button svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fmb-checkup__error {
  margin: 13px 0 0;
  padding: 11px 14px;
  border-left: 3px solid var(--fmb-danger);
  background: rgba(166, 82, 82, 0.08);
  color: var(--fmb-danger);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
}

/* =========================================================
   EMAIL RESULTS GATE
========================================================= */

.fmb-checkup__gate {
  display: grid;
  grid-template-columns:
    minmax(0, 1.03fr)
    minmax(390px, 0.77fr);
  margin-top: 25px;
  overflow: hidden;
  border: 1px solid rgba(212, 182, 120, 0.32);
  border-radius: 4px;
  background: var(--fmb-white);
  box-shadow: 0 18px 50px rgba(7, 24, 47, 0.08);
}

.fmb-checkup__gate-preview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  align-items: center;
  gap: 36px;
  min-width: 0;
  padding: 47px 42px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 92% 10%,
      rgba(212, 182, 120, 0.15),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      var(--fmb-navy) 0%,
      var(--fmb-navy-deep) 100%
    );
}

.fmb-checkup__gate-preview::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 42px;
  width: 73px;
  height: 2px;
  background: var(--fmb-gold);
}

.fmb-checkup__gate-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 11px;
  color: var(--fmb-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fmb-checkup__gate-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.fmb-checkup__gate-preview h2 {
  max-width: 720px;
  margin: 0 0 14px;
  color: var(--fmb-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(35px, 3.3vw, 48px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.fmb-checkup__gate-preview-copy {
  max-width: 720px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.72;
}

.fmb-checkup__gate-benefits {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fmb-checkup__gate-benefits li {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 9px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.5;
}

.fmb-checkup__gate-benefits svg {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  fill: none;
  stroke: var(--fmb-gold);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fmb-checkup__gate-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 150px;
  border: 2px solid var(--fmb-gold);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 0 8px rgba(212, 182, 120, 0.07);
  text-align: center;
}

.fmb-checkup__gate-score svg {
  width: 31px;
  height: 31px;
  margin-bottom: 10px;
  fill: none;
  stroke: var(--fmb-gold);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fmb-checkup__gate-score strong {
  color: var(--fmb-white);
  font-size: 12px;
}

.fmb-checkup__gate-score span {
  margin-top: 4px;
  color: var(--fmb-gold);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fmb-checkup__gate-form {
  position: relative;
  padding: 43px 36px 37px;
  background: var(--fmb-white);
}

.fmb-checkup__gate-form::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 36px;
  width: 64px;
  height: 2px;
  background: var(--fmb-gold-dark);
}

.fmb-checkup__gate-form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--fmb-gold-dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fmb-checkup__gate-form h3 {
  margin: 0 0 11px;
  color: var(--fmb-heading);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 29px;
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.03em;
}

.fmb-checkup__gate-form-intro {
  margin: 0 0 20px;
  color: var(--fmb-body);
  font-size: 12px;
  line-height: 1.65;
}

.fmb-checkup__email-label {
  display: block;
  margin-bottom: 7px;
  color: var(--fmb-heading);
  font-size: 11px;
  font-weight: 700;
}

.fmb-checkup__email-input {
  width: 100%;
  min-height: 50px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid var(--fmb-field-border);
  border-radius: 3px;
  outline: none;
  background: var(--fmb-white);
  color: var(--fmb-heading);
  font-size: 13px;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.fmb-checkup__email-input:hover,
.fmb-checkup__email-input:focus {
  border-color: var(--fmb-gold-dark);
}

.fmb-checkup__email-input:focus {
  box-shadow: 0 0 0 3px rgba(168, 130, 58, 0.1);
}

.fmb-checkup__optin {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  margin: 0 0 16px;
  color: var(--fmb-body);
  font-size: 10.5px;
  line-height: 1.55;
  cursor: pointer;
}

.fmb-checkup__optin input {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--fmb-gold-dark);
}

.fmb-checkup__gate-privacy {
  margin: 12px 0 0;
  color: var(--fmb-muted);
  font-size: 9.5px;
  line-height: 1.55;
}

.fmb-checkup__gate-privacy a {
  color: var(--fmb-gold-dark) !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

.fmb-checkup__gate-error {
  margin: 13px 0 0;
  padding: 10px 12px;
  border-left: 3px solid var(--fmb-danger);
  background: rgba(166, 82, 82, 0.08);
  color: var(--fmb-danger);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.5;
}

/* =========================================================
   RESULTS
========================================================= */

.fmb-checkup__results {
  margin-top: 25px;
  overflow: hidden;
  border: 1px solid rgba(212, 182, 120, 0.3);
  border-radius: 4px;
  background: var(--fmb-white);
  box-shadow: 0 18px 50px rgba(7, 24, 47, 0.07);
}

.fmb-checkup__results-hero {
  position: relative;
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(280px, 0.55fr);
  align-items: center;
  gap: 50px;
  padding: 43px 42px;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 90% 8%,
      rgba(212, 182, 120, 0.14),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      var(--fmb-navy) 0%,
      var(--fmb-navy-deep) 100%
    );
}

.fmb-checkup__results-hero::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 42px;
  width: 74px;
  height: 2px;
  background: var(--fmb-gold);
}

.fmb-checkup__result-source {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--fmb-gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fmb-checkup__result-source::before {
  content: "";
  width: 25px;
  height: 1px;
  background: currentColor;
}

.fmb-checkup__results-hero h2 {
  margin: 0 0 12px;
  color: var(--fmb-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(35px, 3.7vw, 50px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.fmb-checkup__results-summary {
  max-width: 850px;
  margin: 0;
  color: rgba(255, 255, 255, 0.69);
  font-size: 14px;
  line-height: 1.72;
}

.fmb-checkup__score {
  text-align: center;
}

.fmb-checkup__score-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 155px;
  height: 155px;
  margin: 0 auto 13px;
  border: 2px solid var(--fmb-gold);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 0 8px rgba(212, 182, 120, 0.07);
}

.fmb-checkup__score-number {
  color: var(--fmb-white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 49px;
  font-weight: 800;
  line-height: 1;
}

.fmb-checkup__score-unit {
  margin-top: 5px;
  color: var(--fmb-gold);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fmb-checkup__score-label {
  color: var(--fmb-white);
  font-size: 12px;
  font-weight: 700;
}

.fmb-checkup__results-body {
  padding: 30px;
  background: var(--fmb-cream);
}

.fmb-checkup__results-heading {
  margin: 0 0 20px;
  color: var(--fmb-heading);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 800;
}

.fmb-checkup__category-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.fmb-checkup__result-card {
  --result-accent: var(--fmb-gold-dark);

  position: relative;
  min-width: 0;
  padding: 19px 17px 17px;
  border: 1px solid var(--fmb-border);
  border-radius: 4px;
  background: var(--fmb-white);
}

.fmb-checkup__result-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 17px;
  width: 39px;
  height: 2px;
  background: var(--result-accent);
}

.fmb-checkup__result-card > span {
  display: block;
  margin-bottom: 6px;
  color: var(--result-accent);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fmb-checkup__result-card h3 {
  margin: 0 0 10px;
  color: var(--fmb-heading);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px;
  font-weight: 800;
}

.fmb-checkup__result-bar {
  height: 6px;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--fmb-cream-dark);
}

.fmb-checkup__result-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--result-accent);
}

.fmb-checkup__result-score {
  color: var(--fmb-body);
  font-size: 11px;
  font-weight: 700;
}

.fmb-checkup__priorities {
  margin-top: 25px;
  padding: 24px;
  border: 1px solid var(--fmb-border);
  border-radius: 4px;
  background: var(--fmb-white);
}

.fmb-checkup__priority-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fmb-checkup__priority-item {
  display: grid;
  grid-template-columns: 31px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid var(--fmb-border);
  border-radius: 3px;
  background: var(--fmb-cream);
}

.fmb-checkup__priority-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: var(--fmb-navy);
  color: var(--fmb-gold);
  font-size: 10px;
  font-weight: 800;
}

.fmb-checkup__priority-item strong {
  display: block;
  margin-bottom: 3px;
  color: var(--fmb-heading);
  font-size: 12px;
}

.fmb-checkup__priority-item p {
  margin: 0;
  color: var(--fmb-body);
  font-size: 11px;
  line-height: 1.55;
}

/* =========================================================
   SHARE BOX
========================================================= */

.fmb-checkup__share-box {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  margin-top: 22px;
  padding: 17px 18px;
  border: 1px solid rgba(168, 130, 58, 0.25);
  border-left: 3px solid var(--fmb-gold);
  background: rgba(212, 182, 120, 0.08);
}

.fmb-checkup__share-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(168, 130, 58, 0.28);
  border-radius: 50%;
  background: var(--fmb-white);
  color: var(--fmb-gold-dark);
}

.fmb-checkup__share-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fmb-checkup__share-box strong {
  display: block;
  margin-bottom: 4px;
  color: var(--fmb-heading);
  font-size: 12px;
}

.fmb-checkup__share-box p {
  margin: 0;
  color: var(--fmb-body);
  font-size: 10.5px;
  line-height: 1.55;
}

.fmb-checkup__results-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.fmb-checkup__share-status {
  width: 100%;
  margin: 3px 0 0;
  color: var(--fmb-success);
  font-size: 10.5px;
  font-weight: 700;
}

.fmb-checkup__screen-source {
  margin: 22px 0 0;
  padding-top: 17px;
  border-top: 1px solid var(--fmb-border);
  color: var(--fmb-muted);
  font-size: 9.5px;
  line-height: 1.55;
  text-align: center;
}

.fmb-checkup__screen-source strong {
  color: var(--fmb-heading);
}

/* =========================================================
   DISCLAIMER
========================================================= */

.fmb-checkup__disclaimer {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 13px;
  margin-top: 18px;
  padding: 17px 19px;
  border-left: 3px solid var(--fmb-gold);
  background: var(--fmb-cream-dark);
}

.fmb-checkup__disclaimer-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  border: 1px solid rgba(168, 130, 58, 0.27);
  border-radius: 50%;
  background: var(--fmb-white);
  color: var(--fmb-gold-dark);
}

.fmb-checkup__disclaimer-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.fmb-checkup__disclaimer p {
  margin: 0;
  color: var(--fmb-body);
  font-size: 11px;
  line-height: 1.65;
}

.fmb-checkup__disclaimer strong {
  color: var(--fmb-heading);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1180px) {
  .fmb-checkup__tablist {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .fmb-checkup__category-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fmb-checkup__gate {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(350px, 0.76fr);
  }

  .fmb-checkup__gate-preview {
    grid-template-columns: minmax(0, 1fr);
  }

  .fmb-checkup__gate-score {
    width: 125px;
    height: 125px;
  }
}

@media (max-width: 900px) {
  .fmb-checkup__intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .fmb-checkup__guidance {
    border-top: 1px solid var(--fmb-border);
    border-left: 0;
  }

  .fmb-checkup__panel-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .fmb-checkup__section-count {
    grid-column: 2;
    width: fit-content;
  }
}

@media (max-width: 767px) {
  .fmb-checkup {
    padding: 36px 20px 51px;
  }

  /* iOS Safari auto-zooms on focus when a field's font-size is
     under 16px; the form is almost entirely selects, so this
     would otherwise zoom on nearly every tap. */
  .fmb-checkup__select,
  .fmb-checkup__email-input {
    font-size: 16px;
  }

  .fmb-checkup__intro-copy {
    padding: 29px 21px 26px;
  }

  .fmb-checkup__intro-copy::before {
    left: 21px;
  }

  .fmb-checkup__intro h2 {
    font-size: 35px;
  }

  .fmb-checkup__guidance {
    padding: 25px 21px 22px;
  }

  .fmb-checkup__progress-row {
    align-items: flex-start;
  }

  .fmb-checkup__tablist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .fmb-checkup__tab {
    min-width: 0;
  }

  .fmb-checkup__tab:last-child {
    grid-column: 1 / -1;
  }

  .fmb-checkup__panel-header {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 25px 20px 21px;
  }

  .fmb-checkup__section-count {
    grid-column: auto;
  }

  .fmb-checkup__questions {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 18px 15px 20px;
  }

  .fmb-checkup__question,
  .fmb-checkup__question--wide {
    grid-column: auto;
    padding: 19px 16px 18px;
  }

  .fmb-checkup__panel-footer {
    grid-template-columns: minmax(0, 1fr);
    padding: 17px 20px 20px;
  }

  .fmb-checkup__panel-note {
    grid-template-columns: minmax(0, 1fr);
  }

  .fmb-checkup__navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fmb-checkup__button {
    width: 100%;
  }

  .fmb-checkup__button:only-child {
    grid-column: 1 / -1;
  }

  .fmb-checkup__gate {
    grid-template-columns: minmax(0, 1fr);
  }

  .fmb-checkup__gate-preview {
    grid-template-columns: minmax(0, 1fr);
    gap: 27px;
    padding: 37px 21px;
  }

  .fmb-checkup__gate-preview::before {
    left: 21px;
  }

  .fmb-checkup__gate-preview h2 {
    font-size: 36px;
  }

  .fmb-checkup__gate-score {
    margin: 0 auto;
  }

  .fmb-checkup__gate-form {
    padding: 31px 21px 29px;
  }

  .fmb-checkup__gate-form::before {
    left: 21px;
  }

  .fmb-checkup__results-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 37px 21px;
  }

  .fmb-checkup__results-hero::before {
    left: 21px;
  }

  .fmb-checkup__results-body {
    padding: 22px 15px;
  }

  .fmb-checkup__category-results {
    grid-template-columns: minmax(0, 1fr);
  }

  .fmb-checkup__share-box,
  .fmb-checkup__disclaimer {
    grid-template-columns: minmax(0, 1fr);
  }

  .fmb-checkup__results-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .fmb-checkup *,
  .fmb-checkup *::before,
  .fmb-checkup *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
