/* Public website: homepage, terms and privacy.
   Palette: change these variables to re-colour the whole site. */
:root {
  --ink: #0B1B3F;          /* headings, dark buttons, dark cards */
  --ink-2: #1B2D57;
  --brand: #1E54D6;        /* links, highlighted words on white */
  --brand-dark: #163FA6;
  --accent: #8FB4FF;       /* bright buttons and highlights on dark */
  --accent-soft: #DCE6FF;  /* announcement bar, badges */
  --band: #24478F;         /* the "barriers" section */
  --ground: #F5F7FB;       /* light grey panels */
  --panel: #EEF1F6;
  --border: #E3E8F2;
  --input: #D5DCE8;
  --text: #0B1B3F;
  --text-2: #3D4A63;
  --muted: #56627A;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.site { margin: 0; font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--text); background: #fff; font-size: 16px; line-height: 1.55; }
a { color: var(--brand); }
a:hover { color: var(--brand-dark); }
h1, h2, h3, p, figure, blockquote { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
svg.i { flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.row { display: flex; align-items: center; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.skip { position: absolute; left: 12px; top: -60px; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 10px; z-index: 30; }
.skip:focus { top: 12px; color: #fff; }

.wrap { max-width: 1320px; margin: 0 auto; padding-left: 60px; padding-right: 60px; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--accent-soft); padding: 10px 20px; display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--ink); text-align: center; }
.announce a { color: var(--ink); font-weight: 600; }

.site-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 20px; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.logo-mark span { width: 10px; height: 10px; border-radius: 3px; border: 3px solid var(--accent); }
.pill-nav { display: flex; gap: 2px; }
.pill-nav a { padding: 9px 16px; border-radius: 999px; color: var(--text-2); font-size: 14px; text-decoration: none; }
.pill-nav a:hover { color: var(--ink); background: var(--ground); }
.pill-nav a.is-current { background: var(--ground); color: var(--ink); font-weight: 600; }
.head-tools { display: flex; align-items: center; gap: 12px; }
.head-tools form { margin: 0; }
.head-tools select { font-family: inherit; font-size: 14px; color: var(--ink); border: 1px solid var(--input); border-radius: 999px; background: #fff; }
.link-quiet { color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; border: 0; }
.pill-lg { min-height: 50px; padding: 0 26px; font-size: 16px; }
.pill-dark { background: var(--ink); color: #fff; }
.pill-dark:hover { background: var(--ink-2); color: #fff; }
.pill-accent { background: var(--accent); color: var(--ink); }
.pill-accent:hover { background: #fff; color: var(--ink); }
.pill-white { background: #fff; color: var(--ink); }
.pill-white:hover { background: var(--accent-soft); color: var(--ink); }

.menu { display: none; position: relative; }
.menu summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 52px; z-index: 20; width: min(320px, calc(100vw - 32px)); background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 10px; display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(11, 27, 63, 0.18); }
.menu-panel > a:not(.pill) { padding: 12px; color: var(--ink); text-decoration: none; font-size: 15px; border-radius: 10px; }
.menu-panel > a:not(.pill):hover { background: var(--ground); }
.menu-panel .pill { margin: 8px 0; }
.lang-menu { padding: 8px 12px 4px; justify-content: space-between; }

/* ---------- Shared ---------- */
.tag { display: inline-flex; padding: 6px 12px; border-radius: 999px; font-size: 13px; }
.tag-glass { border: 1px solid rgba(255, 255, 255, 0.6); color: #fff; background: rgba(255, 255, 255, 0.08); backdrop-filter: blur(6px); }
.section { padding-top: 120px; }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 56px; }
.section-head h2, .cards-copy h2, .barriers h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.1; font-weight: 500; letter-spacing: -0.025em; }
.section-head p { font-size: 16px; color: var(--text-2); max-width: 520px; }
.section-head.center { align-items: center; text-align: center; }
.section-head.right { align-items: flex-end; text-align: right; }
.section-head.split { flex-direction: row; justify-content: space-between; align-items: flex-end; }
.hl-ink { color: var(--brand); }
.avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--accent-soft); color: var(--brand); font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

/* ---------- Card image slots ----------
   Each slot shows public/images/home/<slot>.png when you upload it, else a placeholder. */
.bcard { position: relative; display: block; width: 300px; aspect-ratio: 1.586; height: auto; border-radius: 16px; flex: none; object-fit: contain; }
.bcard--v { width: 190px; aspect-ratio: 0.63; }
.bcard--empty { background: var(--panel); border: 2px dashed #9AA6BA; color: var(--text-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 10px; text-align: center; font-size: 12px; font-weight: 600; overflow: hidden; }
.photo-empty { width: 100%; height: 100%; background: var(--panel); border: 2px dashed #9AA6BA; border-radius: inherit; color: var(--text-2); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 600; }
.photo-empty svg { width: 56px; height: auto; }
.bcard--empty svg { width: 36px; height: auto; flex: none; }
.bcard--empty span { overflow-wrap: anywhere; }

/* ---------- 1. Hero ---------- */
.hero { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 640px; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; z-index: -2; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 27, 63, 0.05) 30%, rgba(11, 27, 63, 0.82) 100%); }
.hero > .tag { position: absolute; top: 36px; left: 40px; }
.hero-copy { flex: 1; padding: 40px; display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.hero h1 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.06; font-weight: 500; letter-spacing: -0.03em; }
.hero .hl { color: var(--accent); white-space: nowrap; }
.hero-copy > p { font-size: 16px; color: rgba(255, 255, 255, 0.9); }
.hero-cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-fine { font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }
.bonus-card { position: absolute; right: 40px; bottom: 40px; width: 390px; min-height: 190px; background: #fff; color: var(--ink); border-radius: 18px; padding: 24px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; box-shadow: 0 20px 50px rgba(11, 27, 63, 0.25); }
.bonus-title { font-size: 21px; line-height: 1.3; max-width: 230px; position: relative; z-index: 1; }
.bonus-title span { color: var(--brand); }
.bonus-card a { font-size: 15px; font-weight: 600; text-decoration: none; position: relative; z-index: 1; }
.bonus-cardimg { position: absolute; right: -22px; top: 64px; width: 160px; transform: rotate(-22deg); filter: drop-shadow(0 14px 20px rgba(11, 27, 63, 0.28)); }
.bonus-card .bonus-title { max-width: 200px; }

/* ---------- 2. Cashback ---------- */
.cash-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.cash-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.cash-list li { padding: 22px 0 22px 20px; border-left: 2px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.cash-list li strong { font-size: 20px; font-weight: 500; }
.cash-list li span { font-size: 14px; color: var(--muted); }
.cash-list li.is-on { border-left-color: var(--ink); }
.photo-card { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--panel); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.cash-grid .photo-card { aspect-ratio: 1.25; }
.photo-card > .tag { position: absolute; top: 24px; left: 24px; }
.photo-logo { position: absolute; top: 28px; right: 28px; color: #fff; font-size: 17px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.glass-stack { position: absolute; left: 24px; bottom: 24px; display: flex; flex-direction: column; gap: 10px; width: 260px; }
.glass { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 16px; color: #fff; background: rgba(11, 27, 63, 0.45); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); }
.glass strong { font-size: 18px; font-weight: 500; }
.glass span:not(.glass-ic) { font-size: 12px; opacity: 0.9; }
.glass-ic { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; margin-bottom: 4px; }
.glass-ic--accent { background: var(--accent); color: var(--ink); }
.glass-ic--warm { background: #F28C38; color: #fff; }

/* ---------- 3. Vertical tabs ---------- */
.tabs-v { display: grid; grid-template-columns: minmax(220px, 3fr) minmax(0, 9fr); gap: 40px; align-items: stretch; }
.tabs-v-list { display: flex; flex-direction: column; justify-content: center; border-left: 1px solid var(--border); }
.tabs-v-list button, .tabs-h-list button { font: inherit; background: none; border: 0; cursor: pointer; text-align: left; color: var(--muted); }
.tabs-v-list button { position: relative; padding: 12px 0 12px 22px; font-size: 14px; min-height: 44px; }
.tabs-v-list button[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.tabs-v-list button[aria-selected="true"]::before { content: ""; position: absolute; left: -4px; top: 50%; width: 7px; height: 7px; margin-top: -3px; border-radius: 50%; background: var(--ink); }
.tabs-v-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.tabs-v-panel[hidden] { display: none; }
.feature-card { background: var(--panel); border-radius: 20px; padding: 30px; min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; position: relative; }
.feature-ic { position: absolute; top: 30px; left: 30px; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; }
.feature-card h3 { font-size: 28px; line-height: 1.15; font-weight: 500; letter-spacing: -0.02em; }
.feature-card p { font-size: 14px; color: var(--text-2); max-width: 340px; }
.feature-photo { position: relative; border-radius: 20px; overflow: hidden; min-height: 380px; }
.feature-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.status-chip { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 30px rgba(11, 27, 63, 0.18); }
.status-ic { width: 22px; height: 22px; border-radius: 6px; background: var(--accent-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; font-size: 11px; }
.status-ok { width: 18px; height: 18px; border-radius: 50%; background: #1E8E4E; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; }

/* ---------- 4. Horizontal tabs ---------- */
.tabs-h-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-bottom: 48px; }
.tabs-h-list button { padding: 14px 0 0; border-top: 1px solid var(--border); font-size: 14px; min-height: 44px; display: flex; gap: 8px; align-items: flex-start; }
.tabs-h-list button::before { content: ""; width: 7px; height: 7px; margin-top: 6px; background: var(--input); flex: none; }
.tabs-h-list button[aria-selected="true"] { border-top: 2px solid var(--ink); color: var(--ink); font-weight: 600; }
.tabs-h-list button[aria-selected="true"]::before { background: var(--ink); }
.why-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.why-photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1.25; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.score-card { position: absolute; right: 28px; bottom: 28px; width: 160px; background: #fff; border-radius: 16px; padding: 18px 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; box-shadow: 0 16px 40px rgba(11, 27, 63, 0.22); }
.score-card strong { font-size: 28px; font-weight: 500; }
.score-badge, .mini-badge { align-self: flex-end; padding: 2px 10px; border-radius: 999px; background: #1E8E4E; color: #fff; font-size: 11px; font-weight: 600; }
.why-text h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.1; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 16px; }
.why-text p { color: var(--text-2); max-width: 380px; }
.why-text[hidden] { display: none; }

/* ---------- 5. Mission ---------- */
.mission-h { max-width: 820px; }
.inline-card { display: inline-flex; vertical-align: middle; width: 1.4em; height: 1.1em; align-items: center; justify-content: center; border-radius: 999px; background: var(--ground); margin: 0 0.05em; }
.inline-card .bcard { width: 0.5em; border-radius: 3px; border-width: 1px; padding: 0; transform: rotate(-12deg); }
.inline-card .bcard > * { display: none; }
.mission-photo { position: relative; margin: 0 auto; max-width: 1000px; height: 440px; border-radius: var(--radius); overflow: visible; }
.mission-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; border-radius: var(--radius); }
.mini-card { position: absolute; bottom: -28px; width: 170px; background: #fff; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; box-shadow: 0 16px 40px rgba(11, 27, 63, 0.18); }
.mini-card strong { font-size: 22px; font-weight: 500; }
.mini-card--left { left: -40px; }
.mini-card--right { right: -40px; bottom: 40px; }
.mini-badge { background: var(--accent-soft); color: var(--ink); }

/* ---------- 6. Cards hero ---------- */
.cards-hero { margin-top: 140px; background: var(--ground); padding: 72px 0 80px; overflow: hidden; }
.card-fan { position: relative; height: 440px; margin: 0 auto 40px; max-width: 620px; padding-top: 20px; }
.card-fan .bcard { position: absolute; width: 210px; }
.fan-1 { left: 4%; top: 90px; transform: rotate(-14deg); }
.fan-2 { left: 34%; top: 24px; transform: rotate(8deg); z-index: 1; }
.fan-3 { left: 60%; top: 120px; transform: rotate(-8deg); z-index: 2; }
.cards-copy { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.cards-copy h2 { max-width: 560px; }
.cards-side { max-width: 380px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.cards-side p { color: var(--text-2); }

/* ---------- 7. Bento ---------- */
.bento { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 3fr); gap: 32px; align-items: center; }
.bento-text { display: flex; flex-direction: column; gap: 14px; }
.bento-text h3 { font-size: 24px; font-weight: 500; }
.bento-text p { font-size: 15px; color: var(--text-2); }
.bento-card { display: flex; justify-content: center; }
.bento-card .tilt { width: 340px; transform: rotate(-14deg); }
.bento-side { display: flex; flex-direction: column; gap: 16px; }
.cash-adv { background: var(--panel); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 60px; }
.cash-adv-head { display: flex; justify-content: space-between; align-items: center; }
.cash-adv-head h3, .cashback-basic h3 { font-size: 20px; font-weight: 500; }
.cash-adv-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cash-adv-tiles span { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11px; text-align: center; }
.tile { width: 100%; aspect-ratio: 1; border-radius: 12px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 400; }
.tile--yellow { background: #FCC419; color: var(--ink); }
.cashback-basic { background: var(--ink); color: #fff; border-radius: 20px; padding: 22px; display: flex; justify-content: space-between; align-items: flex-start; }
.cashback-basic span { width: 26px; height: 26px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }

/* ---------- 8. 1% glass panel ---------- */
.glass-panel { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 520px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 24px;
  background: radial-gradient(ellipse at 50% 20%, #E9EDF4 0%, #BCC6D8 60%, #A9B5CB 100%); }
.glass-tile { border-radius: 20px; background: rgba(255, 255, 255, 0.28); border: 1px solid rgba(255, 255, 255, 0.55); backdrop-filter: blur(8px); color: var(--ink); padding: 28px; }
.big-number { min-height: 240px; }
.glass-note { display: flex; flex-direction: column; gap: 10px; min-height: 240px; }
.glass-note small { font-size: 12px; color: var(--text-2); margin-top: auto; }
.glass-note p { font-size: 18px; line-height: 1.35; }
.pedestal { display: flex; align-items: center; justify-content: center; }
.stand-img { width: 100%; max-width: 380px; aspect-ratio: 1; }
.glass-cta { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); }

/* ---------- 9. Barriers ---------- */
.barriers { margin-top: 120px; background: linear-gradient(180deg, #2B53A3 0%, var(--band) 100%); color: #fff; padding: 96px 0; text-align: center; }
.barriers-card { display: flex; flex-direction: column; align-items: center; gap: 20px; margin: 48px 0 56px; }
.barriers-card .bcard { width: 320px; }
.barriers-card figcaption { font-size: 18px; }
.barriers-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.barriers-grid div { border-radius: 20px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.18); padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.barriers-grid p { font-size: 14px; max-width: 240px; }
.b-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.b-ok { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 13px; }

/* ---------- 10. Build credit ---------- */
.build { position: relative; text-align: center; padding-top: 160px; }
.build-cards { position: absolute; inset: 40px 60px auto; height: 220px; pointer-events: none; }
.build-1 { position: absolute; left: 34%; top: 0; width: 230px; transform: rotate(-4deg); }
.build-2 { position: absolute; right: 0; top: 20px; width: 220px; transform: rotate(-18deg); }
.grad-text { position: relative; font-size: clamp(40px, 6vw, 84px); line-height: 1.05; font-weight: 500; letter-spacing: -0.035em; padding-top: 140px;
  background: linear-gradient(90deg, var(--ink) 0%, var(--brand) 55%, #6E9CFF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 11. Two photos ---------- */
.two-photos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.two-photos .photo-card { aspect-ratio: 1.15; }
.two-photos .photo-card:last-child img { object-position: center 25%; }
.limit-card { position: absolute; left: 24px; bottom: 24px; width: 240px; background: #fff; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; box-shadow: 0 12px 30px rgba(11, 27, 63, 0.2); }
.limit-row { display: flex; justify-content: space-between; }
.limit-bar { height: 6px; border-radius: 3px; background: var(--panel); overflow: hidden; }
.limit-bar span { display: block; width: 60%; height: 100%; background: var(--ink); }
.limit-add { padding: 8px; border: 1px dashed var(--input); border-radius: 8px; text-align: center; color: var(--muted); }

/* ---------- 12. Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.review-video { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 0.78; }
.review-video img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.play { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); border: 1px solid rgba(255, 255, 255, 0.6); backdrop-filter: blur(6px); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.review-video figcaption { position: absolute; left: 16px; bottom: 16px; color: #fff; font-size: 13px; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.review-quote { background: var(--ground); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.review-quote .avatar { margin-bottom: auto; }
.stars { color: #F28C38; letter-spacing: 2px; }
.review-quote blockquote { font-size: 15px; line-height: 1.6; }
.review-quote figcaption { font-size: 13px; color: var(--muted); }

/* ---------- 13. Articles ---------- */
.articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.articles article { display: flex; flex-direction: column; gap: 12px; }
.articles img { width: 100%; aspect-ratio: 1.5; object-fit: cover; object-position: center 25%; border-radius: 18px; }
.articles h3 { font-size: 19px; font-weight: 500; margin-top: 6px; }
.articles p { font-size: 13px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-foot { margin-top: 120px; background: var(--ground); }
.foot-inner { position: relative; padding-top: 56px; padding-bottom: 56px; display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; font-size: 14px; color: var(--text-2); }
.foot-brand { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-cols div { display: flex; flex-direction: column; gap: 8px; }
.foot-cols strong { color: var(--ink); margin-bottom: 4px; }
.foot-cols a { color: var(--text-2); text-decoration: none; }
.foot-cols a:hover { color: var(--brand); }
.to-top { position: absolute; right: 60px; top: -22px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(11, 27, 63, 0.15); }

/* Legal pages */
.site-foot--plain { margin-top: 0; }
.legal { max-width: 820px; padding-top: 48px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 20px; }
.legal h1 { font-size: 40px; font-weight: 500; letter-spacing: -0.02em; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .wrap { padding-left: 32px; padding-right: 32px; }
  .pill-nav, .lang-desktop { display: none !important; }
  .menu { display: block; }
  .hero { flex-direction: column; align-items: stretch; justify-content: flex-end; padding-top: 320px; min-height: 0; }
  .bonus-card { position: relative; right: auto; bottom: auto; width: auto; max-width: 460px; margin: 0 24px 24px; min-height: 0; }
  .tabs-v { grid-template-columns: minmax(0, 1fr); }
  .tabs-v-list { flex-direction: row; justify-content: flex-start; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--border); }
  .tabs-v-list button { white-space: nowrap; padding: 12px 16px; }
  .tabs-v-list button[aria-selected="true"]::before { left: 50%; top: auto; bottom: -4px; margin: 0 0 0 -3px; }
  .why-body { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .bento-card { grid-column: 1 / -1; order: -1; padding: 30px 0; }
  .glass-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding-bottom: 100px; }
  .pedestal { grid-column: 1 / -1; order: -1; }
  .mini-card--left { left: 16px; }
  .mini-card--right { right: 16px; }
  .build-cards { inset: 20px 20px auto; }
}

/* ---------- Phone ---------- */
@media (max-width: 720px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hide-sm { display: none !important; }
  .site-head { padding-top: 14px; padding-bottom: 14px; }
  .logo { font-size: 18px; }
  .section { padding-top: 80px; }
  .section-head { margin-bottom: 32px; }
  .section-head.right { align-items: center; text-align: center; }
  .section-head.split { flex-direction: column; align-items: flex-start; }

  .hero { min-height: 0; border-radius: 24px; flex-direction: column; align-items: stretch; justify-content: flex-end; padding-top: 300px; }
  .hero > .tag { top: 22px; left: 22px; }
  .hero h1 { font-size: 34px; }
  .hero-copy { padding: 24px; }
  .section-head h2 br, .barriers h2 br, .grad-text br { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; text-align: center; gap: 14px; }
  .hero-cta .pill { width: 100%; }
  .hero-fine br { display: none; }
  .bonus-card { position: relative; right: auto; bottom: auto; width: auto; margin: 0 16px 16px; min-height: 0; }
  .bonus-title { font-size: 18px; }
  .bonus-cardimg { width: 120px; right: -22px; top: 54px; }
  .bonus-card .bonus-title { max-width: 180px; }

  .cash-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cash-grid .photo-card { aspect-ratio: 0.85; order: -1; }
  .glass-stack { width: auto; right: 16px; left: 16px; bottom: 16px; }

  .tabs-v-panel { grid-template-columns: minmax(0, 1fr); }
  .feature-card { min-height: 300px; }
  .feature-photo { min-height: 340px; }
  .tabs-h-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; margin-bottom: 28px; }
  .score-card { right: 16px; bottom: 16px; width: 140px; }

  .mission-photo { height: 340px; }
  .mini-card { width: 140px; padding: 10px; }
  .mini-card strong { font-size: 18px; }
  .mini-card--left { left: 10px; bottom: -24px; }
  .mini-card--right { right: 10px; bottom: 24px; }

  .cards-hero { margin-top: 100px; padding: 48px 0 56px; }
  .card-fan { height: 300px; max-width: 340px; }
  .card-fan .bcard { width: 132px; }
  .fan-1 { top: 70px; }
  .fan-3 { top: 90px; }
  .cards-copy { flex-direction: column; align-items: center; text-align: center; }
  .cards-side { align-items: center; }

  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento-card .tilt { width: 260px; }

  .glass-panel { grid-template-columns: minmax(0, 1fr); padding: 20px 20px 96px; }
  .stand-img { max-width: 280px; }
  .big-number, .glass-note { min-height: 0; }

  .barriers { padding: 64px 0; }
  .barriers-card .bcard { width: 260px; }
  .barriers-grid { grid-template-columns: minmax(0, 1fr); }

  .build { padding-top: 100px; }
  .build-1 { left: 4%; width: 170px; }
  .build-2 { width: 150px; }
  .grad-text { padding-top: 120px; }

  .two-photos, .reviews, .articles { grid-template-columns: minmax(0, 1fr); }
  .review-video { aspect-ratio: 1; }

  .site-foot { margin-top: 80px; }
  .foot-cols { gap: 32px; }
  .to-top { right: 16px; }
}

/* Legal page header and simple footer */
.pill-line { border: 1px solid var(--input); color: var(--ink); }
.pill-line:hover { border-color: var(--ink); color: var(--ink); }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { color: var(--text-2); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }

/* Uploaded card images get a soft shadow (the card-on-stand image carries its own) */
img.bcard:not(.stand-img) { filter: drop-shadow(0 18px 28px rgba(11, 27, 63, 0.22)); }

/* ---------- Filled info cards (score, limit, approval, cash advance, glass tiles, build) ---------- */
.avatar-sm { width: 30px; height: 30px; font-size: 11px; flex: none; }
.score-card { width: 230px; padding: 16px; gap: 10px; align-items: stretch; }
.sc-head { display: flex; align-items: center; gap: 8px; }
.sc-label { font-size: 13px; font-weight: 600; color: var(--ink); flex: 1; }
.score-card .score-badge { align-self: center; }
.gauge { position: relative; height: 112px; margin-bottom: 6px; }
.gauge svg { width: 100%; height: auto; display: block; }
.gauge strong { position: absolute; left: 0; right: 0; top: 46px; text-align: center; font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.gauge-range { position: absolute; left: 4px; right: 4px; bottom: -8px; display: flex; justify-content: space-between; font-size: 10px; color: var(--muted); }
.sc-foot { font-size: 12px; color: #1E8E4E; font-weight: 600; text-align: center; padding-top: 8px; border-top: 1px solid var(--border); }
.sc-foot .up { font-size: 9px; }

.mini-card { width: 210px; padding: 14px; gap: 8px; align-items: stretch; }
.mc-head { display: flex; align-items: center; justify-content: space-between; }
.mc-head .mini-badge { align-self: center; }
.mini-badge--ok { background: #E3F5EA; color: #1B6B3A; }
.mc-label { font-size: 12px; color: var(--muted); }
.mini-card strong { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.limit-meter { height: 8px; border-radius: 4px; background: var(--panel); overflow: hidden; }
.limit-meter span { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--brand), #6E9CFF); }
.mc-row { display: flex; justify-content: space-between; gap: 8px; font-size: 10.5px; color: var(--muted); }
.mc-row--center { justify-content: center; align-items: center; gap: 6px; }
.dot-ok { width: 7px; height: 7px; border-radius: 50%; background: #1E8E4E; }
.spark { width: 100%; height: auto; display: block; }
.ring { position: relative; width: 96px; height: 96px; margin: 2px auto 0; }
.ring svg { width: 100%; height: 100%; }
.ring strong { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.mini-card--right .mc-label { text-align: center; }

.cash-adv { gap: 14px; }
.ca-ic { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.ca-amount { display: flex; flex-direction: column; gap: 2px; }
.ca-amount small { font-size: 12px; color: var(--muted); }
.ca-amount strong { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.ca-chips { display: flex; gap: 6px; }
.ca-chips span { flex: 1; text-align: center; padding: 7px 0; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 600; color: var(--text-2); border: 1px solid var(--border); }
.ca-chips span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.tile svg { display: block; }

.glass-tile { display: flex; flex-direction: column; gap: 12px; }
.gt-head { display: flex; align-items: center; gap: 10px; }
.gt-head small { font-size: 13px; font-weight: 600; color: var(--ink); opacity: 1; margin: 0; }
.gt-ic { width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, 0.7); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.big-number { justify-content: space-between; align-items: stretch; }
.big-number .bn { font-size: clamp(64px, 7vw, 100px); line-height: 1; font-weight: 400; letter-spacing: -0.04em; color: var(--ink); }
.gt-earned { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--text-2); }
.gt-earned b { font-size: 16px; color: var(--ink); }
.bars { width: 100%; height: auto; display: block; }
.bars rect { fill: rgba(30, 84, 214, 0.25); }
.bars rect.hi { fill: var(--brand); }
.glass-note p { font-size: 18px; line-height: 1.35; color: var(--ink); }
.stmt { margin-top: auto; background: rgba(255, 255, 255, 0.75); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.stmt-row { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--text-2); }
.stmt-row b { color: var(--ink); }
.stmt-bar { height: 6px; border-radius: 3px; background: #1E8E4E; }
.stmt-bar span { display: none; }
.stmt .paid { color: #1B6B3A; font-weight: 600; }
.stmt .bonus { color: var(--brand); font-weight: 700; }

.build { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.build-sub { position: relative; max-width: 460px; font-size: 17px; color: var(--text-2); }
.build-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border-radius: 16px; background: #fff; box-shadow: 0 16px 40px rgba(11, 27, 63, 0.14); text-align: left; }
.build-chip span:last-child { display: flex; flex-direction: column; line-height: 1.2; }
.build-chip b { font-size: 15px; color: var(--ink); }
.build-chip small { font-size: 11px; color: var(--muted); }
.bc-ic { width: 36px; height: 36px; border-radius: 10px; background: #E3F5EA; color: #1E8E4E; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.bc-ic--blue { background: var(--accent-soft); color: var(--brand); }
.build-chip--a { left: 4%; bottom: 120px; }
.build-chip--b { right: 4%; bottom: 60px; }

@media (max-width: 1100px) {
  .build-chip--a { left: 0; bottom: 140px; }
  .build-chip--b { right: 0; bottom: 70px; }
}
@media (max-width: 720px) {
  .score-card { width: 190px; padding: 12px; }
  .gauge { height: 92px; }
  .gauge strong { top: 36px; font-size: 24px; }
  .mini-card { width: 158px; padding: 10px; gap: 6px; }
  .mini-card strong { font-size: 18px; }
  .ring { width: 70px; height: 70px; }
  .ring strong { font-size: 15px; }
  .spark, .mc-row:not(.mc-row--center) { display: none; }
  .build-chip { position: static; }
}

/* Sign in button in the hero: phones only (the header has it on larger screens) */
.pill-ghost { border: 1px solid rgba(255, 255, 255, 0.7); color: #fff; background: rgba(255, 255, 255, 0.08); }
.pill-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, 0.16); }
.hero-signin { display: none; }
@media (max-width: 720px) {
  .hero-signin { display: inline-flex; width: 100%; }
}

/* Phones: no fine print under the hero buttons (matches the phone design) */
@media (max-width: 720px) {
  .hero-fine { display: none; }
}

/* =====================================================================
   Allen Heritage: header, hero slider and cashback (desktop + phone)
   ===================================================================== */
.ah-announce { background: #DCE6FF; padding: 10px 20px; text-align: center; font-size: 13px; color: var(--ink); }
.ah-announce a { color: var(--brand); font-weight: 600; }

.ah-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.ah-logo { display: flex; align-items: center; min-height: 44px; flex: none; }
.ah-logo img { height: 46px; width: auto; display: block; }
.ah-nav { display: flex; align-items: center; gap: 4px; }
.ah-nav-link, .ah-dd > summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none; cursor: pointer; }
.ah-nav-link:hover, .ah-dd > summary:hover, .ah-dd[open] > summary { background: var(--ground); color: var(--ink); }
.ah-dd { position: relative; }
.ah-dd > summary { list-style: none; }
.ah-dd > summary::-webkit-details-marker { display: none; }
.ah-dd[open] > summary svg { transform: rotate(180deg); }
.ah-dd-panel { position: absolute; top: 50px; left: 0; z-index: 30; min-width: 200px; background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 8px; display: flex; flex-direction: column; box-shadow: 0 18px 40px rgba(11, 27, 63, 0.14); }
.ah-dd-panel a { padding: 10px 12px; border-radius: 8px; font-size: 14px; color: var(--ink); text-decoration: none; }
.ah-dd-panel a:hover { background: var(--ground); }
.ah-tools { display: flex; align-items: center; gap: 14px; }
.ah-tools form { margin: 0; }
.ah-tools select { font-family: inherit; font-size: 14px; color: var(--ink); border: 1px solid var(--input); border-radius: 999px; background: #fff; }
.ah-signin { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.ah-signin:hover { color: var(--brand); }

.ah-hero { position: relative; overflow: hidden; isolation: isolate; border-radius: 24px; min-height: 520px; display: flex; align-items: center; gap: 32px; padding: 56px; color: #fff; background: #0B1B3F; }
.ah-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; z-index: -2; }
.ah-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 20, 48, 0.92) 0%, rgba(8, 20, 48, 0.72) 42%, rgba(8, 20, 48, 0.25) 100%); }
.ah-hero-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 36px; min-width: 0; max-width: 620px; }
.ah-slide { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ah-slide[hidden] { display: none; }
.ah-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #DCE6FF; }
.ah-hero h1, .ah-hero .ah-h1 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.06; font-weight: 600; letter-spacing: -0.03em; color: #fff; margin: 0; }
.ah-grad { background: linear-gradient(90deg, #8FB4FF, #4F86FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ah-slide p { font-size: 17px; color: rgba(255, 255, 255, 0.88); margin: 0; }
.ah-pill-brand { background: #3B6FF0; color: #fff; }
.ah-pill-brand:hover { background: #fff; color: var(--ink); }
.ah-controls { display: flex; align-items: center; gap: 12px; }
.ah-dots { display: flex; gap: 8px; margin-right: auto; }
.ah-dots span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.45); }
.ah-dots span.on { background: #fff; }
.ah-count { font-size: 14px; color: rgba(255, 255, 255, 0.85); margin-right: 6px; }
.ah-count b { color: #fff; font-weight: 700; }
.ah-arrow { width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--brand); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ah-arrow:hover { background: #DCE6FF; }
.ah-arrow:focus-visible, .ah-dd > summary:focus-visible { outline: 3px solid #8FB4FF; outline-offset: 2px; }
.ah-bonus { position: relative; flex: 0 0 340px; align-self: center; margin-left: auto; overflow: hidden; background: #fff; color: var(--ink); border-radius: 18px; padding: 24px; min-height: 170px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; box-shadow: 0 20px 50px rgba(11, 27, 63, 0.3); }
.ah-bonus p { margin: 0; font-size: 18px; line-height: 1.3; max-width: 170px; position: relative; z-index: 1; }
.ah-bonus p strong { font-weight: 600; }
.ah-bonus a { font-size: 14px; font-weight: 600; color: var(--brand); position: relative; z-index: 1; }
.ah-bonus-card { position: absolute; right: -18px; top: 40px; width: 150px; transform: rotate(-20deg); filter: drop-shadow(0 14px 20px rgba(11, 27, 63, 0.25)); }

.ah-cash { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: center; }
.ah-cash-copy { display: flex; flex-direction: column; gap: 18px; }
.ah-cash-copy h2 { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.1; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.ah-cash-copy p { font-size: 17px; line-height: 1.6; color: var(--text-2); margin: 0; max-width: 460px; }
.ah-cash-photo { position: relative; overflow: hidden; border-radius: 24px; aspect-ratio: 1.75; background: var(--panel); }
.ah-cash-photo img { width: 100%; height: 100%; object-fit: cover; }
.ah-cash-brand { position: absolute; top: 20px; right: 24px; font-size: 15px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 10px rgba(11, 27, 63, 0.45); }
.ah-chips { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; width: min(300px, 70%); }
.ah-chip { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; color: #fff; background: rgba(11, 27, 63, 0.5); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(10px); }
.ah-chip strong { display: block; font-size: 15px; font-weight: 600; }
.ah-chip small { display: block; font-size: 12px; opacity: 0.9; }
.ah-chip-ic { width: 36px; height: 36px; flex: none; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; }
.ah-chip-ic--blue { background: #3B6FF0; }
.ah-chip-ic--warm { background: #F28C38; }

@media (max-width: 1100px) {
  .ah-nav { display: none; }
  .ah-hero { flex-direction: column; align-items: stretch; padding: 40px; }
  .ah-hero-body { max-width: none; }
  .ah-bonus { flex: 0 0 auto; margin-left: 0; max-width: 460px; width: 100%; }
}
@media (max-width: 720px) {
  .ah-head { padding-top: 12px; padding-bottom: 12px; }
  .ah-logo img { height: 40px; }
  .ah-hero { padding: 24px; border-radius: 20px; gap: 22px; min-height: 0; }
  .ah-hero-shade { background: linear-gradient(180deg, rgba(8, 20, 48, 0.55) 0%, rgba(8, 20, 48, 0.86) 70%); }
  .ah-hero h1, .ah-hero .ah-h1 { font-size: 34px; }
  .ah-slide p { font-size: 15px; }
  .ah-slide .pill { width: 100%; }
  .ah-hero-body { gap: 22px; }
  .ah-bonus { padding: 20px; min-height: 140px; }
  .ah-bonus p { font-size: 16px; max-width: 150px; }
  .ah-bonus-card { width: 120px; top: 30px; }
  .ah-cash { grid-template-columns: minmax(0, 1fr); gap: 24px; text-align: center; }
  .ah-cash-copy { align-items: center; }
  .ah-cash-copy h2 br { display: none; }
  .ah-cash-photo { aspect-ratio: 1.15; }
  .ah-chips { left: 14px; width: calc(100% - 28px); text-align: left; }
}
