/* =========================================================
   Cashiu — Landing Page
   Brand: growth-green, soft mint, warm and quietly confident
   ========================================================= */

:root {
  /* Brand palette */
  --green: #2F741C;
  --green-600: #266115;
  --green-700: #1D4910;
  --green-50: #E9F2E2;
  --green-100: #CFE3BF;
  --mint: #EFF6EA;

  --peach: #FFE8D6;
  --peach-deep: #F7C99A;
  --brown: #6B4419;
  --warm-bg: #FAF8F2;

  --ink: #0E1A12;
  --ink-700: #2B3A2F;
  --ink-500: #57655C;
  --ink-400: #7C887F;
  --line: #E6E9E5;
  --line-soft: #EFF2EE;
  --white: #FFFFFF;

  --info: #2D7FF9;
  --warn: #F2A341;
  --danger: #E5484D;

  /* Type */
  --font-display: "Readex Pro", system-ui, sans-serif;
  --font-body: "Readex Pro", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Radii & shadow */
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-sm: 0 1px 2px rgba(14, 26, 18, .03), 0 2px 8px rgba(14, 26, 18, .04);
  --shadow-md: 0 8px 24px -8px rgba(14, 26, 18, .08), 0 2px 6px rgba(14, 26, 18, .04);
  --shadow-lg: 0 32px 64px -24px rgba(14, 26, 18, .16), 0 12px 24px -12px rgba(14, 26, 18, .08);
  --shadow-phone: 0 48px 96px -24px rgba(14, 26, 18, .32), 0 16px 32px -12px rgba(14, 26, 18, .14);

  --container: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--warm-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; padding: 0; }
::selection { background: var(--green); color: var(--white); }

/* ------------ Layout helpers ------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--green-700);
  background: var(--green-50);
  padding: 8px 14px;
  border-radius: var(--r-pill);
}
.eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(41, 204, 85, 0.15);
}
.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 16px 0 14px;
  color: var(--ink);
  text-wrap: balance;
}
.section-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-500);
  max-width: 60ch;
  text-wrap: pretty;
  font-weight: 300;
}
.section-head {
  margin-bottom: 48px;
}

/* ------------ Buttons ------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 26px;
  border-radius: var(--r-pill);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform .35s var(--ease-out), background .25s var(--ease-out), box-shadow .35s var(--ease-out), color .25s var(--ease-out);
  white-space: nowrap;
  will-change: transform;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 12px 24px -8px rgba(31, 179, 72, 0.4), inset 0 -2px 0 rgba(0,0,0,.06);
}
.btn-primary:hover {
  background: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 18px 32px -10px rgba(31, 179, 72, 0.55), inset 0 -2px 0 rgba(0,0,0,.06);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--white); transform: translateY(-2px); }
.btn-lg { height: 58px; padding: 0 32px; font-size: 16px; }

/* App store badges */
.stores { display: inline-flex; gap: 12px; flex-wrap: wrap; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: var(--white);
  border-radius: 18px;
  padding: 12px 20px 12px 18px;
  min-width: 172px;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
  box-shadow: var(--shadow-sm);
}
.store-badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge .b-top { font-size: 10px; opacity: .75; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; }
.store-badge .b-name { font-family: var(--font-display); font-weight: 500; font-size: 17px; line-height: 1.1; margin-top: 3px; letter-spacing: -0.01em; }

/* ============================================================
   NAV
   ============================================================ */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  background: rgba(250, 248, 242, .82);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav-wrap.scrolled { border-color: var(--line); background: rgba(250, 248, 242, .92); }
.nav {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex; align-items: center;
  line-height: 1;
}
.logo img {
  height: 32px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex; gap: 28px; align-items: center;
  font-size: 14.5px;
  color: var(--ink-700);
  font-weight: 500;
}
.nav-links a { transition: color .15s ease; }
.nav-links a:hover { color: var(--green-700); }
.nav-right { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: inline-flex; align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 3px;
  font-size: 13px;
  font-weight: 600;
}
.lang-toggle button {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  color: var(--ink-500);
  transition: all .15s ease;
}
.lang-toggle button.active { background: var(--ink); color: var(--white); }

.nav-burger {
  display: none;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--white);
  align-items: center;
  justify-content: center;
}
.nav-burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-burger span::before, .nav-burger span::after {
  content: "";
  position: absolute; left: 0;
  width: 18px; height: 2px;
  background: var(--ink);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 64px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -100px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(41, 204, 85, 0.18), transparent 65%);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -150px; left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 196, 130, 0.16), transparent 65%);
  z-index: 0;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  z-index: 1;
}
.hero-h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(46px, 6.4vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 24px 0 24px;
  text-wrap: balance;
}
.hero-h1 .accent {
  color: var(--green);
  display: inline-block;
}
.hero-sub {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-500);
  max-width: 50ch;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-bottom: 28px; }
