/* =========================================================================
   Plural — styles.css
   Single-page marketing site. Light mode only. Token-driven.
   Sections:
     1. Tokens (:root)
     2. Base reset & typography
     3. Primitives (container, button, card, eyebrow, pill, icon-tile, phone-frame, check-chip, panel, stat-card)
     4. Layout: nav, hero, trust strip
     5. Sections: stats, services, wallet, personalize, why, security, contact
     6. Footer
     7. Motion (keyframes, reduced-motion)
     8. Responsive (≤980, ≤820)
   ========================================================================= */


/* ----- 1. TOKENS ----- */

:root {
  /* Color (§4.1) */
  --bg:        #EEF3F1;
  --bg-soft:   #FFFFFF;
  --panel:     #FFFFFF;
  --panel-2:   #F2F6F4;
  --line:      rgba(10, 22, 34, 0.10);
  --ink:       #0B1822;
  --ink-soft:  #4C5E6B;
  --ink-faint: #7E8E9A;
  --accent:        #34A877;
  --accent-soft:   rgba(52, 168, 119, 0.13);
  --accent-border: rgba(52, 168, 119, 0.28);
  --blue:      #1F6FB8;
  --blue-soft: rgba(70, 166, 240, 0.13);
  --hero1:     #E3EFE8;
  --hero2:     #EEF3F1;

  /* Phone bezel (intentionally dark in light mode — frames screenshots) */
  --bezel-1:   #1d2b38;
  --bezel-2:   #0a0f14;

  /* CTA on accent */
  --cta-ink:   #06140D;

  /* Typography (§4.2) */
  --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing scale (used with gap) */
  --space-1: 6px;
  --space-2: 10px;
  --space-3: 14px;
  --space-4: 18px;
  --space-5: 22px;
  --space-6: 30px;
  --space-7: 40px;
  --space-8: 54px;

  /* Radii */
  --r-pill:   999px;
  --r-card:   20px;
  --r-stat:   18px;
  --r-panel:  28px;
  --r-tile:   14px;
  --r-chip:    7px;
  --r-perk:    8px;
  --r-btn:    12px;
  --r-btn-lg: 13px;
  --r-frame:  40px;     /* phone outer */
  --r-frame-l: 44px;    /* larger phone */
  --r-screen: 32px;     /* phone inner */
  --r-screen-l: 35px;   /* larger phone inner */
  --r-logo:   10px;     /* nav logo */

  /* Shadows (soft, low) */
  --shadow-cta:  0 12px 34px -12px var(--accent);
  --shadow-cta-lg: 0 14px 38px -14px var(--accent);
  --shadow-phone: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
  --shadow-phone-sm: 0 30px 64px -30px rgba(0, 0, 0, 0.7);
  --shadow-logo:  0 16px 40px -16px rgba(0, 0, 0, 0.6);

  /* Nav */
  --nav-h: 64px;
}


/* ----- 2. BASE RESET & TYPOGRAPHY ----- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
  transition: background .45s ease, color .45s ease;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

::selection { background: rgba(52, 168, 119, 0.3); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
}

h1 {
  font-size: clamp(40px, 5.4vw, 62px);
  letter-spacing: -0.025em;
  line-height: 1.02;
}

h2 { font-size: clamp(28px, 3.6vw, 42px); }

h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p  { color: var(--ink-soft); }

/* Visible focus ring (AA) */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--cta-ink);
  padding: 10px 16px;
  font-weight: 700;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }


/* ----- 3. PRIMITIVES ----- */

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 26px;
  padding-right: 26px;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead {
  color: var(--ink-soft);
  font-size: 17.5px;
  line-height: 1.6;
  max-width: 480px;
}

/* Pills / badges (hero "Multi-currency finance for the diaspora") */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--panel);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse 2.4s ease-in-out infinite;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: var(--r-btn);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15.5px;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s ease, filter .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.07); }

.btn--primary {
  background: var(--accent);
  color: var(--cta-ink);
  box-shadow: var(--shadow-cta);
}
.btn--primary:hover { filter: brightness(1.07); }

