/* ============================================================
   Bill Good Marketing — Talent Advantage Toolkit
   Self-contained production stylesheet.
   Tokens are copied verbatim from the BGM Design System
   (Brand & Style Guide v1.1) so this file has no external
   dependency on the _ds/ bundle.
   ============================================================ */

/* ---- Fonts (official brand typeface: Roboto) ---- */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,400&display=swap");

:root {
  /* ---- Brand blue ramp ---- */
  --blue-50:  #E6F2F8;
  --blue-100: #C4E1EF;
  --blue-200: #8FC8E2;
  --blue-300: #49A6D2;
  --blue-400: #0490CB; /* SKY BLUE — accent */
  --blue-500: #08658F; /* DARK BLUE — primary */
  --blue-600: #075778;
  --blue-700: #064862;
  --blue-800: #05374B;
  --blue-900: #042836;

  /* ---- Neutral ramp ---- */
  --gray-50:  #F7F7F7;
  --gray-100: #F2F2F2;
  --gray-200: #E5E5E5;
  --gray-300: #CCCCCC;
  --gray-400: #A6A6A6;
  --gray-500: #808080;
  --gray-600: #646464; /* LIGHT GRAY */
  --gray-700: #4A4A4A;
  --gray-800: #333333; /* DARK GRAY */
  --gray-900: #1A1A1A;
  --white:    #FFFFFF;
  --black:    #111111;

  /* ---- Semantic accents ---- */
  --green-500: #1F9D6B;
  --green-50:  #E7F5EE;
  --amber-500: #E0A33A;
  --amber-50:  #FBF1DD;
  --red-500:   #D1495B;
  --red-50:    #FBE9EC;

  /* ---- Brand gradient (the "bug") ---- */
  --gradient-brand: linear-gradient(135deg, #08658F 0%, #0490CB 100%);
  --gradient-brand-soft: linear-gradient(135deg, #0490CB 0%, #49A6D2 100%);

  /* ---- Semantic aliases ---- */
  --color-primary:        var(--blue-500);
  --color-primary-hover:  var(--blue-600);
  --color-primary-active: var(--blue-700);
  --color-accent:         var(--blue-400);
  --color-accent-hover:   var(--blue-500);

  --text-strong:   var(--gray-800);
  --text-body:     var(--gray-800);
  --text-muted:    var(--gray-600);
  --text-on-brand: var(--white);
  --text-link:     var(--blue-500);

  --surface-page:   var(--white);
  --surface-subtle: var(--gray-50);
  --surface-sunken: var(--gray-100);
  --surface-card:   var(--white);
  --surface-brand:  var(--blue-500);
  --surface-brand-bright: var(--blue-400);
  --surface-inverse: var(--gray-900);

  --border-subtle:  var(--gray-200);
  --border-default: var(--gray-300);
  --border-strong:  var(--gray-400);
  --border-brand:   var(--blue-400);

  --focus-ring: color-mix(in srgb, var(--blue-400) 45%, transparent);

  /* ---- Type families ---- */
  --font-display: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;

  /* ---- Weights ---- */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 500;
  --weight-bold: 700;
  --weight-black: 900;

  /* ---- Type scale ---- */
  --text-2xs: 0.6875rem;
  --text-xs:  0.75rem;
  --text-sm:  0.875rem;
  --text-base:1rem;
  --text-md:  1.125rem;
  --text-lg:  1.375rem;
  --text-xl:  1.75rem;
  --text-2xl: 2.25rem;
  --text-3xl: 2.875rem;
  --text-4xl: 3.75rem;
  --text-5xl: 4.75rem;

  /* ---- Line heights ---- */
  --leading-tight: 1.08;
  --leading-snug: 1.2;
  --leading-normal: 1.5;
  --leading-relaxed: 1.6;

  /* ---- Letter spacing ---- */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.12em;
  --tracking-widest: 0.22em;

  /* ---- Semantic type roles ---- */
  --type-display: var(--weight-black) var(--text-4xl)/var(--leading-tight) var(--font-display);
  --type-h1: var(--weight-bold) var(--text-3xl)/var(--leading-tight) var(--font-display);
  --type-h2: var(--weight-bold) var(--text-2xl)/var(--leading-snug) var(--font-display);
  --type-h3: var(--weight-medium) var(--text-xl)/var(--leading-snug) var(--font-display);
  --type-h4: var(--weight-medium) var(--text-lg)/var(--leading-snug) var(--font-display);
  --type-body-lg: var(--weight-regular) var(--text-md)/var(--leading-relaxed) var(--font-body);
  --type-body: var(--weight-regular) var(--text-base)/var(--leading-normal) var(--font-body);
  --type-body-sm: var(--weight-regular) var(--text-sm)/var(--leading-normal) var(--font-body);
  --type-eyebrow: var(--weight-bold) var(--text-xs)/1.2 var(--font-display);

  /* ---- Radii ---- */
  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-pill: 999px;

  /* ---- Border widths ---- */
  --border-hairline: 1px;
  --border-thick: 2px;
  --border-accent: 3px;

  /* ---- Shadows ---- */
  --shadow-xs: 0 1px 2px rgba(8, 101, 143, 0.08);
  --shadow-sm: 0 1px 3px rgba(8, 101, 143, 0.10), 0 1px 2px rgba(8, 101, 143, 0.06);
  --shadow-md: 0 4px 12px rgba(8, 101, 143, 0.10), 0 2px 4px rgba(8, 101, 143, 0.06);
  --shadow-lg: 0 12px 28px rgba(8, 101, 143, 0.14), 0 4px 8px rgba(8, 101, 143, 0.07);
  --shadow-xl: 0 24px 56px rgba(4, 40, 54, 0.20), 0 8px 16px rgba(4, 40, 54, 0.10);
  --shadow-brand: 0 10px 24px rgba(4, 144, 203, 0.30);
  --shadow-focus: 0 0 0 3px var(--focus-ring);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 120ms;
  --dur-base: 180ms;
  --dur-slow: 280ms;
  --transition-base: all var(--dur-base) var(--ease-out);

  color-scheme: light;
}

/* ============================================================
   Base
   ============================================================ */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--surface-page);
  color: var(--text-strong);
  font: var(--type-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  color: var(--text-strong);
  font-family: var(--font-display);
  letter-spacing: var(--tracking-tight);
}

p { margin: 0; }

a { color: var(--text-link); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
a:hover { color: var(--color-primary-hover); }

select, input, button { font-family: var(--font-body); }
select:focus, input:focus { border-color: var(--border-brand); box-shadow: var(--shadow-focus); }

::selection { background: color-mix(in srgb, var(--blue-400) 28%, transparent); }

/* ============================================================
   Keyframes (from prototype)
   ============================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes gateIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes bandGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes markerDrop { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes markerRise { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }
@keyframes countPop { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; }
}

/* ============================================================
   Layout shell
   ============================================================ */
.app-shell { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.wrap { max-width: 1080px; margin: 0 auto; padding: clamp(40px,7vw,80px) clamp(20px,5vw,32px); }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: clamp(32px,6vw,64px) clamp(20px,5vw,32px); }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,0.9);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}
.site-header__inner {
  max-width: 1080px; margin: 0 auto;
  padding: 13px clamp(16px,4vw,32px);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.site-header__logo { cursor: pointer; display: flex; align-items: center; background: none; border: none; padding: 0; }
.site-header__logo img { height: 30px; width: auto; display: block; }
.site-nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nav-tab {
  padding: 6px 2px; background: none; border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm);
  letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer;
  color: var(--text-muted); transition: var(--transition-base);
}
.nav-tab:hover { color: var(--color-primary); }
.nav-tab.is-active { color: var(--color-primary); border-bottom-color: var(--color-primary); }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--border-subtle); background: var(--surface-subtle); }
.site-footer__inner { max-width: 1080px; margin: 0 auto; padding: 34px clamp(16px,4vw,32px) 28px; }
.site-footer__top { display: flex; flex-wrap: wrap; gap: 24px 40px; justify-content: space-between; align-items: flex-start; }
.site-footer__brand { display: flex; flex-direction: column; gap: 2px; }
.site-footer__name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); letter-spacing: 0.02em; color: var(--text-strong); }
.site-footer__phone { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xl); letter-spacing: -0.01em; color: var(--color-primary); font-variant-numeric: tabular-nums; text-decoration: none; }
.site-footer__tag { font-family: var(--font-body); font-size: var(--text-xs); color: var(--text-muted); margin-top: 2px; }
.site-footer__legal { border-top: 1px solid var(--border-subtle); margin-top: 22px; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: space-between; align-items: center; }
.site-footer__legal span { font-family: var(--font-body); font-size: 11px; color: var(--text-muted); }

