/* Connext Private Student Loans — Modernized Landing & Cluster Stylesheet */
:root {
  --cx-orange: #f26a21;
  --cx-orange-btn: #d6530d;
  --cx-orange-hover: #bd4708;
  --cx-navy: #0f243d;
  --cx-navy-deep: #091728;
  --cx-cyan: #008ca6;
  --cx-ink: #162333;
  --cx-muted: #4b5b6e;
  --cx-border: #dce4ee;
  --cx-surface: #ffffff;
  --cx-tint: #f5f8fc;
  --cx-tint-warm: #fff6f1;
  --cx-radius-sm: 6px;
  --cx-radius-md: 12px;
  --cx-radius-lg: 16px;
  --cx-shadow-sm: 0 4px 16px rgba(15, 36, 61, 0.06);
  --cx-shadow-md: 0 14px 36px rgba(15, 36, 61, 0.10);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body.cx-modern {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--cx-ink);
  background: var(--cx-surface);
  overflow-x: hidden;
}

body.cx-modern h1,
body.cx-modern h2,
body.cx-modern h3,
body.cx-modern h4 {
  font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--cx-navy);
  margin-top: 0;
  letter-spacing: -0.015em;
}

body.cx-modern a {
  color: var(--cx-cyan);
  text-decoration: none;
  transition: color 0.18s ease;
}

body.cx-modern a:hover {
  color: var(--cx-orange-btn);
  text-decoration: underline;
}

.cx-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.cx-accent {
  color: var(--cx-orange);
}

/* Header & Navigation */
.cx-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--cx-border);
  backdrop-filter: blur(8px);
}

.cx-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.cx-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.cx-logo-link img {
  height: 48px;
  width: auto;
  display: block;
}

.cx-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cx-nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cx-nav-item {
  position: relative;
}

.cx-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  font-family: 'Ubuntu', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--cx-navy) !important;
  text-decoration: none !important;
  border-radius: var(--cx-radius-sm);
  white-space: nowrap;
}

.cx-nav-link:hover,
.cx-nav-item.active > .cx-nav-link {
  background: var(--cx-tint);
  color: var(--cx-orange-btn) !important;
}

.cx-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-md);
  box-shadow: var(--cx-shadow-md);
  list-style: none;
  margin: 0;
  z-index: 220;
}

.cx-nav-item.open > .cx-dropdown-menu {
  display: block;
}

@media (min-width: 992px) {
  .cx-nav-item.has-dropdown:hover > .cx-dropdown-menu,
  .cx-nav-item.has-dropdown:focus-within > .cx-dropdown-menu {
    display: block;
  }
}

.cx-dropdown-menu a {
  display: block;
  padding: 9px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--cx-navy) !important;
  border-radius: var(--cx-radius-sm);
  text-decoration: none !important;
}

.cx-dropdown-menu a:hover {
  background: var(--cx-tint);
  color: var(--cx-orange-btn) !important;
}

.cx-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  margin-left: 8px;
  background: var(--cx-orange-btn);
  color: #ffffff !important;
  font-family: 'Ubuntu', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--cx-radius-sm);
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.12s ease;
}

.cx-nav-cta:hover {
  background: var(--cx-orange-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.cx-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--cx-tint);
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-sm);
  color: var(--cx-navy);
  font-size: 20px;
  cursor: pointer;
}

/* Buttons */
.cx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 22px;
  font-family: 'Ubuntu', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: var(--cx-radius-sm);
  text-decoration: none !important;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.12s ease;
}

.cx-btn:active {
  transform: translateY(1px);
}

.cx-btn-primary {
  background: var(--cx-orange-btn);
  color: #ffffff !important;
}

.cx-btn-primary:hover {
  background: var(--cx-orange-hover);
  color: #ffffff !important;
}

.cx-btn-secondary {
  background: var(--cx-navy);
  color: #ffffff !important;
}

.cx-btn-secondary:hover {
  background: #17375c;
  color: #ffffff !important;
}

.cx-btn-outline {
  background: #ffffff;
  color: var(--cx-navy) !important;
  border-color: #c2cfde;
}

.cx-btn-outline:hover {
  border-color: var(--cx-navy);
  background: var(--cx-tint);
  color: var(--cx-navy) !important;
}

/* Split Hero */
.cx-hero {
  background: linear-gradient(180deg, #f5f8fc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--cx-border);
  padding: 40px 0 48px;
}

.cx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 40px;
  align-items: center;
}

.cx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  margin-bottom: 16px;
  background: var(--cx-tint-warm);
  border: 1px solid #f7ccb4;
  border-radius: 999px;
  font-family: 'Ubuntu', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a83c04;
}