.btn--secondary {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--line);
  font-weight: 600;
}
.btn--secondary:hover { border-color: var(--accent); transform: translateY(-2px); filter: none; }

.btn--lg {
  padding: 16px 30px;
  border-radius: var(--r-btn-lg);
  font-size: 16px;
  box-shadow: var(--shadow-cta-lg);
}

/* Card (services) */
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 30px 28px;
  transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); }

/* Tinted icon tile */
.icon-tile {
  width: 50px;
  height: 50px;
  border-radius: var(--r-tile);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.icon-tile--accent { background: var(--accent-soft); color: var(--accent); }
.icon-tile--blue   { background: var(--blue-soft);   color: var(--blue); }

.icon-tile svg { stroke: currentColor; }

/* Small inline check chip (used in wallet checklist) */
.check-chip {
  width: 24px;
  height: 24px;
  border-radius: var(--r-chip);
  background: var(--accent-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.check-chip svg { stroke: var(--accent); }

/* Phone frame (dark bezel + screen) */
.phone-frame {
  position: relative;
  background: linear-gradient(160deg, var(--bezel-1), var(--bezel-2));
  box-shadow: var(--shadow-phone), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.phone-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Large rounded panel (wallet, security) */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
}

/* Stat card */
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-stat);
  padding: 26px 22px;
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}
.stat__num--accent { color: var(--accent); }
.stat__label {
  color: var(--ink-soft);
  font-size: 13.5px;
  margin-top: 8px;
  line-height: 1.4;
}

/* Why-plural number marker */
.num {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-faint);
}

/* Soft glow (used behind hero phones, contact CTA) */
.glow {
  position: absolute;
  inset: 6% 8%;
  background: radial-gradient(circle at 50% 45%, var(--accent-soft), transparent 70%);
  filter: blur(34px);
  pointer-events: none;
}

/* Reveal-on-scroll (subtle fade-up) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ----- 4. NAV ----- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
  transition: background .45s ease, border-color .45s ease;
}
.nav__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 26px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.nav__logo {
  width: 38px;
  height: 38px;
  border-radius: var(--r-logo);
  display: block;
}
.nav__brand-text { display: flex; flex-direction: column; line-height: 1; }
.nav__brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.nav__brand-sub {
  font-size: 10.5px;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
  margin-top: 4px;
  text-transform: uppercase;
}
.nav__spacer { flex: 1; }
.nav__links {
  display: flex;
  gap: 30px;
  align-items: center;
}
.nav__link {
  font-size: 14.5px;
  color: var(--ink-soft);
  font-weight: 500;
  transition: color .2s ease;
}
.nav__link:hover { color: var(--ink); }

/* Hamburger (visible ≤820px) */
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-left: auto;
}
.nav__toggle-bars {
  display: block;
  position: relative;
  width: 22px;
  height: 16px;
}
.nav__toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, top .25s ease;
}
.nav__toggle-bars span:nth-child(1) { top: 0; }
.nav__toggle-bars span:nth-child(2) { top: 7px; }
.nav__toggle-bars span:nth-child(3) { top: 14px; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(1) {
  top: 7px; transform: rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:nth-child(3) {
  top: 7px; transform: rotate(-45deg);
}

/* Mobile menu drawer */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--bg);
  z-index: 49;
  padding: 24px 26px 40px;
  border-top: 1px solid var(--line);
}
.mobile-menu.is-open { display: block; }
.mobile-menu__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu__list a {
  display: block;
  padding: 16px 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}


/* ----- 5. HERO ----- */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 560px at 78% -10%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 60%),
    linear-gradient(180deg, var(--hero1) 0%, var(--bg) 72%);
  overflow: hidden;
  transition: background .45s ease;
}
.hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 26px 48px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}
.hero__title {
  margin-top: 22px;
}
.hero__title-accent { color: var(--accent); }
.hero__lead {
  margin-top: 22px;
}
.hero__cta-row {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.hero__fintrac {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--ink-faint);
  font-size: 13px;
  font-weight: 500;
}
.hero__fintrac svg { stroke: var(--accent); }