/* ============================================================
   Reusable component classes (mirror DS components)
   ============================================================ */

/* Eyebrow */
.eyebrow { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent); }

/* Buttons (from DS Button.jsx) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: var(--weight-bold);
  line-height: 1; letter-spacing: 0.01em;
  border: var(--border-thick) solid transparent; cursor: pointer;
  transition: var(--transition-base); white-space: nowrap;
}
.btn--lg { padding: 16px 34px; font-size: var(--text-md); border-radius: var(--radius-md); gap: 10px; }
.btn--md { padding: 12px 24px; font-size: var(--text-base); border-radius: var(--radius-md); gap: 8px; }
.btn--primary { background: var(--color-primary); color: var(--text-on-brand); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--color-primary-hover); }
.btn--bright { background: var(--color-accent); color: var(--text-on-brand); box-shadow: var(--shadow-brand); }
.btn--bright:hover { background: var(--color-accent-hover); }

/* Card (from DS Card.jsx) */
.card { position: relative; border-radius: var(--radius-lg); padding: var(--space, 2rem); overflow: hidden; }
.card--elevated { background: var(--surface-card); box-shadow: var(--shadow-md); border: 1px solid var(--gray-100); }
.card--brand { background: var(--surface-brand); color: var(--text-on-brand); border: none; }
.card--interactive { transition: var(--transition-base); cursor: pointer; }
.card--interactive:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card__accent { position: absolute; inset: 0 0 auto 0; height: var(--border-accent); background: var(--gradient-brand); }

