/* Complete supplied homepage design rules, mapped to existing sections. */
html[data-by5-page="home"] {--by5-teal: #123534;
      --by5-bg: #f6f4ef;
      --by5-white: #ffffff;
      --by5-lime: #c5f04d;
      --by5-lime-hover: #b7e63b;
      --by5-mint: #77d8a8;
      --by5-gold: #e2b458;
      --by5-text-muted: #4a5d5c;
      --by5-border: #e2dfd7;
      --by5-radius: 18px;}

html[data-by5-page="home"] body.by5-unified-homepage *,
html[data-by5-page="home"] body.by5-unified-homepage *::before,
html[data-by5-page="home"] body.by5-unified-homepage *::after {box-sizing: border-box;}

html[data-by5-page="home"] {scroll-behavior: smooth;}

html[data-by5-page="home"] body.by5-unified-homepage {margin: 0;
      background-color: var(--by5-bg);
      color: var(--by5-teal);
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      line-height: 1.5;
      -webkit-font-smoothing: antialiased;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero.by5-hero {padding: 40px 24px 48px;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero .by5-hero-container {max-width: 1320px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 0.92fr 1.08fr;
      gap: 44px;
      align-items: center;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero .by5-hero-content #bs-hero-title {font-size: clamp(2.6rem, 4vw, 3.75rem);
      font-weight: 800;
      line-height: 1.06;
      margin: 0 0 16px;
      letter-spacing: -0.025em;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero .by5-hero-content h2 {font-size: clamp(1.55rem, 2.3vw, 2.15rem);
      font-weight: 800;
      line-height: 1.2;
      margin: 0 0 14px;
      letter-spacing: -0.015em;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero .by5-hero-lead {font-size: 1.08rem;
      line-height: 1.55;
      color: #2f4544;
      max-width: 470px;
      margin: 0 0 28px;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero .by5-hero-actions {display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      align-items: stretch;
      gap: 14px;
      margin: 40px 0 0;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero .by5-hero-btn {display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 14px 24px;
      border-radius: 999px;
      font-size: 0.96rem;
      font-weight: 700;
      text-decoration: none;
      transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero .by5-hero-btn-lime {background-color: var(--by5-lime);
      color: var(--by5-teal);
      border: 2px solid var(--by5-teal);
      box-shadow: 0 4px 14px rgba(18, 53, 52, 0.1);}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero .by5-hero-btn-lime:hover {background-color: var(--by5-lime-hover);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(18, 53, 52, 0.16);}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero .by5-hero-btn-outline {background-color: transparent;
      color: var(--by5-teal);
      border: 2px solid var(--by5-teal);}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero .by5-hero-btn-outline:hover {background-color: var(--by5-teal);
      color: var(--by5-white);
      transform: translateY(-2px);}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero .by5-hero-note {font-size: 0.88rem;
      font-weight: 500;
      color: var(--by5-text-muted);
      margin: 0;
      grid-column: 1;
      grid-row: 2;
      text-align: center;}
@media(max-width:560px){
  html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero .by5-hero-actions {grid-template-columns:minmax(0,1fr);}
}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero .by5-hero-media img {width: 100%;
      height: 510px;
      object-fit: cover;
      border-radius: 18px;
      display: block;
      box-shadow: 0 12px 32px rgba(18, 53, 52, 0.12);}

html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview.by5-journey-section {padding: 12px 24px 56px;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-journey-container {max-width: 1320px;
      margin: 0 auto;
      background: var(--by5-white);
      border: 1px solid var(--by5-border);
      border-radius: 20px;
      padding: 32px 36px;
      box-shadow: 0 8px 24px rgba(18, 53, 52, 0.05);}

html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-journey-header {display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 12px;
      margin-bottom: 26px;
      padding-bottom: 16px;
      border-bottom: 1px solid #ece9e1;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-eyebrow {font-size: 0.76rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--by5-teal);
      margin: 0;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-journey-sub {font-size: 0.92rem;
      color: var(--by5-text-muted);
      margin: 0;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-journey-steps {display: grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 16px;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-journey-step {position: relative;
      background: #faf9f6;
      border: 1px solid #eae7df;
      border-radius: 14px;
      padding: 18px 14px;
      text-align: center;
      transition: transform 0.2s ease, border-color 0.2s ease;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-journey-step:hover {transform: translateY(-3px);
      border-color: var(--by5-teal);}

html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-step-num {display: inline-block;
      font-size: 0.7rem;
      font-weight: 800;
      color: #9c7224;
      background: #f5ebd6;
      padding: 2px 8px;
      border-radius: 999px;
      margin-bottom: 10px;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-journey-icon {width: 36px;
      height: 36px;
      margin: 0 auto 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--by5-teal);}

html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-journey-step h3 {font-size: 0.98rem;
      font-weight: 700;
      margin: 0 0 4px;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-journey-step p {font-size: 0.8rem;
      color: var(--by5-text-muted);
      margin: 0;
      line-height: 1.4;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow.by5-admin-section {padding: 24px 24px 64px;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-admin-container {max-width: 1320px;
      margin: 0 auto;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-section-heading {margin-bottom: 32px;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-section-heading h2 {font-size: clamp(2rem, 3.2vw, 2.75rem);
      font-weight: 800;
      margin: 0 0 8px;
      letter-spacing: -0.02em;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-section-heading p {font-size: 1.05rem;
      color: var(--by5-text-muted);
      margin: 0;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-admin-grid {display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 22px;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-admin-card {border-radius: var(--by5-radius);
      padding: 32px 28px;
      min-height: 230px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-shadow: 0 10px 26px rgba(18, 53, 52, 0.08);
      transition: transform 0.2s ease, box-shadow 0.2s ease;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-admin-card:hover {transform: translateY(-4px);
      box-shadow: 0 16px 34px rgba(18, 53, 52, 0.13);}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-card-tag {display: inline-block;
      align-self: flex-start;
      font-size: 0.72rem;
      font-weight: 800;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 4px 10px;
      border-radius: 999px;
      margin-bottom: 16px;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-admin-card h3 {font-size: 1.38rem;
      font-weight: 700;
      line-height: 1.25;
      margin: 0 0 10px;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-admin-card p {font-size: 0.96rem;
      line-height: 1.55;
      margin: 0;}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-card-mint {background-color: var(--by5-mint);
      color: var(--by5-teal);}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-card-mint .by5-card-tag {background: rgba(18, 53, 52, 0.1);}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-card-gold {background-color: var(--by5-gold);
      color: var(--by5-teal);}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-card-gold .by5-card-tag {background: rgba(18, 53, 52, 0.1);}

html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-card-teal {background-color: var(--by5-teal);
      color: var(--by5-white);}

@media(min-width:1100px){
html[data-by5-page="home"] body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header.by5-navbar {background-color: var(--by5-teal);
      color: var(--by5-white);
      padding: 16px 32px;
      position: sticky;
      top: 0;
      z-index: 100;}

html[data-by5-page="home"] body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header .by5-nav-container {max-width: 1320px;
      margin: 0 auto;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;}

html[data-by5-page="home"] body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header .by5-brand {display: inline-flex;
      align-items: center;
      gap: 12px;
      text-decoration: none;
      color: var(--by5-white);
      font-weight: 700;
      font-size: 1.05rem;}

html[data-by5-page="home"] body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header .by5-nav-links {display: flex;
      align-items: center;
      gap: 24px;
      list-style: none;
      margin: 0;
      padding: 0;}

html[data-by5-page="home"] body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header .by5-nav-links a {color: #e6f2f1;
      text-decoration: none;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      padding: 6px 10px;
      border-radius: 6px;
      transition: background-color 0.2s ease, color 0.2s ease;}

html[data-by5-page="home"] body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header .by5-nav-links a:hover {background-color: rgba(255, 255, 255, 0.14);
      color: var(--by5-white);}

html[data-by5-page="home"] body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header .by5-login-btn {display: inline-block;
      padding: 9px 20px;
      border: 1.5px solid rgba(255, 255, 255, 0.45);
      border-radius: 10px;
      color: var(--by5-white);
      text-decoration: none;
      font-size: 0.88rem;
      font-weight: 600;
      transition: all 0.2s ease;}

html[data-by5-page="home"] body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header .by5-login-btn:hover {background-color: var(--by5-white);
      color: var(--by5-teal);}

html[data-by5-page="home"] body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header .navigation.by5-nav-container {width:100%;min-height:44px;padding:0;}
html[data-by5-page="home"] body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header .by5-brand {order:0;}
html[data-by5-page="home"] body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header #navigation {order:1;min-width:0;}
html[data-by5-page="home"] body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header .bs-header-actions {order:2;}
html[data-by5-page="home"] body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header .by5-nav-links {justify-content:center;flex-wrap:wrap;}
html[data-by5-page="home"] body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header .by5-brand .bs-brand-wordmark {font-size:1.05rem;letter-spacing:normal;max-width:none;}
}

/* Existing canvas and card rules require scoped resets for the new presentation. */
html[data-by5-page="home"], html[data-by5-page="home"] body.by5-unified-homepage {background:#f6f4ef!important;}
html[data-by5-page="home"] body.by5-unified-homepage #bs-site-header.bs-navigation-engine.bs-mega-header {background:#123534!important;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero.by5-hero {background:#f6f4ef!important;padding-bottom:48px;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero .by5-hero-content {padding-left:0;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero .by5-hero-content #bs-hero-title {font-size:clamp(2.6rem,4vw,3.75rem);line-height:1.06;margin-bottom:16px;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero .by5-hero-media > img.bs-home-hero-photo {height:510px;border-radius:18px;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview.by5-journey-section {background:#f6f4ef!important;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-journey-container {width:100%;box-sizing:border-box;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-journey-step {display:block;color:#123534;text-decoration:none;min-width:0;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-journey-step .by5-journey-icon svg {width:36px;height:36px;display:block;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-journey-step h3 {color:#123534;line-height:1.25;white-space:normal;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-journey-step:focus-visible {outline:3px solid #2a8c68;outline-offset:4px;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow.by5-admin-section {background:#f6f4ef!important;color:#123534;text-align:left;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-admin-container {width:100%;padding:0;margin:0 auto;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .workflow-header.by5-section-heading {display:block;text-align:left;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .workflow-title {color:#123534;text-align:left;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-admin-grid {align-items:stretch;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow #by5-benefits-overview.by5-workflow-closeout {padding-top:48px;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-admin-card {position:relative;width:auto;height:auto;border:0;transform:none;text-align:left;justify-content:flex-start;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-admin-card .step-top {min-height:0;margin:0;padding:0;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-admin-card h3, html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-admin-card p {color:inherit;text-align:left;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-admin-card .by5-card-tag {margin-bottom:16px;line-height:1.4;color:inherit;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-card-mint {background:#77d8a8;color:#123534;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-card-gold {background:#e2b458;color:#123534;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-card-teal {background:#123534;color:#fff;}
html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-card-teal .by5-card-tag {background:rgba(255,255,255,.14);}
html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-admin-card:hover {transform:translateY(-4px);}
@media(max-width:980px){
 html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero .by5-hero-container {grid-template-columns:minmax(0,1fr);gap:32px;}
 html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero .by5-hero-content {grid-column:1;grid-row:1;}
 html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero .by5-hero-media {grid-column:1;grid-row:2;}
 html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-free-quotes-hero .by5-hero-media > img.bs-home-hero-photo {height:380px;}
 html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-journey-steps {grid-template-columns:repeat(3,minmax(0,1fr));}
 html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-admin-grid {grid-template-columns:minmax(0,1fr);}
}
@media(max-width:600px){
 html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-journey-container {padding:24px 20px;}
 html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-journey-steps {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(prefers-reduced-motion:reduce){
 html[data-by5-page="home"] {scroll-behavior:auto;}
 html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-journey-step, html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-admin-card {transition:none;}
 html[data-by5-page="home"] body.by5-unified-homepage #main > #by5-journey-overview .by5-journey-step:hover, html[data-by5-page="home"] body.by5-unified-homepage #main > #bs-office-workflow .by5-admin-card:hover {transform:none;}
}
