/* ==========================================================================
   Belita's Bible Battle — Coming Soon
   Palette: #FD9295 (coral), #FBC5BF (pink), #FDED7F (yellow),
            #F7B55B (orange), #83CBE9 (blue)
   Fonts:   Insaniburger With Cheese (display) + Inter (body)
   ========================================================================== */

:root {
  --coral:   #FD9295;
  --pink:    #FBC5BF;
  --yellow:  #FDED7F;
  --orange:  #F7B55B;
  --blue:    #83CBE9;
  --cream:   #FFF7EC;
  --ink:     #3A2E3A;        /* soft dark plum for body text */

  --radius-card: 22px;
  --radius-tile: 10px;

  --shadow-soft: 0 10px 30px rgba(58, 46, 58, 0.12);
  --shadow-tile: 0 3px 0 rgba(58, 46, 58, 0.18);

  --font-display: "Insaniburger With Cheese", "Fredoka", "Baloo 2", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, sans-serif;
}

/* If you self-host Insaniburger, uncomment and point to the file:
@font-face {
  font-family: "Insaniburger With Cheese";
  src: url("/fonts/Insaniburger.woff2") format("woff2");
  font-display: swap;
}
*/

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;

  /* Solid sky blue (matches the app background) */
  background: var(--blue);
  background-attachment: fixed;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Top navigation ---------- */
.topnav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 30;
  display: flex;
  justify-content: center;
  background: rgba(255, 248, 231, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 14px rgba(58, 46, 58, 0.10);
}

.topnav-inner {
  width: 100%;
  max-width: 1100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
}

.topnav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.topnav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.topnav-links a:hover {
  background: var(--yellow);
  transform: translateY(-1px);
}

@media (max-width: 760px) {
  .topnav-inner { flex-direction: column; gap: 6px; padding: 8px 12px; }
  .topnav-links { justify-content: center; }
}

/* ---------- Language switcher ---------- */
.lang-switch {
  position: static;
  z-index: 20;
  display: flex;
  gap: 6px;
  padding: 0;
  background: transparent;
  border-radius: 999px;
}

.lang-switch button {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: transparent;
  border: none;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.lang-switch button:hover {
  background: var(--yellow);
  transform: translateY(-1px);
}

.lang-switch button.active {
  background: var(--coral);
  color: white;
}

/* ---------- Decorative floating letter tiles ---------- */
.tile-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.tile {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--yellow);
  border-radius: var(--radius-tile);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  color: var(--coral);
  box-shadow: var(--shadow-tile);
  opacity: 0.75;
  animation: float 8s ease-in-out infinite;
}

.tile-1 { top:  8%; left:  6%; animation-delay: 0s;   transform: rotate(-8deg); }
.tile-2 { top: 18%; right: 10%; animation-delay: 1.2s; transform: rotate(7deg); background: var(--pink); color: white; }
.tile-3 { top: 70%; left:  4%; animation-delay: 0.6s; transform: rotate(10deg); background: var(--blue); color: white; }
.tile-4 { top: 60%; right:  6%; animation-delay: 2s;   transform: rotate(-6deg); }
.tile-5 { top: 40%; left:  2%; animation-delay: 3s;   transform: rotate(4deg); background: var(--orange); color: white; }
.tile-6 { top: 86%; right: 16%; animation-delay: 1.6s; transform: rotate(-12deg); }
.tile-7 { top: 30%; right:  3%; animation-delay: 2.4s; transform: rotate(8deg); background: var(--coral); color: white; }
.tile-8 { top: 90%; left: 18%; animation-delay: 0.9s; transform: rotate(-4deg); background: var(--blue); color: white; }
.tile-9 { top:  4%; left: 42%; animation-delay: 2.7s; transform: rotate(5deg); background: var(--pink); color: white; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-14px) rotate(var(--r, 0deg)); }
}

@media (prefers-reduced-motion: reduce) {
  .tile { animation: none; }
}

