/*
Theme Name: Veterans Living Benefits v1.0.4
Theme URI: https://veteranslivingbenefits.com
Author: Veterans Living Benefits
Description: Premium, mobile-first Veterans Living Benefits website and quote experience.
Version: 1.0.4
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: veterans-living-benefits
*/

:root {
  --vlb-navy: #071c3c;
  --vlb-navy-2: #0b2b58;
  --vlb-blue: #1678d3;
  --vlb-blue-bright: #43a7f3;
  --vlb-blue-light: #eef8ff;
  --vlb-orange: #e3b23f;
  --vlb-orange-dark: #a87510;
  --vlb-cream: #fbf7ed;
  --vlb-white: #ffffff;
  --vlb-ink: #11223b;
  --vlb-muted: #5b6980;
  --vlb-line: #dfe7f1;
  --vlb-success: #137a57;
  --vlb-danger: #b42318;
  --vlb-shadow: 0 24px 60px rgba(7, 28, 60, 0.14);
  --vlb-shadow-soft: 0 12px 30px rgba(7, 28, 60, 0.09);
  --vlb-radius: 26px;
  --vlb-radius-small: 16px;
  --vlb-max: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--vlb-ink);
  background: var(--vlb-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.vlb-menu-open { overflow: hidden; }

a { color: var(--vlb-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--vlb-orange-dark); }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 12px 16px;
  z-index: 100000;
  color: var(--vlb-navy);
  background: var(--vlb-white);
  border-radius: 8px;
}

.vlb-shell { width: min(calc(100% - 40px), var(--vlb-max)); margin-inline: auto; }
.vlb-section { padding: 92px 0; }
.vlb-section--soft { background: #f5f9fd; }
.vlb-section--cream { background: var(--vlb-cream); }
.vlb-section--navy { color: var(--vlb-white); background: var(--vlb-navy); }

.vlb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  color: var(--vlb-orange-dark);
  font-size: 0.79rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.vlb-eyebrow::before {
  content: "";
  width: 28px;
  height: 3px;
  background: var(--vlb-orange);
  border-radius: 999px;
}

.vlb-eyebrow--center { justify-content: center; color: #d79814; }

.vlb-heading {
  max-width: 760px;
  margin: 0;
  color: var(--vlb-navy);
  font-size: clamp(2.1rem, 5vw, 4.15rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.vlb-heading--center { margin-inline: auto; text-align: center; }
.vlb-heading--light { color: var(--vlb-white); }

.vlb-lede {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--vlb-muted);
  font-size: clamp(1.05rem, 2vw, 1.23rem);
}

.vlb-lede--center { margin-inline: auto; text-align: center; }
.vlb-lede--light { color: rgba(255, 255, 255, 0.76); }

.vlb-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  color: var(--vlb-white);
  background: linear-gradient(135deg, var(--vlb-blue), var(--vlb-blue-bright));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(23, 109, 204, 0.3);
  cursor: pointer;
  font-weight: 820;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.vlb-button:hover,
.vlb-button:focus-visible {
  color: var(--vlb-white);
  background: linear-gradient(135deg, #0f58ad, #217fd8);
  box-shadow: 0 16px 30px rgba(23, 109, 204, 0.36);
  transform: translateY(-2px);
}

.vlb-button:focus-visible,
.vlb-choice:focus-visible,
.vlb-input:focus-visible,
.vlb-select:focus-visible,
.vlb-menu-toggle:focus-visible {
  outline: 3px solid rgba(245, 130, 32, 0.35);
  outline-offset: 3px;
}

.vlb-button--navy {
  background: linear-gradient(135deg, var(--vlb-navy-2), var(--vlb-blue));
  box-shadow: 0 12px 24px rgba(11, 43, 88, 0.22);
}

.vlb-button--navy:hover,
.vlb-button--navy:focus-visible {
  background: linear-gradient(135deg, var(--vlb-navy), var(--vlb-navy-2));
}

.vlb-button--ghost {
  color: var(--vlb-navy);
  background: var(--vlb-white);
  border: 1px solid var(--vlb-line);
  box-shadow: none;
}

.vlb-button--ghost:hover,
.vlb-button--ghost:focus-visible {
  color: var(--vlb-navy);
  background: var(--vlb-blue-light);
  box-shadow: none;
}

.vlb-button--wide { width: 100%; }
.vlb-button[disabled] { opacity: 0.58; cursor: wait; transform: none; }

/* Header */
.vlb-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 231, 241, 0.84);
  backdrop-filter: blur(18px);
}

.vlb-header__inner {
  display: flex;
  min-height: 128px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.vlb-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--vlb-navy);
  text-decoration: none;
}

.vlb-brand:hover { color: var(--vlb-navy); }
.vlb-brand,
.custom-logo-link {
  position: relative;
  display: block;
  flex: 0 0 185px;
  width: 185px;
  height: 118px;
  overflow: hidden;
}
.vlb-brand img,
.vlb-brand--logo img,
.custom-logo-link img {
  position: absolute;
  top: -67.2px;
  left: -41.8px;
  display: block;
  width: 281.9px;
  max-width: none;
  height: 281.9px;
  max-height: none;
  object-fit: contain;
}

.vlb-brand__badge {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--vlb-white);
  background: var(--vlb-navy);
  border-radius: 12px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.vlb-brand__copy { display: grid; line-height: 1; }
.vlb-brand__copy strong { font-size: 1.03rem; letter-spacing: 0.08em; }
.vlb-brand__copy span { margin-top: 6px; color: var(--vlb-orange-dark); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.15em; }

.vlb-nav { display: flex; align-items: center; gap: 28px; }
.vlb-nav a { color: var(--vlb-navy); font-size: 0.94rem; font-weight: 720; text-decoration: none; }
.vlb-nav a:hover { color: var(--vlb-orange-dark); }
.vlb-nav .vlb-button { color: var(--vlb-white); }

.vlb-menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--vlb-navy);
  background: var(--vlb-white);
  border: 1px solid var(--vlb-line);
  border-radius: 13px;
  cursor: pointer;
  font-size: 1.35rem;
}

