/* ==========================================================================
   Cashly — Design tokens
   ========================================================================== */
:root {
  --purple-900: #4A0D67;
  --purple-700: #7B1FA2;
  --purple-500: #9C27B0;
  --purple-100: #F3E5F7;
  --purple-50:  #FAF5FC;
  --ink:        #2B2B2B;
  --gray-600:   #6B7280;
  --gray-200:   #E5E7EB;
  --white:      #FFFFFF;
  --success:    #7B1FA2;

  --gradient-brand: linear-gradient(135deg, #7B1FA2 0%, #9C27B0 100%);

  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-pill: 999px;

  --shadow-card: 0 4px 20px rgba(123, 31, 162, 0.08);
  --shadow-card-hover: 0 10px 30px rgba(123, 31, 162, 0.16);

  --font-display: 'Poppins', 'Nunito Sans', system-ui, sans-serif;
  --font-body: 'Poppins', 'Nunito Sans', system-ui, sans-serif;

  --nav-height: 76px;

  /* Type scale — desktop, scaled down via clamp() for mobile */
  --fs-h1: clamp(2.4rem, 1.6rem + 3.2vw, 3.5rem);
  --fs-h2: clamp(1.9rem, 1.4rem + 2vw, 2.5rem);
  --fs-h3: clamp(1.4rem, 1.15rem + 1vw, 1.75rem);
  --fs-body: clamp(0.95rem, 0.9rem + 0.2vw, 1.0625rem);
  --fs-small: 0.875rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--ink); }
h1 { font-size: var(--fs-h1); line-height: 1.08; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { color: var(--gray-600); }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

section { position: relative; }

.section-pad { padding-block: clamp(56px, 8vw, 108px); }

.section-eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--purple-700);
  margin-bottom: 12px;
}

.section-heading { color: var(--purple-700); }

.section-intro {
  max-width: 640px;
  margin-top: 14px;
}

.center { text-align: center; margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  background: var(--purple-700);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  z-index: 1000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--purple-700);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-pill { border-radius: var(--radius-pill); padding: 15px 30px; }

.btn-primary {
  background: var(--purple-700);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(123, 31, 162, 0.22);
}
.btn-primary:hover { background: var(--purple-500); }

.btn-on-purple {
  background: var(--white);
  color: var(--purple-700);
}
.btn-on-purple:hover { background: var(--purple-100); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
}
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.14); border-color: var(--white); }

.btn-ghost {
  color: var(--purple-700);
  background: none;
  padding: 4px 0;
  font-weight: 600;
  border-bottom: 1.5px solid transparent;
  border-radius: 0;
}
.btn-ghost:hover { border-bottom-color: var(--purple-700); }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease), backdrop-filter 0.25s var(--ease);
}
.navbar-inner {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(74, 13, 103, 0.08);
}

/* Pages without a purple hero (terms/privacy) keep the navbar solid always */
.navbar:not(.nav-on-hero) {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(74, 13, 103, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--purple-700);
}
.navbar .brand { color: var(--purple-700); }
.navbar.nav-on-hero:not(.is-scrolled) .brand-text { color: var(--white); }

.brand-mark { height: 30px; width: auto; flex-shrink: 0; transition: filter 0.2s var(--ease); }
.navbar.nav-on-hero:not(.is-scrolled) .brand-mark { filter: brightness(0) invert(1); }
.brand-text { line-height: 1; }

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  font-weight: 500;
  font-size: 0.96rem;
}
.nav-links a { color: var(--ink); position: relative; padding: 6px 0; }
.nav-links a:hover { color: var(--purple-700); }

.navbar.nav-on-hero:not(.is-scrolled) .nav-links a { color: rgba(255,255,255,0.92); }
.navbar.nav-on-hero:not(.is-scrolled) .nav-links a:hover { color: var(--white); }