.cx-hero h1 {
  font-size: clamp(32px, 4.1vw, 48px);
  line-height: 1.12;
  margin-bottom: 16px;
}

.cx-hero-lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--cx-muted);
  max-width: 56ch;
  margin: 0 0 24px;
}

.cx-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}

.cx-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--cx-border);
}

.cx-metric {
  background: #ffffff;
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-sm);
  padding: 12px 14px;
}

.cx-metric-val {
  display: block;
  font-family: 'Ubuntu', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--cx-navy);
  line-height: 1.15;
}

.cx-metric-lbl {
  display: block;
  font-size: 12.5px;
  color: var(--cx-muted);
  margin-top: 3px;
}

.cx-hero-media {
  position: relative;
}

.cx-hero-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--cx-radius-lg);
  box-shadow: var(--cx-shadow-md);
  object-fit: cover;
  aspect-ratio: 1280 / 860;
}

.cx-hero-badge {
  position: relative;
  margin: -34px 18px 0;
  padding: 14px 18px;
  background: var(--cx-navy);
  color: #ffffff;
  border-radius: var(--cx-radius-md);
  box-shadow: var(--cx-shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cx-hero-badge strong {
  display: block;
  font-family: 'Ubuntu', sans-serif;
  font-size: 15px;
  color: #ffffff;
}

.cx-hero-badge span {
  font-size: 13px;
  color: #cad7e6;
}

.cx-hero-badge a {
  color: #ffb085 !important;
  font-weight: 700;
  font-size: 13.5px;
  white-space: nowrap;
}

/* Section Wrappers */
.cx-band {
  padding: 58px 0;
}

.cx-band-tint {
  background: var(--cx-tint);
  border-top: 1px solid var(--cx-border);
  border-bottom: 1px solid var(--cx-border);
}

.cx-band-head {
  max-width: 680px;
  margin-bottom: 32px;
}

.cx-band-head h2 {
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
  margin-bottom: 10px;
}

.cx-band-head p {
  font-size: 16.5px;
  color: var(--cx-muted);
  margin: 0;
}

/* Product Pathway Cards */
.cx-cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cx-cards-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.cx-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-md);
  overflow: hidden;
  box-shadow: var(--cx-shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.cx-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--cx-shadow-md);
}

.cx-card-img {
  width: 100%;
  aspect-ratio: 750 / 464;
  object-fit: cover;
  display: block;
}

.cx-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;
}

.cx-rate-pill {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  margin-bottom: 12px;
  background: var(--cx-tint-warm);
  color: #a83c04;
  border: 1px solid #f7ccb4;
  border-radius: 999px;
  font-family: 'Ubuntu', sans-serif;
  font-size: 12.5px;
  font-weight: 700;
}

.cx-card h3 {
  font-size: 22px;
  line-height: 1.25;
  margin-bottom: 10px;
}

.cx-card h3 a {
  color: var(--cx-navy) !important;
  text-decoration: none !important;
}

.cx-card h3 a:hover {
  color: var(--cx-orange-btn) !important;
}

.cx-card p {
  color: var(--cx-muted);
  font-size: 15px;
  margin: 0 0 14px;
}

.cx-card-points {
  margin: 0 0 20px;
  padding-left: 18px;
  color: var(--cx-ink);
  font-size: 14px;
}

.cx-card-points li {
  margin-bottom: 6px;
}

.cx-card-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cx-card-actions .cx-btn {
  flex: 1 1 auto;
  min-height: 40px;
  padding: 9px 14px;
  font-size: 14px;
}

/* Interactive Rate & Savings Estimator */
.cx-calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.cx-calc-panel,
.cx-calc-output {
  background: #ffffff;
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-md);
  padding: 26px;
  box-shadow: var(--cx-shadow-sm);
}

.cx-calc-output {
  background: var(--cx-navy);
  color: #ffffff;
  border-color: var(--cx-navy);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.cx-modern .cx-calc-output h3,
body.cx-modern .cx-calc-output .cx-calc-big {
  color: #ffffff;
}

.cx-field {
  margin-bottom: 18px;
}

.cx-field label {
  display: flex;
  justify-content: space-between;
  font-family: 'Ubuntu', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--cx-navy);
  margin-bottom: 6px;
}

.cx-input,
.cx-select {
  width: 100%;
  height: 42px;
  padding: 8px 12px;
  border: 1px solid #bcc8d6;
  border-radius: var(--cx-radius-sm);
  font-size: 15px;
  color: var(--cx-ink);
  background: #ffffff;
}

