/* ===== MEMBERSHIP PAGE ===== */

@font-face { font-family: Inter; src: url('assets/inter.ttf'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Zen; src: url('assets/zen-bold.ttf'); font-weight: 700; font-display: swap; }
@font-face { font-family: Zen; src: url('assets/zen-black.ttf'); font-weight: 900; font-display: swap; }

:root {
  --sun: #FDB813;
  --sun-deep: #E9A400;
  --sun-soft: #FFF4D3;
  --sun-wash: #FFF9EA;
  --ink: #343434;
  --ink-2: #2A2A2A;
  --gray: #808080;
  --gray-2: #5F5F5F;
  --line: #ECE7DC;
  --paper: #FFFFFF;
  --canvas: #FFFCF6;
  --mist: #F6F3EC;
  --radius-xl: 32px;
  --radius-l: 24px;
  --radius-m: 18px;
  --shadow-1: 0 1px 2px rgba(52,52,52,.04), 0 8px 24px rgba(52,52,52,.06);
  --shadow-2: 0 2px 6px rgba(52,52,52,.06), 0 24px 60px rgba(52,52,52,.12);
  --ease: cubic-bezier(.2,.7,.2,1);
  --gutter: 20px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 16px/1.55 Inter, system-ui, -apple-system, 'Segoe UI', Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: Zen, Inter, sans-serif; font-weight: 900; letter-spacing: -.02em; line-height: 1.08; text-wrap: balance; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; touch-action: manipulation; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.section-sub { color: var(--gray-2); font-size: 16px; line-height: 1.55; text-wrap: pretty; }
.noscript-message { position: fixed; inset: auto 12px 12px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 14px; text-align: center; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 999px; font-weight: 700; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s; }
.btn:active { transform: scale(.98); }
.btn-disc { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.btn-disc svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn-sun { background: var(--sun); color: var(--ink); font-family: Zen, Inter, sans-serif; font-weight: 900; font-size: 18px; min-height: 60px; padding: 8px 30px; box-shadow: 0 10px 30px rgba(253,184,19,.28); }
.btn-sun .btn-disc { background: none; color: var(--ink); width: auto; height: auto; margin-left: -2px; }
.btn-sun .btn-disc svg { width: 20px; height: 20px; stroke-width: 2.6; transition: transform .25s var(--ease); }
.btn-sun:hover .btn-disc svg { transform: translateX(3px); }
.btn-sun:hover { background: #FFC531; }
.btn-ghost { background: var(--paper); color: var(--ink); border: 1px solid var(--line); font-size: 14px; font-weight: 500; min-height: 46px; padding: 8px 22px; }
.btn-ghost:hover { border-color: #D9D1BF; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; padding: 10px 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); white-space: nowrap; transition: background-color .2s, border-color .2s; }
.link-arrow span { color: var(--sun-deep); transition: transform .25s var(--ease); }
.link-arrow:hover { border-color: #D9D1BF; }
.link-arrow:hover span { transform: translateX(3px); }

/* ---------- Top bar (translucent, sticky) ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: transparent; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.topbar.is-scrolled { background: rgba(255,252,246,.78); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom-color: rgba(52,52,52,.06); }
.topbar-inner { height: 64px; display: flex; align-items: center; max-width: none; }
.topbar-logo img { width: 100px; height: auto; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 0; }
.hero::before { content: ''; position: absolute; left: 0; right: 0; top: -64px; height: 980px; background: radial-gradient(ellipse 72% 50% at 50% 34%, rgba(253,184,19,.26), rgba(253,184,19,.10) 45%, rgba(253,184,19,0) 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 28px; }
.hero-copy { position: relative; text-align: center; }
.hero-creamy { width: 168px; height: auto; aspect-ratio: 3 / 2; margin: 0 auto -6px; overflow: visible; filter: drop-shadow(0 14px 16px rgba(52,52,52,.10)); }
.creamy-flight { transform-box: view-box; transform-origin: 50% 55%; animation: creamy-flight 3.8s ease-in-out infinite; }
.creamy-tail { transform-box: view-box; transform-origin: 81% 58%; animation: creamy-tail-wag 1.7s ease-in-out infinite; }
@keyframes creamy-flight { 0%,100% { transform: translateY(8px) rotate(-1.3deg); } 50% { transform: translateY(-32px) rotate(1.4deg); } }
@keyframes creamy-tail-wag { 0%,100% { transform: rotate(-7deg); } 50% { transform: rotate(9deg); } }
.hero h1 { font-size: clamp(38px, 10.4vw, 84px); line-height: 1.04; letter-spacing: -.03em; }
.h1-line { display: block; }
.h1-accent { position: relative; display: inline-block; z-index: 0; }
.hero-subtitle { margin: 18px auto 0; max-width: 34em; color: var(--gray-2); font-size: 16px; line-height: 1.6; text-wrap: pretty; }
.hero-media { display: grid; justify-items: center; gap: 22px; }
.video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius-l); background: var(--ink); box-shadow: var(--shadow-2); overflow: hidden; isolation: isolate; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; transform: translateZ(0); background: var(--ink); }
.video-error { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: #EDEDED; font-size: 14px; }
.video-frame [hidden] { display: none; }

/* ---------- Growing proof: one calm card, three centred stats ---------- */
.proof { padding: 40px 0 16px; }
.proof-card { max-width: 920px; margin: 0 auto; text-align: center; }
.proof-card h2 { font-size: clamp(24px, 6.4vw, 36px); color: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow-1); padding: 20px 4px; }
.stats li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 8px; min-width: 0; }
.stats li + li { border-left: 1px solid var(--line); }
.stat-icon { width: 40px; height: 40px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; color: var(--ink); flex: none; }
.stat-icon svg { width: 21px; height: 21px; }
.stat-text { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stats strong { font-family: Inter, sans-serif; font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.stats span span { font-size: 12px; color: var(--gray-2); line-height: 1.3; max-width: 6.5em; text-wrap: balance; min-height: 2.6em; }
@media (min-width: 600px) {
  .stats { padding: 28px 8px; margin-top: 28px; }
  .stat-icon { width: 46px; height: 46px; }
  .stat-icon svg { width: 23px; height: 23px; }
  .stats strong { font-size: 36px; }
  .stats span span { font-size: 14px; max-width: none; min-height: 0; }
}
@media (min-width: 900px) {
  .proof { padding: 64px 0 32px; }
  .stats { padding: 34px 12px; }
  .stats strong { font-size: 44px; }
}
@media (max-width: 374px) { .stats strong { font-size: 22px; } }

.crop { display: block; width: 100%; height: auto; aspect-ratio: var(--ratio); }

/* ---------- Membership stage ---------- */
.stage { position: relative; color: var(--ink); padding: 28px 0 8px; scroll-margin-top: 80px; }
.stage::before { content: ''; position: absolute; left: 0; right: 0; top: -120px; bottom: -120px; background: radial-gradient(ellipse 75% 46% at 50% 42%, rgba(253,184,19,.22), rgba(253,184,19,.09) 45%, rgba(253,184,19,0) 70%); pointer-events: none; }
.stage .wrap { position: relative; }
.membership-head { text-align: center; display: grid; justify-items: center; }
.greeting-creamy { width: 112px; height: 112px; margin-bottom: 6px; overflow: visible; filter: drop-shadow(0 10px 14px rgba(52,52,52,.12)); }
.creamy-greeting { transform-box: view-box; transform-origin: 50% 85%; animation: creamy-greeting-sway 6.8s cubic-bezier(.45,0,.55,1) infinite; will-change: transform; }
@keyframes creamy-greeting-sway { 0%,100% { transform: rotate(-1deg); } 50% { transform: rotate(1deg); } }
.creamy-blink { opacity: 0; animation: creamy-blink 5.6s linear infinite; }
@keyframes creamy-blink { 0%,88%,95%,100% { opacity: 0; } 90%,92% { opacity: 1; } }
.stage h2 { font-size: clamp(30px, 7.6vw, 48px); color: var(--ink); max-width: 14em; outline: none; }
.stage .section-sub { color: var(--gray-2); margin-top: 10px; max-width: 30em; }

.plans { display: grid; gap: 14px; margin-top: 32px; }
.plan { position: relative; width: 100%; text-align: left; border: 0; padding: 0; border-radius: var(--radius-l); background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--line), var(--shadow-1); transition: transform .3s var(--ease), box-shadow .3s var(--ease); overflow: hidden; }
.plan:hover { transform: translateY(-2px); }
.plan[aria-checked=true] { box-shadow: 0 0 0 2.5px var(--sun), 0 16px 40px rgba(233,164,0,.18); }
.plan-top { display: grid; grid-template-columns: 104px minmax(0,1fr); gap: 16px; align-items: center; padding: 20px 52px 16px 18px; }
.card-art { width: 104px; height: auto; transform: rotate(-8deg); filter: drop-shadow(0 8px 10px rgba(0,0,0,.18)); transition: transform .4s var(--ease); }
.plan[aria-checked=true] .card-art { transform: rotate(-4deg) scale(1.04); }
.plan-name { display: block; font-size: 15px; font-weight: 800; letter-spacing: .14em; color: var(--ink); margin-bottom: 6px; }
.price { display: flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.currency { font-size: 18px; font-weight: 700; }
.amount { font-family: Zen, Inter, sans-serif; font-weight: 900; font-size: 42px; line-height: 1; letter-spacing: -.02em; }
.per { font-size: 13px; color: var(--gray); margin-left: 2px; }
.selection { position: absolute; top: 18px; right: 18px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #CFCAC0; display: grid; place-items: center; color: transparent; transition: background-color .2s, border-color .2s; }
.selection svg { display: block; }
.plan[aria-checked=true] .selection { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.popular { position: absolute; top: 0; left: 18px; transform: translateY(-1px); background: var(--sun); color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .12em; padding: 4px 10px 5px; border-radius: 0 0 10px 10px; }
.plan.has-popular .plan-top { padding-top: 30px; }
.plan-benefits { display: grid; grid-template-columns: 1fr; background: var(--sun-wash); border-top: 1px solid #F3E8C9; }
.plan-benefit { display: flex; align-items: center; gap: 10px; padding: 9px 16px; font-size: 13px; color: var(--gray-2); line-height: 1.3; min-width: 0; }
.plan-benefit + .plan-benefit { border-top: 1px solid #F0E3BE; }
.benefit-text { flex: 1; min-width: 0; display: flex; align-items: baseline; justify-content: space-between; gap: 4px 8px; flex-wrap: wrap; }
.plan-benefit strong { color: var(--ink); font-size: 14px; font-weight: 700; }
.benefit-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; flex: none; }
.benefit-icon svg { width: 16px; height: 16px; }

.plan-actions { display: grid; justify-items: center; gap: 12px; margin-top: 30px; }
.plan-actions .btn-sun { width: 100%; max-width: 420px; }

/* ---------- Merchant shelf ---------- */
.merchants { background: var(--canvas); padding: 20px 0 8px; position: relative; }
.merchants-head { display: grid; gap: 16px; align-items: end; }
.merchants h2 { font-size: clamp(28px, 7vw, 42px); }
.merchants .section-sub { margin-top: 10px; max-width: 36em; }
.merchant-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.merchant-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 12px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); }
.merchant-toggle:hover { border-color: #D9D1BF; }
.merchant-toggle svg { width: 100%; height: 100%; }
.merchant-track { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; margin-top: 26px; padding: 6px max(var(--gutter), calc((100vw - 1160px) / 2 + var(--gutter))) 26px; cursor: grab; outline-offset: -3px; }
.merchant-track::-webkit-scrollbar { display: none; }
.merchant-track.merchant-dragging { cursor: grabbing; }
.merchant-rail { display: flex; gap: 18px; width: max-content; }
.merchant-card { flex: 0 0 auto; width: 290px; background: var(--paper); border-radius: var(--radius-m); box-shadow: var(--shadow-1); overflow: hidden; user-select: none; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.merchant-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.merchant-art { position: relative; }
.merchant-photo-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist); }
.merchant-photo { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.merchant-logo { position: absolute; left: 50%; transform: translateX(-50%); bottom: -22px; width: 68px; height: 68px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px rgba(52,52,52,.16); display: grid; place-items: center; overflow: hidden; border: 2px solid #fff; }
.merchant-logo img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.merchant-copy { padding: 28px 14px 12px; text-align: center; }
.merchant-copy h3 { font-size: 16px; letter-spacing: -.01em; font-weight: 700; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.merchant-copy p { margin-top: 2px; font-size: 13px; color: var(--gray-2); }

/* ---------- Connect + partners ---------- */
.connect { padding: 4px 0 48px; }
.connect-grid { display: grid; gap: 16px; }
.social-card, .partners-card { border-radius: var(--radius-l); padding: 26px 22px; position: relative; }
.social-card { background: linear-gradient(160deg, #FFF6DA, #FFEFC2); overflow: hidden; }
.social-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0 12px; }
.social-phone { flex: none; width: 78px; height: auto; margin: -8px -4px -8px 0; pointer-events: none; }
.social-card h2 { font-size: 22px; white-space: nowrap; }
.social-card .section-sub { margin-top: 8px; color: #5A5448; font-size: 14px; }
.social-icons { display: flex; gap: 18px; }
.social-item { display: grid; place-items: center; transition: transform .25s var(--ease); }
.social-item:hover { transform: translateY(-2px); }
.social-item img { width: 34px; height: 34px; object-fit: contain; }
.wa-link { width: 100%; display: grid; grid-template-columns: 24px minmax(0,1fr) 26px; align-items: center; column-gap: 8px; row-gap: 4px; text-align: left; border: 0; background: #fff; border-radius: var(--radius-m); padding: 12px 14px; box-shadow: var(--shadow-1); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.wa-link:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.wa-icon { width: 24px; height: 24px; display: grid; place-items: center; }
.wa-icon img { width: 24px; height: 24px; }
.wa-copy { display: contents; }
.wa-copy strong { grid-column: 2; grid-row: 1; font-size: clamp(13.5px, 3.6vw, 15px); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-copy small { grid-column: 1 / -1; grid-row: 2; font-size: 13px; color: var(--gray-2); line-height: 1.4; }
.wa-arrow { grid-column: 3; grid-row: 1; width: 26px; height: 26px; border-radius: 50%; background: var(--sun); color: var(--ink); display: grid; place-items: center; font-size: 15px; line-height: 1; }
.minor-social { display: flex; justify-content: center; gap: 12px; margin-top: 14px; font-size: 13px; color: var(--gray-2); }
.minor-social a { text-decoration: none; }
.minor-social a:hover { color: var(--ink); text-decoration: underline; }
.partners-card { background: linear-gradient(160deg, #FFFFFF 0%, #FFF6DD 100%); border: 1px solid #F3E7C4; box-shadow: var(--shadow-1); display: flex; flex-direction: column; }
.partners-card h2 { font-size: 28px; }
.partners-card .section-sub { margin-top: 10px; font-size: 14px; }
.partner-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; align-items: start; margin-top: auto; padding-top: 22px; }
/* Every logo sits in the same-height slot so all four share one centre line; Pana's caption hangs beneath its own logo. */
.partner-item { min-width: 0; display: grid; grid-template-rows: 46px auto; justify-items: center; align-items: center; row-gap: 4px; }
.partner-item img, .partner-item > svg { display: block; max-width: 100%; height: auto; object-fit: contain; }
.partner-zurich > svg { width: auto; height: 42px; }
.partner-pacific img { width: 100%; max-width: 84px; }
.partner-chubb img { width: 100%; max-width: 92px; }
.partner-pana img { width: 100%; max-width: 86px; }
.partner-item small { align-self: start; max-width: 100%; font-size: 10px; font-weight: 600; letter-spacing: .01em; color: var(--gray-2); line-height: 1.25; text-align: center; text-wrap: balance; }

/* ---------- Footer ---------- */
.footer { background: linear-gradient(180deg, var(--canvas) 0%, #FFF6DF 100%); color: var(--gray-2); padding: 24px 0 28px; font-size: 14px; }
.footer-grid { display: grid; gap: 28px; }
.footer-brand img { width: 104px; height: auto; }
.footer-tagline { margin-top: 10px; font-size: 11px; letter-spacing: .32em; color: var(--ink); font-weight: 600; }
.contact { display: grid; gap: 14px; }
.contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.6; }
.contact a { text-decoration: none; color: var(--ink); }
.contact a:hover { text-decoration: underline; }
.contact-icon { width: 20px; height: 20px; flex: none; color: var(--gray); margin-top: 2px; display: grid; place-items: center; }
.contact-icon svg, .contact-icon img { width: 19px; height: 19px; }
.contact-icon img { filter: grayscale(1) brightness(.75) contrast(.9); opacity: .85; }
.footer-bottom { margin-top: 30px; padding-top: 18px; border-top: 1px solid rgba(52,52,52,.07); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: 12px; }
@media (min-width: 600px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
.legal { display: inline-flex; gap: 8px; }
.legal a { text-underline-offset: 3px; }

/* ---------- Dialogs: bottom sheets on phones, centred cards on larger screens ---------- */
body.modal-open { position: fixed; width: 100%; overflow: hidden; }
.sheet { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 100%; max-height: 88dvh; border-radius: 28px 28px 0 0; background: #FFFDF8; color: var(--ink); box-shadow: 0 -10px 60px rgba(0,0,0,.2); overflow: hidden; }
.sheet[open] { animation: sheet-in .38s var(--ease); }
.sheet::backdrop { background: rgba(30,30,30,.42); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sheet[open]::backdrop { animation: fade-in .3s ease; }
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fade-in { from { opacity: 0; } }
.sheet::before { content: ''; position: absolute; top: 8px; left: 50%; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: #DDD6C8; }
.sheet-body { padding: 34px 20px calc(24px + env(safe-area-inset-bottom)); max-height: 88dvh; overflow: auto; overscroll-behavior: contain; }
.sheet-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--mist); display: grid; place-items: center; transition: background-color .2s; }
.sheet-close:hover { background: #ECE7DC; }
.sheet-close svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; }
.sheet h2 { font-size: 28px; padding-right: 44px; }
.sheet .sun { color: var(--sun-deep); }
.sheet-intro { color: var(--gray-2); font-size: 14px; margin: 10px 0 20px; max-width: 30em; }
.product-list { display: grid; gap: 10px; }
.product-option { text-decoration: none; width: 100%; display: grid; grid-template-columns: 52px minmax(0,1fr) 34px; align-items: center; gap: 14px; text-align: left; padding: 16px 14px; border-radius: var(--radius-m); border: 1px solid transparent; background: var(--mist); transition: transform .25s var(--ease), border-color .2s, background-color .2s; }
.product-option:hover { transform: translateY(-1px); border-color: #E2DCCB; background: #F2EEE4; }
.product-option.membership { background: var(--sun-soft); }
.product-option.membership:hover { background: #FFEDBC; }
.product-option.travel { background: #EFF6FA; }
.product-option.auto { background: #FBF3E8; }
.product-symbol { width: 52px; height: 52px; display: grid; place-items: center; }
.product-icon { width: 38px; height: 38px; }
.option-copy strong { display: block; font-family: Zen, Inter, sans-serif; font-weight: 900; font-size: 18px; line-height: 1.2; }
.option-copy > span { display: block; font-size: 13px; color: var(--gray-2); margin-top: 3px; line-height: 1.4; }
.option-arrow { width: 34px; height: 34px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; align-self: center; font-size: 18px; color: var(--ink); }
.chip { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .12em; padding: 6px 12px; border-radius: 999px; background: #E8F8EE; color: #1C6B3C; margin-bottom: 12px; }
.community-choices { display: grid; gap: 10px; }
.language-choice { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px; border-radius: var(--radius-m); background: var(--sun-soft); text-decoration: none; font-weight: 700; font-size: 16px; border: 1px solid transparent; transition: transform .25s var(--ease), border-color .2s; }
.language-choice:hover { transform: translateY(-1px); border-color: #F1D98B; }
.language-choice span { font-weight: 600; font-size: 14px; color: var(--gray-2); }

/* ---------- Tablet / desktop ---------- */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .sheet { margin: auto; width: min(460px, calc(100vw - 48px)); border-radius: 28px; box-shadow: var(--shadow-2); }
  .sheet[open] { animation: pop-in .32s var(--ease); }
  @keyframes pop-in { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
  .sheet::before { display: none; }
  .sheet-body { padding: 34px 28px 28px; }
  .merchants-head { grid-template-columns: 1fr auto; }
  .merchants-head .link-arrow { justify-self: end; }
  .merchant-card { width: 320px; }
}

@media (min-width: 900px) {
  .topbar-inner { height: 80px; padding: 0 48px; }
  .topbar-logo img { width: 128px; }
  .hero { padding-top: 8px; }
  .hero-grid { gap: 40px; }
  .hero-copy { padding: 0 40px; }
  .hero-creamy { width: 220px; margin: 0 auto -8px; }
  .hero h1 { margin-top: 0; }
  .hero-subtitle { font-size: 19px; margin-top: 22px; }
  .video-frame { max-width: 980px; border-radius: var(--radius-xl); }
  .stage { padding: 48px 0 16px; }
  .greeting-creamy { width: 128px; height: 128px; }
  .plans { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 44px; }
  .plan { display: flex; flex-direction: column; }
  .plan-top { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 20px; padding: 40px 26px 22px; flex: 1; }
  .price { justify-content: center; }
  .plan.has-popular .plan-top { padding-top: 44px; }
  .card-art { width: 176px; }
  .amount { font-size: 54px; }
  .plan-name { font-size: 16px; }
  .plan-benefits { grid-template-columns: 1fr; }
  .plan-benefit { padding: 11px 22px; font-size: 14px; }
  .plan-benefit strong { font-size: 15px; }
  .selection { top: 22px; right: 22px; width: 26px; height: 26px; }
  .plan-actions { grid-auto-flow: column; justify-content: center; align-items: center; gap: 16px; margin-top: 40px; }
  .plan-actions .btn-sun { width: auto; min-width: 360px; }
  .merchants { padding-top: 28px; }
  .stage .section-sub, .merchants .section-sub, .hero-subtitle { font-size: 18px; }
  .merchant-card { width: 352px; }
  .connect { padding: 16px 0 72px; }
  .connect-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .social-card, .partners-card { padding: 36px 34px; border-radius: var(--radius-xl); }
  .social-card h2, .partners-card h2 { font-size: 34px; }
  .social-phone { width: 110px; margin: -16px 0 -16px 0; }
  .social-item img { width: 38px; height: 38px; }
  .social-icons { gap: 22px; }
  .wa-link { grid-template-columns: 28px minmax(0,1fr) 30px; padding: 14px 18px; column-gap: 12px; }
  .wa-icon, .wa-icon img { width: 28px; height: 28px; }
  .wa-copy small { grid-column: 2 / -1; }
  .wa-arrow { width: 30px; height: 30px; }
  .social-card .section-sub, .partners-card .section-sub { font-size: 15px; }
  .partners-card { justify-content: center; }
  .partner-logos { margin-top: 0; padding-top: 30px; gap: 10px; }
  .partner-logos { column-gap: 20px; }
  .partner-item { grid-template-rows: 60px auto; row-gap: 6px; }
  .partner-zurich > svg { height: 52px; }
  .partner-pacific img { max-width: 92px; }
  .partner-chubb img { max-width: 100px; }
  .partner-pana img { max-width: 96px; }
  .partner-item small { font-size: 11px; white-space: nowrap; }
  .footer { padding: 24px 0 32px; }
  .footer-grid { grid-template-columns: 1.2fr 2fr; align-items: start; }
  .contact { grid-template-columns: 1.4fr 1fr; column-gap: 40px; }
  .contact li:first-child { grid-row: span 2; }
}

@media (max-width: 374px) {
  :root { --gutter: 16px; }
  .plan-top { grid-template-columns: 88px minmax(0,1fr); gap: 12px; }
  .card-art { width: 88px; }
  .amount { font-size: 36px; }
  .plan-benefit { padding: 10px 14px; gap: 10px; }
  .plan-benefit strong { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .creamy-flight, .creamy-tail, .creamy-greeting, .creamy-blink { animation: none; }
  .creamy-greeting { filter: none; }
  .membership-page :not(.happi-checkout-host *), .membership-page :not(.happi-checkout-host *)::before, .membership-page :not(.happi-checkout-host *)::after { transition-duration: .01ms !important; }
  .sheet[open], .sheet[open]::backdrop { animation: none; }
}

/* ---------- Growing proof on phones: one row, three parts, every label on one line ---------- */
@media (max-width: 599px) {
  .stats { padding: 16px 0 14px; margin-top: 16px; }
  .stats li { gap: 8px; padding: 0 4px; }
  .stat-icon { width: 34px; height: 34px; }
  .stat-icon svg { width: 19px; height: 19px; }
  .stat-text { gap: 4px; }
  .stats strong { font-size: 26px; }
  .stats span span { max-width: 6.5em; min-height: 0; font-size: 12px; line-height: 1.3; white-space: normal; text-wrap: balance; }
  .stats li + li { border-left: 0; }
}
@media (max-width: 359px) { .stats strong { font-size: 22px; } }

@media (max-width: 599px) {
  .hero-subtitle { font-size: 13.5px; line-height: 1.55; max-width: none; margin: 14px -8px 0; }
}
@media (max-width: 599px) {
  .social-card { padding: 26px 18px 22px; }
  .wa-link { column-gap: 6px; padding: 12px; }
}
@media (max-width: 379px) {
  .hero-subtitle { font-size: 13px; margin-inline: -10px; }
}
/* The supplied travel/motor artwork has a baked-in white backdrop; multiply lets it melt into the card colour. */
.product-symbol .product-icon { mix-blend-mode: multiply; }
/* Partners on phones: 2 x 2 so each logo gets room to breathe; order Zurich, Pacific / CHUBB, Pana (Pana stays on the right). */
@media (max-width: 599px) {
  .partner-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 18px; padding-top: 20px; }
  .partner-item { grid-template-rows: 52px auto; }
  .partner-zurich > svg { height: 48px; }
  .partner-pacific img { max-width: 108px; }
  .partner-chubb img { max-width: 120px; }
  .partner-pana img { max-width: 112px; }
  .partner-item small { font-size: 11px; white-space: nowrap; }
}

/* ---------- Partners: equal slots, each logo optically centred; Pana + caption read as one unit ---------- */
.partner-logos { align-items: stretch; }
.partner-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; min-height: 76px; }
.partner-pana { gap: 3px; }
.partner-pana small { font-size: 10px; font-weight: 600; line-height: 1.2; letter-spacing: 0; white-space: nowrap; color: #5A6B7A; }
@media (min-width: 900px) {
  .partner-item { min-height: 88px; }
  .partner-pana small { font-size: 10.5px; }
}

/* ---------- WhatsApp community row: one cohesive card ---------- */
.wa-link { grid-template-columns: minmax(0,1fr) 34px; grid-template-rows: auto auto; column-gap: 12px; row-gap: 4px; padding: 14px 14px 14px 16px; border: 1px solid rgba(37,211,102,.18); box-shadow: 0 6px 18px rgba(52,52,52,.07); }
.wa-copy { display: contents; }
.wa-icon { display: none; }
.wa-copy strong { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: 8px; }
.wa-copy strong::before { content: ''; flex: none; width: 22px; height: 22px; background: url('/membership/assets/custom/membership/whatsapp.svg') center / contain no-repeat; }
.wa-copy small { grid-column: 1; grid-row: 2; }
.wa-arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; transition: transform .25s var(--ease); }
.wa-arrow svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; display: block; }
.wa-link:hover .wa-arrow { transform: translateX(3px); }
@media (max-width: 379px) { .wa-copy strong { font-size: 13px; } }
@media (min-width: 900px) {
  .wa-link { grid-template-columns: minmax(0,1fr) 38px; padding: 16px 18px 16px 20px; }
  .wa-copy small { grid-column: 1; }
  .wa-copy strong::before { width: 26px; height: 26px; }
  .wa-arrow { width: 38px; height: 38px; }
}

/* ---------- Phone illustration scales with the screen ---------- */
.social-phone { width: 64px; }
@media (min-width: 600px) { .social-phone { width: 104px; } }
@media (min-width: 900px) { .social-phone { width: 150px; margin: -36px -6px -28px 0; } }
.partner-pana small { align-self: center; }
@media (max-width: 599px) {
  .wa-link { grid-template-columns: minmax(0,1fr) 30px; column-gap: 10px; padding: 13px 12px 13px 14px; }
  .wa-arrow { width: 30px; height: 30px; }
  .wa-arrow svg { width: 15px; height: 15px; }
  .wa-copy small { font-size: 12.5px; line-height: 1.45; }
}

/* Product icons are crisp vectors now: no blending needed */
.product-symbol .product-icon { mix-blend-mode: normal; width: 42px; height: 42px; }

/* Growing proof on phones: shorter card, every label on one line */
@media (max-width: 599px) {
  .stats { padding: 12px 0 11px; margin-top: 14px; }
  .stats li { gap: 6px; padding: 0 2px; }
  .stat-icon { width: 30px; height: 30px; }
  .stat-icon svg { width: 17px; height: 17px; }
  .stat-text { gap: 3px; }
  .stats strong { font-size: 24px; }
  .stats span span { max-width: none; font-size: 11.5px; line-height: 1.2; white-space: nowrap; }
}
@media (max-width: 374px) { .stats span span { font-size: 10.5px; } .stats strong { font-size: 21px; } }

/* Supplied travel/motor artwork has a white backdrop: blend it into the card colour */
.product-symbol .product-icon--ref { mix-blend-mode: multiply; }

/* ---------- Stay Connected (owner-supplied reference layout) ---------- */
.social-card { background: var(--paper); border: 1px solid #F1E8D2; box-shadow: var(--shadow-1); padding: 24px 20px 18px; overflow: hidden; }
.social-head { display: flex; align-items: flex-start; gap: 10px; }
.social-copy { flex: 1; min-width: 0; }
.social-card h2 { font-size: 28px; line-height: 1.15; white-space: normal; }
.social-card .section-sub { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--gray-2); }
.social-head .social-phone { flex: none; width: 92px; margin: -4px -4px 0 0; }
.social-icons { display: flex; justify-content: space-between; align-items: center; gap: 0; margin: 18px 6px 18px; }
.social-item img { width: 32px; height: 32px; }
.wa-link { display: grid; grid-template-columns: 36px minmax(0,1fr) 22px; grid-template-rows: auto auto; column-gap: 12px; row-gap: 2px; align-items: center; padding: 14px 14px 14px 12px; background: #FFF4D6; border: 1px solid #F2DD9E; border-radius: 14px; box-shadow: none; }
.wa-link:hover { box-shadow: 0 6px 16px rgba(233,164,0,.15); transform: translateY(-1px); }
.wa-icon { display: grid; grid-column: 1; grid-row: 1 / span 2; width: 36px; height: 36px; place-items: center; background: none; }
.wa-icon img { width: 34px; height: 34px; }
.wa-copy { display: contents; }
.wa-copy strong { grid-column: 2; grid-row: 1; display: block; font-size: 15px; letter-spacing: -.01em; white-space: normal; overflow: visible; }
.wa-copy strong::before { content: none; display: none; }
.wa-copy small { grid-column: 2; grid-row: 2; font-size: 13px; line-height: 1.4; color: var(--gray-2); }
.wa-arrow { grid-column: 3; grid-row: 1 / span 2; align-self: center; width: 22px; height: 22px; background: none; border-radius: 0; }
.wa-arrow svg { width: 20px; height: 20px; stroke: var(--ink); stroke-width: 2; }
.minor-social { margin-top: 16px; }
@media (min-width: 900px) {
  .social-card { padding: 36px 34px 24px; }
  .social-card h2 { font-size: 34px; }
  .social-head .social-phone { width: 128px; margin: -12px -6px -8px 0; }
  .social-icons { margin: 22px 10px; }
  .social-item img { width: 38px; height: 38px; }
  .wa-link { grid-template-columns: 40px minmax(0,1fr) 24px; padding: 16px 18px 16px 16px; }
  .wa-icon, .wa-icon img { width: 38px; height: 38px; }
  .wa-copy small { grid-column: 2; }
}
@media (max-width: 599px) {
  .social-card { padding: 24px 16px 18px; }
  .wa-link { grid-template-columns: 30px minmax(0,1fr) 20px; column-gap: 10px; padding: 12px 10px 12px 12px; }
  .wa-icon, .wa-icon img { width: 30px; height: 30px; }
  .wa-copy strong { font-size: 13.5px; white-space: nowrap; }
  .wa-copy small { font-size: 12px; line-height: 1.4; }
  .wa-arrow svg { width: 18px; height: 18px; }
}
@media (max-width: 379px) { .wa-copy strong { font-size: 12.5px; } .wa-copy small { font-size: 11.5px; } }

/* Product icons: crisp vectors, no blending */
.product-symbol .product-icon, .product-symbol .product-icon--ref { mix-blend-mode: normal; width: 44px; height: 44px; }
/* WhatsApp row on phones: slimmer arrow column so the subtitle fits two lines */
@media (max-width: 599px) {
  .wa-link { grid-template-columns: 30px minmax(0,1fr) 16px; column-gap: 9px; }
  .wa-arrow { width: 16px; }
  .wa-arrow svg { width: 16px; height: 16px; }
}
/* Stay Connected on phones: roomier side padding to match the owner's reference */
@media (max-width: 599px) {
  .social-card { padding: 28px 18px 20px; }
  .social-head { padding: 0 8px; }
  .social-icons { margin: 18px 30px 20px; }
}
/* Merchants heading on one line on phones: size follows the screen width */
@media (max-width: 599px) {
  .merchants h2 { font-size: min(26px, calc((100vw - 40px) / 14.4)); white-space: nowrap; }
}
@media (max-width: 379px) {
  .social-card h2 { font-size: 25px; }
  .social-head .social-phone { width: 80px; }
}

/* Product icons: supplied hi-res artwork + matching card */
.product-symbol .product-icon { width: 44px; height: 44px; mix-blend-mode: multiply; }
.product-symbol .product-icon--wide { width: 50px; height: 26px; }

/* ================= Type scale: one size for every section heading, one for every subtitle ================= */
/* Section headings (the hero H1 stays the main title) */
.membership-page .proof-card h2, .membership-page .stage h2, .membership-page .merchants h2, .membership-page .social-card h2, .membership-page .partners-card h2 {
  font-size: min(24px, calc((100vw - 40px) / 14.4)); line-height: 1.18; letter-spacing: -.02em;
}
.membership-page .merchants h2 { white-space: nowrap; }
/* Subtitles */
.membership-page .hero-subtitle, .membership-page .section-sub, .membership-page .sheet-intro { font-size: 15px; line-height: 1.5; color: var(--gray-2); }
.membership-page .hero-subtitle { margin: 14px auto 0; max-width: 30em; }
.membership-page .social-card .section-sub, .membership-page .partners-card .section-sub, .membership-page .stage .section-sub, .membership-page .merchants .section-sub { margin-top: 8px; }
/* Small supporting text */
.membership-page .merchant-copy p, .membership-page .plan-benefit, .membership-page .minor-social, .membership-page .footer-bottom, .membership-page .option-copy > span, .membership-page .wa-copy small { font-size: 13px; }
.membership-page .stats span span { font-size: 12.5px; }
@media (max-width: 379px) { .membership-page .stats span span { font-size: 12px; } .membership-page .wa-copy small { font-size: 12.5px; } }
@media (min-width: 600px) {
  .membership-page .proof-card h2, .membership-page .stage h2, .membership-page .merchants h2, .membership-page .social-card h2, .membership-page .partners-card h2 { font-size: 32px; }
  .membership-page .merchants h2 { white-space: normal; }
  .membership-page .hero-subtitle, .membership-page .section-sub, .membership-page .sheet-intro { font-size: 16px; }
  .membership-page .stats span span { font-size: 14px; }
}
@media (min-width: 900px) {
  .membership-page .proof-card h2, .membership-page .stage h2, .membership-page .merchants h2, .membership-page .social-card h2, .membership-page .partners-card h2 { font-size: 36px; }
  .membership-page .hero-subtitle, .membership-page .section-sub { font-size: 17px; }
  .membership-page .hero-subtitle { margin-top: 18px; }
  .membership-page .merchant-copy p, .membership-page .plan-benefit, .membership-page .minor-social, .membership-page .footer-bottom, .membership-page .option-copy > span, .membership-page .wa-copy small { font-size: 14px; }
}
/* Stay Connected: illustration sits beside the heading only; the subtitle uses the full card width */
.membership-page .social-head { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 10px; align-items: end; }
.membership-page .social-copy { display: contents; }
.membership-page .social-card h2 { grid-column: 1; grid-row: 1; align-self: end; }
.membership-page .social-head .social-phone { grid-column: 2; grid-row: 1; align-self: start; width: 74px; margin: -6px -4px 0 0; }
.membership-page .social-card .section-sub { grid-column: 1 / -1; grid-row: 2; }
@media (min-width: 600px) { .membership-page .social-head .social-phone { width: 104px; } }
@media (min-width: 900px) { .membership-page .social-head .social-phone { width: 124px; margin: -16px -6px -4px 0; } }
/* Stats: "+" centred on the figures (Inter case-sensitive forms) */
.membership-page .stats strong { font-feature-settings: "case" 1, "tnum" 0; }
.membership-page .stats [data-stat="members"] { font-feature-settings: "case" 1, "tnum" 1; }
/* Phones: slightly wider stats card so the longest label keeps clear of the edge */
@media (max-width: 599px) {
  .membership-page .stats { margin-inline: -10px; padding-inline: 6px; }
}

/* ================= Stay Connected: matches the owner's reference exactly ================= */
.membership-page .social-card { background: #FFFEFA; border: 1px solid #F0E8D4; border-radius: 24px; box-shadow: 0 4px 18px rgba(52,52,52,.05); padding: 26px 18px 18px; }
.membership-page .social-head { display: flex; align-items: flex-start; gap: 8px; padding: 0 8px; }
.membership-page .social-copy { display: block; flex: 1; min-width: 0; }
.membership-page .social-card h2 { font-size: 26px; line-height: 1.2; white-space: normal; }
.membership-page .social-card .section-sub { margin-top: 8px; font-size: 15px; line-height: 1.45; color: #5E5E5E; }
.membership-page .social-head .social-phone { flex: none; align-self: flex-start; width: 72px; margin: 2px 0 0; }
.membership-page .social-icons { display: flex; justify-content: space-between; margin: 14px 28px 18px; }
.membership-page .social-item img { width: 28px; height: 28px; }
.membership-page .wa-link { display: grid; grid-template-columns: 30px minmax(0,1fr) 18px; grid-template-rows: auto auto; column-gap: 10px; row-gap: 2px; align-items: center; padding: 12px 14px 12px 12px; background: #FFF4D6; border: 1px solid #F2DD9E; border-radius: 14px; box-shadow: none; }
.membership-page .wa-icon { display: grid; grid-column: 1; grid-row: 1 / span 2; width: 30px; height: 30px; place-items: center; }
.membership-page .wa-icon img { width: 30px; height: 30px; }
.membership-page .wa-copy strong { grid-column: 2; grid-row: 1; font-size: 13px; white-space: nowrap; letter-spacing: 0; }
.membership-page .wa-copy small { grid-column: 2; grid-row: 2; font-size: 12px; line-height: 1.45; color: #5E5E5E; }
.membership-page .wa-arrow { grid-column: 3; grid-row: 1 / span 2; width: 18px; height: 18px; background: none; }
.membership-page .wa-arrow svg { width: 18px; height: 18px; stroke: #343434; stroke-width: 1.8; }
.membership-page .minor-social { margin-top: 16px; font-size: 12px; }
@media (min-width: 900px) {
  .membership-page .social-card { padding: 36px 30px 24px; border-radius: 32px; }
  .membership-page .social-card h2 { font-size: 34px; }
  .membership-page .social-card .section-sub { font-size: 16px; }
  .membership-page .social-head .social-phone { width: 112px; margin-top: -6px; }
  .membership-page .social-icons { margin: 20px 40px 22px; }
  .membership-page .social-item img { width: 34px; height: 34px; }
  .membership-page .wa-link { grid-template-columns: 36px minmax(0,1fr) 22px; padding: 16px 18px 16px 16px; }
  .membership-page .wa-icon, .membership-page .wa-icon img { width: 36px; height: 36px; }
  .membership-page .wa-copy strong { font-size: 15px; }
  .membership-page .wa-copy small { font-size: 13.5px; }
  .membership-page .wa-arrow, .membership-page .wa-arrow svg { width: 22px; height: 22px; }
}
@media (max-width: 384px) { .membership-page .wa-copy small { font-size: 11.5px; } .membership-page .wa-link { padding-right: 12px; column-gap: 8px; } }
@media (max-width: 599px) {
  .membership-page .wa-link { grid-template-columns: 26px minmax(0,1fr) 16px; column-gap: 8px; padding: 12px 10px 12px 12px; }
  .membership-page .wa-icon, .membership-page .wa-icon img { width: 28px; height: 28px; }
  .membership-page .wa-arrow, .membership-page .wa-arrow svg { width: 16px; height: 16px; }
}
/* Balanced line breaks for every subtitle (no short orphan second line) */
.membership-page .hero-subtitle, .membership-page .section-sub, .membership-page .sheet-intro { text-wrap: balance; }
.membership-page .social-card .section-sub { text-wrap: wrap; }
/* Stay Connected follows the same heading/subtitle scale as its neighbour (Insurance Partners) */
.membership-page .social-card h2 { font-size: min(24px, calc((100vw - 40px) / 14.4)); }
@media (min-width: 600px) { .membership-page .social-card h2 { font-size: 32px; } .membership-page .social-card .section-sub { font-size: 16px; } }
@media (min-width: 900px) { .membership-page .social-card h2 { font-size: 36px; } .membership-page .social-card .section-sub { font-size: 17px; } }

/* ================= Logo scale: each group grows/shrinks together from one factor ================= */
/* Social icons: all four share one size */
.membership-page .social-item img { width: 32px; height: 32px; }
@media (min-width: 900px) { .membership-page .social-item img { width: 42px; height: 42px; } }

/* Insurance partners: per-logo base sizes keep their relative balance; --logo-scale enlarges them as a set */
.membership-page .partner-logos { --logo-scale: 1.1; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 20px; }
.membership-page .partner-item { min-height: calc(60px * var(--logo-scale)); }
.membership-page .partner-zurich > svg { width: auto; height: calc(46px * var(--logo-scale)); }
.membership-page .partner-pacific img { width: 100%; max-width: calc(104px * var(--logo-scale)); }
.membership-page .partner-chubb img { width: 100%; max-width: calc(116px * var(--logo-scale)); }
.membership-page .partner-pana img { width: 100%; max-width: calc(108px * var(--logo-scale)); }
.membership-page .partner-pana small { font-size: calc(10px * var(--logo-scale)); white-space: nowrap; }
/* Desktop: same 2 x 2 arrangement, scaled up to fill the card beside Stay Connected */
@media (min-width: 900px) {
  .membership-page .partner-logos { --logo-scale: 1.35; column-gap: 24px; row-gap: 28px; padding-top: 28px; }
}

/* ================= Hero scale: title and subtitle in proportion (≈3:1 on desktop) ================= */
@media (min-width: 900px) {
  .membership-page .hero h1 { font-size: clamp(44px, 5.4vw, 68px); line-height: 1.06; }
  .membership-page .hero-subtitle { font-size: 21px; line-height: 1.45; max-width: none; white-space: nowrap; margin-top: 20px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .membership-page .hero h1 { font-size: clamp(40px, 7vw, 56px); }
  .membership-page .hero-subtitle { font-size: 18px; max-width: 30em; }
}
@media (min-width: 900px) and (max-width: 1099px) { .membership-page .hero-subtitle { white-space: normal; max-width: 34em; } }
/* Stats: breathing room between figure and label, scaled with the figure size */
.membership-page .stat-text { gap: 6px; }
.membership-page .stats strong { line-height: 1; }
@media (min-width: 600px) { .membership-page .stat-text { gap: 8px; } }
@media (min-width: 900px) {
  .membership-page .stats strong { font-size: 40px; }
  .membership-page .stats span span { font-size: 15px; }
  .membership-page .stat-text { gap: 10px; }
}
/* Hero: tighter title/subtitle ratio */
.membership-page .hero-subtitle { font-size: 16px; }
@media (min-width: 600px) and (max-width: 899px) { .membership-page .hero-subtitle { font-size: 19px; } }
@media (min-width: 900px) {
  .membership-page .hero h1 { font-size: clamp(44px, 5vw, 62px); }
  .membership-page .hero-subtitle { font-size: 24px; line-height: 1.4; }
}
@media (min-width: 900px) and (max-width: 1099px) { .membership-page .hero-subtitle { font-size: 21px; } }

/* ================= Primary CTA: bigger, brighter, more inviting ================= */
.membership-page .btn-sun { background: linear-gradient(180deg, #FFC72C 0%, #FDB813 100%); min-height: 62px; padding: 8px 34px; font-size: 19px; gap: 12px; box-shadow: 0 10px 24px rgba(253,184,19,.38), inset 0 1px 0 rgba(255,255,255,.45); transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .2s; }
.membership-page .btn-sun:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(253,184,19,.48), inset 0 1px 0 rgba(255,255,255,.45); filter: saturate(1.08); }
.membership-page .btn-sun:active { transform: translateY(0) scale(.98); }
.membership-page .btn-sun .btn-disc svg { width: 22px; height: 22px; stroke-width: 2.6; }
.membership-page .hero-cta { min-width: min(320px, 100%); }
.membership-page .plan-actions .btn-sun { max-width: 440px; }
@media (min-width: 900px) {
  .membership-page .btn-sun { min-height: 68px; padding: 8px 44px; font-size: 21px; }
  .membership-page .btn-sun .btn-disc svg { width: 24px; height: 24px; }
  .membership-page .hero-cta { min-width: 360px; }
  .membership-page .plan-actions .btn-sun { min-width: 380px; }
  .membership-page .plan-actions .btn-ghost { min-height: 52px; font-size: 15px; padding: 8px 26px; }
}
/* WhatsApp row: more room between the logo and the text, and between the text and the arrow */
.membership-page .wa-link { column-gap: 12px; }
@media (min-width: 900px) { .membership-page .wa-link { column-gap: 18px; padding-left: 18px; padding-right: 20px; } }
@media (max-width: 599px) { .membership-page .wa-link { grid-template-columns: 28px minmax(0,1fr) 16px; column-gap: 12px; } }

/* ================= Desktop: main section headings (outside cards) step up together ================= */
@media (min-width: 900px) {
  /* Stats: figures sit a little lower under their icons */
  .membership-page .stat-text { margin-top: 8px; }
  /* Growing / Membership / Merchants headings and their subtitles */
  .membership-page .proof-card h2, .membership-page .stage h2, .membership-page .merchants h2 { font-size: 40px; }
  .membership-page .stage h2 { max-width: none; white-space: nowrap; }
  .membership-page .stage .section-sub, .membership-page .merchants .section-sub { font-size: 19px; max-width: none; }
  .membership-page .merchants .section-sub { white-space: nowrap; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .membership-page .stage h2 { white-space: normal; }
  .membership-page .merchants .section-sub { white-space: normal; }
}
/* Phone/tablet: stats figures sit a little lower under their icons (nothing else changes) */
@media (max-width: 899px) { .membership-page .stat-text { margin-top: 5px; } }
/* Plan benefit rows on phones: "Personal Accident Benefit" and its amount stay on one line */
@media (max-width: 599px) {
  .membership-page .plan-benefit { padding: 10px 12px; gap: 9px; font-size: 12px; }
  .membership-page .benefit-text { gap: 6px; flex-wrap: nowrap; }
  .membership-page .plan-benefit strong { font-size: 13.5px; white-space: nowrap; }
}
/* Desktop plan cards: label above amount in both rows, so the longer label never squeezes the amount */
@media (min-width: 900px) {
  .membership-page .benefit-text { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; flex-wrap: nowrap; }
  .membership-page .plan-benefit { padding: 12px 22px; }
}
/* Social icons: optically equal. Each PNG has different built-in padding (visible logo: TikTok 90%,
   Facebook 86%, Instagram 84%, RedNote 78% of the file), and circles read smaller than rounded squares.
   --s is the visible size of a square logo; circles get ~8% more. */
.membership-page .social-icons { --s: 27px; }
.membership-page .social-item img { width: auto; height: auto; }
.membership-page .social-item img[src*="instagram"] { width: calc(var(--s) / .84); height: calc(var(--s) / .84); }
.membership-page .social-item img[src*="rednote"]   { width: calc(var(--s) / .78); height: calc(var(--s) / .78); }
.membership-page .social-item img[src*="facebook"]  { width: calc(var(--s) * 1.08 / .86); height: calc(var(--s) * 1.08 / .86); }
.membership-page .social-item img[src*="tiktok"]    { width: calc(var(--s) * 1.08 / .90); height: calc(var(--s) * 1.08 / .90); }
@media (min-width: 900px) { .membership-page .social-icons { --s: 35px; } }
/* Plan names (SILVER / GOLD / PLATINUM): HAPPI yellow, slightly larger, lifted with a soft shadow */
.membership-page .plan-name { color: var(--sun); font-size: 17px; font-weight: 900; letter-spacing: .14em;
  text-shadow: 0 1px 0 rgba(160,105,0,.45), 0 2px 6px rgba(160,105,0,.28); }
@media (min-width: 900px) { .membership-page .plan-name { font-size: 19px; } }
/* Plan names: flat HAPPI yellow in the brand font (Zen Maru Gothic), no shadow */
.membership-page .plan-name { font-family: Zen, Inter, sans-serif; font-weight: 900; color: var(--sun); text-shadow: none; font-size: 19px; letter-spacing: .1em; }
@media (min-width: 900px) { .membership-page .plan-name { font-size: 22px; } }
/* Plan names back to charcoal; the price figure (not "RM" or "/ year") in HAPPI yellow */
.membership-page .plan-name { color: var(--ink); }
.membership-page .price .amount { color: var(--sun); }

.membership-page .plan:disabled, .membership-page #join:disabled { cursor: default; opacity: .55; transform: none; }

@media (max-width: 360px) {
  .membership-page .stats span span, .membership-page .merchants h2, .membership-page .wa-copy strong { white-space: normal; }
  .membership-page .benefit-text { flex-wrap: wrap; }
}