/* Hero */
.vlb-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 76px;
  color: var(--vlb-white);
  background:
    radial-gradient(circle at 15% 5%, rgba(157, 218, 255, 0.4), transparent 32%),
    radial-gradient(circle at 86% 20%, rgba(255, 213, 108, 0.17), transparent 27%),
    linear-gradient(135deg, #0c4c89 0%, #1268b2 54%, #3aa3ee 100%);
}

.vlb-hero::before,
.vlb-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.vlb-hero::before { top: -180px; right: -110px; width: 520px; height: 520px; border-color: rgba(255, 255, 255, 0.18); }
.vlb-hero::after { right: 250px; bottom: -360px; width: 650px; height: 650px; }

.vlb-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(390px, 0.98fr);
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
}

.vlb-hero-visual {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: #0b2b58;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  box-shadow: 0 30px 70px rgba(4, 44, 85, 0.28);
  isolation: isolate;
}

.vlb-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 46%, rgba(3, 21, 46, 0.9) 100%);
  pointer-events: none;
}

.vlb-hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
}

.vlb-hero-visual__note {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  left: 24px;
  padding: 20px 22px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(4, 21, 47, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  backdrop-filter: blur(10px);
}

.vlb-hero-visual__note strong { display: block; color: #fff; font-size: 1.08rem; }
.vlb-hero-visual__note span { display: block; margin-top: 5px; font-size: 0.88rem; line-height: 1.45; }

.vlb-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  color: #0b416f;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.vlb-hero h1 {
  max-width: 760px;
  margin: 21px 0 20px;
  color: var(--vlb-white);
  font-size: clamp(2.8rem, 6.2vw, 5.55rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.vlb-hero h1 em { color: #ffd66f; font-style: normal; }

.vlb-hero__copy > p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.07rem, 2vw, 1.25rem);
}

.vlb-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.vlb-hero__actions .vlb-button--ghost { color: #0b4b82; background: rgba(255, 255, 255, 0.94); border-color: rgba(255, 255, 255, 0.72); }
.vlb-hero__actions .vlb-button--ghost:hover { color: #07365e; background: #fff; }

.vlb-hero__microcopy {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  list-style: none;
}

.vlb-hero__microcopy li::before { content: "✓"; margin-right: 7px; color: var(--vlb-orange); font-weight: 900; }

.vlb-hero-card {
  position: relative;
  padding: 31px;
  color: var(--vlb-ink);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 30px;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.22);
}

.vlb-hero-card::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 28px;
  width: 72px;
  height: 10px;
  background: var(--vlb-orange);
  border-radius: 999px 999px 0 0;
}

.vlb-hero-card__label { color: var(--vlb-orange-dark); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.vlb-hero-card h2 { margin: 9px 0 10px; color: var(--vlb-navy); font-size: 1.85rem; line-height: 1.1; letter-spacing: -0.035em; }
.vlb-hero-card > p { margin: 0; color: var(--vlb-muted); font-size: 0.95rem; }

.vlb-hero-card__list { display: grid; gap: 12px; margin: 24px 0; padding: 0; list-style: none; }
.vlb-hero-card__list li { display: flex; align-items: flex-start; gap: 11px; font-size: 0.94rem; font-weight: 680; }
.vlb-hero-card__list li span { display: grid; flex: 0 0 25px; width: 25px; height: 25px; place-items: center; color: var(--vlb-white); background: var(--vlb-success); border-radius: 50%; font-size: 0.75rem; }

/* Trust strip */
.vlb-trust-strip { border-bottom: 1px solid #d4e9f8; background: #f1f9ff; }
.vlb-trust-strip__inner { display: grid; grid-template-columns: repeat(3, 1fr); }
.vlb-trust-item { display: flex; min-height: 92px; align-items: center; justify-content: center; gap: 12px; padding: 20px; color: var(--vlb-navy); font-size: 0.91rem; font-weight: 790; text-align: center; }
.vlb-trust-item + .vlb-trust-item { border-left: 1px solid var(--vlb-line); }
.vlb-trust-item b { display: grid; width: 33px; height: 33px; place-items: center; color: var(--vlb-orange-dark); background: var(--vlb-cream); border-radius: 10px; }

/* Cards and grids */
.vlb-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.vlb-card {
  position: relative;
  overflow: hidden;
  padding: 31px;
  background: var(--vlb-white);
  border: 1px solid var(--vlb-line);
  border-radius: var(--vlb-radius);
  box-shadow: var(--vlb-shadow-soft);
}

.vlb-card::after { content: ""; position: absolute; top: 0; right: 0; width: 70px; height: 5px; background: var(--vlb-orange); border-radius: 0 0 0 999px; }
.vlb-card__number { display: grid; width: 49px; height: 49px; place-items: center; color: var(--vlb-white); background: linear-gradient(135deg, var(--vlb-blue), var(--vlb-blue-bright)); border-radius: 15px; box-shadow: 0 9px 18px rgba(22, 120, 211, 0.22); font-weight: 900; }
.vlb-card h3 { margin: 21px 0 10px; color: var(--vlb-navy); font-size: 1.35rem; line-height: 1.2; }
.vlb-card p { margin: 0; color: var(--vlb-muted); }
.vlb-card__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: #0d66b4; font-size: .9rem; font-weight: 820; text-decoration: none; }
.vlb-card__link:hover { color: #0a4f8c; }

.vlb-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(42px, 8vw, 100px); }

.vlb-protection-panel {
  position: relative;
  min-height: 490px;
  padding: 38px;
  overflow: hidden;
  color: var(--vlb-white);
  background:
    radial-gradient(circle at 82% 18%, rgba(245, 130, 32, 0.28), transparent 29%),
    linear-gradient(145deg, var(--vlb-navy), #0d477e);
  border-radius: 32px;
  box-shadow: var(--vlb-shadow);
}

.vlb-protection-panel h3 { max-width: 460px; margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.04; letter-spacing: -0.045em; }
.vlb-protection-panel p { max-width: 480px; color: rgba(255, 255, 255, 0.75); }
.vlb-protection-panel__quote { position: absolute; right: 34px; bottom: 34px; left: 34px; padding: 24px; color: var(--vlb-ink); background: rgba(255, 255, 255, 0.95); border-radius: 20px; }
.vlb-protection-panel__quote strong { display: block; color: var(--vlb-navy); font-size: 1.12rem; }
.vlb-protection-panel__quote span { display: block; margin-top: 5px; color: var(--vlb-muted); font-size: 0.86rem; }

.vlb-check-list { display: grid; gap: 16px; margin: 30px 0 0; padding: 0; list-style: none; }
.vlb-check-list li { display: flex; align-items: flex-start; gap: 13px; }
.vlb-check-list li::before { content: "✓"; display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; color: var(--vlb-white); background: var(--vlb-orange); border-radius: 50%; font-size: 0.8rem; font-weight: 900; }
.vlb-check-list strong { display: block; color: var(--vlb-navy); }
.vlb-check-list span { display: block; color: var(--vlb-muted); font-size: 0.94rem; }

/* Needs */
.vlb-needs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin-top: 28px; }
.vlb-need { padding: 18px 20px; background: var(--vlb-white); border: 1px solid var(--vlb-line); border-radius: 16px; font-size: 0.94rem; font-weight: 760; }
.vlb-need::before { content: "•"; margin-right: 8px; color: var(--vlb-orange); font-size: 1.35rem; line-height: 0; }

/* FAQ */
.vlb-faq { max-width: 850px; margin: 42px auto 0; }
.vlb-faq details { border-bottom: 1px solid var(--vlb-line); }
.vlb-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 0; color: var(--vlb-navy); cursor: pointer; font-weight: 810; list-style: none; }
.vlb-faq summary::-webkit-details-marker { display: none; }
.vlb-faq summary::after { content: "+"; display: grid; flex: 0 0 32px; width: 32px; height: 32px; place-items: center; color: var(--vlb-orange-dark); background: var(--vlb-cream); border-radius: 50%; font-size: 1.2rem; }
.vlb-faq details[open] summary::after { content: "−"; }
.vlb-faq details p { margin: -7px 50px 24px 0; color: var(--vlb-muted); }

/* CTA */
.vlb-cta { position: relative; overflow: hidden; padding: 60px; color: var(--vlb-white); background: linear-gradient(135deg, var(--vlb-navy), var(--vlb-blue)); border-radius: 34px; box-shadow: var(--vlb-shadow); }
.vlb-cta::after { content: ""; position: absolute; top: -120px; right: -90px; width: 350px; height: 350px; border: 60px solid rgba(245, 130, 32, 0.13); border-radius: 50%; }
.vlb-cta__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.vlb-cta h2 { max-width: 650px; margin: 0; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.04; letter-spacing: -0.045em; }
.vlb-cta p { max-width: 620px; margin: 14px 0 0; color: rgba(255, 255, 255, 0.73); }

/* Funnel */
.vlb-funnel-page {
  --vlb-funnel-navy: #033d77;
  --vlb-funnel-blue: #054da7;
  --vlb-funnel-blue-soft: #eff7ff;
  --vlb-funnel-orange: #fcbb23;
  --vlb-funnel-orange-deep: #f4a500;
  --vlb-funnel-cream: #f8f0d9;
  --vlb-funnel-line: #cfddea;
  --vlb-funnel-muted: #617c9d;
  min-height: calc(100vh - 82px);
  padding: 44px 0 80px;
  background: linear-gradient(120deg, var(--vlb-funnel-blue-soft) 0%, #f7f9f5 52%, var(--vlb-funnel-cream) 100%);
}

.vlb-funnel-status { display: flex; max-width: 960px; align-items: center; gap: 16px; margin: 0 auto 25px; color: var(--vlb-funnel-muted); font-size: 0.82rem; font-weight: 760; }
.vlb-progress { flex: 1; height: 8px; overflow: hidden; background: #d9e4ee; border-radius: 999px; }
.vlb-progress__bar { width: 10%; height: 100%; background: linear-gradient(90deg, var(--vlb-funnel-orange), #ffd568); border-radius: inherit; transition: width 260ms ease; }

.vlb-funnel-card {
  display: grid;
  max-width: 960px;
  min-height: 590px;
  margin: 0 auto;
  grid-template-columns: 0.72fr 1.28fr;
  overflow: hidden;
  background: var(--vlb-white);
  border: 1px solid var(--vlb-funnel-line);
  border-radius: 31px;
  box-shadow: var(--vlb-shadow);
}

.vlb-funnel-aside { display: flex; flex-direction: column; justify-content: space-between; padding: 38px; color: var(--vlb-white); background: linear-gradient(155deg, var(--vlb-funnel-navy), var(--vlb-funnel-blue)); }
.vlb-funnel-aside__step { color: var(--vlb-funnel-orange); font-size: 0.75rem; font-weight: 850; letter-spacing: 0.11em; text-transform: uppercase; }
.vlb-funnel-aside h1 { margin: 13px 0 13px; color: var(--vlb-white); font-size: clamp(2rem, 4vw, 3.05rem); line-height: 1.03; letter-spacing: -0.045em; }
.vlb-funnel-aside p { margin: 0; color: rgba(255, 255, 255, 0.73); font-size: 0.95rem; }
.vlb-funnel-aside__trust { padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.69); font-size: 0.78rem; }

.vlb-funnel-main { display: flex; min-width: 0; flex-direction: column; padding: clamp(30px, 5vw, 54px); }
.vlb-step { display: none; flex: 1; animation: vlbFade 220ms ease; }
.vlb-step.is-active { display: flex; flex-direction: column; }
@keyframes vlbFade { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }

.vlb-step__count { margin: 0 0 9px; color: var(--vlb-funnel-orange-deep); font-size: 0.76rem; font-weight: 850; letter-spacing: 0.09em; text-transform: uppercase; }
.vlb-step h2 { margin: 0; color: var(--vlb-funnel-navy); font-size: clamp(1.75rem, 4vw, 2.45rem); line-height: 1.08; letter-spacing: -0.035em; }
.vlb-step__help { margin: 11px 0 0; color: var(--vlb-funnel-muted); font-size: 0.92rem; }

.vlb-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.vlb-choice-grid--single { grid-template-columns: 1fr; }
.vlb-choice {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: 13px;
  padding: 15px 17px;
  color: var(--vlb-funnel-navy);
  background: var(--vlb-white);
  border: 1px solid var(--vlb-funnel-line);
  border-radius: 16px;
  cursor: pointer;
  font-weight: 730;
  line-height: 1.25;
  text-align: left;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease, transform 150ms ease;
}

.vlb-choice:hover { border-color: #8bb9df; background: var(--vlb-funnel-blue-soft); transform: translateY(-1px); }
.vlb-choice.is-selected { color: var(--vlb-funnel-navy); background: #edf6ff; border-color: var(--vlb-funnel-blue); box-shadow: 0 0 0 3px rgba(5, 77, 167, 0.1); }
.vlb-choice__mark { display: grid; flex: 0 0 29px; width: 29px; height: 29px; place-items: center; color: var(--vlb-funnel-blue); background: #e3f0fb; border-radius: 9px; font-size: 0.79rem; font-weight: 900; }
.vlb-choice.is-selected .vlb-choice__mark { color: var(--vlb-white); background: var(--vlb-funnel-blue); }

.vlb-fields { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; margin-top: 27px; }
.vlb-field { display: grid; gap: 7px; }
.vlb-field--full { grid-column: 1 / -1; }
.vlb-field label { color: var(--vlb-funnel-navy); font-size: 0.84rem; font-weight: 790; }
.vlb-input,
.vlb-select {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  color: var(--vlb-ink);
  background: var(--vlb-white);
  border: 1px solid #cfdbea;
  border-radius: 13px;
  outline: none;
}

.vlb-input:focus,
.vlb-select:focus { border-color: var(--vlb-funnel-blue); box-shadow: 0 0 0 4px rgba(5, 77, 167, 0.1); }
.vlb-input[aria-invalid="true"], .vlb-select[aria-invalid="true"] { border-color: var(--vlb-danger); }

.vlb-dob { display: grid; grid-template-columns: 1fr 0.9fr 1.15fr; gap: 10px; margin-top: 28px; }
.vlb-consent { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; color: var(--vlb-muted); font-size: 0.73rem; line-height: 1.45; }
.vlb-consent input { flex: 0 0 auto; margin-top: 3px; accent-color: var(--vlb-funnel-blue); }
.vlb-consent a { color: var(--vlb-funnel-blue); }

.vlb-funnel-page .vlb-button {
  color: var(--vlb-funnel-navy);
  background: linear-gradient(135deg, var(--vlb-funnel-orange), #ffd568);
  box-shadow: 0 12px 28px rgba(252, 187, 35, 0.28);
}

.vlb-funnel-page .vlb-button:hover {
  color: var(--vlb-funnel-navy);
  box-shadow: 0 16px 34px rgba(252, 187, 35, 0.34);
}

.vlb-funnel-actions { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: auto; padding-top: 32px; }
.vlb-back { min-height: 45px; padding: 10px 5px; color: var(--vlb-muted); background: transparent; border: 0; cursor: pointer; font-size: 0.86rem; font-weight: 760; }
.vlb-back:hover { color: var(--vlb-navy); }
.vlb-back[hidden] { display: block; visibility: hidden; }

.vlb-error { display: none; margin: 18px 0 0; padding: 12px 14px; color: var(--vlb-danger); background: #fff1f0; border: 1px solid #ffd0cc; border-radius: 12px; font-size: 0.84rem; }
.vlb-error.is-visible { display: block; }

.vlb-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.vlb-success { display: none; max-width: 720px; margin: 0 auto; padding: clamp(34px, 7vw, 70px); text-align: center; background: var(--vlb-white); border: 1px solid var(--vlb-line); border-radius: 31px; box-shadow: var(--vlb-shadow); }
.vlb-success.is-visible { display: block; animation: vlbFade 220ms ease; }
.vlb-success__check { display: grid; width: 72px; height: 72px; margin: 0 auto 22px; place-items: center; color: var(--vlb-white); background: var(--vlb-success); border-radius: 50%; font-size: 2rem; font-weight: 900; }
.vlb-success h1 { margin: 0; color: var(--vlb-navy); font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.04em; }
.vlb-success p { max-width: 560px; margin: 16px auto 0; color: var(--vlb-muted); }
.vlb-success .vlb-button { margin-top: 26px; }

/* Booking and legal */
.vlb-page-hero { padding: 70px 0 45px; color: var(--vlb-white); background: linear-gradient(135deg, #0c4c89, #2389d6 72%, #53b5f3); text-align: center; }
.vlb-page-hero h1 { margin: 0; color: var(--vlb-white); font-size: clamp(2.35rem, 5vw, 4.4rem); line-height: 1.02; letter-spacing: -0.045em; }
.vlb-page-hero p { max-width: 700px; margin: 18px auto 0; color: rgba(255, 255, 255, 0.76); }
.vlb-content { width: min(calc(100% - 40px), 820px); margin-inline: auto; padding: 65px 0 90px; }
.vlb-content h2, .vlb-content h3 { color: var(--vlb-navy); line-height: 1.2; }
.vlb-content h2 { margin-top: 42px; }
.vlb-content p, .vlb-content li { color: var(--vlb-muted); }

.vlb-booking-card { max-width: 930px; margin: -26px auto 0; padding: 26px; background: var(--vlb-white); border: 1px solid var(--vlb-line); border-radius: 28px; box-shadow: var(--vlb-shadow); }
.vlb-booking-frame { width: 100%; min-height: 720px; border: 0; border-radius: 18px; }
.vlb-booking-empty { padding: 55px 25px; text-align: center; }

/* Footer */
.vlb-footer { color: rgba(255, 255, 255, 0.72); background: #041226; }
.vlb-footer__top { display: grid; grid-template-columns: 1.2fr 0.8fr 0.8fr; gap: 50px; padding: 66px 0 40px; }
.vlb-footer .vlb-brand {
  color: var(--vlb-white);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
}
.vlb-footer__about { max-width: 470px; margin: 18px 0 0; font-size: 0.9rem; }
.vlb-footer h3 { margin: 0 0 16px; color: var(--vlb-white); font-size: 0.93rem; }
.vlb-footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.vlb-footer a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.vlb-footer a:hover { color: var(--vlb-orange); }
.vlb-footer__bottom { display: flex; justify-content: space-between; gap: 25px; padding: 24px 0 32px; border-top: 1px solid rgba(255, 255, 255, 0.11); font-size: 0.74rem; }
.vlb-footer__disclosure { max-width: 810px; }

.vlb-cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  left: 22px;
  z-index: 2000;
  display: flex;
  width: min(calc(100% - 44px), 980px);
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-inline: auto;
  padding: 20px 22px;
  color: var(--vlb-ink);
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--vlb-line);
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(7, 28, 60, 0.24);
}
.vlb-cookie-banner[hidden] { display: none; }
.vlb-cookie-banner strong { color: var(--vlb-navy); }
.vlb-cookie-banner p { max-width: 650px; margin: 4px 0 0; color: var(--vlb-muted); font-size: 0.78rem; line-height: 1.45; }
.vlb-cookie-banner__actions { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; }
.vlb-cookie-banner .vlb-button { min-height: 44px; padding: 10px 17px; font-size: 0.8rem; }
.vlb-cookie-secondary { min-height: 44px; padding: 10px 15px; color: var(--vlb-navy); background: var(--vlb-white); border: 1px solid var(--vlb-line); border-radius: 999px; cursor: pointer; font-size: 0.8rem; font-weight: 780; }

@media (max-width: 960px) {
  .vlb-nav { display: none; position: fixed; top: 128px; right: 0; bottom: 0; left: 0; align-content: start; flex-direction: column; align-items: stretch; gap: 7px; padding: 28px 20px; background: var(--vlb-white); }
  .vlb-menu-open .vlb-nav { display: flex; }
  .vlb-nav a { padding: 12px; text-align: center; }
  .vlb-menu-toggle { display: grid; }
  .vlb-hero__grid, .vlb-split { grid-template-columns: 1fr; }
  .vlb-hero__copy { text-align: center; }
  .vlb-hero__copy > p { margin-inline: auto; }
  .vlb-hero__actions, .vlb-hero__microcopy { justify-content: center; }
  .vlb-hero-card { max-width: 610px; margin-inline: auto; }
  .vlb-card-grid { grid-template-columns: 1fr; }
  .vlb-card { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; }
  .vlb-card h3 { margin-top: 2px; }
  .vlb-card p { grid-column: 2; }
  .vlb-card__link { grid-column: 2; }
  .vlb-funnel-card { grid-template-columns: 1fr; }
  .vlb-funnel-aside { min-height: auto; padding: 27px 30px; }
  .vlb-funnel-aside h1 { font-size: 2rem; }
  .vlb-funnel-aside__trust { margin-top: 22px; padding-top: 18px; }
  .vlb-cta__inner { display: block; text-align: center; }
  .vlb-cta .vlb-button { margin-top: 28px; }
  .vlb-footer__top { grid-template-columns: 1fr 1fr; }
  .vlb-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 660px) {
  body { font-size: 16px; }
  .vlb-shell { width: min(calc(100% - 28px), var(--vlb-max)); }
  .vlb-section { padding: 68px 0; }
  .vlb-header__inner { min-height: 104px; }
  .vlb-nav { top: 104px; }
  .vlb-brand,
  .custom-logo-link { flex-basis: 150px; width: 150px; height: 96px; }
  .vlb-brand img,
  .vlb-brand--logo img,
  .custom-logo-link img { top: -54.5px; left: -33.9px; width: 228.6px; height: 228.6px; }
  .vlb-brand__copy strong { font-size: 0.91rem; }
  .vlb-brand__copy span { font-size: 0.59rem; }
  .vlb-hero { padding: 64px 0 52px; }
  .vlb-hero h1 { font-size: clamp(2.65rem, 13vw, 4.3rem); }
  .vlb-hero__grid { gap: 42px; }
  .vlb-hero__actions { display: grid; }
  .vlb-hero__actions .vlb-button { width: 100%; }
  .vlb-hero__microcopy { display: grid; gap: 7px; }
  .vlb-hero-card { padding: 25px 22px; border-radius: 24px; }
  .vlb-trust-strip__inner { grid-template-columns: 1fr; }
  .vlb-trust-item { min-height: 68px; justify-content: flex-start; }
  .vlb-trust-item + .vlb-trust-item { border-top: 1px solid var(--vlb-line); border-left: 0; }
  .vlb-card { display: block; padding: 25px; }
  .vlb-card h3 { margin-top: 17px; }
  .vlb-card p { grid-column: auto; }
  .vlb-card__link { grid-column: auto; }
  .vlb-needs { grid-template-columns: 1fr; }
  .vlb-protection-panel { min-height: 520px; padding: 28px; }
  .vlb-protection-panel__quote { right: 22px; bottom: 22px; left: 22px; }
  .vlb-cta { padding: 42px 24px; border-radius: 26px; }
  .vlb-funnel-page { min-height: calc(100vh - 72px); padding: 24px 0 55px; }
  .vlb-funnel-status { gap: 10px; font-size: 0.72rem; }
  .vlb-funnel-card { min-height: 650px; border-radius: 24px; }
  .vlb-funnel-aside { padding: 22px; }
  .vlb-funnel-aside h1 { margin: 8px 0; font-size: 1.62rem; }
  .vlb-funnel-aside__trust { display: none; }
  .vlb-funnel-main { padding: 28px 22px; }
  .vlb-choice-grid, .vlb-fields { grid-template-columns: 1fr; }
  .vlb-field--full { grid-column: auto; }
  .vlb-choice { min-height: 62px; }
  .vlb-dob { grid-template-columns: 1fr 0.85fr 1.1fr; gap: 7px; }
  .vlb-input, .vlb-select { padding-inline: 10px; }
  .vlb-funnel-actions { align-items: stretch; }
  .vlb-funnel-actions .vlb-button { flex: 1; }
  .vlb-booking-card { width: calc(100% - 28px); padding: 12px; }
  .vlb-booking-frame { min-height: 760px; }
  .vlb-footer__top { grid-template-columns: 1fr; gap: 32px; }
  .vlb-footer__brand { grid-column: auto; }
  .vlb-footer__bottom { display: block; }
  .vlb-cookie-banner { display: grid; right: 14px; bottom: 14px; left: 14px; width: auto; padding: 18px; }
  .vlb-cookie-banner[hidden] { display: none; }
  .vlb-cookie-banner__actions { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* Veterans Living Benefits standalone survey. */
.vlb-veterans-funnel {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 26px 16px 112px;
  background:
    radial-gradient(circle at 50% 2%, rgba(255, 255, 255, 0.98), transparent 34%),
    radial-gradient(circle at 12% 28%, rgba(255, 213, 108, 0.2), transparent 25%),
    linear-gradient(145deg, #eef8ff 0%, #d8eeff 55%, #b9ddfb 100%);
}

.vlb-stars {
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image:
    radial-gradient(circle at 8% 16%, rgba(18,103,177,.65) 0 1px, transparent 1.6px),
    radial-gradient(circle at 22% 8%, rgba(213,160,42,.7) 0 1px, transparent 1.7px),
    radial-gradient(circle at 36% 23%, rgba(18,103,177,.55) 0 1px, transparent 1.5px),
    radial-gradient(circle at 52% 7%, rgba(18,103,177,.5) 0 1px, transparent 1.6px),
    radial-gradient(circle at 68% 19%, rgba(213,160,42,.65) 0 1px, transparent 1.8px),
    radial-gradient(circle at 84% 9%, rgba(18,103,177,.55) 0 1px, transparent 1.6px),
    radial-gradient(circle at 94% 27%, rgba(18,103,177,.5) 0 1px, transparent 1.5px);
  background-size: 157px 127px, 193px 169px, 211px 151px, 181px 199px, 223px 173px, 167px 139px, 239px 191px;
}

.vlb-funnel-shell { position: relative; z-index: 2; width: min(100%, 790px); margin-inline: auto; }
.vlb-funnel-logo {
  position: relative;
  display: block;
  width: 300px;
  height: 192px;
  overflow: hidden;
  margin: 0 auto 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(12, 78, 132, 0.18);
}
.vlb-funnel-logo img { position: absolute; top: -108.9px; left: -67.9px; width: 457.1px; max-width: none; height: 457.1px; object-fit: contain; }
.vlb-gold-cap { height: 7px; margin: 0 15px -3px; background: linear-gradient(90deg, #176dcc, #43a5f4, #176dcc); border-radius: 26px 26px 0 0; }

.vlb-veterans-card {
  position: relative;
  min-height: 610px;
  padding: 28px 34px 24px;
  background: #fff;
  border: 1px solid rgba(52, 150, 224, 0.34);
  border-radius: 24px;
  box-shadow: 0 28px 80px rgba(11, 78, 132, 0.18);
}

.vlb-veterans-card .vlb-funnel-status {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  max-width: none;
  margin: 0 0 24px;
  color: #52647e;
  font-size: .82rem;
  font-weight: 760;
}

.vlb-veterans-card .vlb-progress { grid-column: 1 / -1; width: 100%; height: 8px; overflow: hidden; background: #e8e3d9; border-radius: 999px; }
.vlb-veterans-card .vlb-progress__bar { width: 11%; height: 100%; background: linear-gradient(90deg, #176dcc, #43a5f4); border-radius: inherit; transition: width 240ms ease; }
.vlb-veterans-card #vlb-progress-percent { justify-self: end; color: #0a2a55; }

.vlb-veterans-card .vlb-step { display: none; text-align: center; }
.vlb-veterans-card .vlb-step.is-active { display: block; animation: vlb-vet-in .2s ease-out; }
.vlb-veterans-card .vlb-step__count { margin: 0 0 9px; color: #176dcc; font-size: .76rem; font-weight: 850; letter-spacing: .18em; text-transform: uppercase; }
.vlb-veterans-card .vlb-step h1,
.vlb-veterans-card .vlb-step h2 { max-width: 650px; margin: 0 auto; color: #092653; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.85rem, 4.2vw, 2.62rem); line-height: 1.1; letter-spacing: -.025em; outline: none; }
.vlb-veterans-card .vlb-step__help { max-width: 650px; margin: 10px auto 20px; color: #607089; font-size: .94rem; }

.vlb-veterans-card .vlb-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; text-align: left; }
.vlb-veterans-card .vlb-choice-grid--contact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vlb-veterans-card .vlb-choice-grid--compact .vlb-choice { min-height: 66px; }
.vlb-veterans-card .vlb-choice {
  display: flex;
  min-height: 84px;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  color: #10284a;
  background: #fff;
  border: 1px solid #d8e0ea;
  border-radius: 14px;
  box-shadow: 0 5px 16px rgba(7, 28, 60, .06);
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.vlb-veterans-card .vlb-choice:hover { border-color: #67a9e8; background: #f2f8ff; transform: translateY(-1px); }
.vlb-veterans-card .vlb-choice.is-selected { background: #eaf5ff; border-color: #176dcc; box-shadow: inset 0 0 0 2px #176dcc, 0 8px 20px rgba(23, 109, 204, .12); }
.vlb-veterans-card .vlb-choice__mark { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; color: #176dcc; background: #e5f2ff; border: 1px solid #c8e2fa; border-radius: 50%; font-size: .75rem; font-weight: 900; }
.vlb-veterans-card .vlb-choice.is-selected .vlb-choice__mark { color: #fff; background: linear-gradient(135deg, #176dcc, #2c8de8); border-color: transparent; box-shadow: 0 6px 14px rgba(23, 109, 204, .26); }
.vlb-veterans-card .vlb-choice strong { display: block; color: #0a2a55; font-size: .94rem; line-height: 1.25; }
.vlb-veterans-card .vlb-choice small { display: block; margin-top: 4px; color: #66758b; font-size: .75rem; line-height: 1.35; }

.vlb-veterans-card .vlb-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; text-align: left; }
.vlb-veterans-card .vlb-fields--contact { margin-top: 16px; }
.vlb-veterans-card .vlb-field { display: grid; gap: 6px; }
.vlb-veterans-card .vlb-field--full { grid-column: 1 / -1; }
.vlb-veterans-card .vlb-field label { color: #0a2a55; font-size: .8rem; font-weight: 780; }
.vlb-veterans-card .vlb-input,
.vlb-veterans-card .vlb-select { width: 100%; min-height: 50px; padding: 10px 13px; color: #132a4b; background: #fff; border: 1px solid #d4deea; border-radius: 11px; outline: none; }
.vlb-veterans-card .vlb-input:focus,
.vlb-veterans-card .vlb-select:focus { border-color: #176dcc; box-shadow: 0 0 0 4px rgba(23, 109, 204, .13); }
.vlb-veterans-card [aria-invalid="true"] { border-color: #b42318; }

.vlb-veterans-card .vlb-consent { display: flex; gap: 10px; margin-top: 15px; color: #5e6c81; font-size: .68rem; line-height: 1.48; text-align: left; }
.vlb-veterans-card .vlb-consent input { flex: 0 0 auto; margin-top: 3px; accent-color: #176dcc; }
.vlb-veterans-card .vlb-consent a { color: #0b5fae; }
.vlb-veterans-card .vlb-funnel-actions { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #e5eaf0; }
.vlb-veterans-card .vlb-button { min-width: 190px; min-height: 52px; color: #fff; background: linear-gradient(135deg, #176dcc, #2b8ce8); box-shadow: 0 10px 24px rgba(23, 109, 204, .28); font-size: .82rem; letter-spacing: .05em; }
.vlb-veterans-card .vlb-button:hover { color: #fff; background: linear-gradient(135deg, #0e59ad, #207dd5); }
.vlb-veterans-card .vlb-back { min-height: 48px; padding: 10px 18px; color: #455872; background: transparent; border: 1px solid #d4deea; border-radius: 999px; cursor: pointer; font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.vlb-veterans-card .vlb-error { min-height: 0; margin-top: 12px; color: #b42318; font-size: .82rem; font-weight: 720; text-align: center; }
.vlb-veterans-card .vlb-error:not(.is-visible) { display: none; }
.vlb-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.vlb-veterans-funnel .vlb-success { display: none; max-width: 680px; margin: 40px auto 0; padding: 48px 34px; color: #10284a; background: #fff; border: 1px solid rgba(215, 164, 45, .4); border-radius: 24px; box-shadow: 0 28px 80px rgba(0,0,0,.3); text-align: center; }
.vlb-veterans-funnel .vlb-success.is-visible { display: block; }
.vlb-veterans-funnel .vlb-success__check { display: grid; width: 62px; height: 62px; place-items: center; margin: 0 auto 17px; color: #fff; background: #137a57; border-radius: 50%; font-size: 1.55rem; }
.vlb-veterans-funnel .vlb-success h1 { margin: 0; color: #092653; font-family: Georgia, "Times New Roman", serif; font-size: 2.25rem; }
.vlb-veterans-funnel .vlb-success p { color: #607089; }
.vlb-veterans-funnel .vlb-success .vlb-button { color: #fff; background: linear-gradient(135deg, #1678d3, #43a7f3); }
.vlb-va-disclosure { max-width: 760px; margin: 16px auto 0; color: #315b7e; font-size: .72rem; line-height: 1.45; text-align: center; }
.vlb-patriotic-ribbon { position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; width: 100%; height: 96px; }
.vlb-ribbon-red { fill: #bb2032; }
.vlb-ribbon-light { fill: #f6f3ea; }
.vlb-ribbon-blue { fill: #0c4f91; }

@keyframes vlb-vet-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

@media (max-width: 720px) {
  .vlb-veterans-funnel { padding: 16px 10px 94px; }
  .vlb-funnel-logo { width: 250px; height: 160px; margin-bottom: 12px; }
  .vlb-funnel-logo img { top: -90.8px; left: -56.5px; width: 381px; height: 381px; }
  .vlb-gold-cap { margin-inline: 8px; }
  .vlb-veterans-card { min-height: 640px; padding: 22px 16px 18px; border-radius: 20px; }
  .vlb-veterans-card .vlb-choice-grid,
  .vlb-veterans-card .vlb-choice-grid--contact,
  .vlb-veterans-card .vlb-fields { grid-template-columns: 1fr; }
  .vlb-veterans-card .vlb-field--full { grid-column: auto; }
  .vlb-veterans-card .vlb-choice { min-height: 70px; }
  .vlb-veterans-card .vlb-step h1,
  .vlb-veterans-card .vlb-step h2 { font-size: clamp(1.62rem, 8vw, 2.05rem); }
  .vlb-veterans-card .vlb-funnel-actions { align-items: stretch; }
  .vlb-veterans-card .vlb-button { min-width: 0; flex: 1; }
  .vlb-veterans-card .vlb-back { flex: 0 0 auto; }
}