/* ---------- Decorative floating clouds ---------- */
.cloud-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.float-cloud {
  position: absolute;
  clip-path: url(#belitaCloud);
  background: #FFF8E7;
  filter: drop-shadow(0 8px 20px rgba(58, 46, 58, 0.12));
  animation: cloudDrift 16s ease-in-out infinite alternate;
}

.fc-1 { width: 220px; height: 170px; top: 12%; left:  6%;  animation-delay: 0s;   opacity: 0.50; }
.fc-2 { width: 300px; height: 230px; top: 64%; left: -4%;  animation-delay: 2s;   opacity: 0.45; }
.fc-3 { width: 180px; height: 140px; top: 28%; right: 8%;  animation-delay: 1s;   opacity: 0.55; }
.fc-4 { width: 260px; height: 200px; top: 78%; right: -2%; animation-delay: 3s;   opacity: 0.40; }
.fc-5 { width: 150px; height: 120px; top:  6%; right: 30%; animation-delay: 4s;   opacity: 0.50; }
.fc-6 { width: 200px; height: 155px; top: 48%; left: 42%;  animation-delay: 1.5s; opacity: 0.28; }

@keyframes cloudDrift {
  from { transform: translate(0, 0) rotate(-1.5deg); }
  to   { transform: translate(18px, -10px) rotate(1.5deg); }
}

@media (prefers-reduced-motion: reduce) {
  .float-cloud { animation: none; }
}

/* ---------- Stage ---------- */
.stage {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 104px 24px 48px;
  text-align: center;
}

/* ---------- Logo ---------- */
.logo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 28px;
  animation: pop-in 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.logo-cloud {
  position: absolute;
  z-index: 0;
  width: 560px;
  height: 440px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  clip-path: url(#belitaCloud);
  background: #FFF8E7;
  filter: drop-shadow(0 10px 24px rgba(58, 46, 58, 0.18));
  animation: cloudSway 5s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes cloudSway {
  from { transform: translate(-50%, -50%) translateX(-6px) rotate(-1.5deg); }
  to   { transform: translate(-50%, -50%) translateX(6px) rotate(1.5deg); }
}

@media (max-width: 480px) {
  .logo-cloud {
    width: 320px;
    height: 280px;
  }
}

.logo {
  position: relative;
  z-index: 1;
  max-width: min(420px, 88vw);
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(58, 46, 58, 0.18));
}

.logo-desktop { display: block; }
.logo-mobile  { display: none; }

@media (max-width: 480px) {
  .logo-desktop { display: none; }
  .logo-mobile  { display: block; max-width: 240px; }
}

@keyframes pop-in {
  from { opacity: 0; transform: scale(0.85) translateY(12px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

/* ---------- Copy ---------- */
.copy {
  background: var(--cream);
  border-radius: var(--radius-card);
  padding: 36px 32px 32px;
  box-shadow: var(--shadow-soft);
  animation: rise 0.7s ease-out 0.15s both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tagline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 4.4vw, 34px);
  color: var(--coral);
  margin: 0 0 8px;
  letter-spacing: 0.01em;
}

.chant {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.6vw, 20px);
  color: var(--orange);
  margin: 0 0 22px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.intro {
  font-size: clamp(15px, 2.2vw, 17px);
  margin: 0 0 16px;
  color: var(--ink);
}

.intro:last-of-type { margin-bottom: 24px; }

.platforms {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 16px;
  color: white;
  background: var(--blue);
  padding: 10px 20px;
  border-radius: 999px;
  margin: 4px 0 0;
  letter-spacing: 0.04em;
}

/* ---------- Signup ---------- */
.signup {
  margin-top: 36px;
  animation: rise 0.7s ease-out 0.3s both;
}

.signup h2 {
  font-family: var(--font-display);
  font-size: clamp(18px, 3vw, 22px);
  color: var(--cream);
  margin: 0 0 16px;
  text-shadow: 0 2px 0 rgba(58, 46, 58, 0.18);
  letter-spacing: 0.02em;
}

.signup-form {
  display: flex;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto;
  padding: 6px;
  background: var(--cream);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.signup-form input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
}

.signup-form input::placeholder {
  color: rgba(58, 46, 58, 0.45);
}

.signup-form button {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.04em;
  color: white;
  background: var(--coral);
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 4px 0 #D97479;
}

.signup-form button:hover {
  background: #FC7A7D;
  transform: translateY(-1px);
}

.signup-form button:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #D97479;
}

.form-msg {
  min-height: 1.4em;
  margin: 14px 0 6px;
  font-size: 14px;
  font-weight: 600;
}

.form-msg.success { color: var(--cream); }
.form-msg.error   { color: #fff; background: rgba(58, 46, 58, 0.35); display: inline-block; padding: 6px 14px; border-radius: 999px; }

.signup-note {
  font-size: 13px;
  color: rgba(255, 247, 236, 0.9);
  margin: 4px 0 0;
}

/* ---------- Links ---------- */
.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 48px;
  animation: rise 0.7s ease-out 0.45s both;
}

.link-group {
  text-align: left;
}

.link-group h3 {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--cream);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 0 rgba(58, 46, 58, 0.18);
}

.link-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.link-group li {
  margin: 4px 0;
}

.link-group a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.link-group a:hover {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
}

/* ---------- Footer ---------- */
.footer {
  margin-top: 48px;
  padding-bottom: 20px;
  font-size: 12px;
  color: rgba(255, 247, 236, 0.85);
  line-height: 1.5;
}

/* ---------- Small screens ---------- */
@media (max-width: 480px) {
  .stage { padding: 150px 16px 40px; }
  .copy  { padding: 28px 22px; }

  .topnav-links a { font-size: 13px; padding: 6px 10px; }

  .signup-form {
    flex-direction: column;
    border-radius: var(--radius-card);
    padding: 12px;
  }
  .signup-form input {
    text-align: center;
    padding: 14px;
  }
  .signup-form button {
    width: 100%;
  }

  .tile { width: 40px; height: 40px; font-size: 22px; }
  .tile-1, .tile-9 { display: none; } /* hide a couple to keep it breathable */

  .lang-switch { top: 12px; right: 12px; padding: 4px; }
  .lang-switch button { padding: 6px 9px; font-size: 11px; }
}

/* ==========================================================================
   Character roster (inline section + cards)
   Per-card colors are injected as --char-bg / --char-on inline styles.
   ========================================================================== */
html { scroll-behavior: smooth; }

.roster-section {
  position: relative;
  z-index: 2;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 64px 24px 40px;
  scroll-margin-top: 80px;
  /* Transparent — shows the page's pink/blue gradient + clouds */
}
.roster-inner { position: relative; z-index: 1; max-width: 1160px; margin: 0 auto; }

.roster-header { text-align: center; margin-bottom: 48px; }
.roster-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 14px;
}
.roster-header h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 5.5vw, 52px);
  color: var(--cream);
  line-height: 1.1;
  margin: 0 0 12px;
  text-shadow: 0 2px 0 rgba(58, 46, 58, 0.18);
}
.roster-header h2 span { color: var(--orange); }
.roster-header p {
  max-width: 520px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 247, 236, 0.96);
}
.roster-rule {
  width: 60px;
  height: 2px;
  background: var(--orange);
  margin: 24px auto 0;
  border-radius: 2px;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* Card */
.card {
  display: flex;
  flex-direction: column;
  background: var(--char-bg, #FFF8E7);
  border: 1px solid rgba(120, 53, 15, 0.18);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(120, 53, 15, 0.4);
  box-shadow: 0 12px 40px rgba(58, 46, 58, 0.22);
}

.card-top {
  background: transparent;
  padding: 22px 22px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar-wrap { position: relative; flex-shrink: 0; }
.halo-ring {
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--char-on, #1A1A2E);
  opacity: .5;
  transition: opacity .3s ease, inset .3s ease;
}
.card:hover .halo-ring { opacity: .9; inset: -7px; }
.avatar {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  background: #FFFFFF;
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 40px;
  color: #1A1A2E;
  position: relative;
  z-index: 1;
}
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
/* Lambs: show the whole GIF (keep the ears) and nudge down for headroom.
   Abaddon keeps cover — his framing is already right. */
.card:not(.is-abaddon) .avatar-img {
  object-fit: contain;
  transform: translateY(5px);
}
/* Wide landscape webps (Lyra, Thresh): cover fills the circle and crops the
   empty side margins instead of shrinking the character. */
.card.char-lyra .avatar-img,
.card.char-thresh .avatar-img {
  object-fit: contain;      /* show the whole character — never crop the ears */
  object-position: center;
  transform: scale(1.6);    /* scale up to fill the circle (empty margins spill past it) */
}

.card-identity { flex: 1; min-width: 0; }
.char-name {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--char-on, #1A1A2E);
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.char-archetype {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--char-on, #1A1A2E);
  opacity: .85;
  margin: 0;
}

.badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 99px;
  border: 1px solid rgba(127, 127, 127, 0.35);
  background: rgba(255, 255, 255, 0.22);
  color: var(--char-on, #1A1A2E);
}

.card-body { flex: 1; padding: 18px 22px 22px; background: #FFF8E7; }
.flavor {
  font-size: 13px;
  color: #92400E;
  line-height: 1.6;
  margin: 0 0 16px;
}

.stat-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid rgba(120, 53, 15, 0.12);
}
.stat-row:last-child { border-bottom: 1px solid rgba(120, 53, 15, 0.12); }
.stat-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.icon-perk { background: rgba(74, 171, 109, 0.16); }
.icon-weak { background: rgba(212, 137, 58, 0.18); }
.stat-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.label-perk { color: #2F9E5B; }
.label-weak { color: #C4732A; }
.stat-text { font-size: 13px; color: #92400E; line-height: 1.5; }

.cost-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(202, 138, 4, 0.18);
}
.cost-label { font-size: 11px; color: #B45309; text-transform: uppercase; letter-spacing: .08em; }
.cost-value { font-family: var(--font-display); font-size: 15px; color: #D97706; }

/* Belita — hero emphasis (color comes from the character set) */
.card.is-belita {
  border-color: rgba(251, 191, 36, 0.6);
  box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.18);
}

/* Abaddon — villain treatment (kept dark) */
.card.is-abaddon {
  border-color: rgba(192, 40, 30, 0.5);
  background: linear-gradient(160deg, #2A0A08 0%, #1A0F0E 60%);
}
.card.is-abaddon .card-body { background: transparent; }
.card.is-abaddon .card-top { background: rgba(192, 40, 30, 0.12); }
.card.is-abaddon .char-name { color: #E87A6A; }
.card.is-abaddon .char-archetype { color: #E8C800; opacity: 1; }
.card.is-abaddon .halo-ring { border-color: #C0281E; }
.card.is-abaddon .avatar { background: #FFFFFF; border-color: rgba(0, 0, 0, 0.12); color: #E8C800; }
.card.is-abaddon .flavor { color: #D6C9A8; }
.card.is-abaddon .stat-row { border-top-color: rgba(255, 255, 255, 0.06); }
.card.is-abaddon .stat-row:last-child { border-bottom-color: rgba(255, 255, 255, 0.06); }
.card.is-abaddon .stat-text { color: #F5EDD8; }
.card.is-abaddon .cost-line { border-top-color: rgba(192, 40, 30, 0.25); }
.card.is-abaddon .cost-label { color: #D6C9A8; }
.card.is-abaddon .cost-value { color: #E87A6A; }
.card.is-abaddon .badge {
  color: #E8C800;
  border-color: rgba(232, 200, 0, 0.4);
  background: rgba(232, 200, 0, 0.08);
}

.villain-divider { text-align: center; margin: 44px 0 30px; position: relative; }
.villain-divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: rgba(192, 40, 30, 0.4);
}
.villain-divider-label {
  position: relative;
  display: inline-block;
  background: var(--coral);
  padding: 5px 18px;
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .card, .halo-ring { transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 480px) {
  .roster-section { padding: 40px 16px 32px; }
  .roster-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ==========================================================================
   Download CTA + footer nav
   ========================================================================== */
.download-cta {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 56px 8px 8px;
}
.dl-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 14px;
}
.dl-heading {
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 52px);
  line-height: 1.05;
  color: var(--cream);
  text-shadow: 0 2px 0 rgba(58, 46, 58, 0.18);
  margin: 0 0 14px;
}
.dl-sub {
  max-width: 540px;
  margin: 0 auto 28px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 247, 236, 0.96);
}
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
}
.store-badge { display: inline-block; transition: transform .18s ease; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge img { height: 54px; width: auto; display: block; }

/* Footer nav (mirrors the top navigation) */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin-bottom: 18px;
}
.footer-nav a {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  opacity: .92;
  transition: color .18s ease;
}
.footer-nav a:hover { color: var(--yellow); }

@media (max-width: 480px) {
  .download-cta { padding: 40px 8px 8px; }
  .store-badge img { height: 46px; }
}

/* ==========================================================================
   Dedicated subpages (FAQ / Privacy / Terms)
   ========================================================================== */
.topnav-brand {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--coral);
  text-decoration: none;
  white-space: nowrap;
}

.subpage {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 120px 24px 56px;
}
.subpage-card {
  background: var(--cream);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 44px 40px;
}
.subpage h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 42px);
  color: var(--coral);
  margin: 0 0 6px;
}
.subpage .updated {
  font-size: 13px;
  color: rgba(58, 46, 58, 0.6);
  margin: 0 0 28px;
}
.subpage h2 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--orange);
  margin: 28px 0 8px;
}
.subpage p,
.subpage li {
  color: var(--ink);
  line-height: 1.7;
  font-size: 15px;
}
.subpage p { margin: 0 0 14px; }
.subpage ul { margin: 0 0 14px; padding-left: 20px; }
.subpage li { margin: 4px 0; }
.subpage a { color: var(--coral); }
.subpage .note {
  background: rgba(247, 181, 91, 0.16);
  border: 1px solid rgba(247, 181, 91, 0.4);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 14px;
  color: var(--ink);
  margin: 0 0 24px;
}

/* FAQ items */
.faq-item { border-top: 1px solid rgba(58, 46, 58, 0.12); padding: 18px 0; }
.faq-item:last-child { border-bottom: 1px solid rgba(58, 46, 58, 0.12); }
.faq-q {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  margin: 0 0 6px;
}
.faq-a { margin: 0; }

@media (max-width: 480px) {
  .subpage { padding: 120px 16px 48px; }
  .subpage-card { padding: 28px 22px; }
}