.cx-range {
  width: 100%;
  accent-color: var(--cx-orange-btn);
  cursor: pointer;
}

.cx-toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--cx-tint);
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-sm);
  cursor: pointer;
}

.cx-toggle-row input {
  width: 18px;
  height: 18px;
  accent-color: var(--cx-orange-btn);
}

.cx-calc-big {
  font-family: 'Ubuntu', sans-serif;
  font-size: clamp(34px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  margin: 6px 0 10px;
}

.cx-calc-rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.cx-calc-stat span {
  display: block;
  font-size: 12.5px;
  color: #b7c8dc;
}

.cx-calc-stat strong {
  display: block;
  font-family: 'Ubuntu', sans-serif;
  font-size: 19px;
  color: #ffffff;
  margin-top: 2px;
}

.cx-calc-note {
  font-size: 12.5px;
  line-height: 1.45;
  color: #c7d5e5;
  margin: 0 0 18px;
}

/* Pillars & Journey */
.cx-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cx-pillar {
  background: #ffffff;
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-md);
  padding: 24px;
  box-shadow: var(--cx-shadow-sm);
}

.cx-icon-badge {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--cx-tint-warm);
  color: var(--cx-orange-btn);
  font-size: 22px;
  margin-bottom: 14px;
}

.cx-pillar h3 {
  font-size: 19px;
  margin-bottom: 10px;
}

.cx-pillar p {
  font-size: 15px;
  color: var(--cx-muted);
  margin: 0 0 12px;
}

.cx-split-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: center;
}

.cx-split-feature img {
  width: 100%;
  height: auto;
  border-radius: var(--cx-radius-md);
  box-shadow: var(--cx-shadow-sm);
  display: block;
}

.cx-step-list {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.cx-step-list li {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.cx-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cx-navy);
  color: #ffffff;
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Bottom CTA Band */
.cx-bottom-cta {
  background: linear-gradient(135deg, var(--cx-navy) 0%, #173a61 100%);
  color: #ffffff;
  padding: 46px 0;
}

.cx-bottom-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

body.cx-modern .cx-bottom-cta h2 {
  color: #ffffff;
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 8px;
}

.cx-bottom-cta p {
  color: #d4e1ef;
  margin: 0;
  max-width: 58ch;
}

.cx-bottom-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Cluster & Inner Page Blocks */
.cx-page-hero {
  background: linear-gradient(180deg, var(--cx-navy) 0%, #163354 100%);
  color: #ffffff;
  padding: 44px 0;
}

.cx-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: center;
}

body.cx-modern .cx-page-hero h1 {
  color: #ffffff;
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.15;
  margin-bottom: 14px;
}

.cx-page-hero p {
  color: #dce7f2;
  font-size: 17px;
  margin: 0 0 18px;
}

.cx-hero-bullets {
  margin: 0 0 22px;
  padding-left: 20px;
  color: #f0f5fa;
}

.cx-hero-bullets li {
  margin-bottom: 6px;
}

.cx-page-hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--cx-radius-md);
  box-shadow: var(--cx-shadow-md);
  display: block;
}

.cx-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #b7c8dc;
  margin-bottom: 14px;
}

.cx-breadcrumb a {
  color: #ffb085 !important;
}

.cx-layout-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 34px;
  padding: 44px 0 56px;
  align-items: start;
}

.cx-article section {
  margin-bottom: 34px;
}

.cx-article h2 {
  font-size: 24px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--cx-tint);
  margin-bottom: 14px;
}

.cx-article h3 {
  font-size: 18px;
  margin: 18px 0 8px;
}

.cx-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-sm);
  margin: 14px 0;
}

.cx-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.cx-table th {
  background: var(--cx-navy);
  color: #ffffff;
  text-align: left;
  padding: 11px 14px;
  font-family: 'Ubuntu', sans-serif;
}

.cx-table td {
  padding: 11px 14px;
  border-top: 1px solid var(--cx-border);
  color: var(--cx-ink);
  vertical-align: top;
}

.cx-table tr:nth-child(even) td {
  background: var(--cx-tint);
}

.cx-steps-ol {
  padding-left: 20px;
  margin: 12px 0 18px;
}

.cx-steps-ol li {
  margin-bottom: 10px;
}

.cx-checklist {
  background: var(--cx-tint);
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-md);
  padding: 18px 22px 18px 38px;
  margin: 14px 0;
}

.cx-checklist li {
  margin-bottom: 7px;
}

/* FAQ Accordion */
.cx-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cx-faq-item {
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-sm);
  background: #ffffff;
  overflow: hidden;
}