/* Hero phone pair */
.hero__phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 480px;
}
.hero__phone-back {
  position: absolute;
  width: 232px;
  border-radius: var(--r-frame);
  padding: 9px;
  transform: translateX(78px) translateY(22px) rotate(5deg);
  z-index: 1;
}
.hero__phone-back img { border-radius: var(--r-screen); }
.hero__phone-front {
  position: relative;
  width: 262px;
  border-radius: var(--r-frame-l);
  padding: 10px;
  transform: translateX(-50px) rotate(-3deg);
  z-index: 2;
  animation: slowfloat 6s ease-in-out infinite;
}
.hero__phone-front img { border-radius: var(--r-screen-l); }

/* Trust strip */
.trust {
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 60%, transparent);
}
.trust__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.trust__sep { opacity: 0.4; }


/* ----- 6. SECTIONS ----- */

.section { max-width: 1180px; margin: 0 auto; }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 38px 26px 6px;
}

/* Section heading block (used by services, why) */
.section-head {
  max-width: 640px;
}
.section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head__eyebrow { /* uses .eyebrow */ }
.section-head__title { margin-top: 14px; }
.section-head__intro {
  color: var(--ink-soft);
  font-size: 16.5px;
  line-height: 1.6;
  margin-top: 16px;
}

/* Services */
.services {
  padding: 52px 26px 16px;
}
.services__head { max-width: 620px; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.services__card { /* .card */ }
.services__card-icon { margin-bottom: 20px; }
.services__card-body {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  margin-top: 10px;
}

/* Wallet */
.wallet {
  padding: 52px 26px;
}
.wallet__panel {
  background: linear-gradient(150deg, var(--hero1), var(--bg-soft));
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: 8px;
  overflow: hidden;
}
.wallet__grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 30px;
  align-items: center;
}
.wallet__text { padding: 42px 36px; }
.wallet__title { margin-top: 14px; }
.wallet__body {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin-top: 16px;
  max-width: 460px;
}
.wallet__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 26px;
}
.wallet__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
}
.wallet__note {
  margin-top: 24px;
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-tile);
  padding: 14px 16px;
  max-width: 460px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink);
}
.wallet__note svg { color: var(--accent); flex: 0 0 auto; margin-top: 1px; }
.wallet__note strong { font-weight: 700; }
.wallet__phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 380px;
  padding-top: 30px;
}
.wallet__phone {
  width: 262px;
  border-radius: var(--r-frame);
  padding: 9px;
  background: linear-gradient(160deg, var(--bezel-1), var(--bezel-2));
  box-shadow: var(--shadow-phone-sm), 0 0 0 1px rgba(255, 255, 255, 0.05);
  margin-bottom: -2px;
}
.wallet__phone img { border-radius: var(--r-screen); }

/* Personalization */
.personalize {
  padding: 30px 26px 24px;
}
.personalize__grid {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 46px;
  align-items: center;
}
.personalize__phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.personalize__phone {
  position: relative;
  width: 266px;
  border-radius: 42px;
  padding: 10px;
  background: linear-gradient(160deg, var(--bezel-1), var(--bezel-2));
  box-shadow: 0 36px 70px -30px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.personalize__phone img { border-radius: 33px; }
.personalize__title { margin-top: 14px; }
.personalize__body {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin-top: 16px;
  max-width: 470px;
}
.personalize__perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 22px;
  margin-top: 28px;
  max-width: 560px;
}
.perk { display: flex; gap: 12px; align-items: flex-start; }
.perk__icon {
  width: 26px;
  height: 26px;
  border-radius: var(--r-perk);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 1px;
}
.perk__icon svg { stroke: var(--accent); }
.perk__title { font-weight: 600; font-size: 15px; }
.perk__text {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
  margin-top: 3px;
}

/* Why */
.why {
  padding: 30px 26px 24px;
}
.why__head { /* .section-head .section-head--center */ }
.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.why__card {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 30px 26px;
  background: var(--bg-soft);
}
.why__card-num { /* .num */ }
.why__card-title { margin-top: 14px; font-size: 19px; }
.why__card-body {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.6;
  margin-top: 10px;
}