.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-btn);
  color: var(--purple-700);
}
.navbar.nav-on-hero:not(.is-scrolled) .nav-toggle { color: var(--white); }
.nav-toggle:hover { background: rgba(123, 31, 162, 0.08); }
.navbar.nav-on-hero:not(.is-scrolled) .nav-toggle:hover { background: rgba(255,255,255,0.14); }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--gradient-brand);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease);
}
.nav-drawer[data-open="true"] { transform: translateX(0); }
.nav-drawer-top { display: flex; align-items: center; justify-content: space-between; }
.nav-drawer .brand-text { color: var(--white); }
.nav-drawer-close {
  width: 44px; height: 44px;
  border-radius: var(--radius-btn);
  border: none;
  background: rgba(255,255,255,0.14);
  color: var(--white);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 48px;
}
.nav-drawer-links a {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}
.nav-drawer-cta { margin-top: auto; display: flex; flex-direction: column; gap: 14px; }
.nav-drawer-cta .btn { width: 100%; }
body.drawer-open { overflow: hidden; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--gradient-brand);
  padding-top: calc(var(--nav-height) + 56px);
  padding-bottom: 140px;
  overflow: hidden;
  color: var(--white);
}
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 32px; }
}
.hero-eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 22px;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero-subhead {
  color: rgba(255,255,255,0.92);
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.hero-fineprint { font-size: var(--fs-small); color: rgba(255,255,255,0.78); margin-bottom: 26px; }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-btn);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  transition: background-color 0.18s var(--ease);
}
.store-badge:hover { background: rgba(255,255,255,0.2); }
.store-badge svg { width: 20px; height: 20px; }

.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-visual .phone-frame { width: min(300px, 78vw); }
.hero-phone-wrap { animation: float 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .hero-phone-wrap { animation: none; } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  line-height: 0;
}
.hero-wave svg { width: 100%; height: clamp(32px, 5vw, 64px); display: block; }

/* ==========================================================================
   Phone frame + mock screens
   ========================================================================== */
.phone-frame {
  width: 260px;
  aspect-ratio: 9 / 19.5;
  background: #17091f;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35), 0 0 0 2px rgba(255,255,255,0.08) inset;
  flex-shrink: 0;
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding-block: 28px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 24px;
  text-align: center;
}
@media (min-width: 760px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--purple-900);
}
.trust-item svg { width: 26px; height: 26px; color: var(--purple-700); }

/* ==========================================================================
   How it works
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 48px;
  position: relative;
}
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps::before {
    content: "";
    position: absolute;
    top: 27px;
    left: 12%;
    right: 12%;
    border-top: 2px dashed var(--purple-100);
    z-index: 0;
  }
}
.step { position: relative; z-index: 1; text-align: left; }
.step-chip {
  width: 54px; height: 54px;
  border-radius: 999px;
  background: var(--purple-700);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(123,31,162,0.24);
}
.step-icon { width: 20px; height: 20px; color: var(--purple-500); margin-bottom: 10px; }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--ink); }
.step p { font-size: 0.94rem; }

/* ==========================================================================
   Features grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 48px;
}
@media (min-width: 700px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.feature-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.feature-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--purple-100);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.feature-icon svg { width: 24px; height: 24px; color: var(--purple-700); }
.feature-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.94rem; }

/* ==========================================================================
   Circle types
   ========================================================================== */
.circle-types {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}
@media (min-width: 860px) { .circle-types { grid-template-columns: 1fr 1fr; } }

.circle-card {
  background: var(--white);
  border-radius: var(--radius-card);
  border: 1px solid var(--gray-200);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.circle-card .tag {
  display: inline-block;
  align-self: flex-start;
  background: var(--purple-100);
  color: var(--purple-700);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.circle-card h3 { margin-bottom: 10px; }
.circle-card p.desc { margin-bottom: 22px; font-size: 0.96rem; }

.spec-list {
  background: var(--purple-50);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 22px;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--purple-100);
  font-size: 0.88rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-row dt { color: var(--gray-600); font-weight: 500; }
.spec-row dd { color: var(--purple-900); font-weight: 700; margin: 0; text-align: right; }

.circle-card .btn-ghost { margin-top: auto; align-self: flex-start; }

/* ==========================================================================
   App tour / carousel
   ========================================================================== */
.tour-wrap { margin-top: 48px; position: relative; }
.carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 12px 4px 28px;
  scrollbar-width: thin;
  scrollbar-color: var(--purple-100) transparent;
}
.carousel::-webkit-scrollbar { height: 8px; }
.carousel::-webkit-scrollbar-thumb { background: var(--purple-100); border-radius: 999px; }

.carousel-item {
  scroll-snap-align: center;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.carousel-item .phone-frame { width: 220px; }
.carousel-caption { font-size: 0.85rem; font-weight: 600; color: var(--purple-900); text-align: center; }

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}
.carousel-btn {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1.5px solid var(--purple-100);
  background: var(--white);
  color: var(--purple-700);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background-color 0.18s var(--ease);
}
.carousel-btn:hover { background: var(--purple-50); }
.tour-caption {
  text-align: center;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--gray-600);
  font-style: italic;
}