/* Stat (from DS Stat.jsx) */
.stat { text-align: left; }
.stat__value { font-family: var(--font-display); font-weight: var(--weight-black); font-size: var(--text-4xl); line-height: 1; letter-spacing: var(--tracking-tight); color: var(--color-primary); font-variant-numeric: tabular-nums; }
.stat__label-row { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.stat__label { font-family: var(--font-body); font-size: var(--text-sm); color: var(--text-muted); letter-spacing: var(--tracking-wide); text-transform: uppercase; font-weight: var(--weight-semibold); }

/* Form primitives */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); color: var(--text-strong); }
.field__input { font: var(--type-body); color: var(--text-strong); background: var(--surface-card); padding: 11px 14px; border-radius: var(--radius-md); border: 1px solid var(--border-default); outline: none; width: 100%; box-sizing: border-box; transition: var(--transition-base); }
.field__hint { font-family: var(--font-body); font-size: var(--text-xs); color: var(--text-muted); line-height: 1.4; }
.note { font-family: var(--font-body); font-size: var(--text-xs); color: var(--text-muted); line-height: 1.5; }
.intro { font-family: var(--font-body); font-size: var(--text-md); line-height: 1.6; color: var(--text-strong); max-width: 66ch; }
.form-card { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(20px,3vw,32px); }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit,minmax(220px,1fr)); gap: 18px; }
.back-link { background: none; border: none; padding: 0; color: var(--color-accent); font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); cursor: pointer; white-space: nowrap; display: inline-block; }
.step-tag { font-family: var(--font-display); font-weight: 700; font-size: var(--text-lg); color: var(--color-primary); }