/* Security */
.security {
  padding: 44px 26px;
}
.security__panel {
  background: radial-gradient(700px 360px at 12% 0%, var(--accent-soft), transparent 60%), var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-panel);
  padding: 46px 42px;
}
.security__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.security__title { margin-top: 14px; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.1; }
.security__body {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  margin-top: 16px;
  max-width: 440px;
}
.security__chip {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 24px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-tile);
  background: var(--bg-soft);
  font-size: 14px;
  font-weight: 600;
}
.security__chip svg { stroke: var(--accent); }
.security__chip .faint {
  color: var(--ink-faint);
  font-weight: 500;
}
.security__features {
  display: grid;
  gap: 14px;
}
.security__feature {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.security__feature-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin-top: 1px;
  color: var(--accent);
}
.security__feature-icon svg { stroke: currentColor; }
.security__feature-title { font-weight: 600; font-size: 15px; }
.security__feature-text {
  color: var(--ink-soft);
  font-size: 13.5px;
  line-height: 1.5;
  margin-top: 3px;
}

/* Contact CTA */
.contact {
  position: relative;
  background: linear-gradient(180deg, var(--bg), var(--hero1));
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.contact__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(800px 400px at 50% 120%, var(--accent-soft), transparent 60%);
  pointer-events: none;
}
.contact__inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding: 62px 26px 64px;
  text-align: center;
}
.contact__logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  box-shadow: var(--shadow-logo);
  margin: 0 auto;
}
.contact__title {
  font-size: clamp(30px, 4.4vw, 52px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-top: 26px;
}
.contact__body {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
  margin-top: 18px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}
.contact__cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
}


/* ----- 7. FOOTER ----- */

.footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer__logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}
.footer__brand-text { line-height: 1.3; }
.footer__brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
}
.footer__brand-sub {
  font-size: 12px;
  color: var(--ink-faint);
}
.footer__links {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 500;
}
.footer__link { transition: color .2s ease; }
.footer__link:hover { color: var(--ink); }
.footer__meta {
  font-size: 12.5px;
  color: var(--ink-faint);
}


/* ----- 7. MOTION ----- */

@keyframes slowfloat {
  0%, 100% { transform: translateX(-50px) translateY(0) rotate(-3deg); }
  50%      { transform: translateX(-50px) translateY(-12px) rotate(-3deg); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--accent-soft); }
  50%      { box-shadow: 0 0 0 7px var(--accent-soft); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero__phone-front { animation: none; }
  .reveal { opacity: 1; transform: none; }
}


/* ----- 8. RESPONSIVE ----- */

@media (max-width: 980px) {
  .hero__inner,
  .wallet__grid,
  .personalize__grid,
  .security__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__phones {
    min-height: 420px;
  }
  .wallet__text { padding: 36px 28px 8px; }
  .wallet__phone-wrap { min-height: 360px; }
  .personalize__phone-wrap { order: -1; }
  .security__panel { padding: 36px 28px; }
}

@media (max-width: 820px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .services__grid,
  .why__grid,
  .personalize__perks {
    grid-template-columns: 1fr;
  }

  .container,
  .nav__inner,
  .trust__inner,
  .hero__inner,
  .services,
  .stats,
  .wallet,
  .personalize,
  .why,
  .security,
  .footer__inner {
    padding-left: 18px;
    padding-right: 18px;
  }
}

@media (max-width: 480px) {
  h1 { font-size: clamp(34px, 8vw, 44px); }
  .hero__inner { padding-top: 40px; padding-bottom: 36px; }
  .hero__phones { min-height: 360px; }
  .hero__phone-back { width: 200px; transform: translateX(56px) translateY(18px) rotate(5deg); }
  .hero__phone-front { width: 220px; transform: translateX(-34px) rotate(-3deg); }
  .hero__phone-front { animation: none; } /* small screens — keep stable */
  .wallet__phone, .personalize__phone { width: 220px; }
  .contact__inner { padding: 48px 20px 52px; }
}