.hero-trust {
  display: flex; gap: 28px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-500);
}
.hero-trust .item { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--green); }

/* Phone stack */
.phone-stack {
  position: relative;
  height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone {
  position: absolute;
  border-radius: 52px;
  background: var(--ink);
  padding: 10px;
  box-shadow: var(--shadow-phone);
  overflow: hidden;
  transition: transform .6s var(--ease-out);
}
.phone-screen {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 42px;
  overflow: hidden;
  background: var(--white);
}
.phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
}
.phone-notch {
  position: absolute;
  top: 16px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 22px;
  background: var(--ink);
  border-radius: 12px;
  z-index: 5;
}

.phone--front {
  width: 300px; height: 600px;
  z-index: 3;
  transform: rotate(-3deg);
}
.phone--back {
  width: 260px; height: 520px;
  z-index: 2;
  transform: rotate(7deg) translate(140px, 30px);
  opacity: 0.95;
}
.phone--ghost {
  width: 230px; height: 460px;
  z-index: 1;
  transform: rotate(-12deg) translate(-150px, -10px);
  opacity: 0.85;
}

/* Floating chips */
.float-chip {
  position: absolute;
  background: var(--white);
  border: 0;
  border-radius: var(--r-pill);
  padding: 12px 18px 12px 14px;
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  z-index: 6;
  animation: float 5s ease-in-out infinite;
}
.float-chip .ic {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 15px;
}
.float-chip .amt { color: var(--green-700); }
.chip-1 { top: 8%; left: -2%; animation-delay: 0s; }
.chip-2 { bottom: 22%; right: 4%; animation-delay: 1.5s; }
.chip-3 { top: 50%; left: 6%; animation-delay: 3s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================================
   MARQUEE / STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--ink);
  color: var(--white);
  padding: 32px 0;
  position: relative;
  overflow: hidden;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}
.stat {
  text-align: left;
  padding: 8px 16px;
  border-right: 1px solid rgba(255,255,255,.08);
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1;
  color: var(--green);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  margin-top: 8px;
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.howit {
  padding: 88px 0 80px;
  position: relative;
}
.steps {
  display: grid;
  grid-template-columns: 1fr 80px 1fr 80px 1fr;
  align-items: stretch;
  gap: 0;
  margin-top: 40px;
}

.step {
  background: #F9F9FB;
  border: 1px solid rgba(0, 0, 0, .035);
  border-radius: 24px;
  padding: 36px 32px 36px;
  position: relative;
  box-shadow: 0 24px 48px -28px rgba(14, 26, 18, .18), 0 4px 16px -4px rgba(14, 26, 18, .04);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
  display: flex;
  flex-direction: column;
  gap: 16px;
  will-change: transform;
  overflow: hidden;
}
.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 64px -28px rgba(14, 26, 18, .25), 0 8px 16px -4px rgba(14, 26, 18, .06);
}

.step-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.step-bullet {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -0.04em;
  color: var(--green);
  line-height: 1;
}
.step-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-400);
  text-transform: uppercase;
}

.step-visual {
  position: relative;
  height: 220px;
  margin: 8px 0 4px;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.018em;
  margin: 0;
  line-height: 1.2;
  color: var(--ink);
  text-wrap: balance;
}
.step p {
  color: var(--ink-500);
  font-size: 14.5px;
  margin: 0;
  font-weight: 300;
  line-height: 1.6;
  text-wrap: pretty;
}

/* ---------------- Step 1 visual: realistic hand cursor tapping a Copy Link button ---------------- */
.visual-link {
  background: linear-gradient(155deg, #FFF6E8 0%, #FFE9C6 100%);
  padding: 18px;
  position: relative;
  align-items: stretch;
  justify-content: stretch;
  flex-direction: column;
  gap: 0;
}

.click-sparkles {
  position: absolute;
  width: 92px;
  height: 50px;
  top: 38%;
  left: 50%;
  transform: translate(-50%, -100%);
  z-index: 3;
  animation: sparkBurst 2.4s var(--ease-out) infinite;
}
@keyframes sparkBurst {
  0%, 58%, 88%, 100% { opacity: 0; transform: translate(-50%, -100%) scale(.85); }
  68%                { opacity: 1; transform: translate(-50%, -100%) scale(1); }
  78%                { opacity: .5; transform: translate(-50%, -100%) scale(1.08); }
}

.copy-action {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 999px;
  padding: 14px 24px 14px 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  box-shadow: 0 14px 26px -6px rgba(14, 26, 18, .22), 0 3px 8px rgba(14, 26, 18, .08);
  z-index: 3;
  white-space: nowrap;
  animation: copyTap 2.4s var(--ease-out) infinite;
}
@keyframes copyTap {
  0%, 60%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 14px 26px -6px rgba(14, 26, 18, .22), 0 3px 8px rgba(14, 26, 18, .08); }
  68%           { transform: translate(-50%, -50%) scale(.96); box-shadow: 0 6px 12px -3px rgba(14, 26, 18, .25), 0 1px 3px rgba(14, 26, 18, .12); }
  76%           { transform: translate(-50%, -50%) scale(1); }
}
.copy-action-icon {
  width: 20px;
  height: 20px;
  flex: none;
}
.copy-action-label {
  font-family: var(--font-display);
  letter-spacing: -0.005em;
}
/* Sparkles hidden (the SVG has its own animated sparkles now) */
.sparkle { display: none; }
.share-tray {
  background: #fff;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 14px -4px rgba(14, 26, 18, .12);
  margin-top: auto;
  z-index: 3;
  position: relative;
}
.st-ic {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}
.st-ic.link {
  color: var(--green-700);
  background: var(--green-50);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 500;
}
.st-label { font-size: 12.5px; }