.cx-faq-trigger {
  width: 100%;
  text-align: left;
  background: #ffffff;
  border: 0;
  padding: 15px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-family: 'Ubuntu', sans-serif;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--cx-navy);
  cursor: pointer;
}

.cx-faq-trigger:hover {
  background: var(--cx-tint);
}

.cx-faq-trigger[aria-expanded="true"] .cx-faq-icon {
  transform: rotate(45deg);
}

.cx-faq-icon {
  font-size: 20px;
  color: var(--cx-orange-btn);
  transition: transform 0.16s ease;
  flex-shrink: 0;
}

.cx-faq-panel {
  padding: 0 18px 16px;
  color: var(--cx-muted);
  font-size: 15px;
}

.cx-faq-panel[hidden] {
  display: none;
}

/* Sidebar */
.cx-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cx-side-card {
  background: #ffffff;
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-md);
  padding: 20px;
  box-shadow: var(--cx-shadow-sm);
}

.cx-side-card h3 {
  font-size: 17px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--cx-border);
}

.cx-side-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cx-side-links li {
  border-bottom: 1px solid #eef3f8;
}

.cx-side-links li:last-child {
  border-bottom: 0;
}

.cx-side-links a {
  display: block;
  padding: 8px 0;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--cx-navy) !important;
}

.cx-side-links a.active-link,
.cx-side-links a:hover {
  color: var(--cx-orange-btn) !important;
}

.cx-side-contact {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  font-size: 14px;
}

.cx-side-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 9px;
  color: var(--cx-ink);
}

.cx-side-contact i {
  color: var(--cx-orange-btn);
  margin-top: 3px;
}

.cx-cta-banner {
  background: var(--cx-tint-warm);
  border: 1px solid #f7ccb4;
  border-radius: var(--cx-radius-md);
  padding: 24px;
}

.cx-map-wrap {
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-md);
  overflow: hidden;
  margin-top: 16px;
}

.cx-map-wrap iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

/* Footer */
.cx-footer {
  background: var(--cx-navy-deep);
  color: #cbd7e5;
  padding: 46px 0 0;
  font-size: 14.5px;
}

.cx-footer-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr 0.95fr 1.05fr;
  gap: 28px;
  padding-bottom: 34px;
}

.cx-footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 12px;
  display: block;
}

body.cx-modern .cx-footer h4 {
  color: #ffffff;
  font-size: 15.5px;
  margin-bottom: 12px;
}

.cx-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cx-footer li {
  margin-bottom: 8px;
}

.cx-footer a {
  color: #dce7f2 !important;
}

.cx-footer a:hover {
  color: #ffb085 !important;
}

.cx-subfooter {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  text-align: center;
  font-size: 13px;
  color: #a9bacd;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
  .cx-burger {
    display: inline-flex;
  }
  .cx-nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid var(--cx-border);
    box-shadow: var(--cx-shadow-md);
    padding: 14px 20px 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .cx-nav.open {
    display: flex;
  }
  .cx-nav-list {
    flex-direction: column;
    align-items: stretch;
  }
  .cx-nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 11px 12px;
  }
  .cx-dropdown-menu {
    position: static;
    box-shadow: none;
    border: 0;
    background: var(--cx-tint);
    margin: 4px 0 8px;
  }
  .cx-nav-cta {
    margin: 10px 0 0;
    width: 100%;
  }
  .cx-hero-grid,
  .cx-calc-grid,
  .cx-split-feature,
  .cx-page-hero-grid,
  .cx-layout-main {
    grid-template-columns: 1fr;
  }
  .cx-cards-3,
  .cx-cards-2,
  .cx-pillars-grid {
    grid-template-columns: 1fr;
  }
  .cx-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cx-hero {
    padding: 26px 0 34px;
  }
  .cx-hero-metrics {
    grid-template-columns: 1fr;
  }
  .cx-hero-badge {
    margin: -18px 10px 0;
    flex-direction: column;
    align-items: flex-start;
  }
  .cx-calc-rows {
    grid-template-columns: 1fr;
  }
  .cx-footer-grid {
    grid-template-columns: 1fr;
  }
  .cx-table th,
  .cx-table td {
    padding: 8px 10px;
    font-size: 13px;
  }
}

/* 404 error page layout (hosting-build places bare h1/p directly inside <main>) */
main > h1,
main > p {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

main > h1 {
  padding-top: 48px;
  margin-bottom: 14px;
}

main > p:last-of-type {
  padding-bottom: 52px;
}

html:has(meta[name="robots"][content="noindex"]) .cx-nav-item.active > .cx-nav-link {
  background: transparent;
  color: var(--cx-navy) !important;
}