/* ============================================================
   Gate
   ============================================================ */
.gate {
  min-height: 100vh; position: relative; overflow: hidden;
  background: var(--surface-brand); display: flex; align-items: center; justify-content: center;
  padding: clamp(40px,8vh,96px) clamp(20px,5vw,32px);
}
.gate__bug { position: absolute; right: -90px; bottom: -90px; width: min(52vw,560px); opacity: 0.09; pointer-events: none; user-select: none; }
.gate__glow { position: absolute; inset: 0; background: radial-gradient(120% 90% at 15% 0%, rgba(4,144,203,0.35) 0%, rgba(8,101,143,0) 55%); pointer-events: none; }
.gate__inner { position: relative; max-width: 600px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; color: #fff; }
.gate__logo { animation: gateIn .55s var(--ease-out) both; animation-delay: .02s; }
.gate__logo img { height: 34px; width: auto; display: block; }
.gate__eyebrow { color: var(--blue-200); animation: gateIn .55s var(--ease-out) both; animation-delay: .1s; }
.gate__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(36px,7vw,64px); line-height: 1.02; letter-spacing: -0.02em; margin: 0; color: #fff; animation: gateIn .6s var(--ease-out) both; animation-delay: .16s; }
.gate__title span { color: var(--blue-200); }
.gate__lede { font: var(--type-body-lg); color: var(--blue-100); max-width: 52ch; margin: 0; animation: gateIn .6s var(--ease-out) both; animation-delay: .26s; }
.gate__cta { animation: gateIn .6s var(--ease-out) both; animation-delay: .36s; }
.gate__copyright { position: absolute; left: 0; right: 0; bottom: 20px; text-align: center; font-family: var(--font-body); font-size: 11px; color: var(--blue-200); opacity: 0.7; padding: 0 20px; }

/* ============================================================
   Hub
   ============================================================ */
.hub-hero { display: grid; grid-template-columns: repeat(auto-fit,minmax(300px,1fr)); gap: clamp(28px,4vw,56px); align-items: center; }
.hub-hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px,5vw,52px); line-height: 1.08; letter-spacing: -0.02em; color: var(--text-strong); margin: 16px 0 0; }
.hub-hero__title span { color: var(--color-primary); }
.brand-rule { width: 52px; height: 3px; background: var(--gradient-brand); border-radius: 2px; margin: 14px 0 0; }
.hero-proof { background: var(--gradient-brand); border-radius: var(--radius-xl); padding: clamp(26px,3vw,40px); color: #fff; box-shadow: var(--shadow-xl); display: flex; flex-direction: column; justify-content: center; min-height: 210px; }
.hero-proof__kicker { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-100); }
.hero-proof__figure { font-family: var(--font-display); font-weight: 900; font-size: clamp(54px,9vw,88px); line-height: 0.92; letter-spacing: -0.03em; margin-top: 10px; font-variant-numeric: tabular-nums; }
.hero-proof__figure span { font-size: 0.38em; font-weight: 700; }
.hero-proof__body { margin: 16px 0 0; font: var(--type-body); color: var(--blue-100); max-width: 34ch; }

.hub-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 22px; margin-top: 40px; }
.hub-card { display: flex; flex-direction: column; height: 100%; padding: var(--space-6, 2rem); }
.hub-card__inner { display: flex; flex-direction: column; height: 100%; }
.hub-card__head { display: flex; align-items: baseline; gap: 12px; }
.hub-card__index { font-family: var(--font-display); font-weight: 900; font-size: var(--text-2xl); line-height: 1; color: var(--blue-200); letter-spacing: -0.02em; }
.hub-card__title { font: var(--type-h3); color: var(--text-strong); margin: 14px 0 8px; min-height: 2.4em; }
.hub-card__body { font: var(--type-body); color: var(--text-muted); flex: 1; margin: 0; min-height: 7.5em; }
.hub-card__open { color: var(--color-accent); font-weight: 700; margin-top: 16px; }