/* ---------------- Step 2 visual: app frame with prominent paste CTA ---------------- */
.visual-paste {
  background: linear-gradient(180deg, #EAF7EA 0%, #D9F0DD 100%);
  padding: 18px;
  align-items: center;
  justify-content: center;
}
.app-frame {
  background: #fff;
  border-radius: 20px;
  padding: 22px 22px;
  width: 100%;
  box-shadow: 0 14px 28px -10px rgba(14, 26, 18, .15);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.app-h1-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  justify-content: center;
}
.app-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  line-height: 1.1;
  white-space: nowrap;
}
.app-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  color: var(--ink-400);
  flex: none;
}
.app-paste-btn {
  background: var(--green);
  color: #fff;
  border-radius: 999px;
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  box-shadow: 0 12px 22px -8px rgba(31, 179, 72, .55), inset 0 -3px 0 rgba(0,0,0,.08);
  border: 0;
  cursor: default;
  position: relative;
  letter-spacing: -0.005em;
  width: 100%;
  white-space: nowrap;
}
.app-paste-btn::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid rgba(31, 179, 72, .35);
  animation: btnPulse 2.6s var(--ease-out) infinite;
  pointer-events: none;
}
@keyframes btnPulse {
  0%, 100% { opacity: 0; transform: scale(.95); }
  40%      { opacity: 1; transform: scale(1); }
  80%      { opacity: 0; transform: scale(1.04); }
}

/* ---------------- Step 3 visual: coin stack + earnings dashboard ---------------- */
.visual-stash {
  background: linear-gradient(160deg, #E8F7E9 0%, #C7EBCC 100%);
  padding: 16px;
  align-items: center;
  justify-content: center;
  position: relative;
}
.coin {
  position: absolute;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #FFE082, #F2A341);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #6B4419;
  font-size: 13px;
  box-shadow: 0 8px 14px -4px rgba(242, 163, 65, .5), inset 0 -3px 0 rgba(107, 68, 25, .15);
  animation: coinFloat 4.2s ease-in-out infinite;
}
.coin--a { top: 18px; left: 14px; transform: rotate(-14deg); animation-delay: 0s; }
.coin--b { bottom: 16px; right: 18px; transform: rotate(18deg); animation-delay: .8s; width: 36px; height: 36px; font-size: 11px; }
.coin--c { top: 30px; right: 18px; transform: rotate(-8deg); animation-delay: 1.6s; width: 30px; height: 30px; font-size: 10px; opacity: .85; }
@keyframes coinFloat {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-6px) rotate(var(--r, 0deg)); }
}
.coin--a { --r: -14deg; }
.coin--b { --r: 18deg; }
.coin--c { --r: -8deg; }
.stash-card {
  background: #fff;
  border-radius: 18px;
  padding: 16px 20px;
  width: calc(100% - 24px);
  max-width: 220px;
  box-shadow: 0 12px 24px -8px rgba(14, 26, 18, .18);
  z-index: 2;
}
.sc-label {
  font-size: 10.5px;
  color: var(--ink-500);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.sc-amt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  color: var(--green-700);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 6px 0 10px;
}
.sc-amt .sc-currency {
  font-size: 18px;
  font-weight: 500;
  opacity: .85;
}
.sc-bar {
  height: 6px;
  background: var(--green-50);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 10px;
}
.sc-bar > span {
  display: block;
  height: 100%;
  width: 70%;
  background: var(--green);
  border-radius: 999px;
  animation: sbar 3s var(--ease-out) infinite;
}
@keyframes sbar {
  0%, 100% { width: 50%; }
  50%      { width: 80%; }
}
.sc-foot {
  display: flex; align-items: center; gap: 6px;
  color: var(--green-700);
  font-size: 11px;
  font-weight: 500;
}

