/* ==========================================================================
   Design Tokens — imported by components so Webflow bundles them.
   This is the single source of truth for colors, fonts, and typography
   utility classes used inside code components.
   ========================================================================== */

/* ─── Font Faces ─── */

/* Houschka Pro */
@font-face {
  font-family: 'Houschka Pro';
  src: url(https://code-components.website-files.com/6a476a35160cefb3487ec3b8%2Fmodule%2F902456f5493d113a03ff-HouschkaPro-Light.ttf) format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Houschka Pro';
  src: url(https://code-components.website-files.com/6a476a35160cefb3487ec3b8%2Fmodule%2Fb67d7ca3dea6e7a83642-HouschkaPro-Medium.ttf) format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Houschka Pro';
  src: url(https://code-components.website-files.com/6a476a35160cefb3487ec3b8%2Fmodule%2F145007b7a454fd6af7a7-HouschkaPro-DemiBold.ttf) format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Houschka Pro';
  src: url(https://code-components.website-files.com/6a476a35160cefb3487ec3b8%2Fmodule%2Fcb328a4f9e2492c0835f-HouschkaPro-Bold.ttf) format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Ubuntu */
@font-face {
  font-family: 'Ubuntu';
  src: url(https://code-components.website-files.com/6a476a35160cefb3487ec3b8%2Fmodule%2F0dd2d5986e2731a16ee7-Ubuntu-Light.ttf) format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ubuntu';
  src: url(https://code-components.website-files.com/6a476a35160cefb3487ec3b8%2Fmodule%2Fe37c5546eb1a6efc4818-Ubuntu-Medium.ttf) format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Ubuntu';
  src: url(https://code-components.website-files.com/6a476a35160cefb3487ec3b8%2Fmodule%2Ffec2d0f1431a6114a6ce-Ubuntu-Bold.ttf) format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Inter Display (variable font) */
@font-face {
  font-family: 'Inter Display';
  src: url(https://code-components.website-files.com/6a476a35160cefb3487ec3b8%2Fmodule%2Fe05c5f3d1fa6a3893d84-Inter-VariableFont_opsz_wght.ttf) format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ─── CSS Custom Properties (Design Tokens) ─── */

:host {
  /* Primary colors */
  --color-primary-100: #3D8EBF;
  --color-primary-200: #0A5B8C;
  --color-primary-300: #003D66;
  --color-primary-400: #002E4D;
  --color-primary-500: #01090E;

  /* Secondary colors */
  --color-secondary-100: #F6DFDF;
  --color-secondary-200: #E8A9A9;
  --color-secondary-300: #D66868;
  --color-secondary-400: #C52727;
  --color-secondary-500: #8A1B1B;
  --color-secondary-600: #4F1010;
  --color-secondary-700: #140404;

  /* Neutral colors */
  --color-neutral-100: #FFFFFF;
  --color-neutral-150: #E6EFF3;
  --color-neutral-200: #CEDEE8;
  --color-neutral-300: #8FADC1;
  --color-neutral-400: #546B7A;
  --color-neutral-500: #475D6B;

  /* Font families */
  --font-heading: 'Ubuntu', sans-serif;
  --font-heading-alt: 'Houschka Pro', sans-serif;
  --font-body: 'Inter Display', sans-serif;
}

/* ─── Typography Utility Classes ─── */

/* H1 — 60/64 */
.heading-h1-400 { font-family: 'Ubuntu', sans-serif; font-size: 60px; font-weight: 300; line-height: 64px; letter-spacing: -2.4px; }
.heading-h1-500 { font-family: 'Ubuntu', sans-serif; font-size: 60px; font-weight: 500; line-height: 64px; letter-spacing: -2.4px; }
.heading-h1-600 { font-family: 'Houschka Pro', sans-serif; font-size: 60px; font-weight: 600; line-height: 64px; letter-spacing: -2.4px; }
.heading-h1-700 { font-family: 'Houschka Pro', sans-serif; font-size: 60px; font-weight: 700; line-height: 64px; letter-spacing: -2.4px; }

/* H2 — 52/52 */
.heading-h2-400 { font-family: 'Ubuntu', sans-serif; font-size: 52px; font-weight: 300; line-height: 52px; letter-spacing: -2.08px; }
.heading-h2-500 { font-family: 'Ubuntu', sans-serif; font-size: 52px; font-weight: 500; line-height: 52px; letter-spacing: -2.08px; }
.heading-h2-600 { font-family: 'Houschka Pro', sans-serif; font-size: 52px; font-weight: 600; line-height: 52px; letter-spacing: -2.08px; }
.heading-h2-700 { font-family: 'Ubuntu', sans-serif; font-size: 52px; font-weight: 700; line-height: 52px; letter-spacing: -2.08px; }

/* H3 — 32/36 */
.heading-h3-400 { font-family: 'Ubuntu', sans-serif; font-size: 32px; font-weight: 300; line-height: 36px; letter-spacing: -0.96px; }
.heading-h3-500 { font-family: 'Ubuntu', sans-serif; font-size: 32px; font-weight: 500; line-height: 36px; letter-spacing: -0.96px; }
.heading-h3-600 { font-family: 'Houschka Pro', sans-serif; font-size: 32px; font-weight: 600; line-height: 36px; letter-spacing: -0.96px; }
.heading-h3-700 { font-family: 'Ubuntu', sans-serif; font-size: 32px; font-weight: 700; line-height: 36px; letter-spacing: -0.96px; }

/* H4 — 24/28 */
.heading-h4-400 { font-family: 'Ubuntu', sans-serif; font-size: 24px; font-weight: 300; line-height: 28px; letter-spacing: -0.72px; }
.heading-h4-500 { font-family: 'Ubuntu', sans-serif; font-size: 24px; font-weight: 500; line-height: 28px; letter-spacing: -0.72px; }
.heading-h4-600 { font-family: 'Houschka Pro', sans-serif; font-size: 24px; font-weight: 600; line-height: 28px; letter-spacing: -0.72px; }
.heading-h4-700 { font-family: 'Ubuntu', sans-serif; font-size: 24px; font-weight: 700; line-height: 28px; letter-spacing: -0.72px; }

/* H5 — 20/26 */
.heading-h5-400 { font-family: 'Ubuntu', sans-serif; font-size: 20px; font-weight: 300; line-height: 26px; letter-spacing: -0.6px; }
.heading-h5-500 { font-family: 'Ubuntu', sans-serif; font-size: 20px; font-weight: 500; line-height: 26px; letter-spacing: -0.6px; }
.heading-h5-600 { font-family: 'Houschka Pro', sans-serif; font-size: 20px; font-weight: 600; line-height: 26px; letter-spacing: -0.6px; }
.heading-h5-700 { font-family: 'Ubuntu', sans-serif; font-size: 20px; font-weight: 700; line-height: 26px; letter-spacing: -0.6px; }

/* H6 — 16/20 */
.heading-h6-400 { font-family: 'Ubuntu', sans-serif; font-size: 16px; font-weight: 300; line-height: 20px; letter-spacing: -0.48px; }
.heading-h6-500 { font-family: 'Ubuntu', sans-serif; font-size: 16px; font-weight: 500; line-height: 20px; letter-spacing: -0.48px; }
.heading-h6-600 { font-family: 'Houschka Pro', sans-serif; font-size: 16px; font-weight: 600; line-height: 20px; letter-spacing: -0.48px; }
.heading-h6-700 { font-family: 'Ubuntu', sans-serif; font-size: 16px; font-weight: 700; line-height: 20px; letter-spacing: -0.48px; }

/* Paragraphs — Inter Display */
.paragraph-xxl-400 { font-family: 'Inter Display', sans-serif; font-size: 22px; font-weight: 400; line-height: 34px; letter-spacing: 0; }
.paragraph-xxl-500 { font-family: 'Inter Display', sans-serif; font-size: 22px; font-weight: 500; line-height: 34px; letter-spacing: 0; }
.paragraph-xxl-600 { font-family: 'Inter Display', sans-serif; font-size: 22px; font-weight: 600; line-height: 34px; letter-spacing: 0; }
.paragraph-xxl-700 { font-family: 'Inter Display', sans-serif; font-size: 22px; font-weight: 700; line-height: 34px; letter-spacing: 0; }

.paragraph-xl-400 { font-family: 'Inter Display', sans-serif; font-size: 20px; font-weight: 400; line-height: 32px; letter-spacing: 0; }
.paragraph-xl-500 { font-family: 'Inter Display', sans-serif; font-size: 20px; font-weight: 500; line-height: 32px; letter-spacing: 0; }
.paragraph-xl-600 { font-family: 'Inter Display', sans-serif; font-size: 20px; font-weight: 600; line-height: 32px; letter-spacing: 0; }
.paragraph-xl-700 { font-family: 'Inter Display', sans-serif; font-size: 20px; font-weight: 700; line-height: 32px; letter-spacing: 0; }

.paragraph-lg-400 { font-family: 'Inter Display', sans-serif; font-size: 18px; font-weight: 400; line-height: 28px; letter-spacing: 0; }
.paragraph-lg-500 { font-family: 'Inter Display', sans-serif; font-size: 18px; font-weight: 500; line-height: 24px; letter-spacing: 0; }
.paragraph-lg-600 { font-family: 'Inter Display', sans-serif; font-size: 18px; font-weight: 600; line-height: 28px; letter-spacing: 0; }
.paragraph-lg-700 { font-family: 'Inter Display', sans-serif; font-size: 18px; font-weight: 700; line-height: 28px; letter-spacing: 0; }

.paragraph-md-400 { font-family: 'Inter Display', sans-serif; font-size: 16px; font-weight: 400; line-height: 26px; letter-spacing: 0; }
.paragraph-md-500 { font-family: 'Inter Display', sans-serif; font-size: 16px; font-weight: 500; line-height: 26px; letter-spacing: 0; }
.paragraph-md-600 { font-family: 'Inter Display', sans-serif; font-size: 16px; font-weight: 600; line-height: 26px; letter-spacing: 0; }
.paragraph-md-700 { font-family: 'Inter Display', sans-serif; font-size: 16px; font-weight: 700; line-height: 26px; letter-spacing: 0; }

.paragraph-sm-400 { font-family: 'Inter Display', sans-serif; font-size: 14px; font-weight: 400; line-height: 22px; letter-spacing: 0; }
.paragraph-sm-500 { font-family: 'Inter Display', sans-serif; font-size: 14px; font-weight: 500; line-height: 22px; letter-spacing: 0; }
.paragraph-sm-600 { font-family: 'Inter Display', sans-serif; font-size: 14px; font-weight: 600; line-height: 22px; letter-spacing: 0; }
.paragraph-sm-700 { font-family: 'Inter Display', sans-serif; font-size: 14px; font-weight: 700; line-height: 22px; letter-spacing: 0; }

/* Label */
.label { font-family: 'Inter Display', sans-serif; font-size: 18px; font-weight: 500; line-height: 24px; letter-spacing: 0; }

/* ===================================
   Button – Base
   =================================== */
.wf-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 56px;
  padding: 16px 28px !important;
  border: 2px solid transparent !important;
  border-radius: 100px !important;
  cursor: pointer;
  font-family: var(--font-body) !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 28px !important;
  letter-spacing: 0 !important;
  text-transform: capitalize;
  white-space: nowrap;
  position: relative;
  text-decoration: none !important;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
  box-sizing: border-box;
}

/* ===================================
   Variant: Blue (Primary)
   =================================== */
.wf-btn--blue {
  background: var(--color-primary-200) !important;
  border-color: var(--color-primary-200) !important;
  color: var(--color-neutral-100) !important;
}

.wf-btn--blue:hover {
  background: var(--color-primary-300) !important;
  border-color: var(--color-primary-300) !important;
  color: var(--color-neutral-100) !important;
}

.wf-btn--blue:focus-visible {
  background: var(--color-primary-200) !important;
  border-color: var(--color-primary-200) !important;
  color: var(--color-neutral-100) !important;
  outline: none;
  box-shadow: inset 0 0 0 4px var(--color-neutral-100);
}

/* ===================================
   Variant: Light Blue
   =================================== */
.wf-btn--light-blue {
  background: var(--color-neutral-150) !important;
  border-color: var(--color-neutral-150) !important;
  color: var(--color-primary-300) !important;
}

.wf-btn--light-blue:hover {
  background: var(--color-neutral-200) !important;
  border-color: var(--color-neutral-200) !important;
  color: var(--color-primary-400) !important;
}

.wf-btn--light-blue:focus-visible {
  background: var(--color-neutral-150) !important;
  border-color: var(--color-primary-200) !important;
  color: var(--color-primary-400) !important;
  outline: none;
  box-shadow: inset 0 0 0 4px var(--color-neutral-100);
}

/* ===================================
   Variant: Red
   =================================== */
.wf-btn--red {
  background: var(--color-secondary-400) !important;
  border-color: var(--color-secondary-400) !important;
  color: var(--color-neutral-100) !important;
}

.wf-btn--red:hover {
  background: var(--color-secondary-500) !important;
  border-color: var(--color-secondary-500) !important;
  color: var(--color-neutral-100) !important;
}

.wf-btn--red:focus-visible {
  background: var(--color-secondary-400) !important;
  border-color: var(--color-secondary-400) !important;
  color: var(--color-neutral-100) !important;
  outline: none;
  box-shadow: inset 0 0 0 4px var(--color-neutral-100);
}

/* ===================================
   Variant: Outline White (for dark backgrounds)
   =================================== */
.wf-btn--outline-white {
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: var(--color-neutral-100) !important;
}

.wf-btn--outline-white:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: var(--color-neutral-100) !important;
}

.wf-btn--outline-white:focus-visible {
  background: transparent !important;
  border-color: var(--color-neutral-100) !important;
  color: var(--color-neutral-100) !important;
  outline: none;
}

/* ===================================
   Variant: Outline Blue
   =================================== */
.wf-btn--outline-blue {
  background: transparent !important;
  border: 1px solid var(--color-neutral-200) !important;
  color: var(--color-primary-400) !important;
}

.wf-btn--outline-blue:hover {
  background: rgba(0, 61, 102, 0.05) !important;
  border-color: var(--color-neutral-300) !important;
  color: var(--color-primary-400) !important;
}

.wf-btn--outline-blue:focus-visible {
  background: transparent !important;
  border: 2px solid var(--color-primary-300) !important;
  color: var(--color-primary-400) !important;
  outline: none;
}

/* ===================================
   Variant: Subscribe (Red, square-ish)
   =================================== */
.wf-btn--subscribe {
  background: var(--color-secondary-400) !important;
  border-color: var(--color-secondary-400) !important;
  border-radius: 12px;
  color: var(--color-neutral-100) !important;
}

.wf-btn--subscribe:hover {
  background: var(--color-secondary-500) !important;
  border-color: var(--color-secondary-500) !important;
  color: var(--color-neutral-100) !important;
}

.wf-btn--subscribe:focus-visible {
  background: var(--color-secondary-400) !important;
  border-color: var(--color-secondary-400) !important;
  color: var(--color-neutral-100) !important;
  outline: none;
  box-shadow: inset 0 0 0 4px var(--color-neutral-100);
}

/* ==========================================================================
   Current Guaranteed Rates — city/state rates section: heading, interactive
   term tabs and the carrier rate table. Transparent background; designed to
   sit on a dark navy section (light-on-dark text).
   ========================================================================== */

.cgr {
  box-sizing: border-box;
  width: 100%;
  font-family: var(--font-body);
  color: #fff;
}

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

/* ─── Top row: intro + updated label ─── */

.cgr__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.cgr__eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-100);
  font-weight: 600;
  margin-bottom: 14px;
}

.cgr__heading {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.cgr__state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-primary-200);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 6.25rem;
  margin-top: 10px;
}

.cgr__state svg {
  width: 14px;
  height: 14px;
  fill: #fff;
  flex: none;
}

.cgr__state b {
  font-weight: 700;
}

.cgr__updated {
  font-size: 13px;
  color: var(--color-primary-100);
  font-weight: 500;
  white-space: nowrap;
}

.cgr__updated::before {
  content: '\25CF  ';
  color: #3ad17a;
}

/* ─── Term bar ─── */

.cgr__termbar {
  display: flex;
  gap: 0;
  background: var(--color-primary-300);
  border-radius: 6.25rem;
  padding: 6px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.cgr__term {
  flex: 1;
  min-width: 96px;
  text-align: center;
  padding: 11px 14px;
  border: 0;
  background: transparent;
  border-radius: 6.25rem;
  color: var(--color-neutral-200);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.15s;
  white-space: nowrap;
}

.cgr__term b {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-top: 3px;
}

.cgr__term:hover:not(.cgr__term--active) {
  background: var(--color-primary-200);
}

.cgr__term--active {
  background: #fff;
  color: var(--color-neutral-500);
}

.cgr__term--active b {
  color: var(--color-secondary-400);
}

/* ─── Rate table card ─── */

.cgr__table {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 20px 50px -22px rgba(0, 0, 0, 0.5);
}

.cgr__head,
.cgr__row {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 1.8fr 0.8fr 0.8fr 1fr;
  align-items: center;
  gap: 12px;
  padding: 15px 24px;
}

.cgr__head {
  background: var(--color-neutral-150);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-neutral-500);
}

.cgr__row {
  border-top: 1px solid var(--color-neutral-150);
  font-size: 15px;
  color: var(--color-primary-500);
}

.cgr__company {
  font-weight: 600;
  color: var(--color-primary-400);
}

.cgr__rating {
  font-weight: 600;
  font-size: 14px;
}

.cgr__rating--excellent { color: #1b9e5a; }
.cgr__rating--good { color: var(--color-primary-200); }
.cgr__rating--fair { color: #c9772a; }
.cgr__rating--poor { color: var(--color-secondary-400); }

.cgr__product {
  color: var(--color-neutral-500);
  font-size: 14px;
}

.cgr__rate {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--color-primary-200);
}

.cgr__rate--top {
  color: var(--color-secondary-400);
}

.cgr__termcell {
  color: var(--color-neutral-500);
  font-size: 14px;
}

/* Compact per-row CTA (overrides the base .wf-btn sizing). */
.cgr__get.wf-btn {
  height: auto !important;
  padding: 9px 16px !important;
  font-size: 13px !important;
  line-height: 18px !important;
  text-transform: none !important;
  justify-self: end;
}

/* ─── Card footer ─── */

.cgr__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 18px 24px;
  background: var(--color-neutral-150);
  border-top: 1px solid var(--color-neutral-200);
}

.cgr__seeall {
  color: var(--color-primary-200);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}

.cgr__seeall:hover {
  color: var(--color-primary-100);
}

.cgr__quote {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.cgr__quote span {
  font-size: 14px;
  color: var(--color-neutral-500);
}

.cgr__quote-btn.wf-btn {
  height: auto !important;
  padding: 15px 26px !important;
  font-size: 15px !important;
  line-height: 20px !important;
  text-transform: none !important;
}

/* ─── Responsive ─── */

@media (max-width: 880px) {
  .cgr__head {
    display: none;
  }

  .cgr__row {
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
    padding: 16px;
  }

  .cgr__product {
    grid-column: 1 / 3;
  }

  .cgr__get.wf-btn {
    grid-column: 1 / 3;
    margin-top: 6px;
    justify-self: stretch;
  }
}