.cta-card { margin-top: 60px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: var(--space-6, 2rem); }
.cta-card__kicker { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-100); }
.cta-card__title { font: var(--type-h3); color: #fff; margin-top: 6px; }
.cta-card__body { font: var(--type-body); color: var(--blue-100); margin-top: 6px; }
.hub-disclaimer { margin: 28px 0 0; font-family: var(--font-body); font-size: 11px; line-height: 1.5; color: var(--text-muted); opacity: 0.75; max-width: 88ch; }

/* ============================================================
   Tool mastheads (Retain / Attract / Maximize)
   ============================================================ */
.tool-index-row { display: flex; align-items: center; gap: clamp(16px,2.4vw,22px); margin-top: clamp(20px,3vw,30px); }
.tool-index { display: flex; align-items: baseline; font-family: var(--font-display); font-weight: 900; font-size: clamp(46px,7.4vw,80px); line-height: 0.82; letter-spacing: -0.04em; }
.tool-index__zero { color: var(--blue-200); }
.tool-index__digit { background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.tool-index__divider { width: 2px; align-self: stretch; min-height: clamp(40px,6vw,58px); background: var(--gradient-brand); border-radius: 2px; flex-shrink: 0; }
.tool-index__label { font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); letter-spacing: 0.26em; text-transform: uppercase; color: var(--color-accent); }
.tool-hairline { height: 1px; background: linear-gradient(to right, var(--blue-300) 0%, var(--blue-200) 30%, transparent 100%); margin-top: clamp(16px,2.4vw,22px); }
.tool-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px,4.6vw,42px); line-height: 1.1; letter-spacing: -0.02em; color: var(--text-strong); max-width: 20ch; text-wrap: balance; margin: clamp(18px,2.4vw,24px) 0 0; }

/* ---- Result callouts ---- */
.callout { margin-top: 22px; padding: 20px 22px; border-radius: var(--radius-lg); }
.callout__kicker { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xs); letter-spacing: 0.1em; text-transform: uppercase; }
.callout__body { margin: 8px 0 0; font: var(--type-body); color: var(--text-strong); }
.callout--red { background: var(--red-50); border-left: 4px solid var(--red-500); }
.callout--red .callout__kicker { color: var(--red-500); }
.callout--amber { background: var(--amber-50); border-left: 4px solid var(--amber-500); }
.callout--amber .callout__kicker { color: #9A6A14; }
.callout--green { background: var(--green-50); border-left: 4px solid var(--green-500); }
.callout--green .callout__kicker { color: var(--green-500); }
.callout--blue { background: var(--blue-50); border-left: 4px solid var(--color-primary); }
.callout--blue .callout__kicker { color: var(--color-primary); }

.result-brand-card { margin-top: 20px; box-shadow: var(--shadow-xl); padding: var(--space-6, 2rem); }
.result-stats { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 24px; }
.closer { margin-top: 26px; font-style: italic; color: var(--text-muted); }

.anim-fadeup { animation: fadeUp .32s ease both; }
/* Suppress entrance animations while live-patching Part 3 so digits don't flicker */
.part3-static, .part3-static * { animation: none !important; }

/* ---- Attract package summary ---- */
.pkg-summary { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 20px; margin-top: 26px; padding: 22px; background: var(--surface-subtle); border-radius: var(--radius-lg); }

/* ---- Attract Part 3 hero + gauge ---- */
.offer-hero { position: relative; overflow: hidden; padding: clamp(22px,3vw,34px); border-radius: var(--radius-xl); background: var(--gradient-brand); box-shadow: var(--shadow-xl); color: #fff; }
.offer-hero__bug { position: absolute; right: -46px; bottom: -46px; width: 190px; opacity: 0.1; pointer-events: none; user-select: none; }
.offer-hero__inner { position: relative; }
.offer-hero__kicker { font-family: var(--font-display); font-weight: 700; font-size: var(--text-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-100); }
.offer-hero__row { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.offer-hero__figure { font-family: var(--font-display); font-weight: 900; font-size: clamp(34px,6.5vw,56px); line-height: 0.95; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; animation: countPop .4s var(--ease-out) both; }
.offer-hero__figure .dash { color: var(--blue-200); font-weight: 700; }
.offer-hero__chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 999px; background: rgba(255,255,255,0.16); font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); white-space: nowrap; animation: countPop .4s var(--ease-out) .08s both; }
.offer-hero__body { margin: 12px 0 0; font: var(--type-body); color: var(--blue-100); max-width: 56ch; }

.gauge { position: relative; margin: 58px 8px 62px; height: 16px; }
.gauge__track { position: absolute; inset: 0; border-radius: 999px; background: var(--surface-subtle); border: 1px solid var(--border-subtle); }
.gauge__band { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: var(--gradient-brand); box-shadow: var(--shadow-brand); transform-origin: left center; animation: bandGrow .55s var(--ease-out) .12s both; }
.gauge__marker { position: absolute; display: flex; flex-direction: column; align-items: center; }
.gauge__marker--top { bottom: 100%; padding-bottom: 8px; animation: markerDrop .4s var(--ease-out) .32s both; }
.gauge__marker--bottom { top: 100%; padding-top: 8px; animation: markerRise .4s var(--ease-out) .4s both; }
.gauge__marker-label { white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: var(--text-xs); }
.gauge__tick { width: 2px; height: 14px; border-radius: 2px; }
.gauge__legend { display: flex; align-items: center; gap: 9px; padding-top: 14px; border-top: 1px solid var(--border-subtle); font: var(--type-body); font-size: var(--text-sm); color: var(--text-muted); }
.gauge__legend-swatch { width: 24px; height: 9px; border-radius: 999px; background: var(--gradient-brand); flex-shrink: 0; }
.gauge-note { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-md); font: var(--type-body); color: var(--text-strong); }
.gauge-note--amber { background: var(--amber-50); border-left: 4px solid var(--amber-500); }
.gauge-note--green { background: var(--green-50); border-left: 4px solid var(--green-500); }
.cautions { margin-top: 16px; padding: 16px 18px; border: 1px dashed var(--border-default); border-radius: var(--radius-md); background: var(--surface-subtle); font-family: var(--font-body); font-size: var(--text-xs); color: var(--text-muted); line-height: 1.5; }