/* ---------------- Connecting arrows ---------------- */
.step-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 110px; /* roughly centered on the visual band */
  pointer-events: none;
}
.step-arrow svg {
  width: 100%;
  height: 60px;
  overflow: visible;
}
.step-arrow svg path {
  fill: none;
}
.step-arrow svg path[fill]:not([fill="none"]),
.step-arrow svg path[stroke="#1FB348"][fill="#1FB348"] {
  fill: #1FB348;
}
.step-arrow--2 svg { transform: none; }

.howit-cta {
  margin-top: 40px;
  font-size: 14px;
  color: var(--ink-500);
  display: flex; gap: 10px; align-items: center;
  justify-content: center;
}
.howit-cta .pill {
  background: var(--green-50); color: var(--green-700);
  padding: 5px 12px; border-radius: 999px; font-weight: 500; font-size: 12px;
}

/* ============================================================
   FEATURES BENTO
   ============================================================ */
.features {
  padding: 88px 0;
  background: linear-gradient(180deg, transparent 0%, var(--mint) 50%, transparent 100%);
}
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(240px, auto);
  gap: 24px;
  margin-top: 16px;
}
.bento .card {
  background: var(--white);
  border: 0;
  border-radius: var(--r-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  display: flex;
  flex-direction: column;
  will-change: transform;
}
.bento .card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.bento .tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-700);
  background: var(--green-50);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  width: max-content;
}
.bento h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 1.7vw, 28px);
  letter-spacing: -0.02em;
  margin: 16px 0 10px;
  line-height: 1.15;
  text-wrap: balance;
}
.bento p { color: var(--ink-500); font-size: 14.5px; margin: 0; max-width: 38ch; font-weight: 300; }

/* Bento spans */
.b-feed { grid-column: span 4; grid-row: span 2; min-height: 480px; }
.b-earnings { grid-column: span 2; grid-row: span 2; }
.b-notify { grid-column: span 2; }
.b-guide { grid-column: span 4; }

