/* Ndema — coming soon (page-specific; brand tokens/reset/brand-mark/buttons in base.css) */

/* 1. Variables — page theme + aliases onto shared base tokens */
:root {
  --bg:      #071510;
  --bg-2:    #0a1f17;
  --card:    #0e2a1f;
  --border:  #16543d;
  --white:   #eefaf4;
  --muted:   #9dbfb0;
  --radius:  14px;
  --accent:   var(--leaf);
  --accent-2: var(--leaf-l);
  --display:  'Outfit', 'Inter', system-ui, sans-serif;  /* landing keeps Outfit; base default is Unbounded */
  --font-display: var(--display);
  --font-body:    var(--text);
}

/* 2. Page body */
body {
  font-family: var(--font-body);
  background: radial-gradient(1200px 800px at 80% -10%, var(--bg-2), var(--bg));
  color: var(--white);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* 3. Ambient glows */
.glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
}
.glow-1 {
  width: 420px; height: 420px;
  background: var(--accent);
  top: -160px; right: -120px;
  animation: drift 14s ease-in-out infinite alternate;
}
.glow-2 {
  width: 340px; height: 340px;
  background: #0e7a58;
  bottom: -140px; left: -120px;
  animation: drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, 30px) scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .glow-1, .glow-2 { animation: none; }
  html { scroll-behavior: auto; }
}

/* 4. Layout */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 1060px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

/* 5. Brand mark comes from base.css (.brand, .brand-mark, .brand-name) */

/* 6. Hero */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 48px;
  padding: 48px 0;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.25fr 0.75fr; }
}
.kicker {
  color: var(--accent-2);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 8vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.accent { color: var(--accent); }
.hero-motto {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--white);
  letter-spacing: 0.01em;
  margin-bottom: 20px;
}
.hero-motto span { color: var(--accent); }
.lede {
  color: var(--muted);
  font-size: clamp(1rem, 2.6vw, 1.15rem);
  line-height: 1.65;
  max-width: 56ch;
  margin-bottom: 34px;
}
.lede strong { color: var(--white); font-weight: 700; }

/* 7. Loop strip */
.loop {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 40px;
  font-weight: 500;
  font-size: 0.95rem;
}
.loop li {
  display: flex;
  align-items: center;
  gap: 8px;
}
.loop li:not(.sep) {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px 8px 8px;
}
.step {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #04140d;
  font-size: 0.8rem;
  font-weight: 700;
}
.sep { color: var(--accent); font-weight: 700; }
.loop li.loop-lead {
  background: none;
  border: none;
  padding: 0;
  margin-right: 4px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.loop li.loop-out {
  background: var(--accent);
  border-color: var(--accent);
  color: #04140d;
  font-weight: 700;
  padding: 8px 16px;
}

/* 8. CTA — button styles (.btn, .btn-solid) come from base.css */
.cta-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

/* 9. Phone mockup (illustrative) */
.phone {
  position: relative;
  width: 268px;
  margin: 0 auto;
  background: #04140d;
  border: 1px solid var(--border);
  border-radius: 38px;
  padding: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 6px rgba(0, 178, 122, 0.08);
}
.phone-notch {
  width: 90px; height: 6px;
  border-radius: 999px;
  background: var(--border);
  margin: 2px auto 12px;
}
.screen {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-radius: 26px;
  padding: 16px 14px 18px;
  display: grid;
  gap: 12px;
}
.balance {
  background: var(--accent);
  color: #04140d;
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 2px;
}
.balance-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.75; }
.balance-value { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; line-height: 1.1; }
.balance-sub { font-size: 0.72rem; font-weight: 500; opacity: 0.8; }
.app-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 13px 14px;
  display: grid;
  gap: 7px;
}
.app-card-tag {
  justify-self: start;
  font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent-2);
  background: rgba(0, 178, 122, 0.14);
  border-radius: 999px;
  padding: 3px 9px;
}
.app-card-title { font-weight: 700; font-size: 0.92rem; color: var(--white); }
.progress {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}
.progress span { display: block; height: 100%; background: var(--accent); border-radius: 999px; }
.app-card-sub { font-size: 0.75rem; color: var(--muted); }
.rewards-row { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-size: 0.72rem; font-weight: 600;
  color: var(--white);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 11px;
}

/* 10. Footer */
.foot {
  color: var(--muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.foot-link {
  color: var(--accent-2);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.foot-link:hover { border-bottom-color: var(--accent-2); }
.foot-link:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

/* 11. Small screens */
@media (max-width: 480px) {
  .wrap { padding: 22px 18px 30px; }
  .hero { padding: 36px 0; gap: 40px; }
  .loop { font-size: 0.88rem; }
  .phone { width: 240px; }
}