/* ---- CFP checkbox field ---- */
.check-field { justify-content: flex-end; }
.check-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-family: var(--font-display); font-weight: 500; font-size: var(--text-sm); color: var(--text-strong); }
.check-label input { width: 18px; height: 18px; accent-color: var(--color-primary); }

/* ============================================================
   Maximize rubric
   ============================================================ */
.rubric-group { margin-bottom: 14px; margin-top: 8px; }
.rubric-group__sub { font: var(--type-h4); color: var(--text-strong); margin-top: 4px; }
.rubric-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border-subtle); }
.rubric-row__text { flex: 1; min-width: 220px; font: var(--type-body); color: var(--text-strong); }
.rubric-row__text strong { color: var(--color-primary); }
.rubric-row__buttons { display: flex; gap: 6px; }
.score-btn { flex: 1; min-width: 38px; padding: 9px 0; border-radius: var(--radius-md); border: 1.5px solid var(--border-default); font-family: var(--font-display); font-weight: 700; font-size: var(--text-base); cursor: pointer; transition: var(--transition-base); background: var(--surface-card); color: var(--text-muted); }
.score-btn:hover { border-color: var(--border-brand); }
.score-btn.is-active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
.rubric-total { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 20px; }
.rubric-lowest { text-align: right; font-family: var(--font-body); font-size: var(--text-xs); color: var(--text-muted); line-height: 1.5; }
.rubric-lowest strong { color: var(--text-strong); font-size: var(--text-sm); }
.rubric-legend { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-subtle); font-family: var(--font-body); font-size: var(--text-xs); color: var(--text-muted); line-height: 1.5; }
.rubric-legend strong { color: var(--text-strong); }
.m-callout { padding: 20px 22px; border-radius: var(--radius-lg); }