/* Feed card with phone */
.feed-card {
  background: linear-gradient(160deg, #F8FFF6 0%, var(--white) 100%);
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}
.feed-card .copy { display: flex; flex-direction: column; justify-content: center; }
.feed-card .mini-phone {
  position: relative;
  align-self: end;
  width: 100%; max-width: 220px;
  aspect-ratio: 9 / 18;
  background: var(--ink);
  border-radius: 28px;
  padding: 6px;
  box-shadow: var(--shadow-md);
  justify-self: end;
  margin-top: 20px;
}
.feed-card .mini-phone .scr {
  width: 100%; height: 100%;
  border-radius: 22px;
  overflow: hidden;
  background: var(--white);
}
.feed-card .mini-phone img {
  width: 100%; object-fit: cover; object-position: 0 -380px;
  height: 100%;
}
.live-row {
  display: flex; align-items: center; gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 10px 14px;
  margin-top: 12px;
  box-shadow: var(--shadow-sm);
  animation: fadeUp .6s ease both;
}
.live-row .live-pill {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  background: #FFEDED; color: var(--danger);
  padding: 3px 7px; border-radius: 4px;
  text-transform: uppercase;
}
.live-row .live-pill::before {
  content: ""; width: 5px; height: 5px;
  background: var(--danger); border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(229, 72, 77, 0.18);
}
.live-row .name { font-size: 13px; flex: 1; color: var(--ink); font-weight: 500; }
.live-row .amt { font-size: 13px; color: var(--green-700); font-weight: 700; }

/* Earnings card */
.earn-card {
  background: linear-gradient(180deg, #F3FBE8 0%, #E8F7E9 100%);
  justify-content: space-between;
}
.earn-display {
  margin: 18px 0 4px;
}
.earn-display .amt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 54px;
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--green-700);
}
.earn-display .amt small {
  font-size: 22px;
  font-weight: 500;
  color: var(--green-700);
  opacity: .8;
}
.earn-display .out-of {
  font-size: 13px; color: var(--ink-500); margin-top: 6px;
}
.earn-bar {
  height: 8px;
  background: rgba(255,255,255,.6);
  border-radius: 999px;
  overflow: hidden;
  margin: 12px 0 8px;
}
.earn-bar > div {
  height: 100%;
  background: var(--green);
  border-radius: 999px;
  width: 25%;
  transition: width 1.2s cubic-bezier(.2,.8,.2,1);
}
.earn-card .status-row {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px;
}
.status-chip {
  font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.status-chip.ready { background: #E8F7E9; color: var(--green-700); }
.status-chip.track { background: #FFF1DC; color: #B86F12; }
.status-chip.reject { background: #FFEDED; color: var(--danger); }

/* Refer card */
.refer-card {
  background: linear-gradient(135deg, #FFE9D1 0%, #FFD3AD 100%);
  color: var(--brown);
  position: relative;
}
.refer-card .tag { background: rgba(255,255,255,.55); color: var(--brown); }
.refer-card h3 { color: var(--brown); }
.refer-card p { color: rgba(107, 68, 25, 0.75); }
.refer-amts { display: flex; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.refer-amt {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 12px 16px;
  display: flex; flex-direction: column; gap: 2px;
  box-shadow: var(--shadow-sm);
}
.refer-amt .v {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  color: var(--green-700);
  letter-spacing: -0.02em;
}
.refer-amt .t { font-size: 11px; color: var(--ink-500); font-weight: 500; }
.refer-coin {
  position: absolute;
  width: 70px; height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FFE082, #F2A341);
  bottom: -12px; right: -8px;
  box-shadow: 0 8px 20px -6px rgba(242, 163, 65, .5);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--brown);
  font-size: 20px;
  transform: rotate(-12deg);
}

/* Paste link card */
.paste-card {
  background: linear-gradient(160deg, var(--white) 0%, #F7FFF5 100%);
}
.paste-demo {
  display: flex; flex-direction: column; gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}
.paste-url {
  display: flex; align-items: center; gap: 8px;
  background: var(--mint);
  border: 1px dashed var(--green-100);
  border-radius: var(--r-md);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--ink-700);
  overflow: hidden;
}
.paste-url .blink {
  width: 1.5px; height: 16px;
  background: var(--green);
  animation: blink 1.1s steps(2) infinite;
  flex: none;
}
@keyframes blink { 50% { opacity: 0; } }
.paste-action {
  align-self: flex-end;
  background: var(--green);
  color: var(--white);
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 16px -4px rgba(31, 179, 72, 0.4);
}

/* Notify card */
.notify-card {
  background: linear-gradient(180deg, #F4F0FF 0%, #FFFFFF 100%);
}
.notif-stack { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.notif {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  display: flex; gap: 10px; align-items: center;
  box-shadow: var(--shadow-sm);
}
.notif .ic {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  flex: none;
}
.notif.success .ic { background: var(--green-50); }
.notif.info .ic { background: #E8F0FF; }
.notif .ttl { font-weight: 600; color: var(--ink); }
.notif .sub { color: var(--ink-500); font-size: 11px; margin-top: 1px; }

/* Guide card */
.guide-card {
  background: linear-gradient(160deg, #FFFFFF 0%, #FFF7E8 100%);
}
.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
}
.guide-list {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
}
.guide-list h4 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 10px;
  display: flex; align-items: center; gap: 8px;
}
.guide-list h4 .ic {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; color: var(--white);
}
.guide-list.do h4 .ic { background: var(--green); }
.guide-list.dont h4 .ic { background: var(--danger); }
.guide-list ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.guide-list li { font-size: 12.5px; color: var(--ink-700); display: flex; gap: 8px; line-height: 1.35; }
.guide-list li::before {
  content: "";
  width: 4px; height: 4px;
  background: var(--ink-400);
  border-radius: 50%;
  margin-top: 8px;
  flex: none;
}

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

/* ============================================================
   PARTNERS
   ============================================================ */
.partners {
  padding: 88px 0;
  text-align: center;
  background: var(--white);
  border-top: 0;
  border-bottom: 0;
}
.partners-eyebrow { color: var(--ink-500); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.partners-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 2.4vw, 38px);
  margin: 14px 0 16px;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.partners-sub {
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--ink-500);
  max-width: 56ch;
  margin: 0 auto 44px;
  text-wrap: pretty;
  font-weight: 300;
}

.platforms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
}
.platform-card {
  background: var(--warm-bg);
  border: 0;
  border-radius: var(--r-lg);
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.platform-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.platform-card .plat-logo {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.platform-card .plat-logo svg { border-radius: 12px; }
.platform-card .plat-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}
.platform-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2vw, 30px);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.platform-card p {
  font-size: 15.5px;
  color: var(--ink-500);
  margin: 0;
  max-width: 42ch;
  line-height: 1.6;
  font-weight: 300;
}
.platform-card .plat-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 4px;
}
.platform-card .plat-tags span {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink-700);
  border: 1px solid var(--line);
}
.platform-card.shopee { background: linear-gradient(160deg, #FFF4ED 0%, #FFFFFF 70%); }
.platform-card.tiktok { background: linear-gradient(160deg, #F4F4F4 0%, #FFFFFF 70%); }

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: center;
}
.partner-tile {
  background: var(--warm-bg);
  border-radius: var(--r-md);
  height: 90px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  padding: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink-700);
  border: 1px solid transparent;
  transition: all .2s ease;
}
.partner-tile:hover { background: var(--white); border-color: var(--line); transform: translateY(-2px); }
.partner-tile .logo-mark {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.partner-tile.shopee .logo-mark { color: #EE4D2D; }
.partner-tile.watsons .logo-mark { color: #2BB673; }
.partner-tile.pandora .logo-mark { color: #C997AB; }
.partner-tile.ugreen .logo-mark { color: #1F8A4A; }
.partner-tile.huawei .logo-mark { color: #E50012; }
.partner-tile.adidas .logo-mark { color: #000; font-style: italic; }
.partner-tile.pop .logo-mark { color: #C44; }
.partner-tile.tsubaki .logo-mark { color: #B8860B; }
.partner-tile.dreame .logo-mark { color: #0A1F44; }
.partner-tile.baseus .logo-mark { color: #FF6900; }
.partner-tile.unove .logo-mark { color: #1F1F1F; }
.partner-tile.fiboo .logo-mark { color: #6CBE45; }

.partners-foot {
  margin-top: 32px;
  font-size: 14px;
  color: var(--ink-500);
}
.partners-foot strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   REFER & EARN STRIP
   ============================================================ */
.refer-strip {
  padding: 88px 0;
}
.refer-block {
  background: linear-gradient(135deg, #FFE9D1 0%, #FFD3AD 60%, #F7C99A 100%);
  border-radius: var(--r-xl);
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.refer-block::before {
  content: "RM";
  position: absolute;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 320px;
  color: rgba(107, 68, 25, .06);
  bottom: -80px; right: -20px;
  letter-spacing: -0.04em;
  pointer-events: none;
}
.refer-block h2 { color: var(--brown); }
.refer-block .section-lede { color: rgba(107, 68, 25, 0.75); }
.refer-code-demo {
  position: relative;
  z-index: 1;
}
.refer-card-big {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.refer-card-big .label { font-size: 12.5px; color: var(--ink-500); margin-bottom: 8px; font-weight: 500; }
.refer-card-big .code {
  display: flex; gap: 10px; align-items: center;
  background: var(--mint);
  border-radius: var(--r-pill);
  padding: 14px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--green-700);
  letter-spacing: 0.04em;
  justify-content: space-between;
}
.refer-card-big .code button {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--green-100);
  color: var(--green-700);
}
.refer-card-big .code button:hover { background: var(--green-50); }
.share-row {
  display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap;
}
.share-ic {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 18px;
  transition: transform .15s ease;
}
.share-ic:hover { transform: scale(1.08); }
.share-ic.link {
  background: var(--ink);
  color: var(--white);
}
.share-ic.wa { background: #25D366; }
.share-ic.tg { background: #2AABEE; }
.share-ic.th { background: #000; }
.share-ic.x  { background: #000; }
.share-ic.fb { background: #1877F2; }
.refer-foot {
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-500);
  display: flex; align-items: center; gap: 8px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  padding: 88px 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.faq-list {
  display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .4s var(--ease-out), transform .4s var(--ease-out);
}
.faq-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-q {
  width: 100%;
  padding: 24px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--ink);
  transition: color .3s var(--ease-out);
}
.faq-q:hover { color: var(--green-700); }
.faq-q .chev {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--mint);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--green-700);
  font-size: 17px;
  transition: transform .4s var(--ease-out), background .3s var(--ease-out), color .3s var(--ease-out);
  flex: none;
}
.faq-item.open .faq-q .chev { transform: rotate(45deg); background: var(--green); color: var(--white); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-a-inner {
  padding: 0 28px 26px;
  color: var(--ink-500);
  font-size: 15px;
  max-width: 64ch;
  font-weight: 300;
  line-height: 1.65;
}
.faq-help {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 32px;
  position: sticky; top: 100px;
}
.faq-help h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin: 0 0 8px; letter-spacing: -0.015em; }
.faq-help p { color: rgba(255,255,255,.7); font-size: 14px; margin: 0 0 20px; }
.faq-help .btn-primary { width: 100%; }

/* ============================================================
   DOWNLOAD CTA
   ============================================================ */
.download {
  padding: 88px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-block {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: 72px 48px;
  position: relative;
  overflow: visible;
}
.download-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(41, 204, 85, .25), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255, 196, 130, .15), transparent 40%);
  pointer-events: none;
}
.download h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 auto 16px;
  position: relative;
  text-wrap: balance;
  max-width: 18ch;
}
.download p {
  font-size: 18px;
  color: rgba(255,255,255,.7);
  margin: 0 0 32px;
  max-width: 50ch;
  margin-inline: auto;
  position: relative;
}
.download .stores { position: relative; justify-content: center; }
.download .stores {
  position: relative;
  justify-content: center;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.download .store-badge {
  background: rgba(255,255,255,.97);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.04);
  padding: 14px 24px 14px 20px;
  min-width: 200px;
  height: 64px;
  box-shadow: 0 8px 24px -8px rgba(0,0,0,.4);
}
.download .store-badge:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -10px rgba(0,0,0,.5);
}
.download .store-badge svg { width: 30px; height: 30px; }
.download .store-badge .b-name { font-size: 19px; }

/* QR */
.qr-row {
  display: inline-flex; align-items: center; gap: 16px;
  margin-top: 28px;
  position: relative;
  color: rgba(255,255,255,.7);
  font-size: 13px;
}
.qr-box {
  width: 80px; height: 80px;
  background: var(--white);
  border-radius: 12px;
  padding: 8px;
  display: flex; align-items: center; justify-content: center;
}
.qr-box svg { width: 100%; height: 100%; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 60px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
footer h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin: 0 0 16px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: var(--ink-700); transition: color .15s ease; }
.footer-col a:hover { color: var(--green-700); }
.footer-brand p { color: var(--ink-500); font-size: 14px; max-width: 32ch; margin: 12px 0 16px; }
.footer-stores { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-stores .store-badge { min-width: 0; padding: 8px 14px; }
.footer-stores .store-badge .b-top { font-size: 9px; }
.footer-stores .store-badge .b-name { font-size: 14px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px;
  font-size: 13px; color: var(--ink-500);
  flex-wrap: wrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }

  .hero { padding: 32px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-h1 { font-size: clamp(40px, 9vw, 60px); }
  .phone-stack { height: 480px; max-width: 440px; margin-inline: auto; }

  .steps { grid-template-columns: 1fr; }
  .step-arrow { display: none; }
  .step-visual { height: 200px; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-feed, .b-earnings, .b-notify, .b-guide { grid-column: span 2; }

  .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .platforms { grid-template-columns: 1fr; }

  .refer-block { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; }
  .refer-block::before { font-size: 200px; }

  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-help { position: static; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .hero-h1 { font-size: clamp(38px, 11vw, 52px); letter-spacing: -0.03em; }
  .hero-sub { font-size: 16px; margin-bottom: 24px; }
  .hero-actions { width: 100%; margin-bottom: 22px; }
  .hero-actions .stores { width: 100%; }
  .hero-actions .stores .store-badge { flex: 1 1 calc(50% - 6px); min-width: 0; padding: 10px 14px; }
  .hero-actions .stores .store-badge .b-top { font-size: 9px; }
  .hero-actions .stores .store-badge .b-name { font-size: 15px; }
  .hero-trust { gap: 18px 22px; }

  .phone-stack { height: 420px; }
  .phone--front { width: 230px; height: 460px; }
  .phone--back { width: 190px; height: 380px; transform: rotate(7deg) translate(78px, 28px); }
  .phone--ghost { display: none; }

  .section-title { font-size: clamp(30px, 8vw, 40px); }
  .section-head { margin-bottom: 40px; }

  .step { padding: 24px 22px; gap: 12px; }
  .step-visual { height: 180px; }
  .step h3 { font-size: 20px; }

  .bento { grid-template-columns: 1fr; gap: 18px; }
  .b-feed, .b-earnings, .b-notify, .b-guide { grid-column: span 1; }
  .b-feed { min-height: 0; }
  .feed-card { grid-template-columns: 1fr; }
  .feed-card .mini-phone { max-width: 160px; align-self: center; justify-self: center; }
  .bento .card { padding: 24px; }
  .bento h3 { font-size: 22px; }

  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-card { padding: 28px 22px; }
  .platform-card h3 { font-size: 22px; }

  .download-block { padding: 80px 22px 56px; border-radius: 28px; overflow: visible; }
  .download h2 { font-size: clamp(28px, 8vw, 38px); }
  .download p { font-size: 16px; margin-bottom: 24px; }
  .download .stores { gap: 10px; }
  .download .store-badge { min-width: 0; flex: 1 1 calc(50% - 5px); padding: 12px 14px; height: 56px; }
  .download .store-badge .b-name { font-size: 16px; }
  .download-mascot { width: 110px; top: 16px; right: 4%; }

  .refer-block { padding: 32px 22px; border-radius: 28px; }
  .refer-card-big { padding: 22px; }
  .refer-card-big .code { font-size: 18px; padding: 12px 16px; }
  .refer-mascot { width: 140px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }

  .howit, .features, .partners, .refer-strip, .faq, .download { padding: 56px 0; }
  .download { padding: 56px 0 64px; }

  .modal-window { max-height: 88vh; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ============================================================
   MASCOT — Nutty
   ============================================================ */
.hero-mascot {
  position: absolute;
  width: 180px;
  height: auto;
  right: -30px;
  bottom: -28px;
  z-index: 7;
  pointer-events: none;
  filter: drop-shadow(0 12px 24px rgba(14, 26, 18, .18));
  animation: mascotBob 4s ease-in-out infinite;
}
@keyframes mascotBob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-10px) rotate(2deg); }
}

.refer-mascot {
  width: 200px;
  height: auto;
  margin-top: 22px;
  filter: drop-shadow(0 12px 24px rgba(107, 68, 25, .2));
  animation: mascotBob 5s ease-in-out infinite;
}

.faq-mascot {
  width: 180px;
  height: auto;
  margin-top: 36px;
  filter: drop-shadow(0 8px 18px rgba(14, 26, 18, .12));
  animation: mascotBob 5s ease-in-out infinite reverse;
}

.download-block { position: relative; padding-top: 96px; }
.download-mascot {
  position: absolute;
  width: 180px;
  height: auto;
  top: -56px;
  right: 32px;
  transform: rotate(8deg);
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .35));
  z-index: 2;
  animation: mascotBob 5s ease-in-out infinite;
}

/* Floating mascot helper (bottom-right) */
.mascot-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 80px;
  height: 80px;
  z-index: 40;
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
  filter: drop-shadow(0 8px 20px rgba(14, 26, 18, .25));
  animation: mascotBob 3.6s ease-in-out infinite;
  transition: transform .2s ease;
}
.mascot-fab:hover { transform: scale(1.08); }
.mascot-fab img { width: 100%; height: 100%; object-fit: contain; }
.mascot-fab .mascot-bubble {
  position: absolute;
  right: 88px;
  bottom: 16px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.mascot-fab .mascot-bubble::after {
  content: "";
  position: absolute;
  right: -6px; bottom: 14px;
  width: 0; height: 0;
  border-left: 6px solid var(--ink);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.mascot-fab:hover .mascot-bubble { opacity: 1; transform: translateX(0); }

@media (max-width: 980px) {
  .hero-mascot { width: 140px; right: -10px; bottom: -20px; }
  .refer-mascot { width: 160px; }
  .faq-mascot { display: none; }
  .download-mascot { width: 150px; top: -44px; right: 16px; }
  .mascot-fab { width: 64px; height: 64px; bottom: 16px; right: 16px; }
  .mascot-fab .mascot-bubble { display: none; }
}
@media (max-width: 560px) {
  .hero-mascot { width: 110px; right: 8px; bottom: -10px; }
  .download-mascot { width: 110px; top: -32px; right: 12px; }
}

/* ============================================================
   LEGAL MODALS
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.modal[hidden] { display: none; }
.modal.open { opacity: 1; pointer-events: auto; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 26, 18, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-window {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: calc(100vh - 48px);
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: 0 48px 96px -24px rgba(14, 26, 18, .45), 0 16px 32px -12px rgba(14, 26, 18, .2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(16px) scale(.97);
  transition: transform .5s var(--ease-out);
}
.modal.open .modal-window { transform: translateY(0) scale(1); }

.modal-head {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 22px 28px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 2;
}
.modal-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease, transform .15s ease;
  flex: none;
}
.modal-close:hover { background: var(--green-100); transform: rotate(90deg); }

.modal-body {
  padding: 24px 28px 32px;
  overflow-y: auto;
  color: var(--ink-700);
  font-size: 15px;
  line-height: 1.65;
  -webkit-overflow-scrolling: touch;
}
.modal-body .modal-updated {
  font-size: 12px;
  color: var(--ink-400);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.modal-body h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin: 28px 0 8px;
}
.modal-body h3:first-of-type { margin-top: 16px; }
.modal-body p { margin: 0 0 12px; text-wrap: pretty; }
.modal-body ul {
  margin: 0 0 16px;
  padding-left: 22px;
}
.modal-body ul li {
  margin-bottom: 6px;
  padding-left: 4px;
}
.modal-body ul li::marker { color: var(--green); }
.modal-body strong { color: var(--ink); font-weight: 600; }
.modal-body a { color: var(--green-700); text-decoration: underline; text-underline-offset: 2px; }
.modal-body a:hover { color: var(--green-600); }

body.modal-open { overflow: hidden; }

@media (max-width: 560px) {
  .modal { padding: 12px; align-items: flex-end; }
  .modal-window { max-height: 92vh; border-radius: 20px; }
  .modal-head { padding: 18px 20px 14px; }
  .modal-head h2 { font-size: 20px; }
  .modal-body { padding: 18px 20px 28px; font-size: 14.5px; }
}

/* Reveal-on-scroll — only hide when JS is active (prevents blank sections if JS is slow/blocked) */
html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
html.js .reveal.visible { opacity: 1; transform: translateY(0); }
