:root {
  --ink: #101d3d;
  --ink-soft: #263556;
  --coral: #ef4b4f;
  --coral-dark: #d9373d;
  --yellow: #ffe6a3;
  --sky: #eef4ff;
  --line: #dce3ef;
  --muted: #66728b;
  --paper: #ffffff;
  --knowledge: #087844;
  --knowledge-dark: #075f38;
  --knowledge-pale: #e8f8ef;
  --shadow: 0 18px 44px rgba(16, 29, 61, 0.1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-rounded, "Avenir Next", Avenir, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
.page-shell { min-height: 100vh; overflow: hidden; }
.container { width: min(1320px, calc(100% - 64px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { height: 76px; display: flex; align-items: center; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-size: 23px; font-weight: 900; letter-spacing: -.7px; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; color: white; background: var(--coral); border-radius: 13px 13px 13px 4px; box-shadow: 0 7px 16px rgba(239,75,79,.24); transform: rotate(-4deg); }
.cv-header-button { min-height: 44px; padding: 0 11px 0 13px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: white; border: 0; border-radius: 14px; background: var(--knowledge); cursor: pointer; text-decoration: none; font-size: 12px; font-weight: 650; box-shadow: 0 8px 18px rgba(8,120,68,.2); transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.cv-header-button:hover { transform: translateY(-1px); background: var(--knowledge-dark); box-shadow: 0 11px 22px rgba(8,95,56,.24); }
.cv-header-icon { color: #bff8d9; font-size: 15px; }
.cv-header-button small { padding: 3px 6px; color: var(--knowledge-dark); border-radius: 999px; background: #bff8d9; text-transform: uppercase; letter-spacing: .6px; font-size: 8px; font-weight: 850; }
.powered { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12px; font-weight: 700; }
.powered strong { color: #e60000; font-size: 14px; letter-spacing: -.3px; }
.vodacom-mark { width: 20px; height: 20px; display: inline-block; border: 5px solid #e60000; border-right-color: transparent; border-radius: 50%; transform: rotate(-35deg); }
.account-menu { position: relative; }
.account-trigger { min-height: 44px; padding: 0 10px 0 7px; display: flex; align-items: center; gap: 9px; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; background: white; cursor: pointer; font-size: 12px; font-weight: 600; transition: border-color .18s ease, box-shadow .18s ease; }
.account-trigger:hover, .account-trigger[aria-expanded="true"] { border-color: #b9c5d8; box-shadow: 0 8px 20px rgba(16,29,61,.1); }
.account-avatar { width: 31px; height: 31px; display: grid; place-items: center; color: white; border-radius: 10px; background: var(--ink); font-size: 14px; font-weight: 900; }
.account-label { max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-chevron { color: var(--muted); font-size: 15px; transform: translateY(-2px); }
.account-dropdown { width: 278px; padding: 10px; position: absolute; z-index: 20; right: 0; top: calc(100% + 10px); display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 20px 48px rgba(16,29,61,.18); }
.account-dropdown::before { content: ""; width: 12px; height: 12px; position: absolute; right: 19px; top: -7px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: white; transform: rotate(45deg); }
.account-dropdown button, .account-dropdown a { min-height: 44px; padding: 0 12px; display: flex; align-items: center; gap: 11px; color: var(--ink-soft); border: 0; border-radius: 11px; background: transparent; cursor: pointer; text-decoration: none; text-align: left; font-size: 12px; font-weight: 600; }
.account-dropdown button:hover, .account-dropdown a:hover { color: var(--ink); background: var(--sky); }
.account-dropdown button > span, .account-dropdown a > span { width: 23px; color: var(--coral-dark); text-align: center; font-size: 15px; font-weight: 750; }
.account-identity { margin: 0 2px 6px; padding: 10px 10px 12px; display: flex; flex-direction: column; gap: 4px; border-bottom: 1px solid var(--line); }
.account-identity strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 700; }
.account-identity span { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; font-size: 10px; font-weight: 500; }
.account-guest-copy { margin: 0 0 5px; padding: 9px 10px; color: var(--muted); font-size: 11px; line-height: 1.45; font-weight: 650; }
.account-dropdown .login-link { margin-bottom: 3px; justify-content: center; color: white; background: var(--coral); }
.account-dropdown .login-link:hover { color: white; background: var(--coral-dark); }
.account-dropdown .login-link > span { width: auto; color: white; }
.account-dropdown .logout-link { color: #b42c32; }

.hero { position: relative; padding: 56px 0 68px; overflow: hidden; color: white; background: var(--ink); }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 72px; }
.hero-content { padding: 4px 0; }
.eyebrow { margin: 0 0 15px; color: var(--yellow); text-transform: uppercase; letter-spacing: 1.8px; font-size: 12px; font-weight: 900; }
h1 { margin: 0; max-width: 800px; font-size: clamp(54px, 6vw, 86px); line-height: .92; letter-spacing: -4px; font-weight: 900; }
.hero-copy { margin: 24px 0 0; max-width: 670px; color: #e2e8f5; font-size: 20px; line-height: 1.45; font-weight: 650; }
.hero-stat { justify-self: end; width: 280px; padding: 25px 26px; border: 1px solid rgba(255,255,255,.22); border-radius: 20px; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); }
.hero-stat strong { display: block; color: var(--yellow); font-size: 38px; line-height: 1; letter-spacing: -1px; }
.hero-stat span { display: block; margin-top: 10px; color: #e5ebf7; font-size: 14px; line-height: 1.45; }
.hero-orbit { position: absolute; pointer-events: none; border-radius: 999px; }
.hero-orbit-coral { width: 440px; height: 440px; right: -90px; top: -290px; border: 72px solid rgba(239,75,79,.84); }
.hero-orbit-yellow { width: 210px; height: 210px; right: 275px; bottom: -165px; background: var(--yellow); }

.content-wrap { position: relative; z-index: 3; padding-bottom: 72px; }
.discovery { margin-top: -31px; padding: 19px; display: grid; grid-template-columns: minmax(300px, 1fr) auto; gap: 18px; align-items: center; border: 1px solid var(--line); border-radius: 25px; background: white; box-shadow: var(--shadow); }
.search-wrap { position: relative; display: block; }
.search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-54%); color: var(--ink); font-size: 23px; line-height: 1; pointer-events: none; }
.search-wrap input { width: 100%; height: 54px; padding: 0 18px 0 52px; color: var(--ink); border: 1px solid #cfd8e7; border-radius: 15px; background: #f9fbff; outline: none; font-size: 16px; font-weight: 750; }
.search-wrap input::placeholder { color: #7b879f; }
.search-wrap input:focus { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(239,75,79,.16); }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-button { min-height: 44px; padding: 0 16px; border: 1px solid transparent; border-radius: 13px; color: var(--ink-soft); background: transparent; cursor: pointer; font-size: 13px; font-weight: 600; transition: background .18s ease, color .18s ease, transform .18s ease; }
.filter-button:hover { background: var(--sky); }
.filter-button[aria-pressed="true"] { color: white; background: var(--ink); font-weight: 700; }

.featured-section, .offers-section { padding-top: 38px; }
.section-heading { margin-bottom: 18px; display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.section-heading h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; letter-spacing: -1px; }
.section-heading span { color: var(--muted); font-size: 13px; font-weight: 750; }
.featured-card { min-height: 244px; display: grid; grid-template-columns: 1.2fr .8fr; overflow: hidden; color: white; border-radius: 24px; background: var(--coral); box-shadow: 0 18px 40px rgba(217,55,61,.2); }
.featured-copy { position: relative; padding: 38px 42px; overflow: hidden; }
.featured-label { position: relative; z-index: 2; display: inline-flex; padding: 7px 11px; border-radius: 999px; background: rgba(16,29,61,.18); text-transform: uppercase; letter-spacing: 1.2px; font-size: 11px; font-weight: 900; }
.featured-brand-logo { position: relative; z-index: 2; width: 190px; height: 68px; margin: 20px 0 12px; padding: 10px 15px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: white; box-shadow: 0 9px 22px rgba(16,29,61,.12); }
.featured-brand-logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.featured-copy > p:last-of-type { position: relative; z-index: 2; margin: 0; color: #fff3f3; font-size: 16px; font-weight: 700; }
.featured-watermark { position: absolute; right: 25px; bottom: -48px; color: rgba(255,255,255,.12); font-size: 180px; line-height: 1; font-weight: 900; }
.featured-deal { padding: 34px 42px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; color: var(--ink); background: var(--yellow); }
.featured-deal strong { font-size: clamp(43px, 5vw, 64px); line-height: .95; letter-spacing: -3px; }
.featured-deal > span { margin-top: 8px; font-size: 15px; font-weight: 850; }
.primary-button { min-height: 48px; margin-top: 26px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; color: white; border: 0; border-radius: 14px; background: var(--ink); cursor: pointer; text-decoration: none; font-size: 14px; font-weight: 900; transition: transform .18s ease, box-shadow .18s ease; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 0 9px 20px rgba(16,29,61,.2); }

.cv-promo { min-height: 330px; margin-top: 42px; padding: 42px 50px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 42px; color: white; border-radius: 26px; background: linear-gradient(135deg, #087844 0%, #075f38 100%); box-shadow: 0 20px 44px rgba(7,95,56,.2); }
.cv-promo::before { content: ""; width: 330px; height: 330px; position: absolute; right: -120px; top: -165px; border: 54px solid rgba(255,255,255,.1); border-radius: 50%; }
.cv-promo-copy { position: relative; z-index: 2; }
.cv-promo-badge { display: inline-flex; padding: 7px 11px; color: var(--knowledge-dark); border-radius: 999px; background: #bff8d9; text-transform: uppercase; letter-spacing: 1px; font-size: 10px; font-weight: 800; }
.cv-promo h2 { margin: 17px 0 12px; max-width: 580px; font-size: clamp(34px, 4vw, 54px); line-height: 1; letter-spacing: -2px; }
.cv-promo p { margin: 0; max-width: 590px; color: #daf5e6; font-size: 16px; line-height: 1.55; }
.cv-promo-button { width: fit-content; min-height: 50px; margin-top: 24px; padding: 0 20px; display: inline-flex; align-items: center; gap: 22px; color: var(--ink); border: 0; border-radius: 14px; background: var(--yellow); cursor: pointer; text-decoration: none; font-size: 14px; font-weight: 750; box-shadow: 0 10px 24px rgba(16,29,61,.18); transition: transform .18s ease, box-shadow .18s ease; }
.cv-promo-button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(16,29,61,.22); }
.cv-promo-preview { min-height: 245px; position: relative; display: grid; place-items: center; }
.cv-preview-sheet { width: 214px; height: 276px; padding: 27px 23px; position: relative; z-index: 2; border-radius: 7px; background: white; box-shadow: 18px 22px 0 rgba(16,29,61,.2), 0 24px 45px rgba(4,42,25,.25); transform: rotate(3deg); }
.cv-preview-heading { display: flex; align-items: center; gap: 11px; }.cv-preview-heading > span { width: 38px; height: 38px; border-radius: 50%; background: #dcefe4; }.cv-preview-heading div { flex: 1; }
.cv-preview-heading b, .cv-preview-heading i, .cv-preview-line, .cv-preview-section { height: 6px; display: block; border-radius: 999px; background: #d7ddea; }
.cv-preview-heading b { width: 88%; background: var(--ink); }.cv-preview-heading i { width: 56%; height: 4px; margin-top: 7px; }
.cv-preview-line { width: 72%; height: 4px; margin-top: 10px; }.cv-preview-line.wide { width: 100%; margin-top: 25px; }.cv-preview-line.short { width: 48%; }
.cv-preview-section { width: 42%; height: 7px; margin-top: 29px; background: var(--knowledge); }
.cv-promo-spark { position: absolute; color: var(--yellow); font-size: 28px; }.spark-one { left: 13%; top: 20%; }.spark-two { right: 10%; bottom: 13%; font-size: 20px; }

.offers-section { padding-top: 42px; }
.offer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 17px; }
.offer-card { min-height: 240px; padding: 24px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: white; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.offer-card:hover { transform: translateY(-4px); border-color: #bec9db; box-shadow: var(--shadow); }
.knowledge-card { position: relative; overflow: hidden; border-color: #bfe9d1; background: linear-gradient(145deg, #ffffff 48%, #f0fbf5 100%); }
.knowledge-card::after { content: ""; width: 94px; height: 94px; position: absolute; right: -47px; bottom: -47px; pointer-events: none; border: 18px solid rgba(8,120,68,.09); border-radius: 50%; }
.knowledge-card:hover { border-color: #7bc69d; box-shadow: 0 18px 44px rgba(8,120,68,.13); }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.logo-tile { width: 136px; height: 58px; flex: none; padding: 5px 7px; display: flex; align-items: center; justify-content: center; border: 1px solid #edf0f5; border-radius: 14px; background: white; }
.logo-tile img { width: 100%; height: 100%; display: block; object-fit: contain; }
.knowledge-tile { min-width: 136px; height: 58px; padding: 8px 11px; display: flex; align-items: center; gap: 9px; color: var(--knowledge-dark); border: 1px solid #bfe9d1; border-radius: 14px; background: var(--knowledge-pale); }
.knowledge-tile > span { width: 31px; height: 31px; flex: none; display: grid; place-items: center; color: white; border-radius: 10px 10px 10px 3px; background: var(--knowledge); font-size: 14px; font-weight: 950; transform: rotate(-4deg); }
.knowledge-tile strong { max-width: 68px; font-size: 10px; line-height: 1.15; text-transform: uppercase; letter-spacing: .5px; }
.access-badge { padding: 7px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .8px; font-size: 10px; line-height: 1; font-weight: 900; }
.access-badge.free { color: #087844; background: #e9f7ef; }
.access-badge.premium { color: #c42e34; background: #fff0ef; }
.access-badge.knowledge { color: white; background: var(--knowledge); box-shadow: 0 6px 14px rgba(8,120,68,.18); }
.knowledge-card .offer-category { color: var(--knowledge); }
.knowledge-card .card-link { position: relative; z-index: 1; color: var(--knowledge-dark); }
.knowledge-card .card-link:hover { color: var(--ink); }
.offer-category { margin: 19px 0 0; color: var(--muted); text-transform: uppercase; letter-spacing: 1.1px; font-size: 10px; font-weight: 900; }
.offer-card h3 { margin: 7px 0 4px; font-size: 19px; line-height: 1.2; letter-spacing: -.35px; }
.offer-description { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.4; font-weight: 650; }
.card-link { width: fit-content; margin-top: auto; padding: 18px 0 0; display: inline-flex; align-items: center; gap: 8px; color: var(--coral-dark); border: 0; background: transparent; cursor: pointer; text-decoration: none; font-size: 13px; font-weight: 900; }
.card-link:hover { color: var(--ink); }
.pagination { margin-top: 30px; display: flex; align-items: center; justify-content: center; gap: 12px; }
.pagination-pages { display: flex; align-items: center; gap: 8px; }
.pagination-button { min-width: 44px; height: 44px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: var(--ink); border: 1px solid var(--line); border-radius: 13px; background: white; cursor: pointer; font-size: 13px; font-weight: 900; transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease; }
.pagination-button:hover:not(:disabled) { color: white; border-color: var(--ink); background: var(--ink); transform: translateY(-2px); }
.pagination-button[aria-current="page"] { color: white; border-color: var(--coral); background: var(--coral); box-shadow: 0 8px 18px rgba(239,75,79,.22); }
.pagination-button:disabled { color: #a8b0c0; background: #f5f7fa; cursor: not-allowed; }
.pagination-step { min-width: 108px; }
.empty-state { padding: 60px 24px; text-align: center; border: 1px dashed #bdc7d8; border-radius: 22px; background: #fbfcff; }
.empty-icon { width: 48px; height: 48px; margin: 0 auto 15px; display: grid; place-items: center; color: white; border-radius: 50%; background: var(--ink); font-size: 22px; font-weight: 900; }
.empty-state h3 { margin: 0; font-size: 23px; }
.empty-state p { margin: 7px 0 19px; color: var(--muted); }
.empty-state button { min-height: 42px; padding: 0 17px; color: white; border: 0; border-radius: 12px; background: var(--coral-dark); cursor: pointer; font-weight: 850; }

.site-footer { color: #cbd4e7; background: var(--ink); }
.footer-inner { min-height: 128px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.footer-inner > span { color: white; font-size: 20px; font-weight: 900; }
.footer-inner p { margin: 0; font-size: 13px; }
.footer-inner a { justify-self: end; color: var(--yellow); text-decoration: none; font-size: 13px; font-weight: 850; }

.offer-dialog { width: min(650px, calc(100vw - 32px)); max-width: none; max-height: min(880px, calc(100dvh - 32px)); position: fixed; inset: 50% auto auto 50%; margin: 0; padding: 0; overflow: auto; overscroll-behavior: contain; transform: translate(-50%, -50%); color: var(--ink); border: 0; border-radius: 26px; background: white; box-shadow: 0 30px 90px rgba(8,18,42,.34); }
.offer-dialog::backdrop { background: rgba(7,16,36,.68); backdrop-filter: blur(7px); }
.modal-panel { overflow: hidden; border-radius: inherit; background: white; }
.modal-hero { min-height: 118px; padding: 27px 30px; position: relative; overflow: hidden; display: flex; align-items: flex-start; justify-content: space-between; color: white; background: var(--ink); }
.modal-orbit { width: 180px; height: 180px; position: absolute; right: 34px; top: -121px; border: 31px solid var(--coral); border-radius: 50%; opacity: .9; }
.modal-eyebrow { margin: 0 0 9px; color: var(--yellow); text-transform: uppercase; letter-spacing: 1.6px; font-size: 11px; font-weight: 900; }
.modal-access { position: relative; z-index: 1; display: inline-flex; padding: 7px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .8px; font-size: 10px; font-weight: 900; }
.modal-access.free { color: #bff8d9; background: rgba(25,147,92,.3); }
.modal-access.premium { color: #ffd7d8; background: rgba(239,75,79,.28); }
.modal-access.knowledge { color: #d6ffe8; background: rgba(25,147,92,.38); }
.modal-close { width: 42px; height: 42px; position: relative; z-index: 2; display: grid; place-items: center; color: white; border: 1px solid rgba(255,255,255,.3); border-radius: 13px; background: rgba(255,255,255,.1); cursor: pointer; font-size: 26px; line-height: 1; transition: background .18s ease, transform .18s ease; }
.modal-close:hover { background: rgba(255,255,255,.2); transform: rotate(4deg); }
.modal-body { padding: 0 34px 34px; }
.modal-logo { width: 220px; height: 104px; margin: -35px 0 23px; padding: 14px 18px; position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; border: 1px solid #e8ecf3; border-radius: 18px; background: white; box-shadow: 0 15px 34px rgba(16,29,61,.13); }
.modal-logo img { width: 100%; height: 100%; display: block; object-fit: contain; }
.modal-kicker { margin: 0 0 7px; color: var(--coral-dark); text-transform: uppercase; letter-spacing: 1.25px; font-size: 11px; font-weight: 900; }
.modal-copy h2 { margin: 0; max-width: 540px; font-size: clamp(28px, 5vw, 40px); line-height: 1.08; letter-spacing: -1.3px; }
.modal-summary { margin: 15px 0 0; max-width: 560px; color: var(--muted); font-size: 15px; line-height: 1.55; font-weight: 650; }
.modal-facts { margin-top: 25px; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.modal-facts > div { min-height: 78px; padding: 14px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 16px; background: #fbfcff; }
.fact-icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; color: var(--ink); border-radius: 12px; background: var(--yellow); font-size: 17px; font-weight: 900; }
.fact-icon.pale { color: var(--coral-dark); background: #fff0ef; }
.modal-facts span:last-child { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.modal-facts small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .7px; font-weight: 850; }
.modal-facts strong { font-size: 13px; line-height: 1.25; }
.modal-note { margin: 13px 0 20px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; color: var(--muted); border-radius: 13px; background: var(--sky); }
.modal-note > span { width: 24px; height: 24px; flex: none; display: grid; place-items: center; color: white; border-radius: 50%; background: var(--ink); font-size: 12px; font-weight: 900; }
.modal-note p { margin: 0; font-size: 11px; line-height: 1.4; font-weight: 700; }
.modal-cta { width: 100%; min-height: 56px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; color: white; border: 0; border-radius: 15px; background: var(--coral); cursor: pointer; font-size: 15px; font-weight: 900; box-shadow: 0 12px 24px rgba(239,75,79,.24); transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.modal-cta:hover { background: var(--coral-dark); transform: translateY(-2px); box-shadow: 0 16px 28px rgba(217,55,61,.27); }

.knowledge-hero { background: var(--knowledge-dark); }
.knowledge-hero .modal-orbit { border-color: #6ed79c; opacity: .55; }
.knowledge-modal .modal-body { padding-top: 0; }
.knowledge-modal-mark { width: fit-content; min-width: 220px; min-height: 80px; margin: -28px 0 23px; padding: 14px 17px; position: relative; z-index: 3; display: grid; grid-template-columns: 38px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 11px; color: var(--knowledge-dark); border: 1px solid #ccebd9; border-radius: 18px; background: white; box-shadow: 0 15px 34px rgba(8,95,56,.13); }
.knowledge-modal-mark > span { width: 38px; height: 38px; grid-row: 1 / 3; display: grid; place-items: center; color: white; border-radius: 12px; background: var(--knowledge); }
.knowledge-modal-mark strong { align-self: end; font-size: 17px; line-height: 1; }
.knowledge-modal-mark small { align-self: start; margin-top: 5px; color: var(--muted); text-transform: uppercase; letter-spacing: .7px; font-size: 9px; font-weight: 850; }
.knowledge-copy .modal-kicker { color: var(--knowledge); }
.knowledge-copy h2 { font-size: clamp(27px, 4vw, 37px); }
.knowledge-paragraph { margin: 14px 0 0; color: var(--ink-soft); font-size: 14px; line-height: 1.6; font-weight: 600; }
.knowledge-action { margin-top: 21px; padding: 15px 16px; display: flex; align-items: center; gap: 13px; color: var(--ink); border: 1px solid #f1d98f; border-radius: 16px; background: #fff9e9; }
.knowledge-action > span { width: 38px; height: 38px; flex: none; display: grid; place-items: center; color: var(--ink); border-radius: 12px; background: var(--yellow); font-size: 18px; font-weight: 900; }
.knowledge-action div, .knowledge-takeaway p { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.knowledge-action small, .knowledge-takeaway small { color: var(--muted); text-transform: uppercase; letter-spacing: .7px; font-size: 9px; font-weight: 900; }
.knowledge-action strong { font-size: 13px; line-height: 1.4; }
.knowledge-takeaway { margin: 11px 0 20px; padding: 15px 16px; display: flex; align-items: center; gap: 13px; color: var(--knowledge-dark); border-radius: 16px; background: var(--knowledge-pale); }
.knowledge-takeaway > span { width: 38px; height: 38px; flex: none; display: grid; place-items: center; color: white; border-radius: 12px; background: var(--knowledge); font-weight: 900; }
.knowledge-takeaway p { font-size: 13px; line-height: 1.4; font-weight: 800; }
.knowledge-close-cta { background: var(--knowledge); box-shadow: 0 12px 24px rgba(8,120,68,.2); }
.knowledge-close-cta:hover { background: var(--knowledge-dark); box-shadow: 0 16px 28px rgba(8,95,56,.24); }

.filter-button:focus-visible, .primary-button:focus-visible, .card-link:focus-visible, .cv-promo-button:focus-visible, .cv-header-button:focus-visible, .pagination-button:focus-visible, .empty-state button:focus-visible, .brand:focus-visible, .account-trigger:focus-visible, .account-dropdown a:focus-visible, .account-dropdown button:focus-visible, .footer-inner a:focus-visible, .modal-close:focus-visible, .modal-cta:focus-visible { outline: 3px solid #377cf6; outline-offset: 3px; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr auto; gap: 38px; }
  .discovery { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .container { width: min(100% - 32px, 1320px); }
  .cv-header-button small { display: none; }
  .site-header { height: 68px; }
  .hero { padding: 46px 0 62px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stat { display: none; }
  h1 { font-size: clamp(52px, 15vw, 72px); letter-spacing: -3px; }
  .hero-copy { font-size: 17px; }
  .hero-orbit-coral { right: -250px; }
  .hero-orbit-yellow { right: 22px; }
  .discovery { margin-top: -28px; padding: 14px; }
  .filters { gap: 6px; }
  .filter-button { flex: 1 1 auto; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-copy, .featured-deal { padding: 30px; }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-promo { grid-template-columns: 1fr; padding: 36px; }
  .cv-promo-preview { display: none; }
  .footer-inner { padding: 28px 0; grid-template-columns: 1fr auto; }
  .footer-inner p { display: none; }
}
@media (max-width: 500px) {
  .powered-label { display: none; }
  .header-actions { gap: 9px; }
  .cv-header-button { width: 44px; padding: 0; }
  .cv-header-label { display: none; }
  .account-label { display: none; }
  .account-trigger { padding-right: 8px; gap: 6px; }
  .account-dropdown { width: min(278px, calc(100vw - 32px)); right: -4px; }
  .brand { font-size: 20px; }
  .featured-section, .offers-section { padding-top: 32px; }
  .section-heading { align-items: flex-end; }
  .section-heading h2 { max-width: 70%; }
  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { min-height: 218px; }
  .cv-promo { min-height: 0; padding: 30px 24px; }
  .cv-promo h2 { font-size: 36px; }
  .offer-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 22px; }
  .modal-hero { min-height: 104px; padding: 21px 22px; }
  .modal-body { padding: 0 22px 24px; }
  .modal-logo { width: 184px; height: 88px; margin-top: -29px; }
  .modal-copy h2 { font-size: 29px; }
  .modal-facts { grid-template-columns: 1fr; }
  .knowledge-modal-mark { min-width: 190px; min-height: 74px; margin-top: -25px; }
  .knowledge-copy h2 { font-size: 28px; }
  .knowledge-paragraph { font-size: 13.5px; }
  .pagination { gap: 7px; }
  .pagination-button { min-width: 42px; height: 42px; padding: 0 10px; }
  .pagination-step { min-width: 42px; }
  .pagination-step span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

[hidden] { display: none !important; }
body { min-height: 100vh; }
.offer-dialog:not([open]) { display: none; }

/* ---- Members: login / OTP, locked redeem, regulator notice (2026-10-16) ---- */
.auth-main { position: relative; min-height: calc(100vh - 76px - 128px); padding: 56px 16px 72px; display: grid; place-items: center; overflow: hidden; background: var(--sky); }
.auth-card { position: relative; z-index: 1; width: min(460px, 100%); padding: 34px 32px 28px; border: 1px solid var(--line); border-radius: 26px; background: white; box-shadow: var(--shadow); }
.auth-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 850; letter-spacing: .3px; }
.auth-card h1 { margin: 14px 0 8px; font-size: 30px; line-height: 1.1; letter-spacing: -.8px; }
.auth-lead { margin: 0 0 22px; color: var(--muted); line-height: 1.55; }
.auth-lead strong { color: var(--ink); }
.auth-form { display: grid; gap: 10px; }
.auth-form label { font-size: 13px; font-weight: 850; color: var(--ink-soft); }
.auth-form input { min-height: 54px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--ink); font-size: 18px; outline: none; }
.auth-form input:focus { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(239,75,79,.14); }
.auth-code { letter-spacing: 10px; text-align: center; font-size: 26px !important; font-weight: 850; }
.auth-submit { width: 100%; margin-top: 8px; background: var(--coral); }
.auth-submit:hover { background: var(--coral-dark); }
.auth-msg { margin: 0 0 16px; padding: 12px 14px; border-radius: 13px; font-size: 14px; line-height: 1.5; }
.auth-msg-error { background: #fdecec; color: #a3262b; }
.auth-msg-info { background: var(--knowledge-pale); color: var(--knowledge-dark); }
.auth-secondary { margin-top: 14px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.auth-link { padding: 0; border: 0; background: none; color: var(--coral-dark); font-weight: 800; font-size: 14px; cursor: pointer; text-decoration: underline; }
.auth-foot { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.55; }
.auth-foot a { color: var(--coral-dark); font-weight: 800; }
.modal-cta { text-decoration: none; }
.modal-cta-locked { justify-content: center; gap: 10px; background: var(--ink); }
.modal-cta-locked:hover { background: var(--ink-soft); box-shadow: 0 16px 28px rgba(16,29,61,.22); }
.account-guest-copy strong { color: var(--ink); }
.dcb-notice { margin: 0; padding: 0 0 22px; color: #cbd4e7; font-size: 12px; line-height: 1.6; text-align: center; }
.dcb-notice a { color: var(--yellow); }
@media (max-width: 560px) {
  .auth-card { padding: 28px 20px 22px; }
  .auth-card h1 { font-size: 26px; }
}
.redeem-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 16px; padding: 14px 16px; border: 1px dashed var(--coral); border-radius: 14px; background: #fff7f5; }
.redeem-code code { font-size: 18px; font-weight: 700; letter-spacing: .5px; word-break: break-all; color: var(--ink); }
.vouchers-card { width: min(560px, 100%); }
.voucher-list { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 10px; }
.voucher-list a { display: flex; align-items: center; gap: 14px; padding: 10px 14px; color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-radius: 16px; background: white; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.voucher-list a:hover { border-color: #b9c5d8; box-shadow: 0 8px 20px rgba(16,29,61,.1); transform: translateY(-1px); }
.voucher-list img { width: 84px; height: 40px; object-fit: contain; flex: none; }
.voucher-list span:not(.voucher-chevron) { flex: 1; min-width: 0; display: grid; gap: 2px; }
.voucher-list strong { font-size: 15px; }
.voucher-list small { color: var(--muted); font-size: 12px; }
.voucher-chevron { color: var(--muted); font-size: 22px; }

/* Household Money course (money-course.php, money-check.php) */
.course-main { align-items: start; }
.course-card { width: min(620px, 100%); }
.course-card h1 { font-size: clamp(25px, 4vw, 32px); }
.course-card h1:focus { outline: none; }
.course-badge { background: #e8f8ef; color: var(--knowledge-dark); }
.course-badge-ok { background: var(--knowledge); color: white; }
.course-back { display: block; width: fit-content; margin: 0 0 16px; padding: 0; border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 800; text-decoration: none; cursor: pointer; }
.course-back:hover { color: var(--ink); }
.course-step { margin: 0 0 8px; color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; }
.course-progress { height: 8px; margin-bottom: 6px; overflow: hidden; border-radius: 999px; background: var(--sky); }
.course-progress span { display: block; height: 100%; border-radius: inherit; background: var(--knowledge); transition: width .3s ease; }
.course-meta { margin: 0 0 6px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.course-meta li { padding: 7px 11px; border-radius: 999px; background: var(--sky); font-size: 12px; font-weight: 850; }
.course-text { margin: 0 0 14px; color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.course-box { margin: 4px 0 16px; padding: 16px 18px; border: 1px solid #bfe9d1; border-radius: 16px; background: var(--knowledge-pale); }
.course-box strong { display: block; margin-bottom: 6px; color: var(--knowledge-dark); font-size: 14px; }
.course-box ol, .course-box ul { margin: 0; padding-left: 20px; color: var(--ink-soft); line-height: 1.55; }
.course-box li + li { margin-top: 6px; }
.course-options { display: grid; gap: 10px; margin: 18px 0 4px; }
.course-option { position: relative; min-height: 64px; padding: 14px 44px 14px 14px; display: flex; align-items: center; gap: 12px; border: 2px solid var(--line); border-radius: 16px; background: white; cursor: pointer; font-size: 15px; font-weight: 700; line-height: 1.4; transition: border-color .15s ease, background .15s ease; }
.course-option:hover { border-color: #b9c5d8; }
.course-option input { position: absolute; opacity: 0; pointer-events: none; }
.course-option-key { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--sky); font-size: 13px; font-weight: 950; }
.course-option-check { position: absolute; right: 14px; top: 50%; width: 22px; height: 22px; display: none; place-items: center; transform: translateY(-50%); border-radius: 50%; background: var(--knowledge); color: white; font-size: 12px; }
.course-option:has(input:checked) { border-color: var(--knowledge); background: var(--knowledge-pale); }
.course-option:has(input:checked) .course-option-key { background: var(--knowledge); color: white; }
.course-option:has(input:checked) .course-option-check { display: grid; }
.course-option:has(input:focus-visible) { outline: 3px solid #377cf6; outline-offset: 2px; }
.course-ack { margin: 12px 0 0; padding: 12px 14px; border-left: 4px solid var(--knowledge); border-radius: 0 12px 12px 0; background: var(--knowledge-pale); color: var(--knowledge-dark); font-size: 14px; font-weight: 700; line-height: 1.5; }
.course-bridge { margin: 20px 0 6px; padding: 20px; border-radius: 18px; background: var(--ink); color: white; }
.course-bridge h2 { margin: 10px 0 8px; font-size: 21px; line-height: 1.25; }
.course-bridge p { margin: 0; color: #d6deec; line-height: 1.55; }
.course-bridge-tag { display: inline-block; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.12); font-size: 11px; font-weight: 900; letter-spacing: .6px; text-transform: uppercase; }
.course-note { margin: 16px 0 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.course-secondary { display: block; margin-top: 12px; text-align: center; color: var(--muted); font-size: 14px; font-weight: 800; }
.course-preparing { padding: 30px 0; display: grid; justify-items: center; gap: 14px; text-align: center; }
.course-preparing p { margin: 0; font-weight: 800; }
.course-spinner { width: 42px; height: 42px; border: 4px solid var(--sky); border-top-color: var(--knowledge); border-radius: 50%; animation: course-spin .9s linear infinite; }
@keyframes course-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .course-spinner { animation-duration: 3s; } }
.primary-button:disabled { opacity: .45; cursor: not-allowed; }
.id-masked { min-height: 54px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--knowledge); border-radius: 14px; background: var(--knowledge-pale); font-size: 18px; font-weight: 850; letter-spacing: 1px; }
.field-error { margin: 0; color: #a3262b; font-size: 13px; font-weight: 700; }
.known-data { margin: 4px 0; color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.consent { display: flex !important; gap: 10px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 14px; font-weight: 600 !important; line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; min-height: 0 !important; margin: 2px 0 0; padding: 0; flex: none; accent-color: var(--knowledge); }
.consent a { color: var(--coral-dark); }

/* Household Money course: featured support on the homepage, catalogue card */
.support-feature { display: grid; grid-template-columns: 1.2fr .8fr; overflow: hidden; border-radius: 24px; background: var(--ink); color: white; box-shadow: 0 18px 40px rgba(16,29,61,.18); }
.support-feature-copy { padding: 34px 40px; }
.support-feature-label { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.12); text-transform: uppercase; letter-spacing: 1.2px; font-size: 11px; font-weight: 900; }
.support-feature h2 { margin: 16px 0 10px; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.08; letter-spacing: -1px; }
.support-feature-copy p { margin: 0; max-width: 560px; color: #d6deec; font-size: 16px; line-height: 1.55; }
.support-feature-side { padding: 30px 36px; display: flex; flex-direction: column; justify-content: center; gap: 8px; background: var(--knowledge); }
.support-feature-side strong { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.support-feature-side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-weight: 800; }
.support-feature-side li::before { content: "✓ "; }
.support-feature-side .primary-button { width: fit-content; margin-top: 14px; color: var(--ink); background: white; text-decoration: none; }
.support-feature-side small { color: #d9f5e6; font-size: 12px; }
.course-tile { min-width: 136px; height: 58px; padding: 8px 11px; display: flex; align-items: center; gap: 9px; color: white; border-radius: 14px; background: var(--ink); }
.course-tile > span { width: 31px; height: 31px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--knowledge); font-size: 15px; }
.course-tile strong { max-width: 74px; font-size: 10px; line-height: 1.15; text-transform: uppercase; letter-spacing: .5px; }
.access-badge.course { color: white; background: var(--knowledge); }
@media (max-width: 760px) {
  .support-feature { grid-template-columns: 1fr; }
  .support-feature-copy, .support-feature-side { padding: 26px 22px; }
  .course-card { padding: 24px 18px 22px; }
}

/* Household Money course: lead form (steps 1 and 2, as on lp.findbetter.co.za/repayment-breakdown) */
.lead-steps { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.lead-steps .course-back { margin: 0; }
.lead-steps-bar { display: grid; grid-template-columns: repeat(2, minmax(34px, 1fr)); gap: 4px; }
.lead-steps-bar span { grid-column: 1 / -1; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; text-align: center; white-space: nowrap; }
.lead-steps-bar i { height: 4px; border-radius: 999px; background: var(--line); }
.lead-steps-bar i.on { background: var(--coral); }
.lead-answer { margin-bottom: 16px; padding: 14px 16px; border: 1px solid #ffd6d4; border-radius: 14px; background: #fff4f3; }
.lead-answer small { display: block; color: var(--coral-dark); font-size: 11px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; }
.lead-answer strong { display: block; margin: 2px 0 4px; font-size: 16px; }
.lead-answer p { margin: 0; color: var(--ink-soft); font-size: 14px; line-height: 1.5; }
.lead-plan { margin: 0 0 18px; padding: 14px 16px; list-style: none; counter-reset: lead; display: grid; gap: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--sky); }
.lead-plan li { position: relative; padding-left: 36px; counter-increment: lead; }
.lead-plan li::before { content: counter(lead); position: absolute; left: 0; top: 0; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); color: white; font-size: 12px; font-weight: 900; }
.lead-plan strong { display: block; font-size: 15px; }
.lead-plan em { padding: 1px 6px; border-radius: 6px; background: var(--knowledge-pale); color: var(--knowledge-dark); font-style: normal; }
.lead-plan span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.lead-form { gap: 8px; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-row > div { display: grid; gap: 8px; align-content: start; }
.lead-label { font-size: 13px; font-weight: 850; color: var(--ink-soft); }
.lead-phone { min-height: 54px; margin: 0; padding: 0 14px; display: flex; align-items: center; gap: 6px; border: 1px dashed var(--line); border-radius: 14px; background: var(--sky); color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.lead-form select { min-height: 54px; padding: 0 14px; border: 1px solid var(--line); border-radius: 14px; background: white; color: var(--ink); font: inherit; font-size: 16px; }
.lead-form select:focus { border-color: var(--coral); box-shadow: 0 0 0 4px rgba(239,75,79,.14); outline: none; }
.lead-form input { font-size: 16px !important; }
.lead-submit { gap: 8px; }
.lead-trust { margin: 18px 0 0; padding: 12px; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; border-radius: 14px; background: var(--sky); text-align: center; }
.lead-trust strong { display: block; font-size: 13px; }
.lead-trust span { color: var(--muted); font-size: 11px; }
.lead-ratio fieldset { margin: 0; padding: 0; border: 0; }
.lead-ratio legend { padding: 0; font-weight: 850; }
.lead-hint { margin: 4px 0 10px; color: var(--muted); font-size: 12px; font-weight: 700; }
.lead-ratio-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 6px; }
.lead-ratio-options .course-option { min-height: 56px; padding-right: 14px; }
.course-option-dot { width: 20px; height: 20px; flex: none; border: 2px solid #b9c5d8; border-radius: 50%; background: white; }
.course-option:has(input:checked) .course-option-dot { border: 6px solid var(--knowledge); }
@media (max-width: 560px) {
  .lead-row, .lead-ratio-options { grid-template-columns: 1fr; }
  .lead-trust { grid-template-columns: 1fr; }
}

/* Lead form step 2: live validation and effects of the FindBetter landing (assets/lead-form.js) */
@keyframes lead-beat { 0%, 55%, 100% { box-shadow: 0 0 0 0 rgba(239,75,79,0); } 12% { box-shadow: 0 0 0 5px rgba(239,75,79,.38); } 24% { box-shadow: 0 0 0 1px rgba(239,75,79,.12); } 36% { box-shadow: 0 0 0 8px rgba(239,75,79,.3); } }
@keyframes lead-btn { 0%, 55%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(29,138,74,0); } 12% { transform: scale(1.035); box-shadow: 0 0 0 6px rgba(29,138,74,.28); } 24% { transform: scale(1); box-shadow: 0 0 0 2px rgba(29,138,74,.12); } 36% { transform: scale(1.035); box-shadow: 0 0 0 10px rgba(29,138,74,.2); } }
.lead-form .lead-field.is-next, .lead-form .lead-wrap.is-next { border-color: var(--coral); animation: lead-beat 1.6s ease-in-out infinite; }
.lead-form .lead-field.is-ok { border-color: #1d8a4a; }
.lead-form .fv-invalid, .lead-form .fv-invalid.is-next { border-color: #b52828 !important; box-shadow: 0 0 0 3px rgba(181,40,40,.12) !important; animation: none !important; }
.lead-id-wrap { position: relative; border-radius: 14px; }
.lead-id-wrap .lead-id-card { position: absolute; top: 50%; left: 14px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.lead-id-wrap.is-next .lead-id-card { color: var(--coral); }
.lead-id-wrap.is-ok .lead-id-card { color: #1d8a4a; }
.lead-form .lead-id { width: 100%; min-height: 56px; padding-left: 46px; border: 2px solid rgba(16,29,61,.2); font-size: 19px !important; font-weight: 800; letter-spacing: 1px; }
.lead-id-wrap.is-next .lead-id { border-color: var(--coral); }
.lead-id-wrap.is-ok .lead-id, .lead-id-wrap.is-ok .lead-id:focus { border-color: #1d8a4a; box-shadow: 0 0 0 3px rgba(29,138,74,.16); }
.lead-id-wrap.fv-invalid .lead-id { border-color: #b52828; }
.lead-form .consent.is-ok { border-color: #1d8a4a; }
.fv-msg { display: none; margin: 2px 0 4px; color: #b52828; font-size: 12.5px; font-weight: 700; line-height: 1.4; }
.fv-msg.is-shown { display: block; }
.fv-msg.is-shown::before { content: "!"; display: inline-grid; place-items: center; width: 15px; height: 15px; margin-right: 6px; border-radius: 50%; background: #b52828; color: white; font-size: 10px; font-weight: 900; vertical-align: 1px; }
.fv-fix { padding: 0; border: 0; background: none; color: #b52828; font: inherit; font-weight: 900; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.fv-hint { display: none; margin: 6px 0 0; color: var(--muted); font-size: 13px; font-weight: 700; text-align: center; cursor: pointer; }
.fv-hint.is-shown { display: block; }
.fv-hint::before { content: "→ "; }
.lead-submit { display: flex; align-items: center; justify-content: center; gap: 8px; background: #1d8a4a; animation: lead-btn 1.6s ease-in-out infinite; }
.lead-submit:hover { background: #18763f; }
.lead-submit.is-locked { background: #c8cdd2; color: #6b737c; box-shadow: none; animation: none; transform: none; cursor: default; }
.lead-submit.is-locked:hover { background: #c8cdd2; }
.lead-trust li { display: grid; justify-items: center; gap: 1px; padding: 0 6px; }
.lead-trust li + li { border-left: 1px solid var(--line); }
.lead-trust svg { margin-bottom: 3px; color: #1d8a4a; }
@media (max-width: 560px) { .lead-trust li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 8px; } }
@media (prefers-reduced-motion: reduce) { .lead-form .lead-field.is-next, .lead-form .lead-wrap.is-next, .lead-submit { animation: none; } }

/* Household Money course v2: course bar, cover, lessons with activities */
.course-shell { padding: 0; overflow: hidden; }
.course-screen { padding: 24px 30px 28px; animation: course-in .25s ease-out; }
@keyframes course-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.course-bar { padding: 14px 20px 12px; border-bottom: 1px solid var(--line); background: #fbfcff; }
.cb-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cb-top .course-back { margin: 0; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; font-size: 16px; }
.cb-top .course-back:hover { background: var(--sky); }
.cb-top strong { flex: 1; font-size: 14px; }
.cb-top span { color: var(--knowledge-dark); font-size: 13px; font-weight: 900; }
.cb-chips { margin: 10px 0 0; padding: 0; list-style: none; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.cb-chip { flex: none; display: flex; align-items: center; gap: 6px; padding: 5px 10px 5px 5px; border-radius: 999px; background: white; border: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 800; white-space: nowrap; }
.cb-chip span { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--sky); font-size: 11px; }
.cb-chip.now { border-color: var(--knowledge); color: var(--ink); background: var(--knowledge-pale); }
.cb-chip.now span { background: var(--knowledge); color: white; }
.cb-chip.done span { background: var(--knowledge-pale); color: var(--knowledge-dark); }
.lesson-kicker { margin: 0 0 6px; color: var(--knowledge-dark); font-size: 12px; font-weight: 900; letter-spacing: .8px; text-transform: uppercase; }
.course-shell .course-screen h1 { margin: 0 0 10px; }
.lesson-lead { margin: 0 0 18px; color: var(--ink-soft); font-size: 17px; line-height: 1.5; }
.lesson-text { margin: 16px 0 0; color: var(--muted); line-height: 1.5; }
.lesson-takeaway { margin: 8px 0 6px; padding: 18px; display: flex; gap: 14px; align-items: flex-start; border-radius: 18px; background: var(--yellow); }
.lesson-takeaway > span { font-size: 26px; line-height: 1; }
.lesson-takeaway p { margin: 0; font-size: 17px; font-weight: 800; line-height: 1.45; }
.lesson-takeaway strong { display: block; margin-bottom: 4px; font-size: 11px; letter-spacing: .8px; text-transform: uppercase; color: var(--ink-soft); }

/* cover */
.course-shell.is-cover .course-screen { padding-top: 30px; }
.course-cover { text-align: center; }
.cover-mark { width: 74px; height: 74px; margin: 18px auto 10px; display: grid; place-items: center; border-radius: 22px 22px 22px 6px; background: var(--knowledge); color: white; font-size: 34px; font-weight: 950; transform: rotate(-4deg); box-shadow: 0 14px 28px rgba(8,120,68,.25); }
.course-cover h1 { margin-bottom: 4px !important; font-size: 34px !important; }
.cover-sub { margin: 0 0 20px; color: var(--muted); font-size: 17px; }
.cover-outline { margin: 0 0 16px; padding: 6px; list-style: none; text-align: left; border: 1px solid var(--line); border-radius: 18px; }
.cover-outline li { display: flex; align-items: center; gap: 12px; padding: 10px; }
.cover-outline li + li { border-top: 1px solid var(--line); }
.co-num { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--knowledge-pale); color: var(--knowledge-dark); font-weight: 950; }
.co-title { flex: 1; font-weight: 800; }
.co-title small { display: block; color: var(--knowledge-dark); font-size: 12px; font-weight: 800; }
.co-time { color: var(--muted); font-size: 13px; font-weight: 700; }
.co-plan .co-num { background: var(--yellow); color: var(--ink); }
.course-cover .course-meta { justify-content: center; }

/* check-ins */
.checkin-ack { margin: 14px 0 0; display: flex; gap: 10px; align-items: flex-start; animation: course-in .25s ease-out; }
.checkin-ack > span { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 10px 10px 10px 3px; background: var(--coral); color: white; font-weight: 950; font-size: 14px; }
.checkin-ack p { margin: 0; padding: 12px 14px; border-radius: 4px 16px 16px 16px; background: var(--sky); color: var(--ink-soft); font-size: 14px; font-weight: 700; line-height: 1.5; }

/* lesson 1 */
.formula { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 18px 10px; border-radius: 18px; background: var(--sky); }
.formula div { width: 92px; padding: 12px 6px; display: grid; justify-items: center; gap: 4px; border-radius: 14px; background: white; text-align: center; box-shadow: 0 6px 14px rgba(16,29,61,.06); }
.formula div span { font-size: 24px; }
.formula div strong { font-size: 12px; line-height: 1.2; }
.formula b { color: var(--muted); font-size: 22px; }
.formula .formula-result { background: var(--knowledge); color: white; }
.calc { display: grid; gap: 10px; }
.calc-field { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; }
.calc-field > span:first-child { font-weight: 850; }
.calc-field small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.calc-input { display: flex; align-items: center; gap: 6px; width: 140px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: #fbfcff; }
.calc-input b { color: var(--muted); }
.calc-input input { width: 100%; min-height: 44px; border: 0; background: none; font-size: 17px; font-weight: 800; text-align: right; outline: none; }
.calc-input:focus-within { border-color: var(--knowledge); box-shadow: 0 0 0 3px rgba(8,120,68,.14); }
.calc-result { padding: 14px; border-radius: 16px; background: var(--sky); }
.calc-empty { margin: 0; color: var(--muted); font-size: 14px; text-align: center; }
.calc-bar { height: 14px; display: flex; overflow: hidden; border-radius: 999px; background: white; }
.calc-bar span { transition: width .3s ease; }
.cb-ess { background: #f2a33a; }
.cb-rep { background: var(--coral); }
.cb-left { background: var(--knowledge); }
.calc-legend { margin: 8px 0; display: flex; gap: 14px; color: var(--muted); font-size: 12px; font-weight: 700; }
.calc-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 5px; border-radius: 3px; vertical-align: -1px; }
.calc-left { margin: 0; font-size: 16px; font-weight: 850; color: var(--knowledge-dark); }
.calc-left.is-short { color: #a3262b; }

/* lesson 2 */
.sort-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.sort-chip { min-height: 58px; padding: 10px 12px; display: flex; align-items: center; gap: 10px; border: 2px solid var(--line); border-radius: 14px; background: white; color: var(--ink); font: inherit; font-size: 14px; font-weight: 800; text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.sort-chip:hover { transform: translateY(-1px); }
.sort-chip > span { font-size: 22px; }
.sort-chip em { margin-left: auto; font-size: 11px; font-style: normal; font-weight: 900; text-transform: uppercase; letter-spacing: .4px; }
.sort-chip.is-protect { border-color: var(--knowledge); background: var(--knowledge-pale); }
.sort-chip.is-protect em { color: var(--knowledge-dark); }
.sort-chip.is-wait { border-color: #f2c48a; background: #fff8ee; }
.sort-chip.is-wait em { color: #a8620b; }
.sort-feedback { min-height: 22px; margin: 12px 0 0; color: var(--ink-soft); font-size: 14px; font-weight: 700; line-height: 1.5; }
.check-cards { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.check-cards li { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--sky); font-weight: 750; line-height: 1.45; }
.check-cards li span { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font-size: 13px; font-weight: 900; }

/* lesson 3 */
.signal-list { display: grid; gap: 10px; }
.signal { display: flex; align-items: center; gap: 12px; padding: 14px; border: 2px solid var(--line); border-radius: 16px; font-weight: 750; line-height: 1.4; cursor: pointer; }
.signal input { position: absolute; opacity: 0; pointer-events: none; }
.signal-box { width: 24px; height: 24px; flex: none; display: grid; place-items: center; border: 2px solid #b9c5d8; border-radius: 7px; color: transparent; font-size: 13px; font-weight: 900; }
.signal:has(input:checked) { border-color: var(--coral); background: #fff4f3; }
.signal:has(input:checked) .signal-box { border-color: var(--coral); background: var(--coral); color: white; }
.signal:has(input:focus-visible) { outline: 3px solid #377cf6; outline-offset: 2px; }
.signal-feedback { margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--knowledge-pale); color: var(--knowledge-dark); font-size: 14px; font-weight: 750; line-height: 1.5; }
.signal-feedback.is-alert { background: #fff4f3; color: #a3262b; }
.fb-facts { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.fb-facts li { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; background: var(--ink); color: white; }
.fb-facts strong { min-width: 84px; font-size: 22px; color: var(--yellow); }
.fb-facts span { color: #d6deec; font-size: 14px; line-height: 1.45; }

/* completion */
.course-done { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.done-badge { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: var(--yellow); font-size: 24px; }
.course-done .lesson-kicker { margin: 0; font-size: 14px; }
.plan-steps { margin: 0 0 6px; padding: 0; list-style: none; counter-reset: plan; display: grid; gap: 8px; }
.plan-steps li { position: relative; padding: 12px 14px 12px 48px; border: 1px solid var(--line); border-radius: 14px; font-weight: 700; line-height: 1.45; counter-increment: plan; }
.plan-steps li::before { content: counter(plan); position: absolute; left: 12px; top: 50%; width: 26px; height: 26px; display: grid; place-items: center; transform: translateY(-50%); border-radius: 50%; background: var(--knowledge); color: white; font-size: 13px; font-weight: 900; }
@media (max-width: 560px) {
  .course-screen { padding: 20px 18px 22px; }
  .course-bar { padding: 12px 14px 10px; }
  .formula div { width: 74px; }
  .calc-field { flex-direction: column; align-items: stretch; }
  .calc-input { width: 100%; }
  .sort-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .course-screen, .checkin-ack { animation: none; } }

/* Lesson 1 sliders */
.calc-slider { display: grid; gap: 10px; padding: 14px 16px 10px; border: 1px solid var(--line); border-radius: 16px; }
.cs-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; font-weight: 850; }
.cs-head small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; }
.cs-head output { flex: none; color: var(--ink); font-size: 22px; font-weight: 950; letter-spacing: -.5px; }
.calc-slider input[type="range"] { --fill: 0%; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.calc-slider input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(to right, var(--knowledge) var(--fill), var(--sky) var(--fill)); }
.calc-slider input[type="range"]::-moz-range-track { height: 8px; border-radius: 999px; background: var(--sky); }
.calc-slider input[type="range"]::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--knowledge); }
.calc-slider input[type="range"]::-webkit-slider-thumb { width: 26px; height: 26px; margin-top: -9px; border: 4px solid white; border-radius: 50%; background: var(--knowledge); box-shadow: 0 2px 8px rgba(16,29,61,.3); -webkit-appearance: none; appearance: none; transition: transform .15s ease; }
.calc-slider input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: 4px solid white; border-radius: 50%; background: var(--knowledge); box-shadow: 0 2px 8px rgba(16,29,61,.3); }
.calc-slider input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc-slider input[type="range"]:focus-visible { outline: 3px solid #377cf6; outline-offset: 4px; border-radius: 8px; }
.cs-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; font-weight: 700; }

/* Shorter funnel: ratio question inside the plan, compact FindBetter note */
.course-bridge fieldset { margin: 14px 0 0; padding: 0; border: 0; }
.course-bridge legend { margin-bottom: 10px; padding: 0; color: white; font-weight: 850; }
.bridge-ratios { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bridge-ratio { position: relative; min-height: 50px; padding: 0 12px; display: flex; align-items: center; justify-content: center; border: 2px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.06); color: white; font-weight: 850; cursor: pointer; transition: background .15s ease, border-color .15s ease; }
.bridge-ratio:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.12); }
.bridge-ratio input { position: absolute; opacity: 0; pointer-events: none; }
.bridge-ratio:has(input:checked) { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.bridge-ratio:has(input:focus-visible) { outline: 3px solid #377cf6; outline-offset: 2px; }
.course-bridge > p { margin: 10px 0 0; font-size: 13px; }
.course-bridge .auth-submit { margin-top: 12px; }
.course-options.is-picked .course-option:not(:has(input:checked)) { opacity: .45; }
.fb-mini { margin: 14px 0 0; padding: 12px 14px; display: grid; gap: 2px; border-radius: 14px; background: var(--ink); color: #d6deec; font-size: 13px; line-height: 1.45; }
.fb-mini strong { color: var(--yellow); font-size: 14px; }
.lesson-takeaway { margin-top: 14px; }
@media (max-width: 400px) { .bridge-ratios { grid-template-columns: 1fr; } }

/* Household Money course + lead form: lighter type (the site's 800–950 weights read too heavy here) */
.course-card, .course-card button, .course-card input, .course-card select { font-weight: 400; }
.course-card h1 { font-weight: 700; letter-spacing: -.5px; }
.course-card h2, .course-card legend { font-weight: 600; }
.course-card strong, .course-card b, .course-card output, .cs-head output, .formula b,
.lesson-takeaway strong, .lead-answer strong, .lead-plan strong, .lead-trust strong, .fb-facts strong,
.fb-mini strong, .co-title, .co-num, .calc-left, .cs-head, .calc-field > span:first-child { font-weight: 600; }
.lesson-kicker, .course-step, .cb-top strong, .cb-top span, .cb-chip, .auth-badge.course-badge, .course-bridge-tag,
.lead-answer small, .lead-steps-bar span, .co-time, .co-title small, .course-meta li, .sort-chip em { font-weight: 600; }
.lesson-lead, .lesson-text, .course-text, .course-note, .lesson-takeaway p, .checkin-ack p, .sort-feedback,
.signal-feedback, .lead-answer p, .lead-plan span, .lead-hint, .known-data, .lead-phone, .fb-facts span, .fb-mini span,
.cs-head small, .cs-scale, .calc-legend, .calc-empty, .consent, .consent span, .course-ack, .course-secondary { font-weight: 400; }
.course-option, .sort-chip, .signal, .check-cards li, .plan-steps li, .bridge-ratio, .course-options .course-option span { font-weight: 500; }
.course-card .primary-button, .course-card .auth-link, .course-card .course-back, .fv-hint, .fv-msg, .field-error,
.auth-form label, .lead-label, .course-card .auth-msg { font-weight: 600; }
.lesson-takeaway p { font-size: 16px; }
.lead-form .lead-id { font-weight: 600; } .lead-form .lead-id::placeholder { font-weight: 400; letter-spacing: .3px; }

/* Course plan: what to ask FindBetter for (debt advice · free credit check · both), one tap each */
.course-bridge .bridge-ask { margin: 12px 0 10px; color: white; font-size: 15px; font-weight: 600; }
.bridge-services { display: grid; gap: 8px; }
.bridge-service { width: 100%; min-height: 60px; padding: 10px 14px; display: flex; align-items: center; gap: 12px; border: 2px solid rgba(255,255,255,.18); border-radius: 14px; background: rgba(255,255,255,.06); color: white; font: inherit; text-align: left; cursor: pointer; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.bridge-service:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.12); }
.bridge-service:active { transform: scale(.99); }
.bridge-service:focus-visible { outline: 3px solid #377cf6; outline-offset: 2px; }
.bridge-service.is-both { border-color: var(--yellow); background: var(--yellow); color: var(--ink); }
.bridge-service.is-both small { color: var(--ink-soft); }
.bs-icon { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,255,255,.12); font-size: 18px; }
.bridge-service.is-both .bs-icon { background: rgba(16,29,61,.08); }
.bs-text { flex: 1; display: grid; gap: 2px; }
.bs-text strong { font-size: 15px; font-weight: 600; }
.bs-text small { color: #d6deec; font-size: 13px; line-height: 1.35; font-weight: 400; }
.bs-go { flex: none; font-size: 18px; }
.lead-services { margin-top: 16px; }

/* Lead form: "You asked for" + Change, and the debt-to-income range on a light background */
.lead-answer { position: relative; }
.lead-change { position: absolute; top: 14px; right: 16px; color: var(--coral-dark); font-size: 13px; font-weight: 600; }
.lead-ratios { margin: 0 0 14px; padding: 0; border: 0; border-radius: 14px; }
.lead-ratios legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 600; }
.lead-ratios .bridge-ratio { min-height: 46px; border-color: var(--line); background: white; color: var(--ink); }
.lead-ratios .bridge-ratio:hover { border-color: var(--knowledge); background: white; }
.lead-ratios .bridge-ratio:has(input:checked) { border-color: var(--ink); background: var(--ink); color: white; }
.lead-ratios.is-ok .bridge-ratio:has(input:checked) { border-color: #16a34a; background: #16a34a; }
.lead-ratios.fv-invalid .bridge-ratio { border-color: #e5484d; }

/* Featured support banner (Household Money): brighter, shows the two free extras */
.support-feature { position: relative; isolation: isolate; grid-template-columns: 1.15fr .85fr; background: radial-gradient(120% 140% at 0% 0%, #1d3266 0%, var(--ink) 55%); box-shadow: 0 22px 50px rgba(16,29,61,.28); }
.sf-orb { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.sf-orb-coral { width: 220px; height: 220px; left: -70px; bottom: -110px; background: var(--coral); opacity: .55; filter: blur(2px); }
.sf-orb-yellow { width: 90px; height: 90px; left: 50%; top: -40px; background: var(--yellow); opacity: .9; }
.support-feature-label { align-items: center; gap: 8px; padding: 5px 12px 5px 5px; }
.sf-free { padding: 4px 9px; border-radius: 999px; background: var(--yellow); color: var(--ink); letter-spacing: .8px; }
.support-feature h2 { font-size: clamp(28px, 3.8vw, 42px); }
.sf-path { margin: 20px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.sf-path li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 7px 7px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 13px; font-weight: 800; }
.sf-path li span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: white; color: var(--ink); font-size: 12px; }
.sf-path li:last-child { background: var(--yellow); color: var(--ink); }
.sf-path li:last-child span { background: var(--ink); color: white; }
.support-feature .sf-cta { margin-top: 22px; padding: 0 24px; min-height: 52px; font-size: 16px; color: var(--ink); background: var(--yellow); text-decoration: none; box-shadow: 0 8px 22px rgba(255,230,163,.25); animation: sf-cta 2.8s ease-in-out infinite; }
.support-feature .sf-cta:hover { background: white; }
@keyframes sf-cta { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.04); } 90% { transform: scale(1); } }
.sf-note { display: block; margin-top: 12px; color: #aebbd6; font-size: 12px; }
.support-feature-side { position: relative; gap: 10px; padding: 30px 32px; background: linear-gradient(160deg, #0a8a4f, var(--knowledge-dark)); }
.support-feature-side .sf-side-title { font-size: 12px; letter-spacing: 1.2px; }
.sf-reward { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: white; color: var(--ink); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
.sf-reward b { display: block; font-size: 16px; }
.sf-reward small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; line-height: 1.35; }
.sf-reward-icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--sky); font-size: 22px; }
.sf-plus { align-self: center; width: 28px; height: 28px; margin: -16px 0; z-index: 1; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font-weight: 900; box-shadow: 0 0 0 4px #098048; }
.sf-powered { color: #d9f5e6; font-size: 12px; }
@media (max-width: 760px) {
  .support-feature { grid-template-columns: 1fr; }
  .support-feature .sf-cta { width: 100%; justify-content: center; }
  .sf-orb-yellow { left: auto; right: -40px; }
}
@media (prefers-reduced-motion: reduce) { .support-feature .sf-cta { animation: none; } }

/* Household Money course + lead form: every screen fits the window (no vertical scroll).
   The card fills the space under the header and its main button sits at the bottom. */
.course-page .site-header { height: 56px; }
.course-page .powered-label { display: none; }
.course-page .auth-main { min-height: calc(100vh - 56px); min-height: calc(100dvh - 56px); padding: 12px 12px 16px; place-items: start center; }
.course-page .course-card { display: flex; flex-direction: column; min-height: calc(100vh - 56px - 28px); min-height: calc(100dvh - 56px - 28px); max-height: 720px; }
.course-page .course-screen { flex: 1; display: flex; flex-direction: column; padding: 16px 22px 18px; }
.course-page .course-screen > [data-next] { margin-top: auto; }
.course-page .course-screen > .lesson-takeaway + [data-next], .course-page .course-screen > .fb-mini + [data-next] { margin-top: auto; }
.course-page .course-screen h1 { font-size: clamp(21px, 3vw, 26px); line-height: 1.2; margin-bottom: 8px; }
.course-page .lesson-kicker { margin-bottom: 4px; font-size: 11px; }
.course-page .lesson-lead { margin-bottom: 10px; font-size: 15px; }
.course-page .primary-button.auth-submit { min-height: 50px; margin-top: 12px; }
/* course bar */
.course-page .course-bar { padding: 8px 16px; }
.course-page .cb-top { margin-bottom: 6px; }
.course-page .cb-top .course-back { width: 28px; height: 28px; }
.course-page .course-progress { height: 6px; margin: 0; }
.course-page .cb-chips { margin-top: 8px; }
.course-page .cb-chip { padding: 3px 8px 3px 3px; font-size: 11px; }
.course-page .cb-chip span { width: 18px; height: 18px; }
/* cover */
.course-page.is-cover .course-screen, .course-page .course-shell.is-cover .course-screen { padding-top: 18px; }
.course-page .course-cover { flex: 1; display: flex; flex-direction: column; }
.course-page .course-cover > [data-next] { margin-top: auto; }
.course-page .cover-mark { width: 52px; height: 52px; margin: 10px auto 8px; font-size: 24px; border-radius: 16px 16px 16px 5px; }
.course-page .course-cover h1 { font-size: 28px !important; }
.course-page .cover-sub { margin-bottom: 12px; font-size: 15px; }
.course-page .cover-outline { margin-bottom: 10px; padding: 2px 6px; }
.course-page .cover-outline li { padding: 7px 6px; }
.course-page .co-num { width: 26px; height: 26px; border-radius: 8px; font-size: 13px; }
.course-page .course-meta { gap: 6px; }
.course-page .course-meta li { padding: 5px 9px; font-size: 11px; }
/* check-in */
.course-page .course-options { gap: 8px; margin: 10px 0 0; }
.course-page .course-option { min-height: 50px; padding: 10px 12px; font-size: 14px; line-height: 1.35; border-radius: 14px; }
.course-page .checkin-ack { margin-top: 10px; }
.course-page .checkin-ack p { padding: 9px 12px; font-size: 13px; line-height: 1.4; }
/* lesson 1 */
.course-page .calc { gap: 8px; }
.course-page .calc-slider { gap: 2px; padding: 8px 12px 4px; border-radius: 14px; }
.course-page .cs-head { align-items: center; }
.course-page .cs-head output { font-size: 18px; }
.course-page .cs-head small { font-size: 11px; }
.course-page .calc-slider input[type="range"] { height: 26px; }
.course-page .calc-result { padding: 10px 12px; border-radius: 14px; }
.course-page .calc-legend { margin: 6px 0; }
.course-page .calc-left { font-size: 14px; }
.course-page .lesson-takeaway { margin-top: 10px; padding: 10px 12px; gap: 10px; border-radius: 14px; }
.course-page .lesson-takeaway > span { font-size: 20px; }
.course-page .lesson-takeaway p { font-size: 14px; line-height: 1.4; }
.course-page .lesson-takeaway strong { margin-bottom: 2px; font-size: 10px; }
/* lesson 2 */
.course-page .sort-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
.course-page .sort-chip { min-height: 44px; padding: 6px 10px; gap: 8px; font-size: 13px; border-radius: 12px; }
.course-page .sort-chip > span { font-size: 18px; }
.course-page .sort-chip em { display: none; }
.course-page .sort-chip.is-protect::after, .course-page .sort-chip.is-wait::after { margin-left: auto; font-size: 13px; font-weight: 700; }
.course-page .sort-chip.is-protect::after { content: "✓"; color: var(--knowledge-dark); }
.course-page .sort-chip.is-wait::after { content: "⏸"; color: #a8620b; }
.course-page .sort-feedback { min-height: 0; margin-top: 8px; font-size: 13px; line-height: 1.4; }
/* lesson 3 */
.course-page .signal-list { gap: 8px; }
.course-page .signal { padding: 10px 12px; font-size: 14px; border-radius: 14px; }
.course-page .signal-feedback { margin-top: 8px; padding: 9px 12px; font-size: 13px; line-height: 1.4; }
.course-page .fb-mini { margin-top: 8px; padding: 10px 12px; font-size: 12px; }
/* plan */
.course-page .course-done { margin-bottom: 6px; }
.course-page .done-badge { width: 34px; height: 34px; font-size: 18px; border-radius: 10px; }
.course-page .course-done .lesson-kicker { font-size: 12px; }
.course-page .plan-steps { gap: 4px; margin: 0; }
.course-page .plan-steps li { padding: 6px 10px 6px 38px; font-size: 13px; line-height: 1.35; border-radius: 10px; }
.course-page .plan-steps li::before { left: 9px; width: 20px; height: 20px; font-size: 11px; }
.course-page .course-bridge { margin: 10px 0 0; padding: 14px; border-radius: 16px; }
.course-page .course-bridge h2 { margin: 6px 0 4px; font-size: 16px; }
.course-page .course-bridge .bridge-ask { margin: 6px 0 8px; font-size: 14px; }
.course-page .bridge-services { gap: 6px; }
.course-page .bridge-service { min-height: 50px; padding: 7px 12px; gap: 10px; }
.course-page .bs-icon { width: 30px; height: 30px; font-size: 16px; }
.course-page .bs-text strong { font-size: 14px; }
.course-page .bs-text small { font-size: 12px; }
.course-page .course-bridge > p { margin-top: 8px; font-size: 12px; }
/* lead form */
.course-page #check { padding: 14px 20px 16px; }
.course-page #formScreen { display: flex; flex-direction: column; flex: 1; }
.course-page #check h1 { margin: 0 0 6px; font-size: clamp(21px, 3vw, 25px); line-height: 1.2; }
.course-page .lead-steps { margin-bottom: 10px; padding-bottom: 8px; }
.course-page .lead-answer { margin: 0 0 10px; padding: 7px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-soft); }
.course-page .lead-change { position: static; flex: none; }
.course-page .lead-form { gap: 4px; }
.course-page .lead-form label, .course-page .lead-form legend, .course-page .lead-label { font-size: 12px; }
.course-page .lead-row { gap: 10px; }
.course-page .lead-row > div { gap: 4px; }
.course-page .lead-form input:not([type="checkbox"]):not([type="radio"]), .course-page .lead-form select, .course-page .lead-phone { min-height: 44px; padding-top: 0; padding-bottom: 0; border-radius: 12px; }
.course-page .lead-form .lead-id { min-height: 46px; font-size: 17px !important; }
.course-page .lead-ratios { margin: 0 0 4px; }
.course-page .lead-ratios legend { margin-bottom: 4px; }
.course-page .lead-ratios .bridge-ratios { grid-template-columns: repeat(4, 1fr); gap: 6px; }
.course-page .lead-ratios .bridge-ratio { min-height: 40px; padding: 0 4px; font-size: 13px; border-radius: 10px; white-space: nowrap; }
.course-page .lead-form .consent { margin-top: 4px; padding: 8px 10px; font-size: 12px; line-height: 1.4; }
.course-page .lead-submit { margin-top: 8px !important; }
.course-page #formScreen .course-note { margin-top: 8px; font-size: 11px; line-height: 1.4; }
.course-page .lead-trust { margin-top: 8px; padding: 6px; grid-template-columns: repeat(3, 1fr); }
.course-page .lead-trust li + li { border-left: 1px solid var(--line); border-top: 0; padding-top: 0; }
.course-page .lead-trust svg { width: 14px; height: 14px; margin-bottom: 1px; }
.course-page .lead-trust strong { font-size: 11px; }
.course-page .lead-trust span { display: none; }
@media (max-width: 560px) {
  .course-page .lead-row { grid-template-columns: 1fr 1fr; }
  .course-page .course-screen { padding: 12px 16px 14px; }
  .course-page #check { padding: 12px 16px 14px; }
}
@media (max-width: 560px) {
  .course-page .cb-chips { display: none; }
  .course-page .cb-top { margin-bottom: 4px; }
  .course-page .cs-head small { display: none; }
  .course-page .calc-slider { padding: 6px 12px 2px; }
  .course-page .calc-slider input[type="range"] { height: 24px; }
  .course-page .site-header .brand { font-size: 17px; }
}
.calc-tip { margin: 4px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.4; }
.course-page .auth-main { padding: 8px 10px 10px; }
.course-page .course-card { min-height: calc(100vh - 56px - 18px); min-height: calc(100dvh - 56px - 18px); }
@media (max-width: 560px) {
  .course-page .course-done h1, .course-page .course-screen > h1:first-of-type { font-size: 20px; }
}
.course-page .auth-main { grid-template-columns: minmax(0, 1fr); }
.course-page .lead-row > div, .course-page .lead-form input, .course-page .lead-form select { min-width: 0; }
.course-page .lead-answer span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 560px) {
  .course-page .course-bridge-tag { display: none; }
  .course-page .course-bridge h2 { margin-top: 0; }
  .course-page .course-bridge > p { display: none; }
  .course-page .course-bridge { padding: 12px; }
  .course-page .bs-text small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .course-page .sort-chip { min-height: 40px; }
  .course-page .course-done { margin-bottom: 4px; }
}
.lead-trust-short { display: none; }
@media (max-width: 560px) {
  .course-page #formScreen .lead-trust { display: none; }
  .course-page .lead-trust-short { display: inline; font-weight: 600; }
}
@media (max-width: 560px) {
  .course-page .lead-steps { margin-bottom: 6px; padding-bottom: 6px; }
  .course-page #check h1 { font-size: 20px; margin-bottom: 4px; }
  .course-page .lead-answer { margin-bottom: 6px; padding: 5px 10px; }
  .course-page .lead-form .consent { padding: 6px 10px; }
}
.course-page .course-card { min-height: min(calc(100vh - 74px), 660px); min-height: min(calc(100dvh - 74px), 660px); max-height: none; }
@media (min-width: 561px) { .course-page .auth-main { padding-top: 20px; } }
/* Short windows (laptops): the same trims as on phones */
@media (max-height: 800px) {
  .course-page .cb-chips, .course-page .cs-head small, .course-page .course-bridge-tag, .course-page .course-bridge > p, .course-page #formScreen .lead-trust { display: none; }
  .course-page .lead-trust-short { display: inline; font-weight: 600; }
  .course-page .cb-top { margin-bottom: 4px; }
  .course-page .calc-slider { padding: 6px 12px 2px; }
  .course-page .course-bridge h2 { margin-top: 0; }
  .course-page .course-screen { padding-top: 12px; padding-bottom: 14px; }
  .course-page .cover-mark { display: none; }
  .course-page .sort-chip { min-height: 40px; }
  .course-page .lead-steps { margin-bottom: 6px; padding-bottom: 6px; }
}
@media (min-width: 561px) {
  .course-page .auth-main { padding: 14px 16px 12px; }
  .course-page .course-card { min-height: min(calc(100vh - 86px), 660px); min-height: min(calc(100dvh - 86px), 660px); }
}
@media (max-height: 700px) { .course-page .calc { gap: 6px; } .course-page .calc-result { padding: 8px 12px; } .course-page .calc-legend { margin: 4px 0; } }

/* Category filters: upper case and slightly bigger (VC request, 2026-10-29) */
.filter-button { font-size: 14px; text-transform: uppercase; letter-spacing: .6px; }
@media (max-width: 560px) { .filter-button { font-size: 13px; padding: 0 12px; } }

/* Mobile pass (2026-10-29): shorter home page on phones */
@media (max-width: 760px) {
  /* Category filters: one swipeable row */
  .filters { flex-wrap: nowrap; margin: 0 -14px; padding: 0 14px 2px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter-button { flex: none; min-height: 40px; scroll-snap-align: start; }
}
@media (max-width: 500px) {
  .section-heading { flex-direction: column; align-items: flex-start; gap: 4px; }
  .section-heading h2 { max-width: none; font-size: 26px; }
  .section-heading span { font-size: 12px; }
  /* Offer cards: two per row, compact */
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .offer-card { position: relative; min-height: 0; padding: 10px 10px 12px; border-radius: 16px; }
  .offer-card:hover { transform: none; }
  .card-top { display: block; }
  .card-top .logo-tile, .card-top .knowledge-tile, .card-top .course-tile { width: 100%; min-width: 0; height: 52px; border-radius: 11px; }
  .card-top .knowledge-tile strong, .card-top .course-tile strong { max-width: none; font-size: 9px; }
  .card-top .knowledge-tile > span, .card-top .course-tile > span { width: 26px; height: 26px; font-size: 12px; }
  .card-top .access-badge { position: absolute; top: 4px; right: 4px; padding: 4px 6px; font-size: 8px; letter-spacing: .4px; }
  .offer-category { margin-top: 10px; font-size: 9px; letter-spacing: .6px; }
  .offer-card h3 { margin: 4px 0 3px; font-size: 15px; }
  .offer-description { font-size: 12px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .card-link { padding-top: 10px; font-size: 12px; }
  .knowledge-card::after { display: none; }
}
@media (max-width: 500px) {
  .support-feature-copy { padding: 22px 18px; }
  .support-feature-side { padding: 20px 18px; }
  .support-feature h2 { font-size: 26px; }
  .featured-copy, .featured-deal { padding: 22px 20px; }
  .cv-promo { padding: 24px 20px; }
  .cv-promo h2 { font-size: 30px; }
}
@media (max-width: 360px) {
  .container { width: min(100% - 24px, 1320px); }
  .header-inner { gap: 8px; }
  .brand { font-size: 18px; gap: 8px; }
  .header-actions { gap: 6px; }
}

/* Terms & conditions (terms.php) */
.terms-main { padding: 36px 0 64px; background: var(--sky); }
.terms-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; }
.terms-head { grid-column: 1 / -1; }
.terms-head h1 { margin: 6px 0 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -1.2px; }
.terms-toc { position: sticky; top: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.terms-toc strong { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; letter-spacing: .8px; text-transform: uppercase; }
.terms-toc ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.terms-toc a { display: flex; gap: 8px; padding: 6px 8px; border-radius: 10px; color: var(--ink-soft); font-size: 13px; font-weight: 600; text-decoration: none; }
.terms-toc a:hover { background: var(--sky); color: var(--ink); }
.terms-toc a span { flex: none; min-width: 28px; color: var(--coral-dark); }
.terms-body { padding: 28px 32px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: var(--shadow); color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.terms-body > p { margin: 0 0 14px; }
.terms-body a { color: var(--coral-dark); font-weight: 600; word-break: break-word; }
.terms-body h2 { margin: 0 0 10px; color: var(--ink); font-size: 17px; line-height: 1.3; letter-spacing: .2px; }
.terms-body h2 span { margin-right: 6px; color: var(--coral-dark); }
.terms-body .terms-important { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.terms-section { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.terms-section p { margin: 0 0 10px; }
.terms-section ul { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 6px; }
.terms-section li::marker { color: var(--coral); }
@media (max-width: 860px) {
  .terms-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .terms-toc { position: static; }
  .terms-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
  .terms-main { padding: 20px 0 40px; }
  .terms-body { padding: 18px 16px; font-size: 14px; border-radius: 16px; }
  .terms-toc ol { grid-template-columns: minmax(0, 1fr); }
}

/* Footer links (Terms & conditions + back) */
.footer-links { justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 18px; }
.footer-links a { justify-self: auto; }