/* ==========================================================================
   Security & trust
   ========================================================================== */
.security-section { background: var(--purple-50); }
.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
  margin-top: 36px;
}
@media (min-width: 900px) { .security-grid { grid-template-columns: 1fr 0.85fr; } }

.check-list { display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.check-item { display: flex; align-items: flex-start; gap: 12px; }
.check-item .badge-check { width: 28px; height: 28px; flex-shrink: 0; }
.check-item span { color: var(--ink); font-weight: 500; font-size: 0.98rem; }

.security-visual { display: flex; justify-content: center; }
.security-visual svg { width: 100%; max-width: 320px; height: auto; }

/* ==========================================================================
   USSD callout
   ========================================================================== */
.ussd-section { background: var(--purple-50); }
.ussd-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  padding-block: 12px;
}
.dial-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1.5px solid var(--purple-100);
  padding: 16px 28px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--purple-700);
  letter-spacing: 0.05em;
}
.dial-chip svg { width: 24px; height: 24px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 48px;
}
@media (min-width: 780px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-card);
  padding: 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stars { display: flex; gap: 3px; }
.stars svg { width: 16px; height: 16px; color: var(--purple-700); }
.testimonial-quote { font-size: 0.96rem; color: var(--ink); font-style: italic; }
.testimonial-person { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.testimonial-avatar {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--purple-100);
  color: var(--purple-700);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: var(--font-display);
}
.testimonial-name { font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.testimonial-meta { font-size: 0.8rem; color: var(--gray-600); }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-list { max-width: 780px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  color: var(--ink);
  font-family: var(--font-display);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--purple-700);
  transition: transform 0.25s var(--ease);
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--purple-700); }
.faq-answer { padding: 0 22px 20px; font-size: 0.95rem; color: var(--gray-600); }

/* ==========================================================================
   Final CTA band
   ========================================================================== */
.final-cta {
  position: relative;
  background: var(--gradient-brand);
  color: var(--white);
  padding-top: 90px;
  padding-bottom: 96px;
  text-align: center;
  overflow: hidden;
}
.final-cta-wave {
  position: absolute;
  left: 0; right: 0; top: -1px;
  line-height: 0;
  transform: scaleY(-1);
}
/* Fixed clamp (not height:auto) so the wave can't outgrow the section's
   padding-top on wide viewports — the SVG uses preserveAspectRatio="none"
   so it stretches cleanly to any height we give it. */
.final-cta-wave svg { width: 100%; height: clamp(32px, 5vw, 64px); display: block; }
.final-cta h2 { color: var(--white); margin-bottom: 12px; }
.final-cta p { color: rgba(255,255,255,0.9); margin-bottom: 32px; font-size: 1.05rem; }
.final-cta-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--purple-900); color: rgba(255,255,255,0.82); padding-top: 64px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-brand .brand-text { color: var(--white); }
.footer-tagline { margin-top: 14px; font-size: 0.92rem; max-width: 260px; color: rgba(255,255,255,0.68); }
.footer h3 { color: var(--white); font-size: 0.9rem; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { font-size: 0.94rem; color: rgba(255,255,255,0.78); }
.footer-links a:hover { color: var(--white); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--white);
}
.footer-social a:hover { background: rgba(255,255,255,0.2); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  margin-top: 56px;
  padding-block: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  font-size: 0.84rem;
  color: rgba(255,255,255,0.6);
}

/* ==========================================================================
   Fade-up scroll animation
   ========================================================================== */
/* Only hide fade-up content once we know JS is running to animate it back in —
   otherwise a JS failure would leave whole sections permanently invisible. */
.js [data-fade-up] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-fade-up].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .js [data-fade-up] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Simple page hero (terms / privacy)
   ========================================================================== */
.page-hero {
  background: var(--gradient-brand);
  color: var(--white);
  padding-top: calc(var(--nav-height) + 56px);
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.88); }
.legal-content { max-width: 760px; margin: 0 auto; padding-block: 64px; }
.legal-content h2 { color: var(--purple-700); margin-top: 40px; margin-bottom: 12px; font-size: 1.4rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 14px; }
.legal-content ul { margin-bottom: 14px; padding-left: 20px; list-style: disc; color: var(--gray-600); }
.legal-content li { margin-bottom: 6px; }
.todo-note {
  background: var(--purple-50);
  border: 1px dashed var(--purple-100);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 0.88rem;
  color: var(--purple-900);
  margin-bottom: 24px;
}
