/* ============================================================
   LFCU Rate Sections — Front-end Styles
   ============================================================ */

/* --- Section wrapper --- */
.lfcu-rate-section {
  margin-bottom: 40px;
}

/* --- Heading Stack --- */
.lfcu-heading-stack {
  margin-bottom: 16px;
}
.lfcu-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6b7c93;
  margin-bottom: 4px;
}
.lfcu-section-title {
  font-weight: 500;
  color: #1a3a5c;
  margin: 0 0 4px;
}

/* --- Content Stack --- */
.lfcu-content-stack {
  margin-bottom: 14px;
  line-height: 1.6;
}
.lfcu-content--intro {
  font-size: 16px;
  color: #333;
}
.lfcu-content--body {
  font-size: 14px;
  color: #444;
}
.lfcu-content--disclaimer {
  font-size: 12px;
  color: #777;
  line-height: 1.6;
}
.lfcu-content-stack a {
  color: #2e6da4;
}

/* --- Button Stack --- */
.lfcu-button-stack {
  margin-bottom: 16px;
}
.lfcu-button-stack--center {
  text-align: center;
}
.lfcu-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.lfcu-btn:hover {
  opacity: 0.88;
}
.lfcu-btn--primary {
  background: #1a3a5c;
  color: #ffffff;
}
.lfcu-btn--secondary {
  background: #e8f0f9;
  color: #1a3a5c;
}
.lfcu-btn--ghost {
  background: transparent;
  color: #1a3a5c;
  border: 1px solid #1a3a5c;
}

/* --- Badge --- */
.lfcu-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.lfcu-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  background: #fff8e1;
  color: #7a5700;
  border: 1px solid #f0c040;
}
.lfcu-badge-platinum {
  background: #eef3fb;
  color: #1a3a5c;
  border-color: #b0c4de;
}

/* --- Responsive show/hide --- */
.lfcu-desktop-only {
  display: block;
}
.lfcu-mobile-only {
  display: none;
}
@media (max-width: 768px) {
  .lfcu-desktop-only {
    display: none !important;
  }
  .lfcu-mobile-only {
    display: block !important;
  }
}

/* --- Grid column counts --- */
.lfcu-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 16px; }
.lfcu-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.lfcu-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.lfcu-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 16px; }
.lfcu-grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 16px; }

/* --- Stat Cards (Layout B) --- */
.lfcu-stat-cards-wrap {
  margin-bottom: 16px;
}
.lfcu-stat-cards {
  /* inherits lfcu-grid-N */
}
.lfcu-stat-card {
  background: #ffffff;
  border: 1px solid #dce3ea;
  border-radius: 6px;
  padding: 16px 14px;
  box-sizing: border-box;
}
.lfcu-stat-card-term {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7c93;
  margin-bottom: 6px;
}
.lfcu-stat-card-apy {
  font-size: 30px;
  font-weight: 700;
  color: #1a3a5c;
  line-height: 1;
}
.lfcu-stat-card-apy-label {
  font-size: 11px;
  color: #6b7c93;
  margin-bottom: 10px;
}
.lfcu-stat-card-hr {
  border: none;
  border-top: 1px solid #e8ecf0;
  margin: 10px 0;
}
.lfcu-stat-card-div-label {
  font-size: 11px;
  color: #6b7c93;
}
.lfcu-stat-card-div-value {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/* --- Header Tiers (Layout A) --- */
.lfcu-header-tiers-wrap {
  margin-bottom: 16px;
}
.lfcu-header-tiers {
  /* inherits lfcu-grid-N */
}
.lfcu-cert-card {
  background: #ffffff;
  border: 1px solid #dce3ea;
  border-radius: 6px;
  overflow: hidden;
}
.lfcu-cert-header {
  padding: 10px 12px;
  background: #081532;
}
.lfcu-cert-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8aa0be;
}
.lfcu-cert-term {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}
.lfcu-cert-tier {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-top: 1px solid #e8ecf0;
}
.lfcu-cert-min {
  font-size: 11px;
  color: #6b7c93;
  white-space: nowrap;
}
.lfcu-cert-rates {
  text-align: right;
}
.lfcu-cert-div {
  font-size: 11px;
  color: #6b7c93;
}
.lfcu-cert-apy {
  font-size: 14px;
  font-weight: 700;
  color: #1a3a5c;
}

/* --- Stacked Rows (Layout C) --- */
.lfcu-stacked-wrap {
  margin-bottom: 16px;
}
.lfcu-stacked {
  border: 1px solid #dce3ea;
  border-radius: 6px;
  overflow: hidden;
}
.lfcu-stacked-header {
  display: grid;
  padding: 9px 14px;
  background: #081532;
  gap: 8px;
}
.lfcu-stacked-header-cell {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8aa0be;
}
.lfcu-stacked-row {
  display: grid;
  padding: 9px 14px;
  border-top: 1px solid #e8ecf0;
  gap: 8px;
  align-items: center;
}
.lfcu-stacked-row--group {
  background: #f0f4f8;
}
.lfcu-stacked-row:hover {
  background: #f7f9fc;
}
.lfcu-stacked-row--group:hover {
  background: #e8eef4;
}
.lfcu-stacked-cell {
  font-size: 13px;
  color: #333;
}
.lfcu-stacked-cell--rate {
  font-weight: 600;
  color: #1a3a5c;
}

/* --- Mobile Table (shared) --- */
.lfcu-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #dce3ea;
  border-radius: 6px;
  margin-bottom: 16px;
}
.lfcu-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 320px;
}
.lfcu-table thead th {
  background: #081532;
  color: #8aa0be;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 9px 12px;
  text-align: left;
  white-space: nowrap;
}
.lfcu-table tbody td {
  padding: 9px 12px;
  border-top: 1px solid #e8ecf0;
  color: #333;
  vertical-align: middle;
}
.lfcu-table tbody tr:hover td {
  background: #f7f9fc;
}
.lfcu-table .lfcu-rate {
  font-weight: 700;
  color: #1a3a5c;
}
.lfcu-table .lfcu-group-cell {
  font-weight: 700;
  color: #1a3a5c;
  background: #f0f4f8;
}
.lfcu-table .lfcu-tier-label {
  color: #6b7c93;
  font-size: 12px;
}
.lfcu-table .lfcu-table-group td {
  background: #f0f4f8;
  font-weight: 700;
  color: #1a3a5c;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
