/* Bums — brand theme v2 (from /logo.png: blue #0054F0, cream #FDF6EA, gold #FBC80B) */
:root {
  --blue: #0054F0;
  --blue-dark: #0041BD;
  --blue-tint: #EDF3FF;
  --cream: #FDF6EA;
  --gold: #FBC80B;
  --ink: #101828;
  --ink-2: #51586A;
  --paper: #FFFFFF;
  --paper-alt: #F6F7F9;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-md: 0 2px 6px rgba(16, 24, 40, 0.05), 0 12px 32px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 24px 64px rgba(0, 32, 96, 0.22);
  --maxw: 1120px;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter_400Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter_600SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter_800ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Header + hero: the blue logo-world */
.site-header { background: var(--blue); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.brand span { font-weight: 800; font-size: 24px; letter-spacing: -0.5px; color: var(--cream); }
.nav a.cta-small {
  background: var(--gold); color: var(--ink); text-decoration: none;
  font-weight: 600; font-size: 15px; padding: 11px 20px; border-radius: 999px;
}
.nav-right { display: flex; align-items: center; gap: 14px; }

/* Language picker: round flag button + dropdown */
.lang { position: relative; }
.lang > summary {
  list-style: none; cursor: pointer; display: block;
  width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 2px rgba(253, 246, 234, 0.55);
}
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary svg { width: 100%; height: 100%; display: block; }
.lang-menu {
  position: absolute; right: 0; top: 48px; z-index: 60;
  background: #fff; border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 8px; min-width: 195px;
}
.lang-menu a {
  display: flex; align-items: center; gap: 10px; padding: 9px 12px;
  border-radius: 9px; text-decoration: none; color: var(--ink);
  font-size: 15px; font-weight: 600; white-space: nowrap;
}
.lang-menu a svg { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; }
.lang-menu a:hover { background: var(--blue-tint); }
.lang-menu a[aria-current="true"] { background: var(--blue-tint); }
.lang-menu .pin { margin-left: auto; color: var(--gold); font-size: 13px; }
.lang-menu hr { border: 0; border-top: 1px solid #E6E8EC; margin: 6px 4px; }
[dir="rtl"] .lang-menu { right: auto; left: 0; }
[dir="rtl"] .lang-menu .pin { margin-left: 0; margin-right: auto; }

/* Cookie consent banner (only shown once GA_ID is set in site.js) */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  max-width: 560px; margin: 0 auto;
  background: var(--ink); color: #E5E7EB; border-radius: 16px;
  padding: 16px 20px; box-shadow: var(--shadow-lg);
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  font-size: 14.5px;
}
.consent-actions { display: flex; gap: 10px; }
.consent button {
  font: inherit; font-weight: 600; border: 0; border-radius: 999px;
  padding: 9px 18px; cursor: pointer;
}
.consent button.ok { background: var(--gold); color: var(--ink); }
.consent button.no { background: transparent; color: #D1D5DB; box-shadow: inset 0 0 0 1px #4B5563; }

.hero { background: var(--blue); color: var(--cream); overflow: hidden; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px;
  align-items: center; padding: 64px 0 88px;
}
.hero h1 {
  font-size: clamp(42px, 6vw, 68px); font-weight: 800; line-height: 1.02;
  letter-spacing: -2px; text-wrap: balance;
}
.hero h1 .gold { color: var(--gold); }
.hero .lede { font-size: 19px; color: #CFE0FC; margin: 22px 0 34px; max-width: 32em; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
img.badge { display: block; height: 56px; width: auto; }

/* Platform-aware download: JS sets plat-android/plat-ios/plat-desktop on <html>.
   Mobile sees only its own store badge; desktop gets a QR card instead.
   No JS -> both badges (default), no QR. */
.plat-android .badge-link.apple { display: none; }
.plat-ios .badge-link.google { display: none; }
.qr-download { display: none; }
.plat-desktop .badge-link { display: none; }
.plat-desktop .qr-download {
  display: flex; align-items: center; gap: 16px; text-decoration: none;
  background: #fff; border-radius: 16px; padding: 14px 20px 14px 14px;
  box-shadow: var(--shadow-md); color: var(--ink);
}
.qr-download img { width: 96px; height: 96px; border-radius: 8px; }
.qr-download span { font-size: 15px; font-weight: 600; max-width: 13em; text-align: start; line-height: 1.4; }
.final .qr-download { text-align: start; }
.soon-tag { color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; margin-top: 14px; }
.final .soon-tag { text-align: center; }
.hero-note { font-size: 14px; color: #9DBEF9; margin-top: 14px; }

/* Hero collage: three tilted frames */
.collage { position: relative; height: 460px; }
.collage figure {
  position: absolute; margin: 0; background: #fff; padding: 10px 10px 12px;
  border-radius: 14px; box-shadow: var(--shadow-lg);
}
.collage img { border-radius: 8px; width: 100%; }
.collage .c1 { width: 56%; top: 6%; left: 0; transform: rotate(-5deg); z-index: 2; }
.collage .c2 { width: 46%; top: 0; right: 0; transform: rotate(3.5deg); }
.collage .c3 { width: 52%; bottom: 4%; right: 8%; transform: rotate(-2deg); z-index: 3; }
.collage .spark { position: absolute; left: 46%; bottom: 12%; width: 54px; height: 54px; z-index: 4; }

/* Sections */
section { padding: 88px 0; }
section.alt { background: var(--paper-alt); }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -1.2px; line-height: 1.1; text-wrap: balance; }
.sub { color: var(--ink-2); margin-top: 14px; max-width: 40em; font-size: 18px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.step { background: var(--paper); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-md); }
.step .n {
  width: 44px; height: 44px; border-radius: 14px; background: var(--blue); color: var(--cream);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; margin-bottom: 16px;
}
.step h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.3px; }
.step p { font-size: 15.5px; color: var(--ink-2); }

/* Tier cards */
.tier-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 48px; }
.tier {
  background: var(--paper); border-radius: var(--radius); padding: 24px 20px;
  box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 10px;
}
.tier .letter {
  width: 44px; height: 44px; border-radius: 14px; background: var(--blue-tint); color: var(--blue);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 19px;
}
.tier .price { font-size: 26px; font-weight: 800; letter-spacing: -0.8px; }
.tier .price em { font-style: normal; background: var(--gold); border-radius: 8px; padding: 2px 8px; }
.tier p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }

/* App section (phones) */
.app-section { background: var(--blue); color: var(--cream); overflow: hidden; }
.app-section h2 { color: var(--cream); }
.app-section .sub { color: #CFE0FC; }
.app-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.phones { display: flex; justify-content: center; gap: 28px; }
.phone {
  width: min(230px, 42%); border-radius: 34px; padding: 10px;
  background: var(--ink); box-shadow: var(--shadow-lg); flex-shrink: 0;
}
.phone img { border-radius: 26px; aspect-ratio: 393 / 852; object-fit: cover; }
.phone.back { transform: translateY(36px); }
.app-points { list-style: none; display: grid; gap: 18px; margin-top: 34px; }
.app-points li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; color: #E4EEFF; }
.app-points .dot {
  width: 26px; height: 26px; border-radius: 8px; background: var(--gold); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0; margin-top: 2px;
}

/* Helper band */
.earn-stats { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 40px; }
.stat { background: var(--paper); box-shadow: var(--shadow-md); border-radius: var(--radius); padding: 24px 30px; min-width: 200px; }
.stat b { display: block; font-size: 38px; font-weight: 800; color: var(--blue); letter-spacing: -1.5px; }
.stat span { font-size: 14.5px; color: var(--ink-2); }

/* FAQ: quiet list, no boxes */
.faq-list { margin-top: 40px; max-width: 780px; }
.faq details { border-bottom: 1px solid #E6E8EC; }
.faq details:first-child { border-top: 1px solid #E6E8EC; }
.faq summary {
  font-weight: 600; font-size: 17.5px; padding: 22px 0; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 26px; font-weight: 400; color: var(--blue); flex-shrink: 0; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p, .faq details ul { padding: 0 0 22px; color: var(--ink-2); font-size: 16px; max-width: 60ch; }
.faq details ul { padding-left: 20px; }

/* Helper page */
.hero-solo { padding: 56px 0 88px; max-width: 760px; }
.hero-solo .lede { max-width: 36em; }
.checks { list-style: none; display: grid; gap: 14px; margin-top: 36px; max-width: 640px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-size: 16.5px; color: var(--ink-2); }
.checks li strong { color: var(--ink); }
.checks .tick {
  width: 26px; height: 26px; border-radius: 8px; background: var(--gold); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0; margin-top: 2px;
}
.arrow-link { display: inline-block; margin-top: 28px; font-weight: 600; text-decoration: none; }
.arrow-link:hover { text-decoration: underline; }
.tier .of { font-size: 12.5px; color: var(--ink-2); margin-top: -4px; }

/* Fee comparison (Bums vs competitor) */
.compare {
  background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 40px 32px; margin-top: 48px; max-width: 720px; text-align: center;
}
.compare-headline { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 30px; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
.compare-col + .compare-col { border-left: 1px solid #E6E8EC; }
.compare-brand {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 40px; font-weight: 800; font-size: 21px; letter-spacing: -0.4px;
}
.compare-brand img { width: 34px; height: 34px; border-radius: 9px; }
.compare-brand.plain { font-weight: 400; letter-spacing: 0; color: var(--ink-2); }
.compare-col b { display: block; font-size: 46px; font-weight: 800; letter-spacing: -1.8px; margin-top: 10px; color: var(--blue); }
.compare-col.them b { color: var(--ink-2); }
.compare-col span { font-size: 14px; color: var(--ink-2); }
.compare-note { margin-top: 30px; font-size: 13px; color: var(--ink-2); }

/* Final CTA */
.final { text-align: center; background: var(--paper-alt); }
.final .store-buttons { justify-content: center; margin-top: 36px; }

/* Footer */
.site-footer { background: var(--ink); color: #D1D5DB; padding: 56px 0 36px; font-size: 14.5px; }
.foot-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.foot-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 19px; }
.foot-brand img { width: 30px; height: 30px; border-radius: 8px; }
.site-footer nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer nav strong { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.site-footer a { color: #D1D5DB; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.legal-line { margin-top: 40px; padding-top: 22px; border-top: 1px solid #374151; font-size: 13px; color: #9CA3AF; }

/* Legal / article pages */
.article-header { background: var(--blue); color: var(--cream); padding: 48px 0; }
.article-header h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; letter-spacing: -0.8px; }
.article-header p { color: #CFE0FC; margin-top: 8px; }
article.legal { max-width: 720px; margin: 0 auto; padding: 56px 24px 80px; }
article.legal h2 { font-size: 24px; margin: 40px 0 12px; }
article.legal h3 { font-size: 18px; font-weight: 600; margin: 26px 0 8px; }
article.legal p, article.legal li { color: #374151; font-size: 16px; }
article.legal ul { padding-left: 22px; margin: 10px 0; }
article.legal .updated { font-size: 14px; color: var(--ink-2); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding: 44px 0 56px; }
  .collage { height: 400px; max-width: 480px; margin: 12px auto 0; width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .tier-cards { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: 1fr; }
  .phones { margin-top: 8px; }
  section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .tier-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .collage { height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
